Ordered Sets

Raymond Hettinger python at rcn.com
Sat Mar 21 06:39:27 CET 2009


[Terry Reedy]
> I think the idea was 2 weakrefs and 1 normal ref instead of 3 normal refs.

Right.  Here's a link to a weakref version (though I think the
previous __del__ version also does the trick):

    http://code.activestate.com/recipes/576696/


Raymond




More information about the Python-list mailing list