[Python-checkins] r51919 - in python/branches/release24-maint: Misc/NEWS Modules/_bsddb.c
gregory.p.smith
python-checkins at python.org
Tue Sep 19 19:23:51 CEST 2006
Author: gregory.p.smith
Date: Tue Sep 19 19:23:50 2006
New Revision: 51919
Modified:
python/branches/release24-maint/Misc/NEWS
python/branches/release24-maint/Modules/_bsddb.c
Log:
fix a bug with bsddb.DB.stat reversing its flags and txn keyword
arguments. (reported by Louis Zechtzer)
Modified: python/branches/release24-maint/Misc/NEWS
==============================================================================
--- python/branches/release24-maint/Misc/NEWS (original)
+++ python/branches/release24-maint/Misc/NEWS Tue Sep 19 19:23:50 2006
@@ -46,6 +46,9 @@
- iso2022_jp_3 and iso2022_jp_2004 codec can encode JIS X 2013:2
codepoints now.
+- fixed a bug with bsddb.DB.stat: its flags and txn keyword arguments
+ were transposed.
+
Extension Modules
-----------------
Modified: python/branches/release24-maint/Modules/_bsddb.c
==============================================================================
--- python/branches/release24-maint/Modules/_bsddb.c (original)
+++ python/branches/release24-maint/Modules/_bsddb.c Tue Sep 19 19:23:50 2006
@@ -2172,7 +2172,7 @@
#if (DBVER >= 43)
PyObject* txnobj = NULL;
DB_TXN *txn = NULL;
- char* kwnames[] = { "txn", "flags", NULL };
+ char* kwnames[] = { "flags", "txn", NULL };
#else
char* kwnames[] = { "flags", NULL };
#endif
More information about the Python-checkins
mailing list