RETIRED, further work has moved to Debian project infrastructure
Go to file
Robert Collins 6adffbf614 Fixes for the test suite on PyPy.
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.
2014-11-24 22:26:32 +13:00
traceback2 Fixes for the test suite on PyPy. 2014-11-24 22:26:32 +13:00
.gitignore Ignore .eggs as well. 2014-11-21 09:57:36 +13:00
.testr.conf Basic boilerplate. 2014-11-21 07:50:36 +13:00
README.rst Python2.xify the code base. 2014-11-24 21:54:53 +13:00
requirements.txt Basic boilerplate. 2014-11-21 07:50:36 +13:00
setup.cfg Basic boilerplate. 2014-11-21 07:50:36 +13:00
setup.py Basic boilerplate. 2014-11-21 07:50:36 +13:00
test-requirements.txt Port trunk traceback module to standalone w/3.5. 2014-11-21 09:58:04 +13:00

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.