This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sgala
Recipients sgala
Date 2010-03-22.00:05:27
SpamBayes Score 0.04289252
Marked as misclassified No
Message-id <1269216329.01.0.289804099791.issue8196@psf.upfronthosting.co.za>
In-reply-to
Content
>>> 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.
History
Date User Action Args
2010-03-22 00:05:29sgalasetrecipients: + sgala
2010-03-22 00:05:29sgalasetmessageid: <1269216329.01.0.289804099791.issue8196@psf.upfronthosting.co.za>
2010-03-22 00:05:27sgalalinkissue8196 messages
2010-03-22 00:05:27sgalacreate