-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-112281: Allow Union
with unhashable Annotated
metadata
#112283
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
Conversation
Misc/NEWS.d/next/Library/2023-11-20-16-15-44.gh-issue-112281.gH4EVk.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
We just did 6 rounds of nitpicks :) |
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.
LGTM. @JelleZijlstra, anything more from you?
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
I already approved this one :) |
Thanks, and sorry for the wait! Do you think this should be backported? I lean yes because the old behavior feels like a bug. |
Yeah, agreed |
Thanks @sobolevn for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…ythonGH-112283) (cherry picked from commit a7549b0) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Sorry, @sobolevn and @AlexWaygood, I could not cleanly backport this to
|
GH-116213 is a backport of this pull request to the 3.12 branch. |
…adata (pythonGH-112283) (cherry picked from commit a7549b0) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-116288 is a backport of this pull request to the 3.11 branch. |
…ython#112283) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
…ython#112283) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
…ython#112283) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This should not affect performance that much:
TypeError
happens on unhashable items (it should not affect code with only hashable parts)