Skip to content

bpo-37406: sqlite3 raises TypeError for wrong operation type #14386

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 2 commits into from
Jun 26, 2019
Merged

bpo-37406: sqlite3 raises TypeError for wrong operation type #14386

merged 2 commits into from
Jun 26, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 26, 2019

The sqlite3 module now raises TypeError, rather than ValueError, if
operation argument type is not str: execute(), executemany() and
calling a connection.

https://bugs.python.org/issue37406

The sqlite3 module now raises TypeError, rather than ValueError, if
operation argument type is not str: execute(), executemany() and
calling a connection.
@vstinner vstinner merged commit c6a2320 into python:master Jun 26, 2019
@vstinner vstinner deleted the sqlite branch June 26, 2019 01:16
coleifer added a commit to coleifer/pysqlite3 that referenced this pull request Jul 22, 2019
coleifer added a commit to coleifer/sqlcipher3 that referenced this pull request Jul 22, 2019
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
…H-14386)

The sqlite3 module now raises TypeError, rather than ValueError, if
operation argument type is not str: execute(), executemany() and
calling a connection.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
…H-14386)

The sqlite3 module now raises TypeError, rather than ValueError, if
operation argument type is not str: execute(), executemany() and
calling a connection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants