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

2012-11-07 Thread Gregory P. Smith
On Wed, Nov 7, 2012 at 2:42 PM, Terry Reedy wrote: > On 11/7/2012 5:57 AM, anatoly techtonik wrote: >> >> 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

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

2012-11-07 Thread Terry Reedy
On 11/7/2012 5:57 AM, anatoly techtonik wrote: 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