SIGN IN SIGN UP

[3.13] gh-125268: Use static string for "1e309" in AST (GH-125272) (GH-125280)

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 427dcf24de4e06d239745d74d08c4b2e541dca5a)
S
Sam Gross committed
4b55d53316f607fdd83831e92f585288842c8988
Parent: f27ba61
Committed by GitHub <noreply@github.com> on 10/24/2024, 5:59:23 PM