[New-bugs-announce] [issue28245] Embeddable Python does not use PYTHONPATH.

Jarno Rajala report at bugs.python.org
Thu Sep 22 01:57:05 EDT 2016


New submission from Jarno Rajala:

The Windows 64-bit embeddable Python 3.5.2 (also 3.5.1), downloadable from
https://www.python.org/ftp/python/3.5.2/python-3.5.2-embed-amd64.zip, does not set sys.path according to PYTHONPATH.

To reproduce this bug, run these commands from the directory with the embeddable package:
set PYTHONPATH=dummy
python
import sys;sys.path

If this is deliberate behaviour, the help message (python --help) should say that PYTHONPATH doesn't apply, instead it has the usual message. Also, there should be an alternate way of setting additional sys.path directories, e.g. with an additional command-line option. Currently, there's no way to change sys.path, except from Python itself.

----------
components: Windows
messages: 277192
nosy: Jarno Rajala, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Embeddable Python does not use PYTHONPATH.
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28245>
_______________________________________


More information about the New-bugs-announce mailing list