[issue3611] invalid exception context

STINNER Victor report at bugs.python.org
Wed Aug 20 18:01:13 CEST 2008


STINNER Victor <haypo at users.sourceforge.net> added the comment:

About the PyEval_CallObject() call in errors.c, here is an example:
   Call exception<0x81dcee0>(args<0x8751dc4>)
with exception=
   object  : <class 'AttributeError'>
   type    : type
   refcount: 6
   address : 0x81dcee0
and args=
   object  : ("type object 'ProcError' has no 
attribute '__subclasscheck__'",)
   type    : tuple
   refcount: 1
   address : 0x8751dc4

This exception may comes from PyObject_IsSubclass() which calls 
PyObject_GetAttr(cls, "__subclasscheck__").

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3611>
_______________________________________


More information about the Python-bugs-list mailing list