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

R. David Murray report at bugs.python.org
Fri Jul 29 13:47:03 EDT 2016

R. David Murray added the comment:

I think the cmdline ref telling you that optimizations are enabled or disabled is enough.  If someone wants technical information they can click on the link.  For comparison, the gcc man page lists what optimizations the -O levels enable, but does not explain them.  To understand what it does you must follow the "links" to the referenced optimization options.  If python had separate options for the individual optimizations we could do likewise, but we don't, so linking to the technical explanation seems like the logical thing to do instead.

Perhaps we can get the opinion of some other devs.


Python tracker <report at bugs.python.org>

More information about the docs mailing list