[ZODB-Dev] Re: setdefault branch

Ruslan Spivak rspivak at nuxeo.com
Mon Aug 29 17:29:38 EDT 2005


"Tim Peters" <tim at zope.com> writes:

> [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.
>
Oh, you already did that, cool! Thanks, no objections from my side :)

Ruslan



More information about the ZODB-Dev mailing list