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

Ivan Levkivskyi report at bugs.python.org
Wed Mar 7 14:22:21 EST 2018


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

Serhiy, for example `issubclass(typing.MutableMapping, typing.Mapping)` returns `True` while neither of those two are actual class objects. These relationships are kept mostly so that `typing.*` can be used as a drop-in replacement for `collections.abc.*` (plus backwards compatibility).

----------

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


More information about the Python-bugs-list mailing list