Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 13, 2025

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.
(cherry picked from commit 9ad0c7b)

Co-authored-by: Peter Hawkins [email protected]

…GH-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.
(cherry picked from commit 9ad0c7b)

Co-authored-by: Peter Hawkins <[email protected]>
@kumaraditya303 kumaraditya303 enabled auto-merge (squash) May 13, 2025 17:39
@rhettinger rhettinger requested review from serhiy-storchaka and removed request for rhettinger May 13, 2025 20:38
@kumaraditya303 kumaraditya303 merged commit 66d6860 into python:3.14 May 14, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants