Issue 18754: Run Python child processes in isolated mode in the test suite? (original) (raw)

Issue18754

Created on 2013-08-16 13:40 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_isolated.patch vstinner,2013-08-16 13:40 review
Messages (4)
msg195331 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-08-16 13:40
Python 3.4 has a new command line option to run Python in isolated mode: -I. IMO it would be nice to use this option to make the test suite more independant of the user configuration and the environment. Attached patch modifies the test.script_helper module to use the new -I option. Some tests rely on the current directory added to sys.path, so I had to add a python_isolated=False option to script_helper for these tests.
msg195344 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-08-16 15:57
Haven't looked at the patch but the motivation behind it sounds good to me.
msg199426 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-10-10 22:47
@Crys: ping!
msg199559 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-12 12:51
New changeset 72b2e7b74307 by Victor Stinner in branch 'default': Close #18754: Run Python child processes in isolated more in the test suite. http://hg.python.org/cpython/rev/72b2e7b74307
History
Date User Action Args
2022-04-11 14:57:49 admin set github: 62954
2013-10-12 12:51:47 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2013-10-10 22:47:17 vstinner set messages: +
2013-08-16 15:57:55 brett.cannon set nosy: + brett.cannonmessages: +
2013-08-16 13:40:04 vstinner create