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

"Martin v. Löwis" martin at v.loewis.de
Fri Apr 10 00:52:11 CEST 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