◐ Shell
clean mode source ↗

gh-96512: Move int_max_str_digits setting to PyConfig by gpshead · Pull Request #96944 · python/cpython

added 2 commits

September 20, 2022 00:38
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.
Also demonstrates that subinterpreters maintain their own limit
as a feature.

gpshead

@gpshead gpshead marked this pull request as ready for review

September 20, 2022 01:25

vstinner

@gpshead

vstinner

@gpshead

@gpshead gpshead deleted the cleanup/int-dos-use-pyconfig branch

October 3, 2022 20:56

carljm added a commit to carljm/cpython that referenced this pull request

Oct 3, 2022