[issue8196] sqlit3.paramstyle reported as 'qmark'
Santiago Gala
report at bugs.python.org
Mon Mar 22 01:05:29 CET 2010
New submission from Santiago Gala <sgala at apache.org>:
>>> import sqlite3
>>> sqlite3.paramstyle
'qmark'
The documentation claims that sqlite3 accepts 'named' paramstyle, and :PEP:`249` says in footnote 2:
Module implementors should prefer 'numeric', 'named' or
'pyformat' over the other formats because these offer more
clarity and flexibility.
I think the module should report 'named', as it is preferred, and leave to the documentation the fact that 'qmark' is also supported.
----------
components: Extension Modules
messages: 101470
nosy: sgala
severity: normal
status: open
title: sqlit3.paramstyle reported as 'qmark'
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8196>
_______________________________________
More information about the Python-bugs-list
mailing list