1. 27 Aug, 2003 2 commits
  2. 26 Aug, 2003 1 commit
    • Jason Tishler's avatar
      test_largefile can leave its temp file open if one of many tests fail. On · f6bb6242
      Jason Tishler authored
      platforms (e.g., Cygwin) that are "particular" about open files, this will
      cause other regression tests that use the same temp file to fail:
      
          $ ./python.exe -E -tt Lib/test/regrtest.py -l
          test_largefile test_mmap test_mutants
          test_largefile
          test test_largefile failed -- got -1794967295L, but expected 2500000001L
          test_mmap
          test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
          test_mutants
          test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
      
      This patch solves the problem by adding missing "try/finally" blocks. Note
      that the "large" size of this patch is due to many white space changes --
      otherwise, the patch is small.
      
      I tested this patch under Red Hat Linux 8.0 too.
      f6bb6242
  3. 25 Aug, 2003 5 commits
  4. 23 Aug, 2003 3 commits
  5. 20 Aug, 2003 2 commits
  6. 19 Aug, 2003 6 commits
  7. 18 Aug, 2003 3 commits
  8. 17 Aug, 2003 2 commits
    • Raymond Hettinger's avatar
    • Raymond Hettinger's avatar
      Improvements to set.py: · a3357c30
      Raymond Hettinger authored
      * Relaxed the argument restrictions for non-operator methods.  They now
        allow any iterable instead of requiring a set.  This makes the module
        a little easier to use and paves the way for an efficient C
        implementation which can take better advantage of iterable arguments
        while screening out immutables.
      
      * Deprecated Set.update() because it now duplicates Set.union_update()
      
      * Adapted the tests and docs to include the above changes.
      
      * Added more test coverage including testing identities and checking
        to make sure non-restartable generators work as arguments.
      
      Will backport to Py2.3.1 so that the interface remains consistent
      across versions.  The deprecation of update() will be changed to
      a FutureWarning.
      a3357c30
  9. 16 Aug, 2003 3 commits
  10. 15 Aug, 2003 10 commits
  11. 14 Aug, 2003 3 commits