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
721b1457
Kaydet (Commit)
721b1457
authored
Agu 16, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Silence DeprecationWarning raised by mimetools and rfc822 in cgi.
üst
0a4128ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
cgi.py
Lib/cgi.py
+9
-2
NEWS
Misc/NEWS
+1
-1
No files found.
Lib/cgi.py
Dosyayı görüntüle @
721b1457
...
@@ -38,9 +38,16 @@ from operator import attrgetter
...
@@ -38,9 +38,16 @@ from operator import attrgetter
import
sys
import
sys
import
os
import
os
import
urllib
import
urllib
import
mimetools
import
rfc822
import
UserDict
import
UserDict
from
test.test_support
import
catch_warning
from
warnings
import
filterwarnings
with
catch_warning
(
record
=
False
):
filterwarnings
(
"ignore"
,
".*mimetools has been removed"
,
DeprecationWarning
)
import
mimetools
filterwarnings
(
"ignore"
,
".*rfc822 has been removed"
,
DeprecationWarning
)
import
rfc822
try
:
try
:
from
cStringIO
import
StringIO
from
cStringIO
import
StringIO
except
ImportError
:
except
ImportError
:
...
...
Misc/NEWS
Dosyayı görüntüle @
721b1457
...
@@ -49,7 +49,7 @@ Library
...
@@ -49,7 +49,7 @@ Library
-------
-------
- Silence the DeprecationWarning raised when importing mimetools in
- Silence the DeprecationWarning raised when importing mimetools in
BaseHTTPServer, httplib.
BaseHTTPServer,
cgi (and rfc822),
httplib.
- Issue #2776: fixed small issue when handling an URL with double slash
- Issue #2776: fixed small issue when handling an URL with double slash
after a 302 response in the case of not going through a proxy.
after a 302 response in the case of not going through a proxy.
...
...
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