Re: Confused about install as sqlite2
Gerhard Häring <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Dennis> Try: block is the common method, I believe... > > Dennis> try: > Dennis> import sqlite3 as db > Dennis> except ImportError: > Dennis> from pysqlite2 import dbapi2 as db > > Thanks. So it was a decision by the Python dev gang to change the way it > was imported when it was incorporated into the core? It was me who requested that the externally maintained version and the version in Python core are in different packages. I wanted to continue development in the external package and port back stable features into Python core version. Using the same namespace like the xml packages did proved to be a desaster. -- Gerhard