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'
    sqlite_version_info = (3, 5, 9)
    version = '2.3.2'
    version_info = (2, 3, 2)
    x = '9'

that are different in your python 2.6
for example
import sqlite3
if sqlite3.version_info<(3,0,0): c.execute('BEGIN TRANSACTION')

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4995>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to