gh-98417: Stop modifying PyConfig in sys.set_int_max_str_digits() by gpshead · Pull Request #152869 · python/cpython · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Lib/test/test_int.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:func:`sys.set_int_max_str_digits` no longer writes the new limit back into
the interpreter's initialization configuration (:c:type:`PyConfig`). As a
consequence, interpreters created after changing the limit at runtime now
start with the initial configured limit rather than inheriting the runtime
value.
3 changes: 0 additions & 3 deletions Python/sysmodule.c
Loading