]> granicus.if.org Git - python/commit
Work through several open todos:
authorRaymond Hettinger <python@rcn.com>
Sat, 3 Jul 2004 10:02:28 +0000 (10:02 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 3 Jul 2004 10:02:28 +0000 (10:02 +0000)
commitd9c0a7ae94ef81e69d927d834131bad760d4d99d
tree09329bb5343985d25e951ee6305178c0ee03e1f8
parent41d13f61d289a16eb27675e6ed5be8427be743ac
Work through several open todos:
* Added test for pickling contexts
* Renamed ExceptionList to Signals (to match wording in the spec)
* Simplified Context constructor by allowing flags=None to automatically
  generate a zeroed-out flags dictionary.
* inlined _convertString() which was used only once
* _rounding_decision is private, so excluded its contants from __all__.
* added an XXX comment with concerns about subclassing signals results in
  a deviation from the spec (maybe important, maybe not).
* Taught the test_suite to determine its own directory (modeled after code
  in regrtest.py).  Enables it to be run when the current directory is not
  the test directory.
* Added a clear_flags() method to the Context API to make it easier to do
  a common operation with flags.
* Fixed the trap_enablers defaults in BasicDefaultContext to match the spec.
Lib/decimal.py
Lib/test/test_decimal.py