New submission from Erlend E. Aasland <erlend.aasl...@innova.no>:

Most of the SQL statements in the sqlite3 test suite correctly uses single 
quote literals, except test_unicode_content in Lib/sqlite3/test/hooks.py, which 
uses double quote literals (not ANSI SQL compatible, IIRC). Adapting this test 
to also use single quote literals makes the sqlite3 test suite compatible with 
SQLite libraries compiled with SQLITE_DQS=0.


See also:
- https://sqlite.org/compile.html
- https://sqlite.org/quirks.html#dblquote

----------
components: Tests
keywords: easy
messages: 393452
nosy: berker.peksag, erlendaasland
priority: low
severity: normal
status: open
title: [sqlite3] normalise SQL quoted literals in sqlite3 test suite
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44108>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to