]> granicus.if.org Git - python/commitdiff
fix: DB.stat flags and txn keyword arguments were backwards.
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 30 Sep 2006 06:05:07 +0000 (06:05 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 30 Sep 2006 06:05:07 +0000 (06:05 +0000)
Misc/NEWS
Modules/_bsddb.c

index 165906e6c5cf63de6c5a8c23fbb78273f56b81cb..fd22c7ed4f87a37fdc3bfbfb937a012c3bedba9d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -22,6 +22,8 @@ Core and builtins
 
 - Allow exception instances to be directly sliced again.
 
+- fixed a bug with bsddb.DB.stat: the flags and txn keyword arguments
+  were transposed.
 
 Extension Modules
 -----------------
index 6fef6c2e65e8cb4dab93ed418238bf2b1316fb90..9d56e2765d4786beb7f3c9c4d195040eb0f0f50c 100644 (file)
@@ -98,7 +98,7 @@
 #error "eek! DBVER can't handle minor versions > 9"
 #endif
 
-#define PY_BSDDB_VERSION "4.4.5"
+#define PY_BSDDB_VERSION "4.4.5.1"
 static char *rcs_id = "$Id$";
 
 
@@ -2430,7 +2430,7 @@ DB_stat(DBObject* self, PyObject* args, PyObject* kwargs)
 #if (DBVER >= 43)
     PyObject* txnobj = NULL;
     DB_TXN *txn = NULL;
-    static char* kwnames[] = { "txn", "flags", NULL };
+    static char* kwnames[] = { "flags", "txn", NULL };
 #else
     static char* kwnames[] = { "flags", NULL };
 #endif