summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Modules/_sqlite
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2024-07-02 22:47:57 +0300
committerrobot-contrib <[email protected]>2024-07-02 22:59:47 +0300
commit96b239778766d32d5158aca805e08199b3c0a743 (patch)
treea9c8679261a62138ec4735d878a11f6478cd196a /contrib/tools/python3/Modules/_sqlite
parent292e7317266c2136a1e1bd027e16e6eefb639028 (diff)
Update contrib/tools/python3 to 3.12.4
6e8edffbef193b35b45ddccdc3beda6bb2627186
Diffstat (limited to 'contrib/tools/python3/Modules/_sqlite')
-rw-r--r--contrib/tools/python3/Modules/_sqlite/cursor.c2
-rw-r--r--contrib/tools/python3/Modules/_sqlite/ya.make4
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tools/python3/Modules/_sqlite/cursor.c b/contrib/tools/python3/Modules/_sqlite/cursor.c
index caeedbddb8d..d489d2b3dc2 100644
--- a/contrib/tools/python3/Modules/_sqlite/cursor.c
+++ b/contrib/tools/python3/Modules/_sqlite/cursor.c
@@ -663,7 +663,7 @@ bind_parameters(pysqlite_state *state, pysqlite_Statement *self,
}
for (i = 0; i < num_params; i++) {
const char *name = sqlite3_bind_parameter_name(self->st, i+1);
- if (name != NULL) {
+ if (name != NULL && name[0] != '?') {
int ret = PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
"Binding %d ('%s') is a named parameter, but you "
"supplied a sequence which requires nameless (qmark) "
diff --git a/contrib/tools/python3/Modules/_sqlite/ya.make b/contrib/tools/python3/Modules/_sqlite/ya.make
index 49635c2d573..ed262f69597 100644
--- a/contrib/tools/python3/Modules/_sqlite/ya.make
+++ b/contrib/tools/python3/Modules/_sqlite/ya.make
@@ -2,9 +2,9 @@
LIBRARY()
-VERSION(3.12.3)
+VERSION(3.12.4)
-ORIGINAL_SOURCE(https://github.com/python/cpython/archive/v3.12.3.tar.gz)
+ORIGINAL_SOURCE(https://github.com/python/cpython/archive/v3.12.4.tar.gz)
LICENSE(Python-2.0)