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 <1506401240.1.0.91731713201.issue31582@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-09-26 04:47:20Traveler Hauptmansetrecipients: + Traveler Hauptman, docs@python
2017-09-26 04:47:20Traveler Hauptmansetmessageid: <1506401240.1.0.91731713201.issue31582@psf.upfronthosting.co.za>
2017-09-26 04:47:19Traveler Hauptmanlinkissue31582 messages
2017-09-26 04:47:19Traveler Hauptmancreate