[issue13211] urllib2.HTTPError does not have 'reason' attribute.

Jason R. Coombs report at bugs.python.org
Wed Oct 26 11:04:39 CEST 2011


Jason R. Coombs <jaraco at jaraco.com> added the comment:

I scanned through the libs for Python 2.7, 3.2, and 3.3 and there is no construction of HTTPError that does not pass a string for msg. I believe it would be reasonable to alias reason to msg. I'll put together the changesets.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13211>
_______________________________________


More information about the Python-bugs-list mailing list