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
4b5e62db
Kaydet (Commit)
4b5e62db
authored
Kas 01, 2018
tarafından
Pablo Aguiar
Kaydeden (comit)
Serhiy Storchaka
Kas 01, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268)
üst
a1c249c4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
bz2.py
Lib/bz2.py
+1
-1
ftplib.py
Lib/ftplib.py
+1
-1
imaplib.py
Lib/imaplib.py
+1
-1
poplib.py
Lib/poplib.py
+1
-1
smtplib.py
Lib/smtplib.py
+2
-2
No files found.
Lib/bz2.py
Dosyayı görüntüle @
4b5e62db
...
@@ -66,7 +66,7 @@ class BZ2File(_compression.BaseStream):
...
@@ -66,7 +66,7 @@ class BZ2File(_compression.BaseStream):
self
.
_mode
=
_MODE_CLOSED
self
.
_mode
=
_MODE_CLOSED
if
buffering
is
not
_sentinel
:
if
buffering
is
not
_sentinel
:
warnings
.
warn
(
"Use of 'buffering' argument is deprecated
and ignored
"
warnings
.
warn
(
"Use of 'buffering' argument is deprecated
and ignored
"
"since Python 3.0."
,
"since Python 3.0."
,
DeprecationWarning
,
DeprecationWarning
,
stacklevel
=
2
)
stacklevel
=
2
)
...
...
Lib/ftplib.py
Dosyayı görüntüle @
4b5e62db
...
@@ -732,7 +732,7 @@ else:
...
@@ -732,7 +732,7 @@ else:
"exclusive"
)
"exclusive"
)
if
keyfile
is
not
None
or
certfile
is
not
None
:
if
keyfile
is
not
None
or
certfile
is
not
None
:
import
warnings
import
warnings
warnings
.
warn
(
"keyfile and certfile are deprecated, use a"
warnings
.
warn
(
"keyfile and certfile are deprecated, use a
"
"custom context instead"
,
DeprecationWarning
,
2
)
"custom context instead"
,
DeprecationWarning
,
2
)
self
.
keyfile
=
keyfile
self
.
keyfile
=
keyfile
self
.
certfile
=
certfile
self
.
certfile
=
certfile
...
...
Lib/imaplib.py
Dosyayı görüntüle @
4b5e62db
...
@@ -1277,7 +1277,7 @@ if HAVE_SSL:
...
@@ -1277,7 +1277,7 @@ if HAVE_SSL:
"exclusive"
)
"exclusive"
)
if
keyfile
is
not
None
or
certfile
is
not
None
:
if
keyfile
is
not
None
or
certfile
is
not
None
:
import
warnings
import
warnings
warnings
.
warn
(
"keyfile and certfile are deprecated, use a"
warnings
.
warn
(
"keyfile and certfile are deprecated, use a
"
"custom ssl_context instead"
,
DeprecationWarning
,
2
)
"custom ssl_context instead"
,
DeprecationWarning
,
2
)
self
.
keyfile
=
keyfile
self
.
keyfile
=
keyfile
self
.
certfile
=
certfile
self
.
certfile
=
certfile
...
...
Lib/poplib.py
Dosyayı görüntüle @
4b5e62db
...
@@ -436,7 +436,7 @@ if HAVE_SSL:
...
@@ -436,7 +436,7 @@ if HAVE_SSL:
"exclusive"
)
"exclusive"
)
if
keyfile
is
not
None
or
certfile
is
not
None
:
if
keyfile
is
not
None
or
certfile
is
not
None
:
import
warnings
import
warnings
warnings
.
warn
(
"keyfile and certfile are deprecated, use a"
warnings
.
warn
(
"keyfile and certfile are deprecated, use a
"
"custom context instead"
,
DeprecationWarning
,
2
)
"custom context instead"
,
DeprecationWarning
,
2
)
self
.
keyfile
=
keyfile
self
.
keyfile
=
keyfile
self
.
certfile
=
certfile
self
.
certfile
=
certfile
...
...
Lib/smtplib.py
Dosyayı görüntüle @
4b5e62db
...
@@ -764,7 +764,7 @@ class SMTP:
...
@@ -764,7 +764,7 @@ class SMTP:
"exclusive"
)
"exclusive"
)
if
keyfile
is
not
None
or
certfile
is
not
None
:
if
keyfile
is
not
None
or
certfile
is
not
None
:
import
warnings
import
warnings
warnings
.
warn
(
"keyfile and certfile are deprecated, use a"
warnings
.
warn
(
"keyfile and certfile are deprecated, use a
"
"custom context instead"
,
DeprecationWarning
,
2
)
"custom context instead"
,
DeprecationWarning
,
2
)
if
context
is
None
:
if
context
is
None
:
context
=
ssl
.
_create_stdlib_context
(
certfile
=
certfile
,
context
=
ssl
.
_create_stdlib_context
(
certfile
=
certfile
,
...
@@ -1021,7 +1021,7 @@ if _have_ssl:
...
@@ -1021,7 +1021,7 @@ if _have_ssl:
"exclusive"
)
"exclusive"
)
if
keyfile
is
not
None
or
certfile
is
not
None
:
if
keyfile
is
not
None
or
certfile
is
not
None
:
import
warnings
import
warnings
warnings
.
warn
(
"keyfile and certfile are deprecated, use a"
warnings
.
warn
(
"keyfile and certfile are deprecated, use a
"
"custom context instead"
,
DeprecationWarning
,
2
)
"custom context instead"
,
DeprecationWarning
,
2
)
self
.
keyfile
=
keyfile
self
.
keyfile
=
keyfile
self
.
certfile
=
certfile
self
.
certfile
=
certfile
...
...
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