[issue22169] sys.tracebacklimit = 0 does not work as documented in 3.x

2014-08-07 Thread Ned Deily
Ned Deily added the comment: This appears to be a duplicate of open Issue12276. -- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 3.x ignores sys.tracebacklimit=0 ___ Python tracker

[issue22169] sys.tracebacklimit = 0 does not work as documented in 3.x

2014-08-07 Thread Orson Peters
New submission from Orson Peters: According to the documentation of sys.tracebacklimit, setting it to 0 or less would assure "all traceback information is suppressed and only the exception type and value are printed". This is not the case: $ python -c "import sys; sys.tracebacklimit = 0;