Skip to content

bpo-44001: improve Literal documentation#25877

Merged
ambv merged 1 commit into
python:mainfrom
JelleZijlstra:literalhash
May 4, 2021
Merged

bpo-44001: improve Literal documentation#25877
ambv merged 1 commit into
python:mainfrom
JelleZijlstra:literalhash

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented May 4, 2021

Copy link
Copy Markdown
Member

Mutable but hashable objects (such as function objects) work fine.

https://bugs.python.org/issue44001

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @JelleZijlstra for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 4, 2021
(cherry picked from commit 87109f4)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @JelleZijlstra and @ambv, I could not cleanly backport this to 3.9 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 87109f4d85c93a870ee8aa0d2b394547d4636b17 3.9

@bedevere-bot

Copy link
Copy Markdown

GH-25882 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label May 4, 2021
@ambv ambv assigned JelleZijlstra and unassigned ambv May 4, 2021
ambv pushed a commit that referenced this pull request May 4, 2021
(cherry picked from commit 87109f4)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request May 4, 2021
(cherry picked from commit 87109f4)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-25897 is a backport of this pull request to the 3.9 branch.

@JelleZijlstra JelleZijlstra deleted the literalhash branch May 4, 2021 16:05
ambv pushed a commit that referenced this pull request May 4, 2021
(cherry picked from commit 87109f4)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
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.

5 participants