[Tim Peters] > ... > Proposal: make BTree/Bucket setdefault() a two-argument function (3 if > you count ``self`` too). In practice, an explicit default is always > passed, and not even in theory could we come up with a sane > default-default that works across all tree types.
This has been done on ZODB/branches/alienoid-btrees_setdefault now. setdefault() has also been implemented for Buckets there. Nothing else to do, so in the absence of objections I'll merge this to ZODB trunk tomorrow. _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev