]> granicus.if.org Git - python/commit
Fix SF bug [ #447370 ] typo in urllib2.py
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 7 Aug 2001 21:12:25 +0000 (21:12 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 7 Aug 2001 21:12:25 +0000 (21:12 +0000)
commit54e99e8b3bba4e2fb51dd25e54356c16f84b722b
tree67aa886f89d8768ac4f6f4822802d39d7ab9f6a8
parent16fd3381d4e5ba884c5b9e5135a1d7cc5e5e9a2c
Fix SF bug [ #447370 ] typo in urllib2.py

Also fix another bug caught by pychecker-- HTTPError() raised when
redirect limit exceed did not pass an fp object.  Had to change method
to keep fp object around until it's certain that the error won't be
raised.

Remove useless line in do_proxy().
Lib/urllib2.py