Terry J. Reedy <tjre...@udel.edu> added the comment:

When I run this with 3.2.2 IDLE, from an edit window, I get an MSVC++ Runtime 
Library window: "Runtime Error! .../pythonw This application has requested 
termination in an unusual way...". When I close that, IDLE continues. So I 
would say that this is not a crash and not even a bug, but a particular choice 
of undefined behavior given infinite loop code. So we have no obligation to 
change it. I presume the change from 2.x is a side-effect of a change to 
improve something else.

def recurse(): recurse()
recurse()

does print "RuntimeError: maximum recursion depth exceeded" but only after 
printing a    l  o  n  g    traceback. So for running from IDLE, I at least 
half prefer the immediate error box with no traceback.

----------
nosy: +terry.reedy
type: crash -> behavior

_______________________________________
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