[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

Guido van Rossum report at bugs.python.org
Tue Jul 6 14:04:58 EDT 2021


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


New changeset c45fa1a5d9b419cf13ad4b5a7cb453956495b83e by Yurii Karabas in branch 'main':
bpo-44490: Add __parameters__ and __getitem__ to types.Union (GH-26980)
https://github.com/python/cpython/commit/c45fa1a5d9b419cf13ad4b5a7cb453956495b83e


----------

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


More information about the Python-bugs-list mailing list