[issue34812] support.args_from_interpreter_flags() doesn't inherit -I (isolated) flag

2018-10-01 Thread STINNER Victor
STINNER Victor added the comment: In the C code, sys.flags.isolated clearly documented as linked to the -I option: static PyStructSequence_Field flags_fields[] = { {"debug", "-d"}, {"inspect", "-i"}, {"interactive", "-i"},

[issue34812] support.args_from_interpreter_flags() doesn't inherit -I (isolated) flag

2018-09-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Victor for the details. Can this be classified as an easy issue? I guess the fix will be as below : 1. Add an entry for '-I' at https://github.com/python/cpython/blob/4b430e5f6954ef4b248e95bfb4087635dcdefc6d/Lib/subprocess.py#L260 2. Add

[issue34812] support.args_from_interpreter_flags() doesn't inherit -I (isolated) flag

2018-09-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34812] support.args_from_interpreter_flags() doesn't inherit -I (isolated) flag

2018-09-26 Thread STINNER Victor
New submission from STINNER Victor : The support.args_from_interpreter_flags() function recreates Python command line arguments from sys.flags, but it omits -I (sys.flags.isolated). Because of that, "./python -I -m test ..." behaves differently than "./python -I -m test -j0 ...":