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

Ram Rachum report at bugs.python.org
Fri Jul 29 15:58:17 EDT 2016

Ram Rachum added the comment:

Hi David,

I attached a patch that follows your instructions, but to be honest, if I wasn't the person writing this patch and I wanted to find the information "Does Python do any optimization besides dumping asserts when I do -O?" I'm not sure I'd be able to understand the information from the docs with 3.patch applied. The documentation doesn't clearly state that `-O` causes an `optimize` value of 1. If it did it'll be a bit easier to understand. Still too difficult in my opinion (which is why I would personally put this information directly in cmdline.rst) but maybe a bit easier.

Added file: http://bugs.python.org/file43938/3.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list