Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
941db4d9
Kaydet (Commit)
941db4d9
authored
16 years ago
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix name collision issues
üst
43ea6d9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ssl.py
Lib/ssl.py
+3
-3
No files found.
Lib/ssl.py
Dosyayı görüntüle @
941db4d9
...
...
@@ -74,7 +74,7 @@ from _ssl import \
SSL_ERROR_EOF
,
\
SSL_ERROR_INVALID_ERROR_CODE
from
socket
import
socket
,
_fileobject
from
socket
import
socket
,
_fileobject
,
error
as
socket_error
from
socket
import
getnameinfo
as
_getnameinfo
import
base64
# for DER-to-PEM translation
...
...
@@ -103,7 +103,7 @@ class SSLSocket (socket):
# see if it's connected
try
:
socket
.
getpeername
(
self
)
except
socket
.
error
:
except
socket
_
error
:
# no, no connection yet
self
.
_sslobj
=
None
else
:
...
...
@@ -441,7 +441,7 @@ def sslwrap_simple (sock, keyfile=None, certfile=None):
PROTOCOL_SSLv23
,
None
)
try
:
sock
.
getpeername
()
except
socket
.
error
:
except
socket
_
error
:
# no, no connection yet
pass
else
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment