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

Akira Kitada akitada at gmail.com
Sat Apr 11 10:13:11 EDT 2009


Opened a ticket for this and attached a patch. (experimental)
http://bugs.python.org/issue5736

On Fri, Apr 10, 2009 at 8:39 AM, "Martin v. Löwis" <martin at v.loewis.de> 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)?
>
> 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
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list