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

Wrong description for PyErr_Restore #36845

Closed
theller opened this issue Jul 3, 2002 · 2 comments
Closed

Wrong description for PyErr_Restore #36845

theller opened this issue Jul 3, 2002 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@theller
Copy link

theller commented Jul 3, 2002

BPO 577000
Nosy @freddrake, @theller

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/freddrake'
closed_at = <Date 2002-10-24.20:56:15.000>
created_at = <Date 2002-07-03.14:59:49.000>
labels = ['docs']
title = 'Wrong description for PyErr_Restore'
updated_at = <Date 2002-10-24.20:56:15.000>
user = 'https://github.com/theller'

bugs.python.org fields:

activity = <Date 2002-10-24.20:56:15.000>
actor = 'fdrake'
assignee = 'fdrake'
closed = True
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2002-07-03.14:59:49.000>
creator = 'theller'
dependencies = []
files = []
hgrepos = []
issue_num = 577000
keywords = []
message_count = 2.0
messages = ['11466', '11467']
nosy_count = 2.0
nosy_names = ['fdrake', 'theller']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue577000'
versions = []

@theller
Copy link
Author

theller commented Jul 3, 2002

The description for PyErr_Restore() says: "The
exception type should be a string or class; if it is a
class, the value should be an instance of that class."

This is apparently wrong, if you call PyErr_SetString()
for example, the value is a string object, and the
exception type is whatever has been passed to the call.

I don't know the rules, so I cannot supply a patch.

@theller theller closed this as completed Jul 3, 2002
@theller theller added the docs Documentation in the Doc dir label Jul 3, 2002
@theller theller closed this as completed Jul 3, 2002
@theller theller added the docs Documentation in the Doc dir label Jul 3, 2002
@freddrake
Copy link
Member

Logged In: YES
user_id=3066

Fixed in Doc/api/exceptions.tex 1.12 and 1.3.6.4.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 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