[issue42233] GenericAlias does not support union type expressions

Serhiy Storchaka report at bugs.python.org
Sun Nov 1 10:39:31 EST 2020


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

There is also a problem with typing module.

>>> typing.List[int] | dict[float, str]
typing.Union[typing.List[int], dict]

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list