summaryrefslogtreecommitdiffstats
path: root/Include/pylifecycle.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-07-26 00:37:22 (GMT)
committerGitHub <noreply@github.com>2018-07-26 00:37:22 (GMT)
commitecf411c59e33d3760dbfebf6d5b4b205bcc29d5a (patch)
tree43bd3ffa6039eeb5f19a493fa72f70b5e0544dcf /Include/pylifecycle.h
parent48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51 (diff)
downloadcpython-ecf411c59e33d3760dbfebf6d5b4b205bcc29d5a.zip
cpython-ecf411c59e33d3760dbfebf6d5b4b205bcc29d5a.tar.gz
cpython-ecf411c59e33d3760dbfebf6d5b4b205bcc29d5a.tar.bz2
bpo-34170: Enhance _PyCoreConfig_Read() (GH-8468)
* Inline cmdline_get_env_flags() into config_read_env_vars(): _PyCoreConfig_Read() now reads much more environment variables like PYTHONVERBOSE. * Allow to override faulthandler and allocator even if dev_mode=1. PYTHONMALLOC is now the priority over PYTHONDEVMODE. * Fix _PyCoreConfig_Copy(): copy also install_signal_handlers, coerce_c_locale and coerce_c_locale_warn * _PyCoreConfig.install_signal_handlers default is now 1: install signals by default * Fix also a compiler warning: don't define _PyPathConfig type twice.
Diffstat (limited to 'Include/pylifecycle.h')
-rw-r--r--Include/pylifecycle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
index 6e5d796..78f01ee 100644
--- a/Include/pylifecycle.h
+++ b/Include/pylifecycle.h
@@ -127,10 +127,9 @@ PyAPI_FUNC(wchar_t *) Py_GetExecPrefix(void);
PyAPI_FUNC(wchar_t *) Py_GetPath(void);
#ifdef Py_BUILD_CORE
struct _PyPathConfig;
-typedef struct _PyPathConfig _PyPathConfig;
PyAPI_FUNC(_PyInitError) _PyPathConfig_SetGlobal(
- const _PyPathConfig *config);
+ const struct _PyPathConfig *config);
PyAPI_FUNC(PyObject*) _PyPathConfig_ComputeArgv0(int argc, wchar_t **argv);
PyAPI_FUNC(int) _Py_FindEnvConfigValue(
FILE *env_file,