mirror of
https://github.com/python/cpython.git
synced 2026-05-09 14:11:28 -04:00
4b55d53316
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)