[issue12479] Add HTTPErrorProcessor class definition

New submission from Sandro Tosi <sandro.tosi@gmail.com>: As reported in http://mail.python.org/pipermail/docs/2011-June/004879.html urllibs/urllib.request misses the definition of HTTPErrorProcessor class; the attached patches add it to the documentation. ---------- assignee: docs@python components: Documentation files: HTTPErrorProcessor_class-default.patch keywords: patch messages: 139687 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: Add HTTPErrorProcessor class definition versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22552/HTTPErrorProcessor_class-default.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12479> _______________________________________

Changes by Sandro Tosi <sandro.tosi@gmail.com>: Added file: http://bugs.python.org/file22553/HTTPErrorProcessor_class-py27.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12479> _______________________________________

Roundup Robot <devnull@psf.upfronthosting.co.za> added the comment: New changeset 8d64d47569cb by Senthil Kumaran in branch '3.2': Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi http://hg.python.org/cpython/rev/8d64d47569cb New changeset b2125a6deb96 by Senthil Kumaran in branch 'default': merge from 3.2 - Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi http://hg.python.org/cpython/rev/b2125a6deb96 New changeset b9ae6be1874d by Senthil Kumaran in branch '2.7': merge from 3.2 - Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi http://hg.python.org/cpython/rev/b9ae6be1874d ---------- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12479> _______________________________________

Éric Araujo <merwok@netwok.org> added the comment: It seems to me that the doc after the patch is barely more helpful. It does not explain when and how one would see or use the class, nor what it does. ---------- nosy: +eric.araujo _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12479> _______________________________________

Éric Araujo <merwok@netwok.org> added the comment: Ah, I see that the class is referenced earlier in the file, and that its methods come after. I’d put the class definition just before the methods. (I would even refactor the reST to use nested class/method combo, but that’s a minor markup cleanup, not a content improvement.) ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12479> _______________________________________

Senthil Kumaran <senthil@uthcode.com> added the comment: On Mon, Jul 18, 2011 at 02:07:42PM +0000, Éric Araujo wrote:
I’d put the class definition just before the methods. (I would even refactor the reST to use nested class/method combo...
This is a good suggestion. It would good to do some point in time soon. Thanks! ---------- nosy: +orsenthil _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12479> _______________________________________
participants (4)
-
Roundup Robot
-
Sandro Tosi
-
Senthil Kumaran
-
Éric Araujo