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 <[EMAIL PROTECTED]> 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@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/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com