[ZODB-Dev] Re: setdefault branch

2005-08-30 Thread Ruslan Spivak
Tim Peters [EMAIL PROTECTED] writes: [snip] 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

RE: [ZODB-Dev] Re: setdefault branch

2005-08-30 Thread Tim Peters
[Ruslan Spivak] Really, that usage of calling setdefault without explicit default is confusing and useless IMHO too. I just wanted to think about possible solution if someone ever could think about usefulness of setdefault without default, but definitely in that case

[ZODB-Dev] Re: setdefault branch

2005-08-29 Thread Ruslan Spivak
Tim Peters [EMAIL PROTECTED] 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