mirror of
https://github.com/python/cpython.git
synced 2026-05-12 07:30:13 -04:00
341b86e095
gh-132713: Fix typing.Union[index] race condition (GH-132802)
Add union_init_parameters() helper function. Use a critical section
to initialize the 'parameters' member.
(cherry picked from commit dc3e9638c2)
Co-authored-by: Victor Stinner <vstinner@python.org>
Source files for various builtin objects