Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slight inconsistency in documentation appearances of RuntimeError #49531

Closed
MLModel mannequin opened this issue Feb 16, 2009 · 2 comments
Closed

Slight inconsistency in documentation appearances of RuntimeError #49531

MLModel mannequin opened this issue Feb 16, 2009 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@MLModel
Copy link
Mannequin

MLModel mannequin commented Feb 16, 2009

BPO 5281
Nosy @birkenfeld, @benjaminp, @MLModel

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2009-02-16.16:15:53.525>
created_at = <Date 2009-02-16.14:46:35.726>
labels = ['docs']
title = 'Slight inconsistency in documentation appearances of RuntimeError'
updated_at = <Date 2009-02-16.16:15:53.524>
user = 'https://github.com/MLModel'

bugs.python.org fields:

activity = <Date 2009-02-16.16:15:53.524>
actor = 'benjamin.peterson'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2009-02-16.16:15:53.525>
closer = 'benjamin.peterson'
components = ['Documentation']
creation = <Date 2009-02-16.14:46:35.726>
creator = 'MLModel'
dependencies = []
files = []
hgrepos = []
issue_num = 5281
keywords = []
message_count = 2.0
messages = ['82241', '82246']
nosy_count = 3.0
nosy_names = ['georg.brandl', 'benjamin.peterson', 'MLModel']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue5281'
versions = ['Python 3.0', 'Python 3.1']

@MLModel
Copy link
Mannequin Author

MLModel mannequin commented Feb 16, 2009

The Library Exceptions documentation describes RuntimeException as "mostly
a relic from a previous version of the interpreter; it is not used very
much any more." Yet, the Reference in describing the raise statement uses
RuntimeException as an example:

raise RuntimeError("foo occurred").with_traceback(tracebackobj)

This seems slightly misleading. It might be better to just use Exception
as the example there.

@MLModel MLModel mannequin assigned birkenfeld Feb 16, 2009
@MLModel MLModel mannequin added the docs Documentation in the Doc dir label Feb 16, 2009
@benjaminp
Copy link
Contributor

Fixed in r69675.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants