[Python-ideas] Python-ideas Digest, Vol 90, Issue 30

Ned Batchelder ned at nedbatchelder.com
Thu May 22 01:04:58 CEST 2014


On 5/21/14 5:37 PM, Ethan Furman wrote:
> On 05/21/2014 02:24 PM, Antoine Pitrou wrote:
>> On Wed, 21 May 2014 20:44:24 +0100 Raymond Hettinger wrote:
>>>
>>> I think this opens a can of worms that is better left closed.
>>
>> FWIW, I agree with Raymond's arguments here.
>
> Wow, did a new star fire up somewhere?  I also agree.  :)

I'm not sure what can of worms you are imagining.  Let's look to our 
experience with C compilers.  They have a switch to disable 
optimization.  What trouble has that brought?  When I think of problems 
with optimizers in C compilers, I think of incorrect or buggy 
optimizations.  I can't think of something that has gone wrong because 
there was a switch to turn it off.

People in this thread have contrasted this proposal with an apparent 
desire to expand the set of optimizations performed.  It seems to me 
that the complexity and danger lie in expanded optimizations, not 
disabled ones.

--Ned.
>
> -- 
> ~Ethan~
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/



More information about the Python-ideas mailing list