New tail recursion decorator

Kay Schluehr kay.schluehr at gmx.net
Wed May 10 05:36:16 EDT 2006


Diez B. Roggisch wrote:
> Kay Schluehr wrote:
>
> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496691
>
> Neat.
>
> Diez

Hi Diez,

for all those who already copied and pasted the original solution and
played with it I apologize for radical changes in the latest version (
the recipe is on version 1.5 now ! ). The latest implementation is
again a lot faster than the previous one. It does not only get rid of
exceptions but also of stack-frame inspection. 

Regards,
Kay




More information about the Python-list mailing list