[ZODB-Dev] more useful TreeSet

John Belmonte jvb at prairienet.org
Mon Sep 22 13:20:33 EDT 2003


Hello,

Shouldn't there be a wrapper for each TreeSet class to give it the same 
interface as a Set?  Namely I would like to iterate over a TreeSet 
(needs __getitem__) and have keys() return the actual keys as a list.

Or in other words, shouldn't the fact that a TreeSet is implemented with 
multiple buckets just be an implementation detail?


-- 
http:// if   le.o  /




More information about the ZODB-Dev mailing list