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, Interpreter Core
messages: 242407
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: PyObject_IsInstance() and PyObject_IsSubclass() can fail
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24115
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com