diff options
| author | Victor Stinner <vstinner@redhat.com> | 2018-07-25 02:49:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-25 02:49:17 +0200 |
| commit | 1dc6e3906acb81163725e98378bf4d1bd1ce771a (patch) | |
| tree | 8aa562d0a219b6880ed4757ac6ae2367024b3b76 /Include/pystate.h | |
| parent | 6cf8255912c36fec6f87f62513034d0818f61390 (diff) | |
| download | cpython-git-1dc6e3906acb81163725e98378bf4d1bd1ce771a.tar.gz | |
bpo-34170: Add _Py_InitializeFromConfig() (GH-8454)
* If _Py_InitializeCore() is called twice, the second call now copies
and apply (partially) the new configuration.
* Rename _Py_CommandLineDetails to _PyCmdline
* Move more code into pymain_init(). The core configuration created
by Py_Main() is new destroyed before running Python to reduce the
memory footprint.
* _Py_InitializeCore() now returns the created interpreter.
_Py_InitializeMainInterpreter() now expects an interpreter.
* Remove _Py_InitializeEx_Private(): _freeze_importlib now uses
_Py_InitializeFromConfig()
* _PyCoreConfig_InitPathConfig() now only computes the path
configuration if needed.
Diffstat (limited to 'Include/pystate.h')
| -rw-r--r-- | Include/pystate.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/pystate.h b/Include/pystate.h index 84428bc793..fe14832fcf 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -200,8 +200,7 @@ typedef struct { /* --- Private fields -------- */ /* Install importlib? If set to 0, importlib is not initialized at all. - Needed by freeze_importlib: see install_importlib argument of - _Py_InitializeEx_Private(). */ + Needed by freeze_importlib. */ int _install_importlib; /* Value of the --check-hash-based-pycs configure option. Valid values: |
