6adffbf614
PyPy includes app_main in its tracebacks. For now, remove that in test (but in future perhaps we should remove that in formatting code)? PyPy also has a different position in its parser for errors, so allow for that in tests. |
||
---|---|---|
traceback2 | ||
.gitignore | ||
.testr.conf | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt |
README.rst
A backport of traceback to older supported Pythons.
>>> import traceback2 as traceback
Profit.
Things to be aware of!
In Python 2.x, unlike traceback, traceback2 creates unicode output.
Exception frame clearing silently does nothing if the interpreter in use does not support it.