Message398119
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. |
|
| Date |
User |
Action |
Args |
| 2021-07-24 07:04:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, uriyyo, kj |
| 2021-07-24 07:04:29 | serhiy.storchaka | set | messageid: <1627110269.61.0.426966849087.issue44731@roundup.psfhosted.org> |
| 2021-07-24 07:04:29 | serhiy.storchaka | link | issue44731 messages |
| 2021-07-24 07:04:29 | serhiy.storchaka | create | |
|