Yes, this is the type of thing we've been struggling with for years. There used to be way more of these. I can't guarantee it'll be fixed with priority (it's mostly of the "then don't do that" type) but please do file a bug so someone with inclination can fix it. The same happens for deeply recursive tuples and lists BTW. --Guido On 2/20/06, David Wilson <dw at botanicus.net> wrote: > 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 > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org > -- --Guido van Rossum (home page: http://www.python.org/~guido/)
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