[New-bugs-announce] [issue31582] Add _pth breadcrumb to sys.path documentation
report at bugs.python.org
Tue Sep 26 00:47:20 EDT 2017
New submission from Traveler Hauptman:
Python on windows (winpython) was not adding PYTHONPATH to sys.path as documented and I could not understand why.
It took a lot of time, web searches, and finally a tour through the code to find out about _pth; which is well documented but difficult to find out about if you don't know about it beforehand.
Please improve the sys.path documentation to say that it depends on either PYTHONPATH or the *._pth file. Better yet, link to the actual sys.path heuristics.
assignee: docs at python
nosy: Traveler Hauptman, docs at python
title: Add _pth breadcrumb to sys.path documentation
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce