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
b5a67dec
Commit
b5a67dec
authored
May 10, 2016
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes issue26960.
Backport issue16270: Fix for urllib hanging with ftp urls.
parent
22d8942b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
Lib/urllib.py
Lib/urllib.py
+0
-6
No files found.
Lib/urllib.py
View file @
b5a67dec
...
...
@@ -932,13 +932,7 @@ class ftpwrapper:
return
(
ftpobj
,
retrlen
)
def
endtransfer
(
self
):
if
not
self
.
busy
:
return
self
.
busy
=
0
try
:
self
.
ftp
.
voidresp
()
except
ftperrors
():
pass
def
close
(
self
):
self
.
keepalive
=
False
...
...
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