Author akitada
Recipients akitada
Date 2009-04-11.13:47:51
SpamBayes Score 2.77417e-09
Marked as misclassified No
Message-id <>
In Python 2.6, dbm modules othar than bsddb don't support the iterator

>>> import dbm
>>> d ='spam.dbm', 'c')
>>> for k in range(5): d["key%d" % k] = "value%d" % k
>>> for k in d: print k, d[k]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'dbm.dbm' object is not iterable

Adding iterator support would make dbm modules more convenient and
easier to use.
Date User Action Args
2009-04-11 13:47:53akitadasetrecipients: + akitada
2009-04-11 13:47:53akitadasetmessageid: <>
2009-04-11 13:47:52akitadalinkissue5736 messages
2009-04-11 13:47:51akitadacreate