Why is this blowing the stack, thought it was tail-recursive...

Marc Christiansen usenet at solar-empire.de
Sat Jul 12 19:25:20 CEST 2008


ssecorp <circularfunc at gmail.com> asked:
> Why is this blowing the stack, thought it was tail-recursive...

Because python does no tail-call optimization.

Ciao
  Marc



More information about the Python-list mailing list