1. 07 Jul, 2004 7 commits
  2. 06 Jul, 2004 6 commits
  3. 05 Jul, 2004 12 commits
  4. 04 Jul, 2004 9 commits
  5. 03 Jul, 2004 6 commits
    • Raymond Hettinger's avatar
      Namespace cleanups: · f56392a2
      Raymond Hettinger authored
      * delete temporary globals immediately after use
      * move a global into a class variable
      * Rename BasicDefaultContext and ExtendedDefaultContext
        to BasicContext and ExtendedContext.
      f56392a2
    • Raymond Hettinger's avatar
      * Make the tests independent of the default precision. · 5f25e10f
      Raymond Hettinger authored
      * Change the default precision to 28 (to match VB's decimal type).
      5f25e10f
    • Vinay Sajip's avatar
      Refactored RotatingFileHandler to create a base class for rotating handlers.... · 0e9212d3
      Vinay Sajip authored
      Refactored RotatingFileHandler to create a base class  for rotating handlers. Added TimedRotatingFileHandler.
      0e9212d3
    • Vinay Sajip's avatar
      Changed basicConfig() to add keyword arguments. Changes are backward-compatible. · 8774ee9a
      Vinay Sajip authored
      Added error checking to log() to check that level is an integer, and raise a TypeError if not (as long as raiseExceptions is set).
      Minor documentation corrections.
      8774ee9a
    • Vinay Sajip's avatar
      Moved example section up to just after the section on Logger objects, and... · 8bc04244
      Vinay Sajip authored
      Moved example section up to just after the section on Logger objects, and changed it to use the new basicConfig() API
      8bc04244
    • Raymond Hettinger's avatar
      Work through several open todos: · 79da245f
      Raymond Hettinger authored
      * 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.
      79da245f