Skip to content

bpo-44310: Remove dubious suggestion in cache example #26789

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
Jun 19, 2021

Conversation

rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Jun 18, 2021

Remove the weakref example.  If a new instance is created and the same arguments are passes, it raises a ReferenceError.
@rhettinger rhettinger added docs Documentation in the Doc dir skip news needs backport to 3.10 only security fixes labels Jun 18, 2021
@rhettinger rhettinger merged commit e5c7ee1 into main Jun 19, 2021
@rhettinger rhettinger deleted the rhettinger-patch-1 branch June 19, 2021 00:19
@miss-islington
Copy link
Contributor

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-26797 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 Jun 19, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 19, 2021
Remove the weakref example.  If a new instance is created and the same arguments are passes, it raises a ReferenceError.
(cherry picked from commit e5c7ee1)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
rhettinger pushed a commit that referenced this pull request Jun 19, 2021
jdevries3133 pushed a commit to jdevries3133/cpython that referenced this pull request Jun 19, 2021
Remove the weakref example.  If a new instance is created and the same arguments are passes, it raises a ReferenceError.
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.

4 participants