Robert Collins 37c5f154f0 Handle unicode paths more thoroughly.
Further testing exposed that we weren't decoding where we could, and
the SyntaxError special case needed to be updated too.
2015-03-09 19:56:36 +13:00
2015-03-06 14:43:28 +13:00
2014-11-21 07:50:36 +13:00
2015-03-06 14:43:28 +13:00
2015-03-06 14:43:28 +13:00
2015-03-06 16:18:39 +13:00
2015-03-06 16:18:39 +13:00
2014-11-21 07:50:36 +13:00

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'.

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 115 KiB
Languages
Python 99.9%
Makefile 0.1%