Re: sys.tracebacklimit

2011-07-13 Thread Chris Rebert
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

sys.tracebacklimit

2011-07-13 Thread Vlad Didenko
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

Re: sys.tracebacklimit not working in Python 3.2?

2011-06-07 Thread Gabriel Genellina
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/

sys.tracebacklimit not working in Python 3.2?

2011-05-27 Thread Thorsten Kampe
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