##// END OF EJS Templates
Silence tokenization errors in ultratb....
Silence tokenization errors in ultratb. Currently, the ultratb module attempts to tokenize the code it finds in tracebacks, and issues a scary-sounding warnings about potentially invalid tracebacks if it fails. However, this tokenization is known to fail in some cases, notably if the reported error line is the terminating line of a multiline, triple-quoted string literal. This change fixes the issue by switching this to a `logging.debug` message, which silences it by default without completely removing it for debugging purposes. Fixes #6864.
Craig Citro -
r23973:0fdcb43a
Show More
Name Size Modified Last Commit Author
/ IPython
core
extensions
external
kernel
lib
sphinxext
terminal
testing
utils
__init__.py Loading ...
__main__.py Loading ...
config.py Loading ...
consoleapp.py Loading ...
display.py Loading ...
frontend.py Loading ...
html.py Loading ...
nbconvert.py Loading ...
nbformat.py Loading ...
parallel.py Loading ...
paths.py Loading ...
qt.py Loading ...