anatoly techtonik added the comment:

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.

----------
nosy: +techtonik

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10050>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to