This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Claudiu.Popa
Recipients Claudiu.Popa, Sworddragon
Date 2013-11-21.06:20:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385014847.85.0.865361040031.issue19671@psf.upfronthosting.co.za>
In-reply-to
Content
Hi. Since Python 3.2, compileall functions supports the optimization level through the `optimize` parameter. I guess you are using Python2.7 or so? Also, there's a note in compileall's documentation regarding the command line switch for the optimization level:

"
There is no command-line option to control the optimization level used by the compile() function, because the Python interpreter itself already provides the option: python -O -m compileall.
"
http://docs.python.org/3.2/library/compileall.html#command-line-use
History
Date User Action Args
2013-11-21 06:20:47Claudiu.Popasetrecipients: + Claudiu.Popa, Sworddragon
2013-11-21 06:20:47Claudiu.Popasetmessageid: <1385014847.85.0.865361040031.issue19671@psf.upfronthosting.co.za>
2013-11-21 06:20:47Claudiu.Popalinkissue19671 messages
2013-11-21 06:20:47Claudiu.Popacreate