SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-115999: Add free-threaded specialization for `STORE_SUBSCR` (#127169)

The specialization only depends on the type, so no special thread-safety
considerations there.

STORE_SUBSCR_LIST_INT needs to lock the list before modifying it.

`_PyDict_SetItem_Take2` already internally locks the dictionary using a
critical section.
S
Sam Gross committed
71ede1142ddad2d31cc966b8fe4a5aff664f4d53
Parent: f0d3f10
Committed by GitHub <[email protected]> on 11/26/2024, 9:46:06 PM