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 18:52:11 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.

For gdbm, you can also use the firstkey/nextkey methods.

Regards,
Martin



More information about the Python-list mailing list