[Python-bugs-list] [ python-Bugs-523473 ] PyModule_AddObject doesn't set exception
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 27 Feb 2002 08:58:51 -0800
Bugs item #523473, was opened at 2002-02-27 08:58
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=523473&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Yakov Markovitch (markovitch)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyModule_AddObject doesn't set exception
Initial Comment:
PyModule_AddObject tests for its first parameter to be
a module and third to be non-NULL and returns -1 if
these are wrong, but doesn't set any exception. This
behaviour is obviously wrong (at least for the case
when first parameter is not a module - this must be a
PyExc_TypeError).
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=523473&group_id=5470