1. 25 Jun, 2002 2 commits
  2. 24 Jun, 2002 1 commit
    • Jeremy Hylton's avatar
      Be more cautious open creating a file when the old one doesn't exist. · ad85dfb9
      Jeremy Hylton authored
      Workaround for bug in Python versions upto and including 2.1.3.  If
      the interpreter was builtin without large file support but the
      platform had it, os.path.exists() would return false for large files.
      The fix is to try to open the file first, and decide whether to create
      a new file based on errno.
      
      (Only the two of the last three chunks of the diff affect this
      behavior.)
      
      Also cleanup imports and add some whitespace between arguments to func
      calls.
      ad85dfb9
  3. 23 Jun, 2002 3 commits
  4. 22 Jun, 2002 1 commit
  5. 21 Jun, 2002 3 commits
  6. 20 Jun, 2002 3 commits
    • Jeremy Hylton's avatar
      8cc397b5
    • Tim Peters's avatar
      43b9dad7
    • Tim Peters's avatar
      BTree_length_or_nonzero(): Sped this. In the nonzero case, · ec72bdca
      Tim Peters authored
      a BTree is empty if and only if its firstbucket pointer is
      NULL, so there's no need to keep checking nonzero inside the
      loop.  Also, the pointers here are all local, so there's no
      need to incref and decref them -- the apparent necessity was
      just an artifact of using the bucket assignment macros.  So
      stopped using those macros, and the need for incref/decref
      operations went away too.
      
      PyVar_AssignB(), ASSIGNB(), ASSIGNBC():  Turned out these
      are no longer used anywhere anymore, so removed them.
      
      PER_UNUSE():  New macro to capture the endlessly repeated
      PER_ALLOW_DEACTIVATION + PER_ACCESSED pair.  As the comment
      says, so sue me <wink>.
      
      Bucket_deleteNextBucket():  Documented & simplified.
      ec72bdca
  7. 19 Jun, 2002 2 commits
  8. 18 Jun, 2002 6 commits
  9. 17 Jun, 2002 9 commits
  10. 14 Jun, 2002 6 commits
  11. 13 Jun, 2002 4 commits