SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 32 Python

gh-96512: Move int_max_str_digits setting to PyConfig (#96944)

It had to live as a global outside of PyConfig for stable ABI reasons in
the pre-3.12 backports.

This removes the `_Py_global_config_int_max_str_digits` and gets rid of
the equivalent field in the internal `struct _is PyInterpreterState` as
code can just use the existing nested config struct within that.

Adds tests to verify unique settings and configs in subinterpreters.
G
Gregory P. Smith committed
b0f89cb4311b696f875e58f14258ce315be09bce
Parent: cfbc7dd
Committed by GitHub <noreply@github.com> on 10/3/2022, 8:55:45 PM