]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118928: sqlite3: disallow sequences of params with named placeholders (#118929)
authorErlend E. Aasland <erlend@python.org>
Tue, 14 May 2024 16:10:55 +0000 (12:10 -0400)
committerGitHub <noreply@github.com>
Tue, 14 May 2024 16:10:55 +0000 (16:10 +0000)
commitd8e0e009195b2388fb53012c1f0fa786426dc05f
treebc19a0a25cf0bbd9f16214d053561a9053504c6c
parent7a97ee570f361af27c59eb883b53425fef11c739
gh-118928: sqlite3: disallow sequences of params with named placeholders (#118929)

Follow-up of gh-101693. The previous DeprecationWarning is replaced with
raising sqlite3.ProgrammingError.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Doc/whatsnew/3.14.rst
Lib/test/test_sqlite3/test_dbapi.py
Misc/NEWS.d/next/Library/2024-05-10-22-36-01.gh-issue-118928.IW7Ukv.rst [new file with mode: 0644]
Modules/_sqlite/cursor.c