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 techtonik
Recipients akira, eric.araujo, ezio.melotti, jhylton, mcjeff, nadeem.vawda, neologix, orsenthil, pitrou, python-dev, techtonik
Date 2012-11-05.10:32:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352111542.04.0.253329375727.issue10050@psf.upfronthosting.co.za>
In-reply-to
Content
Please note that changes to urlretrieve to return block size 0 in callback breaks existing PyPI apps, such as http://pypi.python.org/pypi/wget

It would be nice if you revert this part from http://hg.python.org/cpython/rev/53715804dc71

Also if you change semantics of "block size" (which is assumed to be fixed) to "data read size" then the "count of blocks transferred" losses any sense.

Changed callback semantics without renaming function or introducing a different type of callback doesn't add clarity to the code that should be maintained for both Python 2 and Python 3 version.

Please add issue #16409 as affected by this bug.
History
Date User Action Args
2012-11-05 10:32:22techtoniksetrecipients: + techtonik, jhylton, orsenthil, pitrou, nadeem.vawda, ezio.melotti, eric.araujo, neologix, akira, mcjeff, python-dev
2012-11-05 10:32:22techtoniksetmessageid: <1352111542.04.0.253329375727.issue10050@psf.upfronthosting.co.za>
2012-11-05 10:32:21techtoniklinkissue10050 messages
2012-11-05 10:32:21techtonikcreate