Hello Allan! On Monday 12 February 2007 22:17, Alan Gauld wrote: > The figure 999 is interesting. Python has a recursion limit of 1000 > levels. Do you by any chance use recursion to call your function? Is the recursion limit hard coded, or can it be changed? Regards, Eike.