New submission from Jarno Rajala:

The Windows 64-bit embeddable Python 3.5.2 (also 3.5.1), downloadable from, 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
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 <>
Python-bugs-list mailing list

Reply via email to