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 <>
Test program:

import sys
def f(): return f()

Traceback (most recent call last):
  File "", line 4, in <module>
  File "", 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\ =======================

=============================== 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:04terry.reedysetrecipients: + terry.reedy
2016-04-19 22:39:04terry.reedysetmessageid: <>
2016-04-19 22:39:04terry.reedylinkissue26806 messages
2016-04-19 22:39:03terry.reedycreate