]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixes issue #16409: The reporthook callback made by the legacy
authorGregory P. Smith <greg@krypto.org>
Sat, 10 Nov 2012 21:43:44 +0000 (13:43 -0800)
committerGregory P. Smith <greg@krypto.org>
Sat, 10 Nov 2012 21:43:44 +0000 (13:43 -0800)
commit6b0bdab4293684a2a7e47e8e8e70076c8670eb9b
tree6ec957a8c657b0e66d3fed6d6c944068137afc59
parent296c2fd065f3ad026dd7169d5fd323a0fee40b31
Fixes issue #16409: The reporthook callback made by the legacy
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7.  This matches the
behavior of urllib.request.URLopener.retrieve.
Doc/library/urllib.request.rst
Lib/test/test_urllibnet.py
Lib/urllib/request.py
Misc/NEWS