changeset: 95915:4c860369b6c2 branch: 3.4 parent: 95913:bff966aed6a3 user: Larry Hastings date: Fri May 08 07:37:49 2015 -0700 files: Misc/NEWS Modules/_sqlite/connection.c description: Issue #20274: Remove ignored and erroneous "kwargs" parameters from three METH_VARARGS methods on _sqlite.Connection. diff -r bff966aed6a3 -r 4c860369b6c2 Misc/NEWS --- a/Misc/NEWS Fri May 08 06:54:58 2015 -0700 +++ b/Misc/NEWS Fri May 08 07:37:49 2015 -0700 @@ -10,6 +10,9 @@ Core and Builtins ----------------- +- Issue #20274: Remove ignored and erroneous "kwargs" parameters from three + METH_VARARGS methods on _sqlite.Connection. + - Issue #24096: Make warnings.warn_explicit more robust against mutation of the warnings.filters list. diff -r bff966aed6a3 -r 4c860369b6c2 Modules/_sqlite/connection.c --- a/Modules/_sqlite/connection.c Fri May 08 06:54:58 2015 -0700 +++ b/Modules/_sqlite/connection.c Fri May 08 07:37:49 2015 -0700 @@ -1287,7 +1287,7 @@ return NULL; } -PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args, PyObject* kwargs) +PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args) { PyObject* cursor = 0; PyObject* result = 0; @@ -1316,7 +1316,7 @@ return cursor; } -PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* args, PyObject* kwargs) +PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* args) { PyObject* cursor = 0; PyObject* result = 0; @@ -1345,7 +1345,7 @@ return cursor; } -PyObject* pysqlite_connection_executescript(pysqlite_Connection* self, PyObject* args, PyObject* kwargs) +PyObject* pysqlite_connection_executescript(pysqlite_Connection* self, PyObject* args) { PyObject* cursor = 0; PyObject* result = 0;