1. 29 Jun, 2003 15 commits
  2. 28 Jun, 2003 19 commits
  3. 27 Jun, 2003 6 commits
    • Raymond Hettinger's avatar
      SF patch #756996: Bare except in ZipFile.testzip() · c0fac96c
      Raymond Hettinger authored
      (Contributed by Steven Taschuk)
      
      Replaces a bare except that caused all errors to be mis-reported as
      archive errors.
      
      Added a related NEWS item.
      c0fac96c
    • Raymond Hettinger's avatar
      SF patch #761519: Fixes for bugs 760703 and 757821 · 6f3eaa67
      Raymond Hettinger authored
      SF bug #760703: SocketHandler and LogRecord don't work well together
      SF bug #757821: logging module docs
      
      Applied Vinay Sajip's patch with a few minor fixups and a NEWS item.
      
      Patched __init__.py - added new function
      makeLogRecord (for bug report 760703).
      
      Patched handlers.py - updated some docstrings and
      deleted some old commented-out code.
      
      Patched test_logging.py to make use of makeLogRecord.
      
      Patched liblogging.tex to fill documentation gaps (both
      760703 and bug 757821).
      6f3eaa67
    • Tim Peters's avatar
      A hack to ease compatibility with pre-2.3 Pythons: by default, doctest · 6ebe61fa
      Tim Peters authored
      now accepts "True" when a test expects "1", and similarly for "False"
      versus "0".  This is un-doctest-like, but on balance makes it much
      more pleasant to write doctests that pass under 2.2 and 2.3.  I expect
      it to go away again, when 2.2 is forgotten.  In the meantime, there's
      a new doctest module constant that can be passed to a new optional
      argument, if you want to turn this behavior off.
      
      Note that this substitution is very simple-minded:  the expected and
      actual outputs have to consist of single tokens.  No attempt is made,
      e.g., to accept [True, False] when a test expects [1, 0].  This is a
      simple hack for simple tests, and I intend to keep it that way.
      6ebe61fa
    • Gustavo Niemeyer's avatar
      Do not add extra "\n" after bang line. · 6cf26195
      Gustavo Niemeyer authored
      6cf26195
    • Fred Drake's avatar
      fix typo · 01c623b1
      Fred Drake authored
      01c623b1
    • Skip Montanaro's avatar