[issue13567] HTTPError interface changes / breaks depending on what was passed to constructor

2011-12-09 Thread Pami Ketolainen
New submission from Pami Ketolainen pami.ketolai...@gmail.com: In case of authentication error, HTTPError gets initialized without file object and constructor of addinfourl is not called. This means that url attribute is not set and geturl() (inherited from addinfourl) raises AttributeError

[issue13567] HTTPError interface changes / breaks depending on what was passed to constructor

2011-12-09 Thread Pami Ketolainen
Pami Ketolainen pami.ketolai...@gmail.com added the comment: Patch adapted to 3.3 -- Added file: http://bugs.python.org/file23893/httperror-geturl-fix-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13567