Python sqlite3版本

nnn*_*nnn 31 python sqlite

Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> sqlite3.version
'2.4.1'
Run Code Online (Sandbox Code Playgroud)

问题:

  • 为什么sqlite 3模块的版本为"2.4.1"
  • 什么是将这样一个旧的sqlite与Python捆绑在一起的原因是什么?sqlite releaselog说2002年3月13日(2.4.1).

sdu*_*sdu 73

Python 2.5.1
>>> import sqlite3
>>> sqlite3.version
'2.3.2'
>>> sqlite3.sqlite_version
'3.3.4'
Run Code Online (Sandbox Code Playgroud)

版本
--pysqlite 版本sqlite_version - sqlite版本

  • pysqlite数据库适配器是与底层sqlite3数据库项目完全独立的项目,因此版本号不相关.有关扩展讨论,请参阅http://stackoverflow.com/questions/1545479/force-python-to-forego-native-sqlite3-and-use-the-installed-latest-sqlite3-vers/1546162. (6认同)
  • SQlite的奇怪的诽谤. (2认同)