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 <1627110269.61.0.426966849087.issue44731@roundup.psfhosted.org>
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: <1627110269.61.0.426966849087.issue44731@roundup.psfhosted.org>
2021-07-24 07:04:29serhiy.storchakalinkissue44731 messages
2021-07-24 07:04:29serhiy.storchakacreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.