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: ConfigParser documentation does not mention ConfigParser.Error as base exception class for ConfigParser exceptions
Type: enhancement Stage:
Components: Documentation Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, georg.brandl, lukasz.langa, pekkle, ysj.ray
Priority: normal Keywords: patch

Created on 2010-07-28 22:49 by pekkle, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue9407.diff ysj.ray, 2010-07-29 14:16 patch against py3k
Messages (3)
msg111866 - (view) Author: Andrew Wu (pekkle) Date: 2010-07-28 22:49
* Reference bug http://bugs.python.org/issue9406
* Reference documentation at http://docs.python.org/library/configparser.html

The docs list all the specific errors to look out for, but does not mention the base exception class for ConfigParser errors (ConfigParser.Error).  It may be useful to mention it to show the exception heirarchy as well as in the case a user may want to catch all ConfigParser errors generally.
msg111932 - (view) Author: ysj.ray (ysj.ray) Date: 2010-07-29 14:16
"It may be useful to mention it to show the exception heirarchy as well as in the case a user may want to catch all ConfigParser errors generally."

+1. I provide a patch for this.
msg111938 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-07-29 14:32
Applied in r83229. Thanks!
History
Date User Action Args
2022-04-11 14:57:04adminsetgithub: 53653
2010-07-29 14:32:34georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg111938

resolution: fixed
2010-07-29 14:17:58ysj.raysetversions: + Python 3.2
2010-07-29 14:16:42ysj.raysetfiles: + issue9407.diff

nosy: + ysj.ray
messages: + msg111932

keywords: + patch
2010-07-29 03:50:30r.david.murraysetnosy: + lukasz.langa
2010-07-28 22:49:25pekklecreate