##// END OF EJS Templates
FEAT: Fast TB....
FEAT: Fast TB. Try to detect when one of the file we are trying to highlight is too big, and fallback on pre-8.0 traceback code, that avoids stack_data. You can configure the limit with: >>> from IPython.core import ultratb >>> ultratb.FAST_THRESHOLD = 200 We are trying to _guess_ whether the traceback we will render is in a file that will require to parse more than FAST_THRESHOLD lines, though it is actually difficult to get this value correctly, so in some case, the slow path may be used, even if files are longer than FAST_THRESHOLD, especially if the crashing code is at the beginning of the file.
Matthias Bussonnier -
r28123:3362771d
Show More
Name Size Modified Last Commit Author
/ IPython
core
extensions
external
lib
sphinxext
terminal
testing
tests
utils
__init__.py Loading ...
__main__.py Loading ...
conftest.py Loading ...
consoleapp.py Loading ...
display.py Loading ...
paths.py Loading ...
py.typed Loading ...