[issue31582] Add _pth breadcrumb to sys.path documentation
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@python
components: Documentation
messages: 303000
nosy: Traveler Hauptman, docs@python
priority: normal
severity: normal
status: open
title: Add _pth breadcrumb to sys.path documentation
type: enhancement
_______________________________________
Python tracker
Change by Éric Araujo
Steve Dower
participants (3)
-
Steve Dower
-
Traveler Hauptman
-
Éric Araujo