anatoly techtonik added the comment:

Please note that changes to urlretrieve to return block size 0 in callback 
breaks existing PyPI apps, such as

It would be nice if you revert this part from

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.

nosy: +techtonik

Python tracker <>
Python-bugs-list mailing list

Reply via email to