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 taleinat
Recipients serhiy.storchaka, taleinat, terry.reedy
Date 2019-06-10.17:23:42
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?

Yes. To use your terms, I prefer incrementing over thresholding.

> This is all that is needed for getrecursionlimit.

If we go with incrementing, then getrecursionlimit should likely decrement the returned value by the same amount, so that setrecursionlimit(getrecursionlimit()) doesn't change the recursion limit.

> Currently, at least on CPython, n must be >= 1 or ValueError is raised.  I don't like changing that.

This is another issue that incrementing avoids.

Since it looks like we're in general agreement, Terry, I'll work up a PR.
Date User Action Args
2019-06-10 17:23:42taleinatsetrecipients: + taleinat, terry.reedy, serhiy.storchaka
2019-06-10 17:23:42taleinatsetmessageid: <>
2019-06-10 17:23:42taleinatlinkissue26806 messages
2019-06-10 17:23:42taleinatcreate