Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4c59211b
Commit
4c59211b
authored
Mar 15, 2012
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199
parent
f1acd0ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/urllib.py
Lib/urllib.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/urllib.py
View file @
4c59211b
...
...
@@ -980,11 +980,11 @@ class addclosehook(addbase):
self
.
hookargs
=
hookargs
def
close
(
self
):
addbase
.
close
(
self
)
if
self
.
closehook
:
self
.
closehook
(
*
self
.
hookargs
)
self
.
closehook
=
None
self
.
hookargs
=
None
addbase
.
close
(
self
)
class
addinfo
(
addbase
):
"""class to add an info() method to an open file."""
...
...
Misc/NEWS
View file @
4c59211b
...
...
@@ -20,6 +20,8 @@ Core and Builtins
Library
-------
-
Issue
#
11199
:
Fix
the
with
urllib
which
hangs
on
particular
ftp
urls
.
-
Issue
#
5219
:
Prevent
event
handler
cascade
in
IDLE
.
-
Issue
#
14252
:
Fix
subprocess
.
Popen
.
terminate
()
to
not
raise
an
error
under
...
...
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