[Python-bugs-list] [ python-Bugs-577000 ] Wrong description for PyErr_Restore

noreply@sourceforge.net noreply@sourceforge.net
Thu, 24 Oct 2002 13:56:15 -0700


Bugs item #577000, was opened at 2002-07-03 10:59
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=577000&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Wrong description for PyErr_Restore

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-10-24 16:56

Message:
Logged In: YES 
user_id=3066

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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=577000&group_id=5470