Antoine Pitrou <[email protected]> added the comment:
I don't have a 2.5 checkout to test but the patch looks ok to me.
Under 2.7 I get a test failure, I suppose you'll have some merging work to do:
test test_urllib2 failed -- Traceback (most recent call last):
File "/home/antoine/cpython/27/Lib/test/test_urllib2.py", line 990, in
test_invalid_redirect
MockHeaders({"location": valid_url}))
File "/home/antoine/cpython/27/Lib/urllib2.py", line 616, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/home/antoine/cpython/27/Lib/urllib2.py", line 219, in __getattr__
raise AttributeError, attr
AttributeError: timeout
----------
versions: -Python 3.4
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11662>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com