[New-bugs-announce] [issue13644] Python crashes with this code.
report at bugs.python.org
Wed Dec 21 06:54:52 CET 2011
New submission from maniram maniram <maniandram01 at gmail.com>:
When you run the following code, Python 3 (not Python 2) crashes.
Interestingly, Python 2.7 doesn't seem to be affected and correctly raises an error about recursion ( so this must be a regression ).
The code's recursion should be detected and Python should raise a RuntimeError about recursion.
try:raise Exception #An arbitary exception
After running this code Python 3 says "Fatal Python error: Cannot recover from stack overflow." and then Python aborts .
In Jython, this code doesn't crash it.
components: Interpreter Core
title: Python crashes with this code.
versions: Python 3.2, Python 3.3
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce