On 1/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> >>> sys.setrecursionlimit(1<<30)
> >>> f = lambda f:f(f)
> >>> f(f)
> Segmentation fault
>
> Is there some way that Python can determine that 1<<30 is an unreasonable
> recursion limit?
Yes, but that doesn't help -- there
>>> sys.setrecursionlimit(1<<30)
>>> f = lambda f:f(f)
>>> f(f)
Segmentation fault
Is there some way that Python can determine that 1<<30 is an unreasonable
recursion limit?
Skip
___
Python-Dev mailing list
[email protected]
http://