-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
bpo-42233: Add union type expression support for GenericAlias and fix de-duplicating of GenericAlias #23077
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope @serhiy-storchaka can finish this review?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries. And I'm sorry, but it's not quite over (though we're very close!).
Also, can you please add a test for the failure path (like what I showed previously)?
Misc/NEWS.d/next/Core and Builtins/2020-11-01-23-34-56.bpo-42233.zOSzja.rst
Outdated
Show resolved
Hide resolved
Thanks! |
Thanks @Fidget-Spinner for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, @Fidget-Spinner and @gvanrossum, I could not cleanly backport this to |
Thanks for being so patient and taking the time for multiple rounds of reviews. I learnt a lot from this. Hopefully, whatever I write in the future won't require this many edits again BTW, I don't think a backport is required - union expressions are 3.10 only |
D'oh. Adding the backport label is a reflex for me. :-) Can we close the issue? |
Yup! |
|
My guess is that the asyncio tests are flaky, so not to worry unless Victor tracks us down. :-) |
… de-duplicating of GenericAlias (pythonGH-23077)
https://bugs.python.org/issue42233