[issue26823] Shrink recursive tracebacks
Nick Coghlan
report at bugs.python.org
Sun Jul 24 05:01:57 EDT 2016
Nick Coghlan added the comment:
Thanks Emanuel, and sorry for the long delay in getting a review!
My main substantive comment is that the approach of hardcoding the recursion count won't work cross platform, as the default recursion limit is set differently depending on how the platform's C runtime behaves. Fortunately, sys.getrecursionlimit() and len(inspect.stack()) should make it possible to tweak the tests to avoid the hardcoded assumption.
I also have some additional readability suggestions, which can be found in Rietveld.
----------
assignee: ncoghlan -> ebarry
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26823>
_______________________________________
More information about the Python-bugs-list
mailing list