SIGN IN SIGN UP

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
V
Victor Stinner committed
af1d64d9f7a7cf673279725fdbaf4adcca51d41f
Parent: 58ca33b
Committed by GitHub <noreply@github.com> on 11/4/2020, 4:34:34 PM