消息 [225055]
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; raise Exception()"
Exception
$ python3 -c "import sys; sys.tracebacklimit = 0; raise Exception()"
Traceback (most recent call last):
File "<string>", line 1, in <module>
Exception |
|
| 日期 |
用户 |
动作 |
参数 |
| 2014-08-08 03:24:54 | orlp | 修改 | recipients:
+ orlp |
| 2014-08-08 03:24:54 | orlp | 修改 | messageid: <1407468294.35.0.178254047495.issue22169@psf.upfronthosting.co.za> |
| 2014-08-08 03:24:54 | orlp | 链接 | issue22169 messages |
| 2014-08-08 03:24:54 | orlp | 创建 | |
|