Lie Hetland book: Beginning Python..
Jean-Paul Calderone
exarkun at divmod.com
Wed Nov 9 13:23:07 EST 2005
On Wed, 09 Nov 2005 17:57:46 +0000, Steve Holden <steve at holdenweb.com> wrote:
>Gerhard Häring wrote:
>> Vittorio wrote:
>>
> [snip]
>>
>> I think about the only place I wrote a bit about the differences was in
>> the pysqlite 2.0 final announcement:
>>
>> http://lists.initd.org/pipermail/pysqlite/2005-May/000043.html
>>
>Unfortunately this appears to mean that pysqlite2 isn't fully DB
>API-conformant.
>
> >>> import pysqlite2
> >>> pysqlite2.paramstyle
>Traceback (most recent call last):
> File "<stdin>", line 1, in ?
>AttributeError: 'module' object has no attribute 'paramstyle'
> >>>
The DB-API2ness is at pysqlite2.dbapi2:
>>> from pysqlite2 import dbapi2
>>> dbapi2.paramstyle
'qmark'
>>> dbapi2.threadsafety
1
>>>
etc. :)
Jean-Paul
More information about the Python-list
mailing list