[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2020-10-26 Thread Irit Katriel
Change by Irit Katriel : -- stage: test needed -> versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2 ___ Python tracker ___ _

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2020-10-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: > so was this fixed? Irit, not really. This is adding another hook called "progress hook" in addition to the "report hook". We need to evaluate if this is really required. -- status: pending -> open ___ Python tr

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2020-10-25 Thread Irit Katriel
Irit Katriel added the comment: The code in urllib is different now but I see that a test very similar to the one in the patch exists, so was this fixed? https://github.com/python/cpython/blob/e68c67805e6a4c4ec80bea64be0e8373cc02d322/Lib/test/test_urllib.py#L813 -- nosy: +iritkatriel

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2012-11-04 Thread akira
akira added the comment: Related issue 16409 -- nosy: +akira ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2011-04-24 Thread Rafael Zanella
Rafael Zanella added the comment: Simple (lazy) test case added. It just replicates one test case of reporthook to work with progresshook. The testcases assume the hard-coded value of blocksize on urllib, maybe it should become a public property. Also commented on diff: http://bugs.python.or

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2010-08-23 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2010-08-22 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.2 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2009-02-12 Thread Daniel Diniz
Daniel Diniz added the comment: Patch has docs, tests needed. -- nosy: +ajaksu2, orsenthil stage: -> test needed versions: +Python 2.7 ___ Python tracker ___

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2008-12-07 Thread Krzysztof Pawlik
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 comp