gh-112281: Allow Union with unhashable Annotated metadata#112283
gh-112281: Allow Union with unhashable Annotated metadata#112283AlexWaygood merged 13 commits intopython:mainfrom
Union with unhashable Annotated metadata#112283Conversation
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 :) |
AlexWaygood
left a comment
There was a problem hiding this comment.
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:
TypeErrorhappens on unhashable items (it should not affect code with only hashable parts)