[issue28522] can't make IDLEX work with python._pth and python-3.6.0b2
Steve Dower
report at bugs.python.org
Fri Oct 28 14:28:03 EDT 2016
Steve Dower added the comment:
"Lib\site-packages" is probably unnecessary because of "import site", which likely adds it in anyway.
It's very likely that WinPython doesn't actually want to specify this at all, since it also enables isolated mode, which will ignore PYTHONPATH and the current working directory. But if that's okay, you probably want::
python36.zip
DLLs
Lib
.
import site
That should give you the same default sys.path as if the file were omitted, except for the empty entry at the start and anything in PYTHONPATH or the registry. (I figured this out by running "python -S" and looking at sys.path.)
----------
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28522>
_______________________________________
More information about the Python-bugs-list
mailing list