sqlite3: disallow using a sequence of params with named placeholders
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.1k
Closed
Description
Feature or enhancement
Follow-up of...:
- sqlite3: issue a warning if a sequence of params are used with named placeholders in queries #101693:
Based on the discussion in the above linked Discourse topic, I propose to now issue a deprecation warning if sequences are used with named placeholders. The deprecation warning should inform that from Python 3.14 and onward, sqlite3.ProgrammingError will be raised instead.
3.14 dev is now opened, so let's convert the deprecation warning to a programming error sooner than later.
Linked PRs
- gh-118928: sqlite3: disallow sequences of params with named placeholders #118929
- gh-118928: sqlite3: correctly bail if sequences of params are used with named placeholders #119197
- gh-118928: Remove unneeded NEWS entry #119208
- gh-118928: Amend sqlite3 execute*() deprecation notes #135163
- [3.14] gh-118928: Amend sqlite3 execute*() deprecation notes (GH-135163) #135342
Metadata
Metadata
Assignees
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions