]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117995: Don't raise DeprecationWarnings for indexed nameless params (#118001)
authorErlend E. Aasland <erlend@python.org>
Mon, 22 Apr 2024 06:43:20 +0000 (08:43 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Apr 2024 06:43:20 +0000 (08:43 +0200)
commit550483b7e6c54b2a25d4db0c4ca41bd9c1132f93
tree59f9a2728b38577ea34cde735dabc4bf68e6cfb5
parent8b541c017ea92040add608b3e0ef8dc85e9e6060
gh-117995: Don't raise DeprecationWarnings for indexed nameless params (#118001)

Filter out '?NNN' placeholders when looking for named params.

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Lib/test/test_sqlite3/test_dbapi.py
Misc/NEWS.d/next/Library/2024-04-17-19-41-59.gh-issue-117995.Vt76Rv.rst [new file with mode: 0644]
Modules/_sqlite/cursor.c