T
Thorsten Kampe
Hi,
sys.tracebacklimit = 0
import doesnotexist
File "test.py", line 4, in <module>
import doesnotexist
ImportError: No module named doesnotexist
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?
Thorsten
import systype test.py
sys.tracebacklimit = 0
import doesnotexist
ImportError: No module named doesnotexistpython test.py
Traceback (most recent call last):python3 test.py
File "test.py", line 4, in <module>
import doesnotexist
ImportError: No module named doesnotexist
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?
Thorsten