Issue 16961: No regression tests for -E and individual environment vars (original) (raw)

Created on 2013-01-14 12:03 by ncoghlan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg179934 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2013-01-14 12:03
Accessing an environment variable without Py_GETENV (or breaking Py_IgnoreEnvironmentFlag configuration *cough*) may lead to environment variables being accessed even if -E is passed on the command line. As part of the PEP 432 implementation, I'm adding appropriate regression tests for affected environment variables as I go. Creating this as a reminder to look into backporting the relevant regression tests at least to 3.3
msg223221 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-16 15:23
Consider yourself reminded :)
msg338072 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2019-03-16 09:31
Nick, please re-open if you feel this issue is still relevant.
msg339193 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2019-03-30 12:27
Victor Stinner added a great many regression tests in this area for Python 3.7+
msg342528 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-15 02:02
I added a lot of tests on environment variables and -I/-E options in test_embed. I consider that this issue is now fixed.
History
Date User Action Args
2022-04-11 14:57:40 admin set github: 61165
2019-05-15 02:02:13 vstinner set status: open -> closednosy: + vstinnermessages: + resolution: out of date -> fixed
2019-03-30 12:27:24 ncoghlan set messages: +
2019-03-16 09:31:33 SilentGhost set nosy: + SilentGhostmessages: + resolution: out of datestage: resolved
2019-03-15 21:58:11 BreamoreBoy set nosy: - BreamoreBoy
2015-06-28 03:03:23 ncoghlan set assignee: ncoghlan ->
2014-07-16 15:23:00 BreamoreBoy set nosy: + BreamoreBoymessages: + versions: + Python 3.4, Python 3.5, - Python 3.3
2013-01-14 12:03:14 ncoghlan create