Why is it that *dbm modules don't provide an iterator? (Language design question)

"Martin v. Löwis" martin at v.loewis.de
Thu Apr 9 19:39:31 EDT 2009


>>> I assumed there were some decisions behind this, rather than it's just
>>> not implemented yet.
>> I believe this assumption is wrong - it's really that no code has been
>> contributed to do that.
> 
> But doesn't the issue at http://bugs.python.org/issue662923 imply that
> there *was* suitable code (for 2.4)?

Yes, for bsddb.

> So is this a regression?

No. bsddb still supports iteration in 2.6.

> And should that issue be re-opened?

I don't think that would matter much. Actually contributing code might.

Regards,
Martin



More information about the Python-list mailing list