diff options
author | Neil Schemenauer <nas-github@arctrix.com> | 2025-03-04 03:00:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-04 03:00:50 (GMT) |
commit | 813bc5694bd8aa43165468c5ea1dc27af973611d (patch) | |
tree | c1f5b3b075d2c4ba5e8ed774a060db33b7d945b1 /Python/optimizer_bytecodes.c | |
parent | bbf197913ca984b79fee642a39bd61a997e24dd3 (diff) | |
download | cpython-813bc5694bd8aa43165468c5ea1dc27af973611d.zip cpython-813bc5694bd8aa43165468c5ea1dc27af973611d.tar.gz cpython-813bc5694bd8aa43165468c5ea1dc27af973611d.tar.bz2 |
gh-130599: use static constants str-to-int conversion (gh-130714)
Avoid a data race in free-threaded builds due to mutating global arrays at
runtime. Instead, compute the constants with an external Python script and
then define them as static global constant arrays. These constants are
used by `long_from_non_binary_base()`.
Diffstat (limited to 'Python/optimizer_bytecodes.c')
0 files changed, 0 insertions, 0 deletions