Include pysqlite2 into Python 2.5?

Josiah Carlson jcarlson at uci.edu
Thu Oct 21 19:47:05 CEST 2004


Gerhard Haering <gh at ghaering.de> wrote about adding a PySQLite module
(and perhaps the DLL for windows) to the Python standard library.


Six months ago, I would have been against the inclusion of such a module.
After having worked with SQL database for the last 5 months or so, I am
now in favor of adding such a module.

While there are arguments against it, I believe that as long as we
follow the DB API spec(s), and recommend that people actually read the
documentation (with regards to table-level locking with ATTACH,
translating to Python types, etc.), we can't really go too wrong.

> So, what would you like to see? "import sqlite", "import embsql", or
> "pypi.install('pysqlite')" ?

import sqlite

Where all the standard DB API stuff gets regular sqlite.names, and any
extra SQLite functionality gets sqlite._names .

 - Josiah




More information about the Python-list mailing list