[Python-Dev] PEP 488: elimination of PYO files
Benjamin Peterson
benjamin at python.org
Sat Mar 7 00:48:03 CET 2015
More information about the Python-Dev mailing list
Sat Mar 7 00:48:03 CET 2015
- Previous message (by thread): [Python-Dev] PEP 488: elimination of PYO files
- Next message (by thread): [Python-Dev] PEP 488: elimination of PYO files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Mar 6, 2015, at 15:13, Chris Angelico wrote: > On Sat, Mar 7, 2015 at 6:09 AM, Benjamin Peterson <benjamin at python.org> > wrote: > > I think it would be preferable deprecate -O and -OO and replace them > > with flags like --no-docstrings or --no-asserts. Ideally, "optimization" > > levels shouldn't change program semantics. > > Plenty of C compilers have optimization levels that can change > behaviour (replacing division with mult-by-reciprocal and such), so I > don't see any reason for Python to object. Yes, but in the C world, you have pass scary flags like -ffast-math. Just -O2 generally won't reach outside of standard semantics.
- Previous message (by thread): [Python-Dev] PEP 488: elimination of PYO files
- Next message (by thread): [Python-Dev] PEP 488: elimination of PYO files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list