mirror of
https://github.com/python/cpython.git
synced 2026-10-28 10:25:05 +08:00
A type alias can be evaluated again before an earlier evaluation finishes, either recursively or in another thread. The later completion overwrites the cached value without releasing it, permanently leaking that value; synchronize cache access and release the replaced value outside the lock. Backport to 3.15 and 3.14.
Source files for various builtin objects