Re: Tail recursion Re: list of polynomial functions

2006-06-20 Thread tjreedy
"Pekka Karjalainen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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

Tail recursion Re: list of polynomial functions

2006-06-20 Thread Pekka Karjalainen
In article <[EMAIL PROTECTED]>, Matteo wrote: >This last approach could, at least theoretically, create an arbitrarily >long list of polys, without overflowing any kind of stack. In practice, >python does not seem to perform tail recursion optimizations, and conks >out after makepolys(997) on my m