[ZODB-Dev] RE: setdefault branch

Tim Peters tim at zope.com
Mon Aug 29 17:08:36 EDT 2005


[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.



More information about the ZODB-Dev mailing list