1. 21 Jul, 2002 2 commits
    • Tim Peters's avatar
      Changed import from · 53d019cf
      Tim Peters authored
          from test.test_support import TestSkipped, run_unittest
      to
          from test_support import TestSkipped, run_unittest
      
      Otherwise, if the Japanese codecs aren't installed, regrtest doesn't
      believe the TestSkipped exception raised by this test matches the
      
          except (ImportError, test_support.TestSkipped), msg:
      
      it's looking for, and reports the skip as a crash failure instead of
      as a skipped test.
      
      I suppose this will make it harder to run this test outside of
      regrtest, but under the assumption only Barry does that, better to
      make it skip cleanly for everyone else.
      53d019cf
    • Kurt B. Kaiser's avatar
      Bug: clearing the shell undo list after a prompt was allowing files to be · 1bf4c2d2
      Kurt B. Kaiser authored
      opened on top of the shell instead of in a new window.
      1bf4c2d2
  2. 20 Jul, 2002 6 commits
  3. 19 Jul, 2002 29 commits
  4. 18 Jul, 2002 3 commits
    • Barry Warsaw's avatar
      Anthony Baxter's cleanup patch. Python project SF patch # 583190, · 7aeac918
      Barry Warsaw authored
      quoting:
      
        in non-strict mode, messages don't require a blank line at the end
        with a missing end-terminator. A single newline is sufficient now.
      
        Handle trailing whitespace at the end of a boundary. Had to switch
        from using string.split() to re.split()
      
        Handle whitespace on the end of a parameter list for Content-type.
      
        Handle whitespace on the end of a plain content-type header.
      
      Specifically,
      
      get_type(): Strip the content type string.
      
      _get_params_preserve(): Strip the parameter names and values on both
      sides.
      
      _parsebody(): Lots of changes as described above, with some stylistic
      changes by Barry (who hopefully didn't screw things up ;).
      7aeac918
    • Mark Hammond's avatar
      Fix bug [ 549731 ] Unicode encoders appears to leak references. · e21262ca
      Mark Hammond authored
      Python 2.2.1 bugfix candidate.
      e21262ca
    • Jeremy Hylton's avatar
      Define _XOPEN_SOURCE in configure and Python.h. · 5a7ef7e2
      Jeremy Hylton authored
      This gets compilation of posixmodule.c to succeed on Tru64 and does no
      harm on Linux.  We may need to undefine it on some platforms, but
      let's wait and see.
      
      Martin says:
      
      > I think it is generally the right thing to define _XOPEN_SOURCE on
      > Unix, providing a negative list of systems that cannot support this
      > setting (or preferably solving whatever problems remain).
      >
      > I'd put an (unconditional) AC_DEFINE into configure.in early on; it
      > *should* go into confdefs.h as configure proceeds, and thus be active
      > when other tests are performed.
      5a7ef7e2