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 joperez
Recipients joperez
Date 2021-06-08.20:21:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623183708.45.0.801079090844.issue44353@roundup.psfhosted.org>
In-reply-to
Content
`typing.NewType` doesn't support PEP 604.

```
>>> import typing
>>> A = typing.NewType("A", int)
>>> B = typing.NewType("B", str)
>>> A | B
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for |: 'function' and 'function'
```
History
Date User Action Args
2021-06-08 20:21:48joperezsetrecipients: + joperez
2021-06-08 20:21:48joperezsetmessageid: <1623183708.45.0.801079090844.issue44353@roundup.psfhosted.org>
2021-06-08 20:21:48joperezlinkissue44353 messages
2021-06-08 20:21:48joperezcreate