aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-05 02:01:27 +0100
committerGitHub <noreply@github.com>2019-03-05 02:01:27 +0100
commitcad1f747da47849ab5d8b0b881f7a0b94564d290 (patch)
treeb66ed4ec4f2f26c08fde4989fbf2be680834973d /Python/pathconfig.c
parentFixed a missing . and a missing capital letter. (GH-12170) (diff)
downloadcpython-cad1f747da47849ab5d8b0b881f7a0b94564d290.tar.gz
cpython-cad1f747da47849ab5d8b0b881f7a0b94564d290.tar.bz2
cpython-cad1f747da47849ab5d8b0b881f7a0b94564d290.zip
bpo-36142: Add _PyPreConfig structure (GH-12172)
* Add _PyPreConfig structure * Move 'ignored' and 'use_environment' fields from _PyCoreConfig to _PyPreConfig * Add a new "_PyPreConfig preconfig;" field to _PyCoreConfig
Diffstat (limited to 'Python/pathconfig.c')
-rw-r--r--Python/pathconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pathconfig.c b/Python/pathconfig.c
index f96f0153e21..41fc9e2142e 100644
--- a/Python/pathconfig.c
+++ b/Python/pathconfig.c
@@ -330,7 +330,7 @@ _PyCoreConfig_CalculatePathConfig(_PyCoreConfig *config)
#endif
if (path_config.isolated != -1) {
- config->isolated = path_config.isolated;
+ config->preconfig.isolated = path_config.isolated;
}
if (path_config.site_import != -1) {
config->site_import = path_config.site_import;