8000 bpo-44087: Disallow instantiation of sqlite3.Statement by erlend-aasland · Pull Request #26567 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-44087: Disallow instantiation of sqlite3.Statement #26567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 20, 2021

Conversation

erlend-aasland
Copy link
Contributor
@erlend-aasland erlend-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

@pablogsal pablogsal merged commit 7d0a47e into python:main Jun 20, 2021