summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/getpath.py')
-rw-r--r--Modules/getpath.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/getpath.py b/Modules/getpath.py
index 26465c8..9aff19c 100644
--- a/Modules/getpath.py
+++ b/Modules/getpath.py
@@ -717,6 +717,7 @@ if pth:
config['isolated'] = 1
config['use_environment'] = 0
config['site_import'] = 0
+ config['safe_path'] = 1
pythonpath = []
for line in pth:
line = line.partition('#')[0].strip()