➜

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, uriyyo
Date 2021-07-24.07:04:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
The proposed PR simplifies implementation of the union type by removing direct support of typing types. It was not necessary because all these types implement __or__ and __ror__ methods.

The only visible difference is that int | TypeVar() etc returns now typing.Union instead of types.Union. But TypeVar() | int already returns typing.Union.
History
Date User Action Args
2021-07-24 07:04:29serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, uriyyo, kj
2021-07-24 07:04:29serhiy.storchakasetmessageid: <[email protected]>
2021-07-24 07:04:29serhiy.storchakalinkissue44731 messages
2021-07-24 07:04:29serhiy.storchakacreate