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

2017-09-03 Thread Ned Deily
Ned Deily added the comment: New changeset 918edc0edb356d0561062c1dc267b1d68a684b70 by Ned Deily in branch 'master': bpo-12383: Also ignore __PYVENV_LAUNCHER__ (#3278) https://github.com/python/cpython/commit/918edc0edb356d0561062c1dc267b1d68a684b70 -- ___

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

2017-09-03 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +3321 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

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

2017-05-30 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

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

2017-05-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixed in https://github.com/python/cpython/commit/85aba238e49abd2d5a604102981d28a50f305443 -- ___ Python tracker ___

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

2017-05-30 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +1957 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2017-05-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: i wondered if that might happen. the test skipping logic that wasn't correct was added for macos; probably needs to be written another way. i've got a mac today, i'll figure it out. -- ___ Python tracker

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

2017-05-30 Thread Ned Deily
Ned Deily added the comment: Greg, b351248c1fa74277b886b0c9a2e1c2f65fabe9ef appears to have broken the macOS buildbots: http://buildbot.python.org/all/builders/x86-64%20Sierra%203.x/builds/233 http://buildbot.python.org/all/builders/x86-64%20El%20Capitan%203.x/builds/235 -- nosy: +ned.d

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

2017-05-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset b351248c1fa74277b886b0c9a2e1c2f65fabe9ef by Gregory P. Smith in branch 'master': bpo-12383: Refactor subprocess test_empty_env (#1874) https://github.com/python/cpython/commit/b351248c1fa74277b886b0c9a2e1c2f65fabe9ef -- __

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

2017-05-30 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +1954 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2011-06-23 Thread STINNER Victor
STINNER Victor added the comment: All Python 3.x buildbots are green again (except FreeBSD 7.2, but the failures are not related to this issue). -- status: open -> closed ___ Python tracker __

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

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52c5f80122dd by Victor Stinner in branch '3.2': Issue #12383: skip test_empty_env() of subprocess on Windows http://hg.python.org/cpython/rev/52c5f80122dd New changeset 93cd98782f47 by Victor Stinner in branch 'default': (merge 3.2) Issue #12383: s

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

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset da3af4b131d7 by Victor Stinner in branch '3.2': Issue #12383: fix test_empty_env() of subprocess on Mac OS X http://hg.python.org/cpython/rev/da3af4b131d7 New changeset 29819072855a by Victor Stinner in branch 'default': (merge 3.2) Issue #12383: f

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

2011-06-21 Thread STINNER Victor
STINNER Victor 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.

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

2011-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d1d5a7392e39 by Victor Stinner in branch 'default': (merge 3.2) Issue #12383: skip test_empty_env() if compiled is compiled in http://hg.python.org/cpython/rev/d1d5a7392e39 -- ___ Python tracker

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

2011-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d46e84cd812 by Victor Stinner in branch '3.2': Issue #12383: skip test_empty_env() if compiled is compiled in shared mode http://hg.python.org/cpython/rev/8d46e84cd812 -- ___ Python tracker

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

2011-06-21 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Maybe test_empty_env() should pass LD_LIBRARY_PATH to child process. -- nosy: +Arfrever ___ Python tracker ___ ___

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

2011-06-21 Thread STINNER Victor
STINNER Victor added the comment: On Mac OS X, the failure is different: == FAIL: test_empty_env (test.test_subprocess.ProcessTestCase) -- Traceback (most rece

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

2011-06-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: That failure is likely due to the environment being empty causing the subprocess to be unable to run. Notice this error message further up: test_empty_env (test.test_subprocess.ContextManagerTests) ... /srv/buildbot/buildarea/3.2.bolen-ubuntu/build/python:

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

2011-06-21 Thread R. David Murray
R. David Murray added the comment: The test appears to be failing on the buildbots: http://www.python.org/dev/buildbot/all/builders/x86%20Ubuntu%20Shared%203.2/builds/370 -- nosy: +r.david.murray status: closed -> open ___ Python tracker

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

2011-06-21 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix, I added an unit test. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2011-06-21 Thread STINNER Victor
STINNER Victor added the comment: > The addition of the _posixsubprocess module in 3.2 introduced > a change of behaviour when passing an empty dict > (or other false value besides None) as env: ... This bug was introduced by the commit (768722b2ae0a) introducing _posixsubprocess. --

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

2011-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset b5963fceddad by Victor Stinner in branch '3.2': Close #12383: Fix subprocess module with env={}: don't copy the environment http://hg.python.org/cpython/rev/b5963fceddad New changeset 10ecf8576eb2 by Victor Stinner in branch 'default': (merge 3.2)

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

2011-06-21 Thread Thomas Wouters
New submission from Thomas Wouters : The addition of the _posixsubprocess module in 3.2 introduced a change of behaviour when passing an empty dict (or other false value besides None) as env: python3.1 -c 'import subprocess; print(subprocess.Popen(["env"], env={}, stdout=subprocess.PIPE).commu