]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Python3.0 bsddb testsuite compatibility improvements
authorJesus Cea <jcea@jcea.es>
Wed, 3 Sep 2008 22:07:11 +0000 (22:07 +0000)
committerJesus Cea <jcea@jcea.es>
Wed, 3 Sep 2008 22:07:11 +0000 (22:07 +0000)
Lib/bsddb/test/test_all.py
Modules/bsddb.h

index 75a232299892917926f84a718e84a56c9c0fd793..a8b32eff19518e976709280cec277ed06a1a65e9 100644 (file)
@@ -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)
index 274bcc236fb277849731c7f35b20f77e911afd22..f796681bf9771b18204bfa353392f76e25d7a9bd 100644 (file)
 #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 */