logo       

Strange behavior on sqlite port: msg#00056

python.db.pysqlite.user

Subject: Strange behavior on sqlite port

Here's a strange thing:

On freeBSD with sqlite 3.3.5 and pysqlite 2.2.2

Python 2.4.3 (#2, Apr 13 2006, 20:16:33)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite2 import dbapi2 as sqlite
>>> sqlite.enable_shared_cache(True)
>>>

On darwinports with sqlite 3.3.5 and pysqlite 2.2.2

Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite2 import dbapi2 as sqlite
>>> sqlite.enable_shared_cache(True)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'enable_shared_cache'
>>>

Is this telling me that darwinports is screwed up. I read the Portsfile
and it is supposed to be compiling sqlite3 with threads enabled - hmmm.
Any ideas?

Regards,
David


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise