mirror of
https://github.com/python/cpython.git
synced 2026-02-25 08:31:19 +00:00
Add new functions to get the Python interpreter behavior: * _PyPreConfig_InitPythonConfig() * _PyCoreConfig_InitPythonConfig() Add new functions to get an isolated configuration: * _PyPreConfig_InitIsolatedConfig() * _PyCoreConfig_InitIsolatedConfig() Replace _PyPreConfig_INIT and _PyCoreConfig_INIT with new functions _PyPreConfig_Init() and _PyCoreConfig_Init(). _PyCoreConfig: set configure_c_stdio and parse_argv to 0 by default to behave as Python 3.6 in the default configuration. _PyCoreConfig_Read() no longer sets coerce_c_locale_warn to 1 if it's equal to 0. coerce_c_locale_warn must now be set to -1 (ex: using _PyCoreConfig_InitPythonConfig()) to enable C locale coercion warning. Add unit tests for _PyCoreConfig_InitPythonConfig() and _PyCoreConfig_InitIsolatedConfig(). Changes: * Rename _PyCoreConfig_GetCoreConfig() to _PyPreConfig_GetCoreConfig() * Fix core_read_precmdline(): handle parse_argv=0 * Fix _Py_PreInitializeFromCoreConfig(): pass coreconfig.argv to _Py_PreInitializeFromPyArgv(), except if parse_argv=0 |
||
|---|---|---|
| .. | ||
| pycore_accu.h | ||
| pycore_atomic.h | ||
| pycore_ceval.h | ||
| pycore_condvar.h | ||
| pycore_context.h | ||
| pycore_coreconfig.h | ||
| pycore_fileutils.h | ||
| pycore_getopt.h | ||
| pycore_gil.h | ||
| pycore_hamt.h | ||
| pycore_object.h | ||
| pycore_pathconfig.h | ||
| pycore_pyhash.h | ||
| pycore_pylifecycle.h | ||
| pycore_pymem.h | ||
| pycore_pystate.h | ||
| pycore_tupleobject.h | ||
| pycore_warnings.h | ||