gh-132641: fix race in `lru_cache` under free-threading (#133787)
Fix race in `lru_cache` by acquiring critical section on the cache object itself and call the lock held variant of dict functions to modify the underlying dict.
P
Peter Hawkins committed
9ad0c7b0f14c5fcda6bfae6692c88abb95502d38
Parent: 35f47d0
Committed by GitHub <noreply@github.com>
on 5/13/2025, 5:38:57 PM