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 JelleZijlstra
Recipients JelleZijlstra, brandtbucher, gvanrossum, jack__d, kj, levkivskyi, uriyyo
Date 2021-06-29.22:43:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
I'd also be OK with returning a `types.GenericAlias(int | list[T], str)`, which might be simpler. It doesn't matter for static type checkers, and runtime type checkers can extract what they need anyway.
History
Date User Action Args
2021-06-29 22:43:44JelleZijlstrasetrecipients: + JelleZijlstra, gvanrossum, levkivskyi, brandtbucher, uriyyo, kj, jack__d
2021-06-29 22:43:44JelleZijlstrasetmessageid: <[email protected]>
2021-06-29 22:43:44JelleZijlstralinkissue44490 messages
2021-06-29 22:43:44JelleZijlstracreate