Tal Einat <talei...@gmail.com> added the comment:
> '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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26806> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com