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

2015-05-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[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, Interp