This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sidlon
Recipients
Date 2002-03-21.20:17:18
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
  The hash, btree and record classes should have an iterator defined.  
The current first() and next() functions should make this a fairly 
simple change to bsddbmmodule.c.  This would allow:

  dbh = 
dbhash.open('mydb.db', 'r')
  for key in dbh:
    process(key, 
dbh[key])

and eliminate the temptation to use the following, 
which would be inadvisable for large databases:

  for key in 
dbh.keys():

History
Date User Action Args
2007-08-23 16:02:09adminlinkissue533281 messages
2007-08-23 16:02:09admincreate