Muayyad Alsadi als...@ojuba.org added the comment:
a fedora-devel fellow gave me a solution
cn=sqlite3.connect(':memory:', isolation_level=None)
and it worked
I hope that does not affect other versions
$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat
Muayyad Alsadi als...@ojuba.org added the comment:
same thing
[als...@pc1 ~]$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type help, copyright, credits or license for more information.
import sqlite3
cn=sqlite3.connect(':memory
Muayyad Alsadi als...@ojuba.org added the comment:
can you please tell me how to detect the version so that my application
will not crash on Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
which of these values should I use
apilevel = '2.0'
sqlite_version = '3.5.9
New submission from Muayyad Alsadi als...@ojuba.org:
when I use transactions I got errors I won't get with sqlite3 cli
[als...@pc1 ~]$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type help, copyright, credits or license for more
Changes by Muayyad Alsadi als...@ojuba.org:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4995
___
___
Python-bugs-list