1. 21 Kas, 2010 1 kayıt (commit)
  2. 01 Agu, 2010 1 kayıt (commit)
  3. 23 Ock, 2010 1 kayıt (commit)
  4. 30 Haz, 2009 1 kayıt (commit)
  5. 04 Nis, 2009 1 kayıt (commit)
  6. 01 Nis, 2009 1 kayıt (commit)
  7. 31 Mar, 2009 2 kayıt (commit)
  8. 30 Mar, 2009 1 kayıt (commit)
  9. 05 Mar, 2009 2 kayıt (commit)
  10. 28 Şub, 2009 2 kayıt (commit)
  11. 17 Şub, 2009 2 kayıt (commit)
  12. 01 Nis, 2008 1 kayıt (commit)
  13. 17 Şub, 2008 1 kayıt (commit)
  14. 16 Şub, 2008 1 kayıt (commit)
  15. 15 Şub, 2008 1 kayıt (commit)
  16. 22 Ock, 2008 1 kayıt (commit)
  17. 19 Ock, 2008 1 kayıt (commit)
  18. 23 Eki, 2007 1 kayıt (commit)
  19. 28 Agu, 2007 1 kayıt (commit)
    • Thomas Wouters's avatar
      Improve extended slicing support in builtin types and classes. Specifically: · 3ccec68a
      Thomas Wouters yazdı
       - Specialcase extended slices that amount to a shallow copy the same way as
         is done for simple slices, in the tuple, string and unicode case.
      
       - Specialcase step-1 extended slices to optimize the common case for all
         involved types.
      
       - For lists, allow extended slice assignment of differing lengths as long
         as the step is 1. (Previously, 'l[:2:1] = []' failed even though
         'l[:2] = []' and 'l[:2:None] = []' do not.)
      
       - Implement extended slicing for buffer, array, structseq, mmap and
         UserString.UserString.
      
       - Implement slice-object support (but not non-step-1 slice assignment) for
         UserString.MutableString.
      
       - Add tests for all new functionality.
      3ccec68a
  20. 03 Kas, 2006 1 kayıt (commit)
  21. 29 Eki, 2006 1 kayıt (commit)
  22. 05 Şub, 2006 1 kayıt (commit)
    • Neal Norwitz's avatar
      Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the same · 0e6bc8c2
      Neal Norwitz yazdı
      on both Unix (SVR4 and BSD) and Windows.  Restores behaviour of passing -1
      for anonymous memory on Unix.  Use MAP_ANONYMOUS instead of _ANON since
      the latter is deprecated according to Linux (gentoo) man pages.
      
      Should we continue to allow mmap.mmap(0, length) to work on Windows?
      0 is a valid fd.
      
      Will backport bugfix portions.
      0e6bc8c2
  23. 11 Ock, 2006 1 kayıt (commit)
  24. 18 Ara, 2005 1 kayıt (commit)
  25. 26 Agu, 2005 1 kayıt (commit)
  26. 24 Agu, 2005 1 kayıt (commit)
  27. 28 Mar, 2005 1 kayıt (commit)
  28. 03 Mar, 2005 1 kayıt (commit)
  29. 13 Ock, 2003 1 kayıt (commit)
  30. 10 Ock, 2003 1 kayıt (commit)
  31. 11 Eyl, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      test_both(): I believe this was a typo: m is only defined if no · ccd9e75b
      Barry Warsaw yazdı
      exception occurred so it should only be closed in the else clause.
      Without this change we can an UnboundLocalError on Linux:
      
      Traceback (most recent call last):
        File "Lib/test/test_mmap.py", line 304, in ?
          test_both()
        File "Lib/test/test_mmap.py", line 208, in test_both
          m.close()
      UnboundLocalError: local variable 'm' referenced before assignment
      ccd9e75b
  32. 10 Eyl, 2002 2 kayıt (commit)
    • Tim Peters's avatar
      I left some debugging junk in here; removed it. Also replaced a few · 1b5112ac
      Tim Peters yazdı
      more instances of the bizarre "del f; del m" ways to spell .close() (del
      won't do any good here under Jython, etc).
      1b5112ac
    • Tim Peters's avatar
      A few days ago a test was added here to ensure that creating an mmap · 4f4f4d70
      Tim Peters yazdı
      with a size larger than the underlying file worked on Windows.  It
      does <wink>.  However, merely creating an mmap that way has the side
      effect of growing the file on disk to match the specified size.  A
      *later* test assumed that the file on disk was still exactly as it was
      before the new "size too big" test was added, but that's no longer true.
      So added a hack at the end of the "size too big" test to truncate the
      disk file back to its original size on Windows.
      4f4f4d70
  33. 07 Eyl, 2002 1 kayıt (commit)
  34. 05 Eyl, 2002 1 kayıt (commit)
  35. 23 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Get rid of relative imports in all unittests. Now anything that · 04f357cf
      Barry Warsaw yazdı
      imports e.g. test_support must do so using an absolute package name
      such as "import test.test_support" or "from test import test_support".
      
      This also updates the README in Lib/test, and gets rid of the
      duplicate data dirctory in Lib/test/data (replaced by
      Lib/email/test/data).
      
      Now Tim and Jack can have at it. :)
      04f357cf