mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -04:00
77c03a3b72
The risk of a race with this state is relatively low, but we play it safe anyway. We do avoid using the lock in performance-sensitive cases where the risk of a race is very, very low.
(cherry picked from commit 68dfa49627)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>