[issue44731] Simplify implementation of the union type

2021-07-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44731] Simplify implementation of the union type

2021-07-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset ca5a4cf8266cf789eae379fe224458e94dd41b30 by Ken Jin in branch '3.10': bpo-44731: Simplify the union type implementation (GH-27318) (GH-27334) https://github.com/python/cpython/commit/ca5a4cf8266cf789eae379fe224458e94dd41b30 --

[issue44731] Simplify implementation of the union type

2021-07-24 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +25877 pull_request: https://github.com/python/cpython/pull/27334 ___ Python tracker ___ ___

[issue44731] Simplify implementation of the union type

2021-07-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 08284231275ac9cc60ae27eab2338805919d8881 by Serhiy Storchaka in branch 'main': bpo-44731: Simplify the union type implementation (GH-27318) https://github.com/python/cpython/commit/08284231275ac9cc60ae27eab2338805919d8881 --

[issue44731] Simplify implementation of the union type

2021-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It fixes also issue44642. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44731] Simplify implementation of the union type

2021-07-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +25863 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27318 ___ Python tracker

[issue44731] Simplify implementation of the union type

2021-07-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : 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