cpython icon indicating copy to clipboard operation
cpython copied to clipboard

sqlite3: disallow using a sequence of params with named placeholders

Open erlend-aasland opened this issue 1 year ago • 0 comments

Feature or enhancement

Follow-up of...:

  • #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-118929

erlend-aasland avatar May 10 '24 20:05 erlend-aasland