bpo-42233: Add union type expression support for GenericAlias and fix de-duplicating of GenericAlias#23077
Conversation
gvanrossum
left a comment
There was a problem hiding this comment.
I hope @serhiy-storchaka can finish this review?
gvanrossum
left a comment
There was a problem hiding this comment.
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)?
|
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