You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sqlite3: issue a warning if a sequence of params are used with named placeholders in queries #101693
PEP-249 style numeric placeholders are not supported by sqlite3; it only supports PEP-249 style named placeholders and PEP-249 style qmark placeholders, so the placeholders in the above example are interpreted as named, not numeric, placeholders.
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.
Activity
gh-101693: In sqlite3, deprecate using named placeholders with parame…
pythongh-118928: sqlite3: disallow sequences of params with named pla…
gh-118928: sqlite3: disallow sequences of params with named placehold…
pythongh-118928: sqlite3: disallow sequences of params with named pla…