[ python-Bugs-890872 ] BSDDB set_location bug
SourceForge.net
noreply at sourceforge.net
Tue Jul 13 23:14:17 CEST 2004
Bugs item #890872, was opened at 2004-02-05 01:08
Message generated for change (Comment added) made by greg
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: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mike C. Fletcher (mcfletch)
>Assigned to: Gregory P. Smith (greg)
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: Gregory P. Smith (greg)
Date: 2004-07-13 14:14
Message:
Logged In: YES
user_id=413
this has been fixed in both HEAD and python 2.3 cvs with a
test case. (appears to have been committed a while ago)
----------------------------------------------------------------------
Comment By: alan johnson (chomo)
Date: 2004-06-14 14: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