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
cf53ae21
Kaydet (Commit)
cf53ae21
authored
Ara 18, 2011
tarafından
Charles-François Natali
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
üst
a94a0e92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
request.py
Lib/urllib/request.py
+0
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/urllib/request.py
Dosyayı görüntüle @
cf53ae21
...
...
@@ -1732,7 +1732,6 @@ class URLopener:
def
http_error_default
(
self
,
url
,
fp
,
errcode
,
errmsg
,
headers
):
"""Default error handler: close the connection and raise IOError."""
void
=
fp
.
read
()
fp
.
close
()
raise
HTTPError
(
url
,
errcode
,
errmsg
,
headers
,
None
)
...
...
@@ -1923,7 +1922,6 @@ class FancyURLopener(URLopener):
newurl
=
headers
[
'uri'
]
else
:
return
void
=
fp
.
read
()
fp
.
close
()
# In case the server sent a relative URL, join with original:
...
...
Misc/NEWS
Dosyayı görüntüle @
cf53ae21
...
...
@@ -97,6 +97,9 @@ Core and Builtins
Library
-------
- Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
- Issue #10350: Read and save errno before calling a function which might
overwrite it. Original patch by Hallvard B Furuseth.
...
...
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