Message150205
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. |
|
Date |
User |
Action |
Args |
2011-12-24 03:28:50 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, benjamin.peterson, roger.serwy, Ramchandra Apte |
2011-12-24 03:28:50 | terry.reedy | set | messageid: <1324697330.68.0.803919211839.issue13644@psf.upfronthosting.co.za> |
2011-12-24 03:28:50 | terry.reedy | link | issue13644 messages |
2011-12-24 03:28:49 | terry.reedy | create | |
|