From 69acb43327be1ee4dd19c4df3dc67668ebaa2d66 Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Wed, 3 Sep 2008 22:07:11 +0000 Subject: Python3.0 bsddb testsuite compatibility improvements --- Lib/bsddb/test/test_all.py | 4 ++++ Modules/bsddb.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py index 75a2322..a8b32ef 100644 --- a/Lib/bsddb/test/test_all.py +++ b/Lib/bsddb/test/test_all.py @@ -67,6 +67,10 @@ if sys.version_info[0] >= 3 : v = self._dbcursor.next_dup() return self._fix(v) + def next_nodup(self) : + v = self._dbcursor.next_nodup() + return self._fix(v) + def put(self, key, value, flags=0, dlen=-1, doff=-1) : if isinstance(key, str) : key = bytes(key, charset) diff --git a/Modules/bsddb.h b/Modules/bsddb.h index 274bcc2..f796681 100644 --- a/Modules/bsddb.h +++ b/Modules/bsddb.h @@ -105,7 +105,7 @@ #error "eek! DBVER can't handle minor versions > 9" #endif -#define PY_BSDDB_VERSION "4.7.3pre4" +#define PY_BSDDB_VERSION "4.7.3pre5" /* Python object definitions */ -- cgit v0.12