[ python-Bugs-890872 ] BSDDB set_location bug
SourceForge.net
noreply at sourceforge.net
Mon Jun 14 17:07:09 EDT 2004
Bugs item #890872, was opened at 2004-02-05 09:08
Message generated for change (Comment added) made by chomo
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.
----------------------------------------------------------------------
Comment By: alan johnson (chomo)
Date: 2004-06-14 21:07
Message:
Logged In: YES
user_id=943591
looks like need testcase
----------------------------------------------------------------------
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