[issue26960] urllib hangs when closing connection

2016-12-10 Thread Ivan Pozdeev

Ivan Pozdeev added the comment:

This fix has caused issue25458 to manifest itself in `urllib', too. AFAICS, 
it's impossible to fully fix `urllib' to correctly handle end-of-transmission 
response without fixing `ftplib' first.

--
nosy: +Ivan.Pozdeev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26960] urllib hangs when closing connection

2016-05-10 Thread Senthil Kumaran

Senthil Kumaran added the comment:

Thanks for raising this issue, Chris Beaumont.
Fixed in 2.7.x

--
nosy: +orsenthil
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26960] urllib hangs when closing connection

2016-05-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3388e249389d by Senthil Kumaran in branch '2.7':
Add NEWS entry for issue26960.
https://hg.python.org/cpython/rev/3388e249389d

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26960] urllib hangs when closing connection

2016-05-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 44d02a5d59fb by Senthil Kumaran in branch '2.7':
Closes issue26960.
https://hg.python.org/cpython/rev/44d02a5d59fb

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26960] urllib hangs when closing connection

2016-05-04 Thread Chris Beaumont

Changes by Chris Beaumont :


--
keywords: +patch
Added file: http://bugs.python.org/file42728/urllib.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26960] urllib hangs when closing connection

2016-05-04 Thread Chris Beaumont

New submission from Chris Beaumont:

http://bugs.python.org/issue16270 identified an issue with 
ftpwrapper.endtransfer that causes ftp fetches to hang in certain situations. A 
fix was applied to python 3. I see the same issue on python 2.7, and the patch 
from 16270 fixes it. Is there a reason this fix hasn't been backported to 2.7?

To reproduce:

import urllib
url = "ftp://ftp.fu-berlin.de/pub/misc/movies/database/ratings.list.gz;
fp = urllib.urlopen(url)
fp.close()  # hangs

--
components: Library (Lib)
messages: 264868
nosy: Chris Beaumont, giampaolo.rodola
priority: normal
severity: normal
status: open
title: urllib hangs when closing connection
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com