The code module was using a private function from traceback in order to skip a
frame - used the direct interface to do that instead,
The decimal module suffered minor fallout from formatting changes ('None' as a
value is now not printed by traceback, the same as None was not before).
The cgitb module was passing a bogus exception type (type.__name__) into
format_exception, which uncovered that format_exception and print_exception had
been ignoring the etype for some time, so the compatibility thunk to the new
code now does the same thing.
Provide a way to seed the linecache for a PEP-302 module without actually
loading the code.
Provide a new object API for traceback, including the ability to not lookup
lines at all until the traceback is actually rendered, without any trace of the
original objects being kept alive.
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.
Skip a few tests that test the core interpreter and don't work on <3.
Unicodify the core.
Fix tests to deal with Python 2's behaviour (stdout not encoded at
all) when stdout is a pipe.
Python 3.2 doesn't have __qualname__ nor does it have exception chain
suppressing, so make sure tb walking doesn't crash, and fallback to
__name__ when __qualname__ is missing.