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-February/061506.html below:

[Python-Dev] Simple CPython stack overflow.

[Python-Dev] Simple CPython stack overflow. [Python-Dev] Simple CPython stack overflow.David Wilson dw at botanicus.net
Mon Feb 20 20:58:08 CET 2006
Just noticed this and wondered if it came under the Python should never
crash mantra. Should sys.getrecursionlimit() perhaps be taken into
account somewhere?

    >>> D = {'a': None}
    >>> for i in xrange(150000):
    ...     D = {'a': D}
    ...
    >>> D
    {'a': {'a': {'a': {'a': {'a': {'a': {'a': {'a': {'a': {'a': {'a':
    {'a': {'a': {'a': {'a': {'a': {'a': {'a': .... ': {'a': {'a': {'a':
    {'a': {'a': {'a': {'a': {[+]'a': {'a': {'a': {'a': {'a': {'a': {'a':
    {'a': {'a' .... Bus error
    bash$

Cheers,


David.

-- 
'tis better to be silent and be thought a fool,
than to speak and remove all doubt.
    -- Lincoln
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