[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 maintain

[issue4390] Using subprocess.STDOUT causes AttributeError

2008-11-22 Thread Krzysztof Pawlik
New submission from Krzysztof Pawlik <[EMAIL PROTECTED]>: Using stderr=subprocess.STDOUT causes Python 3.0 (RC1 from Ubuntu 8.10) to raise AttributeError, important code snippet (whole test program attached): proc = subprocess.Popen(['whoami'], stdout=subprocess.PIPE, stderr=s