On Monday 01 May 2006 16:57, Tim Peters wrote:
 > +1.  A real need for this is explained in ZODB's ZODB/util.py's
 > WeakSet class, which contains a WeakValueDictionary:
...
 > As that implementation suggests, though, I'm not sure there's real
 > payback for the extra time taken in the patch's `valuerefs`
 > implementation to weed out weakrefs whose referents are already gone:
 > the caller has to make this check anyway when it iterates over the

Good point; I've updated the patch accordingly.


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to