Pieter Eendebak
64c417dee5
gh-112075: Remove critical section in dict.get (gh-129336)
...
The `dict.get` implementation uses `_Py_dict_lookup_threadsafe`, which is
thread-safe, so we remove the critical section from the argument clinic.
Add a test for concurrent dict get and set operations.
2025-01-28 21:55:45 +00:00
Dino Viehland
bf542f8bb9
gh-124470: Fix crash when reading from object instance dictionary while replacing it ( #122489 )
...
Delay free a dictionary when replacing it
2024-11-21 10:41:19 -06:00
Sam Gross
5aa91c56bf
gh-124296: Remove private dictionary version tag (PEP 699) ( #124472 )
2024-10-01 12:39:56 -04:00
Nikita Sobolev
0c0348adbf
gh-120579: Guard _testcapi
import in test_free_threading
( #120580 )
2024-06-16 11:26:13 +03:00
Dino Viehland
ff6cbb2503
gh-112075: use per-thread dict version pool ( #118676 )
...
use thread state set of dict versions
2024-05-07 00:22:26 +00:00
Dino Viehland
636b8d94c9
gh-112075: Fix race in constructing dict for instance ( #118499 )
2024-05-06 23:31:09 +00:00