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 <rep...@bugs.python.org> <https://bugs.python.org/issue31582> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com