This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients gvanrossum, kj, serhiy.storchaka
Date 2021-07-16.13:32:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626442347.74.0.420703742148.issue44653@roundup.psfhosted.org>
In-reply-to
Content
>>> import typing
>>> T = typing.TypeVar('T')
>>> (int | T)[typing.Union[str, list]]
NotImplemented

See also issue44633. But in this case the expected result is int | str | list or typing.Union[init, str, list].
History
Date User Action Args
2021-07-16 13:32:27serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, kj
2021-07-16 13:32:27serhiy.storchakasetmessageid: <1626442347.74.0.420703742148.issue44653@roundup.psfhosted.org>
2021-07-16 13:32:27serhiy.storchakalinkissue44653 messages
2021-07-16 13:32:27serhiy.storchakacreate