Re: difference between statements

Martin Jenkins <mj-Vfh7fEhEWOlaa/[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Organization XQP Ltd
Message-ID <[email protected]>
Eric S. Johansson wrote:
> Martin Jenkins wrote:
>> Eric S. Johansson wrote:
>>
>> Could you post some code and say what version of Python/pysqlite you're 
>> using?
> 
> sqlite3 3.2.8-1ubuntu1
> pysqlite 2.0.5-1ubuntu1
> python 2.4.3
> 
> A requirement is running on Ubuntu 6.06LTS therefore  I am loath to go 
> the upgrade by tarball route.  I already have too many bits to manually 
> install and I'm worried about colliding with apps using the system 
> default versions.

I wasn't going to suggest you upgraded - I was noticed that you "import 
pysqlite" in Python 2.x and I "import sqlite3" in Python 2.5 and simply 
wondered which version you used. I don't think there's much difference 
other than the name change when pysqlite became the "official" wrapper 
bundled with Python.

> test code:
> http://pastebin.ca/413572

Cheers, I'll have a look.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.