[ python-Bugs-890872 ] BSDDB set_location bug

SourceForge.net noreply at sourceforge.net
Thu Feb 5 04:08:59 EST 2004


Bugs item #890872, was opened at 2004-02-05 04:08
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=890872&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike C. Fletcher (mcfletch)
Assigned to: Nobody/Anonymous (nobody)
Summary: BSDDB set_location bug

Initial Comment:
In module \lib\bsddb\__init__.py line 147, the method
set_location() uses self.dbc.set(key) , which raises an
error if the key is not found.  It should be using
self.dbc.set_range(key) , which matches the documented
behaviour for btree databases.

Test for correct behaviour is attached.

Behaviour is seen under Python 2.3.3 win32 binary build.

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

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



More information about the Python-bugs-list mailing list