Backports of the traceback module
Project Links
Meta
Author: Testing-cabal
Classifiers
Development Status
- 6 - Mature
Intended Audience
- Developers
License
- OSI Approved :: Python Software Foundation License
Operating System
- OS Independent
Programming Language
- Python
- Python :: 2
- Python :: 2.6
- Python :: 2.7
- Python :: 3
- Python :: 3.2
- Python :: 3.3
- Python :: 3.4
Topic
- Software Development
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’.
Mar 09, 2015
1.4.0
Mar 09, 2015
1.3.0
Mar 09, 2015
1.2.1
Mar 09, 2015
1.2.0
Mar 09, 2015
1.1.0
Mar 06, 2015
1.0.0
Nov 24, 2014
0.0.1
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies: