SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-140476: optimize `PySet_Add` for `frozenset` in free-threading (#140440)

Avoids critical section in `PySet_Add` when adding items to newly created frozensets.

Co-authored-by: Kumar Aditya <[email protected]>
A
Alper committed
298e9074cdffb09d518e6aceea556e8f4a8a745d
Parent: b5196fa
Committed by GitHub <[email protected]> on 11/11/2025, 8:27:21 PM