[issue27226] distutils: unable to compile both .opt-1.pyc and .opt2.pyc simultaneously
Arfrever Frehtes Taifersar Arahesis
report at bugs.python.org
Sun Jun 5 04:17:13 EDT 2016
Arfrever Frehtes Taifersar Arahesis added the comment:
I would suggest using --optimize=1,2 / -O1,2 for this purpose.
Documentation in this part of Lib/distutils/command/build_py.py and Lib/distutils/command/install_lib.py should also be updated:
('optimize=', 'O',
"also compile with optimization: -O1 for \"python -O\", "
"-O2 for \"python -OO\", and -O0 to disable [default: -O0]"),
----------
nosy: +Arfrever
versions: +Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27226>
_______________________________________
More information about the Python-bugs-list
mailing list