1. 01 Agu, 2010 1 kayıt (commit)
    • Georg Brandl's avatar
      Merged revisions 83385-83389,83391 via svnmerge from · 0347c71c
      Georg Brandl yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83385 | georg.brandl | 2010-08-01 08:42:45 +0200 (So, 01 Aug 2010) | 1 line
      
        #8773: mailbox.py does not need to be executable.
      ........
        r83386 | georg.brandl | 2010-08-01 08:44:46 +0200 (So, 01 Aug 2010) | 1 line
      
        #8768: name test method properly so that it gets executed.
      ........
        r83387 | georg.brandl | 2010-08-01 08:53:28 +0200 (So, 01 Aug 2010) | 1 line
      
        #8735: better explain semantics of *values* argument for parse().
      ........
        r83388 | georg.brandl | 2010-08-01 09:48:43 +0200 (So, 01 Aug 2010) | 1 line
      
        #7395: fix traceback in do_add() when no stats are loaded.  Apply same fix for do_sort() and do_reverse().
      ........
        r83389 | georg.brandl | 2010-08-01 09:57:47 +0200 (So, 01 Aug 2010) | 1 line
      
        Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
      ........
        r83391 | georg.brandl | 2010-08-01 10:10:08 +0200 (So, 01 Aug 2010) | 1 line
      
        Add another news entry.
      ........
      0347c71c
  2. 22 Şub, 2010 1 kayıt (commit)
  3. 04 Ock, 2010 1 kayıt (commit)
  4. 01 Kas, 2009 2 kayıt (commit)
  5. 02 May, 2009 1 kayıt (commit)
  6. 02 Nis, 2009 1 kayıt (commit)
  7. 04 Agu, 2008 1 kayıt (commit)
  8. 19 Ock, 2008 1 kayıt (commit)
  9. 14 Tem, 2007 1 kayıt (commit)
  10. 30 Ock, 2007 1 kayıt (commit)
  11. 22 Ock, 2007 3 kayıt (commit)
  12. 20 Ara, 2006 1 kayıt (commit)
    • Andrew M. Kuchling's avatar
      [Apply length-checking.diff from bug #1599254] · eca4c312
      Andrew M. Kuchling yazdı
      Add length checking to single-file mailbox formats: before doing a
      flush() on a mailbox, seek to the end and verify its length is
      unchanged, raising ExternalClashError if the file's length has
      changed.
      
      This fix avoids potential data loss if some other process appends to
      the mailbox file after the table of contents has been generated;
      instead of overwriting the modified file, you'll get the exception.
      
      I also noticed that the self._lookup() call in self.flush() wasn't
      necessary (everything that sets self._pending to True also calls
      self.lookup()), and replaced it by an assertion.
      
      2.5 backport candidate.
      eca4c312
  13. 14 Ara, 2006 1 kayıt (commit)
  14. 17 Kas, 2006 1 kayıt (commit)
    • Andrew M. Kuchling's avatar
      Remove file-locking in MH.pack() method. · 8c456f3b
      Andrew M. Kuchling yazdı
      This change looks massive but it's mostly a re-indenting after
      removing some try...finally blocks.
      
      Also adds a test case that does a pack() while the mailbox is locked; this
      test would have turned up bugs in the original code on some platforms.
      
      In both nmh and GNU Mailutils' implementation of MH-format mailboxes,
      no locking is done of individual message files when renaming them.
      
      The original mailbox.py code did do locking, which meant that message
      files had to be opened.  This code was buggy on certain platforms
      (found through reading the code); there were code paths that closed
      the file object and then called _unlock_file() on it.
      
      Will backport to 25-maint once I see how the buildbots react to this patch.
      8c456f3b
  15. 09 Kas, 2006 3 kayıt (commit)
  16. 27 Eki, 2006 1 kayıt (commit)
  17. 23 Tem, 2006 1 kayıt (commit)
  18. 28 Haz, 2006 1 kayıt (commit)
  19. 26 Haz, 2006 2 kayıt (commit)
    • Andrew M. Kuchling's avatar
      [Bug #1512163] Use one set of locking methods, lockf(); · 55732593
      Andrew M. Kuchling yazdı
      remove the flock() calls.
      
      On FreeBSD, the two methods lockf() and flock() end up using the same
      mechanism and the second one fails.  A Linux man page claims that the
      two methods are orthogonal (so locks acquired one way don't interact
      with locks acquired the other way) but that clearly must be false.
      55732593
    • Andrew M. Kuchling's avatar
      [Bug #1512163] Fix typo. · a7ee9eb3
      Andrew M. Kuchling yazdı
      This change will probably break tests on FreeBSD buildbots, but I'll check in
      a fix for that next.
      a7ee9eb3
  20. 11 May, 2006 1 kayıt (commit)
  21. 04 May, 2006 1 kayıt (commit)
  22. 02 May, 2006 1 kayıt (commit)
  23. 22 Nis, 2006 2 kayıt (commit)
    • Tim Peters's avatar
      Whitespace normalization. · 6d7cd7d6
      Tim Peters yazdı
      6d7cd7d6
    • Andrew M. Kuchling's avatar
      Add Gregory K. Johnson's revised version of mailbox.py (funded by · 1da4a947
      Andrew M. Kuchling yazdı
      the 2005 Summer of Code).
      
      The revision adds a number of new mailbox classes that support adding
      and removing messages; these classes also support mailbox locking and
      default to using email.Message instead of rfc822.Message.
      
      The old mailbox classes are largely left alone for backward compatibility.
      The exception is the Maildir class, which was present in the old module
      and now inherits from the new classes.  The Maildir class's interface
      is pretty simple, though, so I think it'll be compatible with existing
      code.
      
      (The change to the NEWS file also adds a missing word to a different
      news item, which unfortunately required rewrapping the line.)
      1da4a947
  24. 21 Agu, 2004 1 kayıt (commit)
  25. 24 Tem, 2004 1 kayıt (commit)
  26. 07 Tem, 2004 1 kayıt (commit)
  27. 07 Şub, 2004 1 kayıt (commit)
  28. 12 Eyl, 2002 1 kayıt (commit)
  29. 26 Agu, 2002 1 kayıt (commit)
  30. 30 Haz, 2002 1 kayıt (commit)
  31. 01 Haz, 2002 1 kayıt (commit)
  32. 04 Nis, 2002 1 kayıt (commit)
  33. 24 Mar, 2002 1 kayıt (commit)