Skip to content

gh-111622: Fix doc for items views #112051

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

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy 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

bedevere-app bot commented Nov 14, 2023

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

@bedevere-app bedevere-app bot 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>
@terryjreedy terryjreedy removed the needs backport to 3.11 only security fixes label Nov 14, 2023
@terryjreedy terryjreedy 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 free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant