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

noreply@sourceforge.net noreply@sourceforge.net
Wed, 03 Jul 2002 07:59:49 -0700


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

Category: Documentation
Group: None
Status: Open
Resolution: None
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.

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

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