On Wed, Jul 13, 2011 at 6:42 AM, Vlad Didenko wrote:
> Colleagues,
> Per documentation
> at http://docs.python.org/py3k/library/sys.html#sys.tracebacklimit :
> When [sys.tracebacklimit] set to 0 or less, all traceback information
> is suppressed and only the exception typ
Colleagues,
Per documentation at
http://docs.python.org/py3k/library/sys.html#sys.tracebacklimit :
When [sys.tracebacklimit] set to 0 or less, all traceback information is
suppressed and only the exception type and value are printed
So, I expect to be able to have a program like
En Fri, 27 May 2011 17:38:50 -0300, Thorsten Kampe
escribió:
sys.tracebacklimit = 0
The 3.2 documentation says "When set to 0 or less, all traceback
information is suppressed and only the exception type and value are
printed". Bug?
Yes; reported at http://bugs.python.org/
Hi,
> type test.py
import sys
sys.tracebacklimit = 0
import doesnotexist
> python test.py
ImportError: No module named doesnotexist
> python3 test.py
Traceback (most recent call last):
File "test.py", line 4, in
import doesnotexist
ImportError: No module named do