1. 25 May, 2003 1 kayıt (commit)
    • Tim Peters's avatar
      SF 742860: WeakKeyDictionary __delitem__ uses iterkeys · 886128f4
      Tim Peters yazdı
      Someone review this, please!  Final releases are getting close, Fred
      (the weakref guy) won't be around until Tuesday, and the pre-patch
      code can indeed raise spurious RuntimeErrors in the presence of
      threads or mutating comparison functions.
      
      See the bug report for my confusions:  I can't see any reason for why
      __delitem__ iterated over the keys.  The new one-liner implementation
      is much faster, can't raise RuntimeError, and should be better-behaved
      in all respects wrt threads.
      
      New tests test_weak_keyed_bad_delitem and
      test_weak_keyed_cascading_deletes fail before this patch.
      
      Bugfix candidate for 2.2.3 too, if someone else agrees with this patch.
      886128f4
  2. 09 Mar, 2003 1 kayıt (commit)
    • Raymond Hettinger's avatar
      SF patch #667730: More DictMixin · 2c2d3228
      Raymond Hettinger yazdı
      * Adds missing pop() methods to weakref.py
      * Expands test suite to broaden coverage of objects with
        a mapping interface.
      
      Contributed by Sebastien Keim.
      2c2d3228
  3. 16 Tem, 2002 1 kayıt (commit)
  4. 10 Haz, 2002 1 kayıt (commit)
  5. 01 Haz, 2002 1 kayıt (commit)
  6. 06 Kas, 2001 1 kayıt (commit)
  7. 05 Eki, 2001 1 kayıt (commit)
  8. 28 Eyl, 2001 1 kayıt (commit)
  9. 06 Eyl, 2001 1 kayıt (commit)
  10. 03 Agu, 2001 1 kayıt (commit)
  11. 02 May, 2001 1 kayıt (commit)
  12. 19 Nis, 2001 1 kayıt (commit)
    • Fred Drake's avatar
      Weak*Dictionary: Added docstrings to the classes. · bd7f818c
      Fred Drake yazdı
      Weak*Dictionary.update():  No longer create a temporary list to hold the
          things that will be stuffed into the underlying dictionary.  This had
          been done so that if any of the objects used as the weakly-held value
          was not weakly-referencable, no updates would take place (TypeError
          would be raised).  With this change, TypeError will still be raised
          but a partial update could occur.  This is more like other .update()
          implementations.
      
      Thoughout, use of the name "ref" as a local variable has been removed.  The
      original use of the name occurred when the function to create a weak
      reference was called "new"; the overloaded use of the name could be
      confusing for someone reading the code.  "ref" used as a variable name
      has been replaced with "wr" (for 'weak reference').
      bd7f818c
  13. 16 Nis, 2001 1 kayıt (commit)
  14. 10 Nis, 2001 1 kayıt (commit)
  15. 01 Mar, 2001 2 kayıt (commit)
  16. 27 Şub, 2001 1 kayıt (commit)
  17. 02 Şub, 2001 2 kayıt (commit)
  18. 01 Şub, 2001 1 kayıt (commit)