
Sept. 28, 2017
10:09 p.m.
2) Added a new command line option N that allows you to specify any number of individual optimization flags.
For example:
python -N nodebug -N noassert -N nodocstring
You may want to look at my PEP 511 which proposes to add a new "-o" option to specify a list of optimizations: https://www.python.org/dev/peps/pep-0511/#changes The PEP proposes to add a new sys.implementation.optim_tag which is used to generated the .pyc filename. Victor