Message60914
| 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:42 | admin | link | issue1490929 messages |
| 2008年01月20日 09:58:42 | admin | create |
|