summaryrefslogtreecommitdiffstats
path: root/PC/getpathp.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index c4977e7..e90a643 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -692,6 +692,9 @@ calculate_pth_file(_PyPathConfig *config, wchar_t *prefix)
return 0;
}
+ /* FIXME, bpo-32030: Global configuration variables should not be modified
+ here, _PyPathConfig_Init() is called early in Python initialization:
+ see pymain_cmdline(). */
return read_pth_file(config, prefix, spbuffer,
&Py_IsolatedFlag, &Py_NoSiteFlag);
}