mirror of
https://github.com/python/cpython.git
synced 2026-07-27 04:12:23 -04:00
c5e73f8c91
gh-153300: Set global configuration variables in PyConfig_Set() (GH-153301)
PyConfig_Set() now also set global configuration variables. For
example, PyConfig_Set("inspect", value) now also sets Py_InspectFlag.
Use PyConfig_Set() in main.c to set the inspect flag. Python code can
now see the updated sys.flags.inspect value.
(cherry picked from commit 9fb713f1b8)
Co-authored-by: Victor Stinner <vstinner@python.org>
Miscellaneous source files for the main Python shared library