On 9/20/06, James Bennett <[EMAIL PROTECTED]> wrote:
Yes, I would also enjoy such a patch much more then the already available which checks against hexversion or so.
Oliver
On 9/20/06, Oliver Andrich <[EMAIL PROTECTED]> wrote:
> For your own development environment this is more then okay in my
> eyes. And I would even deploy with this small change. But this is
> personal taste. :)
Probably the best thing for us to do in trunk is what we already do
with threading: try to import the standard module, and if that fails
catch the exception and import the standalone version. So something
like
try:
from sqlite3 import dbapi2 as Database
except ImportError:
from pysqlite2 import dbapi2 as Database
Yes, I would also enjoy such a patch much more then the already available which checks against hexversion or so.
Oliver
--
Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---