1. 11 Feb, 2002 3 commits
    • Jeremy Hylton's avatar
      Major reformatting of code along with a few sundry changes. · 5c0bad8d
      Jeremy Hylton authored
      Summary of changes:
      
      - Add function gc_all_items() to call gc_item() on everything in
        dict.  This factors out common code in all the gc methods.
      
      - Add check_size() function that factors out code to check cache size
        before starting a gc.
      
      - Simplify argument processing in cc_invalidate(), avoiding a second
        call to PyArg_ParseTuple() when argument is a sequence instead of a
        dictionary.
      
      - Chance code to reflect belief that NULL return from PyDict_GetItem()
        does not set exception, except in cases that don't apply for the
        pickle cache like comparing a string with high-order bit set to a
        Unicode object.
      
      - Use if (!expr) instead of UNLESS().
      
      - Remove all statements from conditionals.
      
      - Reformat to 4 spaces and Python-style brace placement.
      
      - Put whitespace around operators and after commas.
      5c0bad8d
    • Jeremy Hylton's avatar
      A few trivial tests of the cPickleCache. · d6750225
      Jeremy Hylton authored
      d6750225
    • Jeremy Hylton's avatar
      Explicitly close the FileIterator. · a6c36f62
      Jeremy Hylton authored
      a6c36f62
  2. 07 Feb, 2002 1 commit
  3. 30 Jan, 2002 12 commits
  4. 28 Jan, 2002 1 commit
  5. 27 Jan, 2002 1 commit
  6. 26 Jan, 2002 1 commit
  7. 25 Jan, 2002 11 commits
  8. 24 Jan, 2002 10 commits