Skip to content

Conversation

@terryjreedy
Copy link
Member

@terryjreedyterryjreedy commented Nov 14, 2023

Items views are set-like even when some values are not hashable, but work even better when all are.
Patch based on suggestion by Raymond Hettinger.


📚 Documentation preview 📚: https://cpython-previews--112051.org.readthedocs.build/

They are set-like even when some values are not hashable, but work even better when all are.
@miss-islington-app
Copy link

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @terryjreedy, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker e31d65e0b7bb6d6fee4e8df54e10976b4cfab1de 3.11 

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 14, 2023
They are set-like even when some values are not hashable, but work even better when all are. (cherry picked from commit e31d65e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-app
Copy link

GH-112052 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12 only security fixes label Nov 14, 2023
terryjreedy added a commit that referenced this pull request Nov 14, 2023
They are set-like even when some values are not hashable, but work even better when all are. (cherry picked from commit e31d65e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@terryjreedyterryjreedy removed the needs backport to 3.11 only security fixes label Nov 14, 2023
@terryjreedyterryjreedy deleted the ditem-view branch November 14, 2023 09:40
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
They are set-like even when some values are not hashable, but work even better when all are.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
They are set-like even when some values are not hashable, but work even better when all are.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@terryjreedy