[ python-Bugs-1394135 ] Deleting first item causes anydbm.first() to fail

SourceForge.net noreply at sourceforge.net
Sat Dec 31 05:24:52 CET 2005


Bugs item #1394135, was opened at 2005-12-30 20:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1394135&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Dan Bisalputra (danbiz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Deleting first item causes anydbm.first() to fail

Initial Comment:
If the first item in a database is deleted, the first
call to anydbm.first() after the deletion causes a
DBNotFoundError exception to be raised.

The attached program causes the error on my system.  I
am currently working around the problem by calling
first() after each deletion, enclosed by a try block.

I am using Python 2.4.2 running under Windows ME.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1394135&group_id=5470


More information about the Python-bugs-list mailing list