Message263785
Test program:
import sys
sys.setrecursionlimit(20)
def f(): return f()
f()
F:\Python\mypy>python tem.py
Traceback (most recent call last):
File "tem.py", line 4, in <module>
f()
File "tem.py", line 3, in f
def f(): return f()
...
RecursionError: maximum recursion depth exceeded
In 2.7.11, the error is caught and the user process restarted.
======================= RESTART: F:\Python\mypy\tem.py =======================
=============================== RESTART: Shell ===============================
>>>
In 3.5.1, the user process hangs, ^C does not work, and a restart explicitly requested either with Shell => Restart or running another program.
This behavior is either peculiar to this test case, or a regression, as I remember getting proper RecursionError tracebacks in the past. |
|
Date |
User |
Action |
Args |
2016-04-19 22:39:04 | terry.reedy | set | recipients:
+ terry.reedy |
2016-04-19 22:39:04 | terry.reedy | set | messageid: <1461105544.08.0.0145590373976.issue26806@psf.upfronthosting.co.za> |
2016-04-19 22:39:04 | terry.reedy | link | issue26806 messages |
2016-04-19 22:39:03 | terry.reedy | create | |
|