[issue24115] PyObject_IsInstance() and PyObject_IsSubclass() can fail

2015-05-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24115 ___

[issue24115] PyObject_IsInstance() and PyObject_IsSubclass() can fail

2015-05-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: PyObject_IsInstance() and PyObject_IsSubclass() cat return 0, 1, or -1. But some code use if (PyObject_IsInstance(...)) or if (!PyObject_IsInstance(...)). This should be fixed. -- assignee: serhiy.storchaka components: Extension Modules,