]> granicus.if.org Git - python/commit
subprocess._optim_args_from_interpreter_flags()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 18 Jan 2016 11:15:08 +0000 (12:15 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 18 Jan 2016 11:15:08 +0000 (12:15 +0100)
commit9def2843873edde3feec6eaf2ee60c4e48172164
tree9a7e862b8677c29fd877d55ea38b37d680087cfd
parentc437d0cb4e99bd58ff0150414b5d5f0b26605687
subprocess._optim_args_from_interpreter_flags()

Issue #26100:

* Add subprocess._optim_args_from_interpreter_flags()
* Add test.support.optim_args_from_interpreter_flags()
* Use new functions in distutils, test_cmd_line_script, test_compileall and
  test_inspect

The change enables test_details() test of test_inspect when -O or -OO command
line option is used.
Lib/distutils/util.py
Lib/subprocess.py
Lib/test/support/__init__.py
Lib/test/test_cmd_line_script.py
Lib/test/test_compileall.py
Lib/test/test_inspect.py