[issue6028] Interpreter crashes when chaining an infinite number of exceptions

Antoine Pitrou report at bugs.python.org
Fri May 15 13:22:18 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

This is normal behaviour, actually. The RuntimeError *is* raised, but
you catch it in the except clause and then recurse again ad infinitum.
The interpreter realizes that it "cannot recover from stack overflow",
as the message says, and then bails out.

----------
nosy: +pitrou
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6028>
_______________________________________


More information about the Python-bugs-list mailing list