[issue2915] PyObject_IsInstance() doesn't find bases named in type(name, bases, dict)

2008-05-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue2915] PyObject_IsInstance() doesn't find bases named in type(name, bases, dict)

2008-05-21 Thread Stefan Behnel
Stefan Behnel <[EMAIL PROTECTED]> added the comment: Sorry, the bug was in Cython, which didn't call InstanceMethod(). Please ignore. __ Tracker <[EMAIL PROTECTED]> __

[issue2915] PyObject_IsInstance() doesn't find bases named in type(name, bases, dict)

2008-05-19 Thread Stefan Behnel
New submission from Stefan Behnel <[EMAIL PROTECTED]>: While porting the code that Cython generates to Py3a5 (almost completed, BTW), I noticed a problem with class creation. We are currently using this call to create a new class in Py3: PyObject_CallFunctionObjArgs((PyObject *)&PyType_Type,