summaryrefslogtreecommitdiffstats
path: root/PC/getpathp.c
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-10 00:59:49 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-10 00:59:49 (GMT)
commitc4b53afce491142b80b228a21a05de5dcfd8d36f (patch)
tree4fd78ef4e4fcabc46bbff33825cf7ffba4c64e58 /PC/getpathp.c
parentb44acebc7bdde44dc1f952a8fa498a155a35e509 (diff)
downloadcpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.zip
cpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.tar.gz
cpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.tar.bz2
Issue #28046: Remove platform-specific directories from sys.path
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index 4d71fe7..5604d3d 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -26,7 +26,7 @@
is set, we believe it. Otherwise, we use the path of our host .EXE's
to try and locate on of our "landmarks" and deduce our home.
- If we DO have a Python Home: The relevant sub-directories (Lib,
- plat-win, etc) are based on the Python Home
+ DLLs, etc) are based on the Python Home
- If we DO NOT have a Python Home, the core Python Path is
loaded from the registry. This is the main PythonPath key,
and both HKLM and HKCU are combined to form the path)
@@ -34,7 +34,7 @@
* Iff - we can not locate the Python Home, have not had a PYTHONPATH
specified, and can't locate any Registry entries (ie, we have _nothing_
we can assume is a good path), a default path with relative entries is
- used (eg. .\Lib;.\plat-win, etc)
+ used (eg. .\Lib;.\DLLs, etc)
If a sys.path file exists adjacent to python.exe, it must contain a