[issue44606] Discrepancy between isinstance() and issubclass() for union types

Serhiy Storchaka report at bugs.python.org
Tue Jul 13 02:19:02 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I have found this when refactored the code of Objects/unionobject.c. So I have a patch which fixes this, but I want to make sure what behavior is considered correct.

----------

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


More information about the Python-bugs-list mailing list