summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-11-04 16:34:34 (GMT)
committerGitHub <noreply@github.com>2020-11-04 16:34:34 (GMT)
commitaf1d64d9f7a7cf673279725fdbaf4adcca51d41f (patch)
tree03baffe8b044cbbb2c73542bccddad0d9a97c82e /Modules/posixmodule.h
parent58ca33b4674f39189b03c9a39fa7b676b43b3d08 (diff)
downloadcpython-af1d64d9f7a7cf673279725fdbaf4adcca51d41f.zip
cpython-af1d64d9f7a7cf673279725fdbaf4adcca51d41f.tar.gz
cpython-af1d64d9f7a7cf673279725fdbaf4adcca51d41f.tar.bz2
bpo-42260: Main init modify sys.flags in-place (GH-23150)
When Py_Initialize() is called twice, the second call now updates more sys attributes for the configuration, rather than only sys.argv. * Rename _PySys_InitMain() to _PySys_UpdateConfig(). * _PySys_UpdateConfig() now modifies sys.flags in-place, instead of creating a new flags object. * Remove old commented sys.flags flags (unbuffered and skip_first). * Add private _PySys_GetObject() function. * When Py_Initialize(), Py_InitializeFromConfig() and
Diffstat (limited to 'Modules/posixmodule.h')
0 files changed, 0 insertions, 0 deletions