Nick Maclaren wrote: > Tail recursion removal can often eliminate the memory drain, but the > code has to be written so that will work - and I don't know offhand > whether Python does it. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496691 Regards, Kay