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: Possible error in HTTPErrorProcessor documentation
Type: Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, python-dev, sandro.tosi
Priority: normal Keywords:

Created on 2011-07-03 12:14 by sandro.tosi, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg139685 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2011-07-03 12:14
Hello, I think HTTPErrorProcessor documentation at [1] contains a cut&paste error (from UnknownHandler) for the only method available

[1] http://docs.python.org/py3k/library/urllib.request.html#httperrorprocessor-objects

because:

./python -c "import urllib.request as ur; print ('unknown_open' in dir(ur.HTTPErrorProcessor))"
False

If you can confirm that http_response() should be used instead, I'll provide a patch to fix it.
msg140548 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-17 23:19
New changeset 70983e8b114a by Senthil Kumaran in branch '3.2':
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
http://hg.python.org/cpython/rev/70983e8b114a

New changeset 04541e33364d by Senthil Kumaran in branch 'default':
merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
http://hg.python.org/cpython/rev/04541e33364d

New changeset edf238312baa by Senthil Kumaran in branch '2.7':
merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
http://hg.python.org/cpython/rev/edf238312baa
History
Date User Action Args
2022-04-11 14:57:19adminsetgithub: 56687
2011-07-17 23:19:11python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg140548

resolution: fixed
stage: needs patch -> resolved
2011-07-03 12:14:27sandro.tosicreate