Re: [Python-Dev] Simple CPython stack overflow.

2006-02-20 Thread Guido van Rossum
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 recursi

[Python-Dev] Simple CPython stack overflow.

2006-02-20 Thread David Wilson
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(15): ... D = {'a': D} ... >>> D {'a': {'a': {'a': {'a': {'a': {'a':