A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-January/059652.html below:

[Python-Dev] Limiting the recursion limit

[Python-Dev] Limiting the recursion limit [Python-Dev] Limiting the recursion limitskip at pobox.com skip at pobox.com
Wed Jan 11 15:37:49 CET 2006
    >>> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4