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

Gabriel Genellina report at bugs.python.org
Wed Jun 8 04:09:11 CEST 2011


Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:

Is this the intended behavior then? I don't get the rationale for that change.

There is no way to completely supress traceback information now; for sys.tracebacklimit to be of any significance, it must be >= 1; 0 and negative values behave the same as it not being set (that is, a full traceback is printed).

----------

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


More information about the Python-bugs-list mailing list