Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Jun 6, 2021

The sqlite3.Statement type is not exposed, but it is possible to fetch it via the
sqlite3.Connection object. The statement type is an implementation detail; it
should not be possible to instantiate statement objects.

https://bugs.python.org/issue44087

@pablogsalpablogsal merged commit 7d0a47e into python:mainJun 20, 2021
@pablogsalpablogsal added the needs backport to 3.10 only security fixes label Jun 20, 2021
@miss-islington
Copy link
Contributor

Thanks @erlend-aasland for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 20, 2021
(cherry picked from commit 7d0a47e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
@bedevere-botbedevere-bot removed the needs backport to 3.10 only security fixes label Jun 20, 2021
@bedevere-bot
Copy link

GH-26813 is a backport of this pull request to the 3.10 branch.

@erlend-aaslanderlend-aasland deleted the sqlite-disallow-stmt-inst branch June 20, 2021 20:32
erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request Jun 20, 2021
…GH-26567) (cherry picked from commit 7d0a47e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
pablogsal pushed a commit that referenced this pull request Jun 20, 2021
) (GH-26816) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request Jun 23, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@erlend-aasland@miss-islington@bedevere-bot@pablogsal@the-knights-who-say-ni