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

Guido van Rossum report at bugs.python.org
Mon Jul 12 16:12:59 EDT 2021


Guido van Rossum <guido at python.org> added the comment:

Ken Jin, should we treat type(None) as a subclass of int|None?

----------
nosy: +kj

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


More information about the Python-bugs-list mailing list