New submission from maniram maniram <maniandra...@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.

def recurse():
    try:raise Exception #An arbitary exception
    except Exception:recurse()

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
messages: 149956
nosy: maniram.maniram
priority: normal
severity: normal
status: open
title: Python crashes with this code.
type: crash
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13644>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to