[issue32999] issubclass(obj, abc.ABC) causes a segfault

INADA Naoki report at bugs.python.org
Tue Mar 6 19:57:06 EST 2018


INADA Naoki <songofacandy at gmail.com> added the comment:

> BTW, do TypeErrors related to weak references deserve any treatment? Isn't it a kind of coincidence that the error raised due to usage of WeakSet in issubclass(obj, ABC) is what we expect? (Sorry, I'm not familiar with WeakSets).

Sorry, I can't get what is your point.
I don't want to change ABC behavior for now.  I want to make C implementation consistent with Python implementation, except some (unrealistic) corner cases.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32999>
_______________________________________


More information about the Python-bugs-list mailing list