Author sidnei
Recipients
Date 2006-05-18.13:22:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Seems like the 'reporthook', when provided to the
'retrieve' function of urllib will be called with
(blocknumber, blocksize, totalsize).

However, the call to read() might return *less* than
'blocksize' bytes (I believe), so it should imho be
called with len(block) as the second argument instead.
Or maybe add a fourth argument 'readbytes'.
History
Date User Action Args
2008-01-20 09:58:42adminlinkissue1490929 messages
2008-01-20 09:58:42admincreate