[issue31582] Add _pth breadcrumb to sys.path documentation

Traveler Hauptman 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
components: Documentation
messages: 303000
nosy: Traveler Hauptman, docs at python
priority: normal
severity: normal
status: open
title: Add _pth breadcrumb to sys.path documentation
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31582>
_______________________________________


More information about the Python-bugs-list mailing list