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
Co-authored-by: Alex Waygood <[email protected]>
Co-authored-by: Alex Waygood <[email protected]>
|
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 <[email protected]>
|
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 <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
|
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. |
…H-112283) (#116213) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
…adata (pythonGH-112283) (cherry picked from commit a7549b0) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
|
GH-116288 is a backport of this pull request to the 3.11 branch. |
…H-112283) (#116288) Co-authored-by: Alex Waygood <[email protected]>
…ython#112283) Co-authored-by: Alex Waygood <[email protected]>
…ython#112283) Co-authored-by: Alex Waygood <[email protected]>
…ython#112283) Co-authored-by: Alex Waygood <[email protected]>
This should not affect performance that much:
TypeErrorhappens on unhashable items (it should not affect code with only hashable parts)