skip to navigation
skip to content

traceback2 1.4.0

Backports of the traceback module

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 (because it depends on the linecache2 module).

Exception frame clearing silently does nothing if the interpreter in use does not support it.

traceback2._some_str, which while not an official API is so old its likely in use behaves similarly to the Python3 version - objects where unicode(obj) fails but str(object) works will be shown as b’thestrvaluerepr’.

 
File Type Py Version Uploaded on Size
traceback2-1.4.0-py2.py3-none-any.whl (md5, pgp) Python Wheel 3.4 2015-03-09 16KB
traceback2-1.4.0.tar.gz (md5, pgp) Source 2015-03-09 15KB