GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — The Attributes of Exception Objects are not Clearly Documented and Easily Discoverable · Issue #111917 · python/cpython Closed Closed Copy link Labels docsDocumentation in the Doc dirDocumentation in the Doc dir DescriptionAll exception objects (instances of
The ProblemThe documentation doesn't have a good place to go to find out what attributes to expect on exception objects. There are some explicit enumerations on the Built-in Exceptions page for specific exception types (e.g. The closest we have is the attribute list for Here's what I've found in the docs currently:
Like I said, if you want the full picture then currently you have to piece things together. Furthermore, the following details are not clearly specified (unless I missed something):
ExpectationsWithout having given it much deep thought, I'd expect the following:
Additionally, the following might be worth doing:
Prior art for detailing attributes of core types includes work we did a while back for the import system, both related to modules and importers. Also see:
FootnotesReacted by Alex, Civ Ysh K and Gabriel Kakizaki Activity
MetadataMetadataAssigneesLabelsdocsDocumentation in the Doc dirDocumentation in the Doc dir Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |