Theerasak Photha schrieb: > On 21 Oct 2006 00:50:34 -0700, Ant <[EMAIL PROTECTED]> wrote: > >> But there's a good reason not to. Try: >> >> printreverse(range(1000)) >> >> Recursion has a maximum depth (of 1000 by default) in Python. > > I guess Python isn't tail-recursive then?
Nope. And given that you can decorate every function whenever you want , even at runtime, I can't see how that can be implemented easily - or at all, to be honest. Diez -- http://mail.python.org/mailman/listinfo/python-list