[ZODB-Dev] BTree.setdefault(), BTree.pop()

Dmitry Vasiliev lists at hlabs.spb.ru
Thu Sep 30 09:37:07 EDT 2004


I want to add .setdefault(key, default) (with mandatory 'default' 
argument) and .pop(key, default) methods to BTrees so BTree interface 
will be closer to Python 2.3 dictionaries interface.

Any objections?

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the ZODB-Dev mailing list