gh-91081: Add note on WeakKeyDictionary behavior when deleting a replaced entry by slateny · Pull Request #91499 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Document dict behavior when setting equal but not identical key #91081

Add note about new key not replacing existing key for weakref

Add extra sentence to correct misunderstanding of issue

View reviewed changes

Add specific example

Make example runnable

Add weakref. for dict example

View reviewed changes

awaiting core review

gh-77753: Add hash examples for set/dict #92549

Remove one newline

netlify Bot commented Dec 10, 2022 • edited Loading Uh oh! There was an error while loading. Please reload this page.
netlify Bot commented Dec 10, 2022 • edited Loading Uh oh! There was an error while loading. Please reload this page.

netlify Bot commented Dec 10, 2022 • edited Loading Uh oh! There was an error while loading. Please reload this page.

There was an error while loading. Please reload this page.

Add workaround example

View reviewed changes

Use del over pop()

View reviewed changes

needs backport to 3.10

needs backport to 3.11

: Add note on WeakKeyDictionary behavior when deleting …

: Add note on WeakKeyDictionary behavior when deleting …

: Add note on WeakKeyDictionary behavior when deleting a repl…

: Add note on WeakKeyDictionary behavior when deleting a repl…

Merged main into regmachine branch (