This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Traveler Hauptman
Recipients Traveler Hauptman, docs@python
Date 2017-09-26.04:47:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2017-09-26 04:47:20Traveler Hauptmansetrecipients: + Traveler Hauptman, docs@python
2017-09-26 04:47:20Traveler Hauptmansetmessageid: <>
2017-09-26 04:47:19Traveler Hauptmanlinkissue31582 messages
2017-09-26 04:47:19Traveler Hauptmancreate