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

Serhiy Storchaka report at bugs.python.org
Wed Jul 14 00:35:48 EDT 2021


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


New changeset 81989058de381108dfd0a4255b93d4fb34417002 by Serhiy Storchaka in branch 'main':
bpo-44606: Fix __instancecheck__ and __subclasscheck__ for the union type. (GH-27120)
https://github.com/python/cpython/commit/81989058de381108dfd0a4255b93d4fb34417002


----------

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


More information about the Python-bugs-list mailing list