This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2016-04-19.22:39:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461105544.08.0.0145590373976.issue26806@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-04-19 22:39:04terry.reedysetrecipients: + terry.reedy
2016-04-19 22:39:04terry.reedysetmessageid: <1461105544.08.0.0145590373976.issue26806@psf.upfronthosting.co.za>
2016-04-19 22:39:04terry.reedylinkissue26806 messages
2016-04-19 22:39:03terry.reedycreate