[Python-ideas] Disable all peephole optimizations

Nick Coghlan ncoghlan at gmail.com
Fri May 23 19:36:32 CEST 2014


On 24 May 2014 03:24, "Guido van Rossum" <guido at python.org> wrote:
>
> On Fri, May 23, 2014 at 10:22 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>>
>>
>> On 24 May 2014 02:49, "Guido van Rossum" <guido at python.org> wrote:
>> >
>> > I'm not happy with the direction this is taking. I would prefer an
approach that *first* implements the minimal thing (an internal flag, set
by an environment variable, to disable the peephole optimizer) and *then*
perhaps revisits the greater UI for specifying optimization levels and the
consequences this has for pyc/pyo files.
>>
>> Sure, that sounds like a reasonable approach, too. My perspective is
mainly coloured by the fact that we're still in the "eh, feature freeze is
still more than a year away" low urgency period for 3.5 :)
>
> Yeah, and I'm countering that not every project needs to land a week
before the feature freeze. :-)

But that approach makes Larry's life far more exciting! :)

Happily-on-the-other-side-of-the-Pacific-from-Larry-while-saying-that'ly
yours,
Nick.

>
> --
> --Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140524/afaa7c49/attachment-0001.html>


More information about the Python-ideas mailing list