[Python-checkins] r52050 - in python/branches/release25-maint: Misc/NEWS Modules/_bsddb.c

gregory.p.smith python-checkins at python.org
Sat Sep 30 08:05:08 CEST 2006


Author: gregory.p.smith
Date: Sat Sep 30 08:05:07 2006
New Revision: 52050

Modified:
   python/branches/release25-maint/Misc/NEWS
   python/branches/release25-maint/Modules/_bsddb.c
Log:
fix: DB.stat flags and txn keyword arguments were backwards.


Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Sat Sep 30 08:05:07 2006
@@ -22,6 +22,8 @@
 
 - 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
 -----------------

Modified: python/branches/release25-maint/Modules/_bsddb.c
==============================================================================
--- python/branches/release25-maint/Modules/_bsddb.c	(original)
+++ python/branches/release25-maint/Modules/_bsddb.c	Sat Sep 30 08:05:07 2006
@@ -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 @@
 #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


More information about the Python-checkins mailing list