]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Remaining fallout from 17911
authorRobert Collins <rbtcollins@hp.com>
Thu, 5 Mar 2015 02:45:01 +0000 (15:45 +1300)
committerRobert Collins <rbtcollins@hp.com>
Thu, 5 Mar 2015 02:45:01 +0000 (15:45 +1300)
commit2f0441f03f71c658148bff60be46585f56670d1f
treed02581d83fa5628fd8e2ec474d1b58747438f365
parent3737e600f444b230ef2284fa326443990903b25e
Remaining fallout from 17911

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.
Lib/_pydecimal.py
Lib/code.py
Lib/traceback.py