Issue 26100: PEP 511: Add test.support.optim_args_from_interpreter_flags() (original ) (raw ) Issue26100
Created on 2016-01-13 16:32 by vstinner , last changed 2022-04-11 14:58 by admin . This issue is now closed .
Messages (6)
msg258152 - (view)
Author: STINNER Victor (vstinner) *
Date: 2016-01-13 16:32
Attached patch adds a new optim_args_from_interpreter_flags() function to the test.support module, similar to the existing args_from_interpreter_flags() function. The function creates command line arguments related to optimization. The function is required by test_compileall.py and test_inspect.py. The patch enables test_details() test of test_inspect when -O or -OO command line options are used.
msg258153 - (view)
Author: STINNER Victor (vstinner) *
Date: 2016-01-13 16:34
Do you want that the change should be applied to Python 3.5 too?
msg258155 - (view)
Author: STINNER Victor (vstinner) *
Date: 2016-01-13 16:41
Note: running directly "./python Lib/test/test_compileall.py " fails because of the issue #26101 .
msg258156 - (view)
Author: STINNER Victor (vstinner) *
Date: 2016-01-13 16:44
Patch version 2: I forgot Lib/test/test_cmd_line_script.py .
msg258507 - (view)
Author: STINNER Victor (vstinner) *
Date: 2016-01-18 09:01
Lib/distutils/util.py must also be modified: see attached distutils.patch.
msg258516 - (view)
Author: Roundup Robot (python-dev)
Date: 2016-01-18 11:16
New changeset ac6d33317eda by Victor Stinner in branch 'default': subprocess._optim_args_from_interpreter_flags() https://hg.python.org/cpython/rev/ac6d33317eda
History
Date
User
Action
Args
2022-04-11 14:58:26
admin
set
github: 70288
2016-01-18 11:16:14
vstinner
set
status: open -> closedresolution: fixed
2016-01-18 11:16:02
python-dev
set
nosy: + python-dev messages: +
2016-01-18 09:01:31
vstinner
set
title: Add test.support.optim_args_from_interpreter_flags() -> PEP 511: Add test.support.optim_args_from_interpreter_flags()
2016-01-18 09:01:24
vstinner
set
files: + distutils.patch messages: +
2016-01-13 16:44:33
vstinner
set
files: + optim_args-2.patch messages: +
2016-01-13 16:41:43
vstinner
set
nosy: + brett.cannon messages: +
2016-01-13 16:34:06
vstinner
set
messages: +
2016-01-13 16:32:36
vstinner
set
components: + Tests
2016-01-13 16:32:31
vstinner
create