Skip to content

[3.10] bpo-44490: Improve typing module compatibility with types.Union (GH-27048) #27222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

Fidget-Spinner
Copy link
Member

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

(cherry picked from commit bf89ff9)

Co-authored-by: Yurii Karabas [email protected]

https://bugs.python.org/issue44490

@Fidget-Spinner Fidget-Spinner removed the request for review from gvanrossum July 18, 2021 07:17
@Fidget-Spinner Fidget-Spinner changed the title Improve typing module compatibility with types.Union (GH-27048) [3.10] bpo-44490: Improve typing module compatibility with types.Union (GH-27048) Jul 18, 2021
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, looks good to me too.

What happens next? Will it be merged automatically? Does Pablo need to do it? Can we do it?

@Fidget-Spinner
Copy link
Member Author

Can we do it?

I think so. I asked Pablo the previous time because that change was quite big, touched lots of C code and added new features.

This time, it's smaller, only touching Python code, and IMO it's a bug. Without this fix we can't mix and match the Union type and typing types.

@gvanrossum gvanrossum merged commit a272164 into python:3.10 Jul 19, 2021
@bedevere-bot
Copy link

@gvanrossum: Please replace # with GH- in the commit message next time. Thanks!

@Fidget-Spinner Fidget-Spinner deleted the test_push branch July 19, 2021 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants