History for Modules/_collectionsmodule.c - python/cpython · GitHub

github.com

Tin mới

gh-152951 - Fix double DECREF when `newblock` fails during deque.extend calls (#152961)

gh-152951 - Fix double DECREF when `newblock` fails during deque.extend calls (#152961)

gh-137759: Replace _PyObject_HashFast() with PyObject_Hash() in setobject.c (#137828)

gh-137759: Replace _PyObject_HashFast() with PyObject_Hash() in setobject.c (#137828)

gh-150750: Fix a race condition in `deque.index` with free-threading (#150779)

gh-150750: Fix a race condition in `deque.index` with free-threading (#150779)

gh-150319: Replace all documentation which says "See PEP 585" (#150325)

gh-150319: Replace all documentation which says "See PEP 585" (#150325)

gh-149534: Fix unification of `defaultdict` and `frozendict` with `|` (#149539)

gh-149534: Fix unification of `defaultdict` and `frozendict` with `|` (#149539)

gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338)

gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338)

gh-128341: Use _Py_ABI_SLOT in stdlib modules (#145770)

gh-128341: Use _Py_ABI_SLOT in stdlib modules (#145770)

gh-145492: Fix defaultdict __repr__ infinite recursion (GH-145659)

gh-145492: Fix defaultdict __repr__ infinite recursion (GH-145659)

gh-145376: Fix reference leaks in deque (#145421)

gh-145376: Fix reference leaks in deque (#145421)

gh-144809: Make deque copy atomic in free-threaded build (gh-144966)

gh-144809: Make deque copy atomic in free-threaded build (gh-144966)

gh-143004: Fix possible use-after-free in collections.Counter.update() (GH-143044)

gh-143004: Fix possible use-after-free in collections.Counter.update() (GH-143044)

gh-142495: Make `defaultdict` keep existed value when racing with `__missing__` (GH-142668)

gh-142495: Make `defaultdict` keep existed value when racing with `__missing__` (GH-142668)

gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614)

gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614)

gh-111178: Change Argument Clinic signature for METH_O (#130682)

gh-111178: Change Argument Clinic signature for METH_O (#130682)

gh-111178: fix UBSan failures in `Modules/_collectionsmodule.c` (#129773)

gh-111178: fix UBSan failures in `Modules/_collectionsmodule.c` (#129773)

gh-124153: Remove `_PyType_GetModuleByDef2` private function (GH-124261)

gh-124153: Remove `_PyType_GetModuleByDef2` private function (GH-124261)

gh-121288: Make error message for index() methods consistent (GH-121395)

gh-121288: Make error message for index() methods consistent (GH-121395)

gh-117657: Fix data races reported by TSAN in some set methods (#120914)

gh-117657: Fix data races reported by TSAN in some set methods (#120914)

Add fast path in count_elements (gh-120983)

Add fast path in count_elements (gh-120983)

gh-118362: Fix thread safety around lookups from the type cache in the face of concurrent mutators (#118454)

gh-118362: Fix thread safety around lookups from the type cache in the face of concurrent mutators (#118454)

gh-116322: Add Py_mod_gil module slot (#116882)

gh-116322: Add Py_mod_gil module slot (#116882)

gh-112050: Make collections.deque thread-safe in free-threaded builds (#113830)

gh-112050: Make collections.deque thread-safe in free-threaded builds (#113830)

gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247)

gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247)

gh-112050: Adapt collections.deque to Argument Clinic (#113963)

gh-112050: Adapt collections.deque to Argument Clinic (#113963)

gh-106320: Remove private _PyDict functions (#108449)

gh-106869: Use new PyMemberDef constant names (#106871)

gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205)

gh-103092: Isolate `_collections` (#103093)

GH-100989: remove annotation from docstring (GH-102991)

GH-100989: Revert Improve the accuracy of collections.deque docstrings (GH-102979)

gh-100989: Improve the accuracy of collections.deque docstrings (#100990)

gh-99845: Use size_t type in __sizeof__() methods (#99846)

gh-99537: Use Py_SETREF() function in C code (#99656)

gh-99300: Use Py_NewRef() in Modules/ directory (#99466)

gh-91320: Use _PyCFunction_CAST() (#92251)