[Python-Dev] urlretrieve regression no.2, now in Python 3.3

anatoly techtonik techtonik at gmail.com
Wed Nov 7 11:57:05 CET 2012


urlretrieve has a callback parameter, which takes function with the
following prototype:

  def callback(block_number, block_size, total_size):
    pass

Where block_size was constant and block_size*block_number gave an exact
number of transferred bytes.

Recent change in Python 3.3 changed the semantic of block_size and broke my
`wget` package. http://bugs.python.org/issue16409


Can anybody tell me if I can wait for the fix in 3.3.1 or should implement
a long-term workaround myself?
-- 
anatoly t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121107/99b06a29/attachment.html>


More information about the Python-Dev mailing list