[ZODB-Dev] [BTrees] (small) XXSet/XXTreeSet inconsistency

Christian Robottom Reis kiko at async.com.br
Fri Nov 7 17:17:43 EST 2003


On Fri, Nov 07, 2003 at 08:32:16PM +0100, Dieter Maurer wrote:
> [].extend(OOSet())  # ok
> [].extend(OOTreeSet()) # TypeError: list.extend() argument must be a sequence

If this derives from the fact that TreeSets don't implement
__getitem__, then it's probably a conscious decision.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331



More information about the ZODB-Dev mailing list