Carl <c...@carlbook.com> added the comment: @orsenthil, that is the correct behavior if you do not want to override any of URLopener's handlers for error codes. In my case, I wanted to override FancyURLopener (a child class of URLopener) to override HTTP 401 behavior. Using urlretrieve is not correct in this case.
Also included python 3.2 code, I didn't test 3.1. ---------- Added file: http://bugs.python.org/file22752/bug3.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12638> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com