New submission from David MacIver:

When run under Python 3.6.0 or 3.5.1 (and presumably other versions of Python 
3) the attached code fails with "Fatal Python error: Cannot recover from stack 
overflow." then aborts with a core dump and an error code indicating it got a 
SIGABRT.

On Python 2.7 it instead hangs indefinitely.

Obviously this code is stupid and shouldn't be expected to do anything very 
reasonable - It's shrunk down from what was probably just a bug on my end in a 
larger example - but it seemed like it might be symptomatic of a more general 
class of problems.

----------
files: recursionerror.py
messages: 289441
nosy: David MacIver
priority: normal
severity: normal
status: open
title: "Fatal Python error: Cannot recover from stack overflow." from pure 
Python code
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file46720/recursionerror.py

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

Reply via email to