This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients daniel.ugra, giampaolo.rodola, orsenthil, r.david.murray
Date 2012-10-18.01:03:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350522239.89.0.818951869341.issue16270@psf.upfronthosting.co.za>
In-reply-to
Content
I can reproduce the issue on python 3.3.
To have a clearer understanding on what's going on use:

import urllib.request
import ftplib
ftplib.FTP.debugging = 4
url = "ftp://ftp.fu-berlin.de/pub/misc/movies/database/ratings.list.gz"
with urllib.request.urlopen(url):
    pass

The problem appears to be endtransfer() erroneously calling ftp.voidresp() (it just shouldn't):
http://hg.python.org/cpython/file/f6fcff683866/Lib/urllib/request.py#l2328
Patch in attachment fixes the issue.
History
Date User Action Args
2012-10-18 01:03:59giampaolo.rodolasetrecipients: + giampaolo.rodola, orsenthil, r.david.murray, daniel.ugra
2012-10-18 01:03:59giampaolo.rodolasetmessageid: <1350522239.89.0.818951869341.issue16270@psf.upfronthosting.co.za>
2012-10-18 01:03:59giampaolo.rodolalinkissue16270 messages
2012-10-18 01:03:59giampaolo.rodolacreate