[docs] [issue14956] custom PYTHONPATH may break apps embedding Python

STINNER Victor report at bugs.python.org
Mon May 27 10:51:32 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

This issue has been fixed in 36763 by the PEP 587 which provides a new "Isolated Configuration" and a way to tune the Python configuration without impacting subprocesses. For example, the Isolated Configuration ignores environment variables by default.

In Python 3.7 and older, you can set Py_IgnoreEnvironmentFlag to 1 (the flag exists also in Python 2.7), or even set Py_IsolatedFlag to 1 (new in Python 3.4).

----------
nosy: +vstinner
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

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


More information about the docs mailing list