Tail recursion Re: list of polynomial functions

tjreedy tjreedy at udel.edu
Tue Jun 20 10:07:18 EDT 2006

"Pekka Karjalainen" <pkarjala at paju.oulu.fi> wrote in message 
news:slrne9f84g.227.pkarjala at paju.oulu.fi...

> Python doesn't do any kind of tail recursion optimization by default
> because Guido has decided it shouldn't (at least so far). I'm sure it has
> been discussed in detail in Python development forums & lists, but I
> don't know those details.

Giving Python's late name resolution, the transformation would be a change 
in semantics.  Something might be proposed for 3.0.

Terry Jan Reedy

More information about the Python-list mailing list