[Python-checkins] r51920 - in python/trunk: Misc/NEWS Modules/_bsddb.c
gregory.p.smith
python-checkins at python.org
Tue Sep 19 19:35:06 CEST 2006
Author: gregory.p.smith
Date: Tue Sep 19 19:35:04 2006
New Revision: 51920
Modified:
python/trunk/Misc/NEWS
python/trunk/Modules/_bsddb.c
Log:
Fixes a bug with bsddb.DB.stat where the flags and txn keyword
arguments are transposed. (reported by Louis Zechtzer)
..already committed to release24-maint
..needs committing to release25-maint
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Tue Sep 19 19:35:04 2006
@@ -58,6 +58,8 @@
- Bug #1531862: Do not close standard file descriptors in subprocess.
+- fixed a bug with bsddb.DB.stat: its flags and txn keyword arguments
+ were transposed.
Extension Modules
-----------------
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Tue Sep 19 19:35:04 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.6"
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