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 gregory.p.smith
Recipients akuchling, chrismorvant, gregory.p.smith
Date 2008-01-23.07:35:53
SpamBayes Score 0.24276885
Marked as misclassified No
Message-id <1201073755.54.0.418979240028.issue1516078@psf.upfronthosting.co.za>
In-reply-to
Content
Works for me in 2.5 and 2.4 isn't getting bug fixes anymore.

>>> import dbhash
>>> d = dbhash.open('x.db', 'w')
>>> d['e'] = 'Eee'
>>> d['f'] = 'Ffff'
>>> len(d)
2
>>> len(d)
2

It was likely fixed by this:

------------------------------------------------------------------------
r46684 | gregory.p.smith | 2006-06-05 16:59:37 -0700 (Mon, 05 Jun 2006)
| 5 line
s

- bsddb: the __len__ method of a DB object has been fixed to return correct
  results.  It could previously incorrectly return 0 in some cases.
  Fixes SF bug 1493322 (pybsddb bug 1184012).
History
Date User Action Args
2008-01-23 07:35:55gregory.p.smithsetspambayes_score: 0.242769 -> 0.24276885
recipients: + gregory.p.smith, akuchling, chrismorvant
2008-01-23 07:35:55gregory.p.smithsetspambayes_score: 0.242769 -> 0.242769
messageid: <1201073755.54.0.418979240028.issue1516078@psf.upfronthosting.co.za>
2008-01-23 07:35:54gregory.p.smithlinkissue1516078 messages
2008-01-23 07:35:53gregory.p.smithcreate