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, taleinat, terry.reedy
Date 2019-06-10.01:25:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
'max(n, 50)' should have been 'min(n, 50)'  Tal, does you comment avove about the former apply when corrected to the latter?

Both get... and setrecursionlimit should be wrapped in a function, such as 'wrap_recursionlimits', called from run.main, each decorated with functools.wraps.  Both docstrings should be augmented with ... .__doc__ += "\n\nWhen running under IDLE, ..."  This is all that is needed for getrecursionlimit.  The question is to do with setrecursionlimit.

Whatever is chosen should be added to the IDLE doc section mentioned above.

Currently, at least on CPython, n must be >= 1 or ValueError is raised.  I don't like changing that.  I don't have a strong feeling about threshholding versus incrementing, but see my question above.
Date User Action Args
2019-06-10 01:25:46terry.reedysetrecipients: + terry.reedy, taleinat, serhiy.storchaka
2019-06-10 01:25:46terry.reedysetmessageid: <>
2019-06-10 01:25:46terry.reedylinkissue26806 messages
2019-06-10 01:25:46terry.reedycreate