Krzysztof Pawlik <[EMAIL PROTECTED]> added the comment: Attached patch adds new argument: progresshook - it will be passed two arguments: count of downloaded bytes and total file size (or -1 if it's not available).
Introducing new argument instead of modifying reporthook maintains backwards compatibility, also allows removal of reporthook at one point in the future. This patch is against r30 SVN tag. ---------- keywords: +patch nosy: +nelchael Added file: http://bugs.python.org/file12271/progresshook.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1490929> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com