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 serhiy.storchaka, terry.reedy
Date 2016-04-20.18:17:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for the investigation.  I copied the limit from a python-ideas example and did not realize that IDLE adds so much to the call stack.  I should add a bit on the subject to the IDLE doc in "3.2. IDLE-console differences".  (It can also impact tracebacks -- as reported on a couple of tracker issues.)

"IDLE adds it own calls to the call stack before (and possibly after) running user code.  Tracebacks are filtered to remove these, but the filtering may not be perfect.  Setting a recursion limit that is too low, such as with sys.setrecursionlimit(20), will result in mysterious malfunctions."
Date User Action Args
2016-04-20 18:17:42terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2016-04-20 18:17:42terry.reedysetmessageid: <>
2016-04-20 18:17:42terry.reedylinkissue26806 messages
2016-04-20 18:17:42terry.reedycreate