problem with an infinite loop
Fredrik Lundh
fredrik at pythonware.com
Wed Dec 15 08:46:15 EST 1999
Ionel Simionescu <ionel at psy.uva.nl> wrote:
> The code below represents an erroneous snippet that crashes Python
> (1.5.2/WinNT) in a very reproductible manner.
http://www.python.org/doc/FAQ.html#4.48
> Maybe this kind of error can be intercepted by the interpreter and raise an
> exception.
the interpreter tries, but it doesn't succeed on all
platforms. if you run your sample on Linux, you get:
... long traceback snipped ...
RuntimeError: Maximum recursion depth exceeded
</F>
More information about the Python-list
mailing list