[issue12276] 3.x ignores sys.tracebacklimit=0

Terry J. Reedy report at bugs.python.org
Sat Jun 11 04:17:35 CEST 2011


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Either code or doc must change (with 'version changed' note). Doc: "The default is 1000. When set to 0 or less, all traceback information is suppressed and only the exception type and value are printed."

Christian's patch: "values <= 0 are replaced with a default value to avoid infinite recursion and other issues." Default is 1000.

I do not see the logic of changing 'nothing' to 'everything'. I am puzzled how printing nothing causes infinite recursion.

----------
assignee:  -> docs at python
components: +Documentation
nosy: +christian.heimes, docs at python, terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12276>
_______________________________________


More information about the Python-bugs-list mailing list