[docs] [issue27604] More details about `-O` flag

Ram Rachum report at bugs.python.org
Sun Jul 24 05:46:21 EDT 2016

New submission from Ram Rachum:

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: 



It just says "basic optimizations". Are there any other optimizations except the two I mentioned?

assignee: docs at python
components: Documentation
messages: 271142
nosy: cool-RR, docs at python
priority: normal
severity: normal
status: open
title: More details about `-O` flag
type: enhancement
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6

Python tracker <report at bugs.python.org>

More information about the docs mailing list