1. 21 Nov, 2006 1 commit
    • Neal Norwitz's avatar
      Bug #1599782: Fix segfault on bsddb.db.DB().type(). · 4fe44238
      Neal Norwitz authored
      The problem is that _DB_get_type() can't be called without the GIL
      because it calls a bunch of PyErr_* APIs when an error occurs.
      There were no other cases in this file that it was called without the GIL.
      Removing the BEGIN/END THREAD around _DB_get_type() made everything work.
      
      Will backport.
      4fe44238
  2. 20 Nov, 2006 3 commits
  3. 19 Nov, 2006 5 commits
  4. 18 Nov, 2006 4 commits
  5. 17 Nov, 2006 1 commit
    • Andrew M. Kuchling's avatar
      Remove file-locking in MH.pack() method. · 8c456f3b
      Andrew M. Kuchling authored
      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
  6. 16 Nov, 2006 3 commits
  7. 15 Nov, 2006 2 commits
  8. 12 Nov, 2006 5 commits
  9. 11 Nov, 2006 2 commits
  10. 10 Nov, 2006 3 commits
  11. 09 Nov, 2006 6 commits
  12. 08 Nov, 2006 5 commits