Re: Confused about install as sqlite2
Gerhard Häring <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Dennis Lee Bieber wrote: > On Thu, 14 Feb 2008 17:14:53 -0600, > [email protected] declaimed the following in > gmane.comp.python.db.pysqlite.user: > >> Still, I found it confusing that one has a "2" and the other a "3". That >> suggests that the external package is somehow "older" than the core >> package. What was the rationale for that? >> > It may have originated back in the days of SQLite2 <G>... Or it is > the second version of the PySQLite adapter, independent of the version > of SQLite itself (notice how one has to invoke the dbapi2 package from > pysqlite2 -- which implies that possible dbapi1 is still lurking in the > base module). [...] As I said before, the rationale for the pysqlite2 package name was to differentiate from the "sqlite" module name in pysqlite 0.x/1.x. The dbapi2 module in there was a bit in anticipation of a future DB-API 3 specification, but also to be able to provide an alternative API that would be better/simpler than the standard DB-API. This hasn't happened so far, though. -- Gerhard