[issue12383] subprocess.Popen(..., env={}) fails to pass empty env.

STINNER Victor report at bugs.python.org
Tue Jun 21 22:01:38 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Maybe test_empty_env() should pass LD_LIBRARY_PATH to child process.

The idea of the test is to test an empty environment: if we pass one variable, it is no more an empty environment.

I changed the test to skip it if Python is compiled in shared mode.

----------

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


More information about the Python-bugs-list mailing list