mirror of
https://github.com/python/cpython.git
synced 2026-07-30 05:36:27 -04:00
When formatting the AST as a string, infinite values are replaced by
1e309, which evaluates to infinity. The initialization of this string
replacement was not thread-safe in the free threading build.
(cherry picked from commit 427dcf24de)