This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib2.HTTPError.reason is not documented as "Added in 2.7"
Type: behavior Stage: resolved
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: docs@python Nosy List: BreamoreBoy, berker.peksag, docs@python, moreati, orsenthil
Priority: normal Keywords: patch

Created on 2013-11-26 09:59 by moreati, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
HTTPError.reason-versionadded.diff moreati, 2013-11-26 09:59 review
Messages (3)
msg204465 - (view) Author: Alex Willmer (moreati) * Date: 2013-11-26 09:59
issue13211 added a .reason attribute to urllib2.HTTPError in Python 2.7, issue16634 documented it (http://hg.python.org/cpython/rev/deb60efd32eb).

The documentation for Python 2.7 doesn't mention that this attribute was added in that release. This (at least weakly) implies it's available to use in previous 2.x releases.
msg228397 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-10-03 22:21
The patch just adds the version added tag to urllib2.rst.  Can someone commit this please.
msg231063 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2014-11-12 06:33
issue 13211 was about a bug in exception hierarchy of the urllib2 module(not an addition to the public API - see msg147318 for detailed explanation). I don't think we need to update documentation.
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 63995
2014-11-12 06:33:44berker.peksagsetstatus: open -> closed
resolution: wont fix
messages: + msg231063

stage: patch review -> resolved
2014-10-04 04:37:21berker.peksagsetnosy: + orsenthil
2014-10-04 00:42:28berker.peksagsetnosy: + berker.peksag

stage: patch review
2014-10-03 22:21:21BreamoreBoysetnosy: + BreamoreBoy
messages: + msg228397
2013-11-26 09:59:18moreaticreate