8000 gh-96512: Move int_max_str_digits setting to PyConfig by gpshead · Pull Request #96944 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-96512: Move int_max_str_digits setting to PyConfig #96944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 3, 2022
Prev Previous commit
clarify the purpose of the test_capi test via comment
  • Loading branch information
gpshead committed Oct 3, 2022
commit 1a5935dcecec7cf3a3d90c3193dd228af489c4a9
3 changes: 3 additions & 0 deletions Lib/test/test_capi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,9 @@ async def foo(arg): return await arg # Py 3.5

def test_py_config_isoloated_per_interpreter(self):
# A config change in one interpreter must not leak to out to others.
#
# This test could verify ANY config value, it just happens to have been
# written around the time of int_max_str_digits. Refactoring is okay.
code = """if 1:
import sys, _testinternalcapi

Expand Down
0