[Python-Dev] Thoughts on -O

Guido van Rossum guido@python.org
Tue, 29 Apr 2003 06:46:58 -0400

[Tim Delaney]
> One I had in mind would be the CALL_ATTR patch, which Guido
> explicitly mentioned as having been implemented on the main
> path, not on the optimised path, and pointed out that if it
> had been implemented only on the optimised path a number of
> issues with it would have been discovered much earlier.

Correction: I meant to say that about the optimization of expressions
of the form

  '-' NUMBER      # e.g. -1

This was buggy for years.

I'm not aware of problems with CALL_ATTR (which exists only as a patch
on SF) except that it's not always a speedup. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)