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 cool-RR
Recipients cool-RR, docs@python
Date 2016-07-24.09:46:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469353581.38.0.811049911305.issue27604@psf.upfronthosting.co.za>
In-reply-to
Content
I wanted to ensure that the `-O` flag doesn't really do anything more than remove assert statement and make `__debug__` equal `False`. But the documentation for `-O` doesn't cover it: 

https://docs.python.org/3/using/cmdline.html#cmdoption-O

https://docs.python.org/3/using/cmdline.html#envvar-PYTHONOPTIMIZE

It just says "basic optimizations". Are there any other optimizations except the two I mentioned?
History
Date User Action Args
2016-07-24 09:46:21cool-RRsetrecipients: + cool-RR, docs@python
2016-07-24 09:46:21cool-RRsetmessageid: <1469353581.38.0.811049911305.issue27604@psf.upfronthosting.co.za>
2016-07-24 09:46:21cool-RRlinkissue27604 messages
2016-07-24 09:46:21cool-RRcreate