History for Lib/_weakrefset.py - python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

gh-89967: make WeakKeyDictionary and WeakValueDictionary thread safe (#125325)

gh-89967: make WeakKeyDictionary and WeakValueDictionary thread safe (#125325)

gh-123089: Make weakref.WeakSet safe against concurrent mutations while it is being iterated (#123279)

gh-123089: Make weakref.WeakSet safe against concurrent mutations while it is being iterated (#123279)

bpo-26579: Add object.__getstate__(). (GH-2821)

bpo-26579: Add object.__getstate__(). (GH-2821)

bpo-44962: Fix a race in WeakKeyDict, WeakValueDict and WeakSet when two threads attempt to commit the last pending removal (GH-27921)

bpo-44962: Fix a race in WeakKeyDict, WeakValueDict and WeakSet when two threads attempt to commit the last pending removal (GH-27921)

bpo-39481: Make weakref and WeakSet generic (GH-19497)

bpo-39481: Make weakref and WeakSet generic (GH-19497)

bpo-36949: Implement __repr__ on WeakSet (GH-13415)

bpo-36949: Implement __repr__ on WeakSet (GH-13415)

bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)

bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)

bpo-29762: More use "raise from None". (#569)

bpo-29762: More use "raise from None". (#569)

Issue #20006: Fix sporadic failures in test_weakset.

Issue #20006: Fix sporadic failures in test_weakset.

Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.

Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.

Fix some set algebra methods of WeakSet objects.

Fix some set algebra methods of WeakSet objects.

Port 2.7 fix for sporadic failure in test_weakset.

Port 2.7 fix for sporadic failure in test_weakset.

Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.

Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.

#10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.

#10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.

Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against

Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against

Issue 5964: Fixed WeakSet __eq__ comparison to handle non-WeakSet objects.

Issue 5964: Fixed WeakSet __eq__ comparison to handle non-WeakSet objects.

Add a test suite for WeakSet mostly derived from test_set and fix some

Add a test suite for WeakSet mostly derived from test_set and fix some

Fix two issues in the weak set implementation.

Fix two issues in the weak set implementation.

Moved WeakSet into a bootstap module use by abc.py.

Moved WeakSet into a bootstap module use by abc.py.