Skip to content

[3.10] bpo-44731: Simplify the union type implementation (GH-27318)#27334

Merged
pablogsal merged 1 commit intopython:3.10from
Fidget-Spinner:backport-44731
Jul 24, 2021
Merged

[3.10] bpo-44731: Simplify the union type implementation (GH-27318)#27334
pablogsal merged 1 commit intopython:3.10from
Fidget-Spinner:backport-44731

Conversation

@Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Jul 24, 2021

Remove direct support of typing types in the C code because they are already supported by defining methods __or__ and __ror__ in the Python code.

(cherry picked from commit 0828423)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue44731

Remove direct support of typing types in the C code because they are already supported by defining methods __or__ and __ror__ in the Python code.
@pablogsal pablogsal merged commit ca5a4cf into python:3.10 Jul 24, 2021
@Fidget-Spinner Fidget-Spinner deleted the backport-44731 branch July 24, 2021 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants