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

andrew cooke andrew at acooke.org
Fri Apr 10 01:19:33 CEST 2009


"Martin v. Löwis" wrote:
>> 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)?  So is this a regression?  And should
that issue be re-opened?

Andrew


> For gdbm, you can also use the firstkey/nextkey methods.
>
> Regards,
> Martin
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>





More information about the Python-list mailing list