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 uriyyo
Recipients JelleZijlstra, brandtbucher, gvanrossum, kj, levkivskyi, uriyyo
Date 2021-06-29.10:00:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624960847.37.0.227259788863.issue44490@roundup.psfhosted.org>
In-reply-to
Content
Should `__getitem__` be implemented for `types.Union`?
I can implement it if no one is working on it.

P.S. mypy currently does not support it:
```
Value of type "types.Union" is not indexable
```
History
Date User Action Args
2021-06-29 10:00:47uriyyosetrecipients: + uriyyo, gvanrossum, levkivskyi, JelleZijlstra, brandtbucher, kj
2021-06-29 10:00:47uriyyosetmessageid: <1624960847.37.0.227259788863.issue44490@roundup.psfhosted.org>
2021-06-29 10:00:47uriyyolinkissue44490 messages
2021-06-29 10:00:46uriyyocreate