[pybsddb] A few small feature requests

Yong Li codercoder at 10gic.net
Mon Oct 20 04:56:13 CEST 2008


One thing you will have to be careful about when implementing
iteritems is that iterators are supposed to detect modifications and
throw an exception, I believe.

P.S. Sorry about sending from the wrong address :(.

On Sun, Oct 19, 2008 at 6:37 PM, phu <kungphu at gmail.com> wrote:
> Jesus -
> Assuming you're still laid up with your cast, I can try implementing these
> this week if you'd like.
> Eric
>
> On Sun, Oct 19, 2008 at 3:38 PM, Yong Li <codercoder at 10gic.net> wrote:
>>
>> I have a very small feature request.
>>
>> 1) Can __contains__ be added to bsddb.db.DB as an alias for has_key?
>> That would make its usage more Pythonic
>> 2) Can iteritems be added to bsddb.db.DB? That would make it more
>> dict-like
>>
>> Sincerely,
>> Yong Li
>> _______________________________________________
>> pybsddb mailing list
>> pybsddb at argo.es
>> http://mailman.argo.es/listinfo/pybsddb
>> http://www.argo.es/~jcea/programacion/pybsddb.htm
>
>
> _______________________________________________
> pybsddb mailing list
> pybsddb at argo.es
> http://mailman.argo.es/listinfo/pybsddb
> http://www.argo.es/~jcea/programacion/pybsddb.htm
>



More information about the pybsddb mailing list