[IronPython] Making adonet-dbapi's dbapi a drop-in replacement in django-mssql

Markus Törnqvist mjt at nysv.org
Tue Oct 27 17:28:10 CET 2009


On Tue, Oct 27, 2009 at 02:44:52PM +0000, Markus Törnqvist wrote:

>If I move the parameter substitution code from mssql.py Cursor.execute
>into generic, I actually get syncdb running(!!!) to a point where
>it can't import gzip(!!!)

For gzip I tried the stuff at
http://www.defuze.org/oss/ipextra/gzip.txt

that requires
http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx

http://lists.ironpython.com/pipermail/users-ironpython.com/2006-September/003612.html

>But of course that is a faux solution, driver-specific hacks need to
>be in the drivers...

I didn't really (as in getting the Cursor to work from mssql.py) fix anything
yet, I just wanted to see how far I can get on a kludge.

I'll probably report my findings in another thread or keep banging my head
to the wall a bit longer ;) (And/Or grab something to eat!)

-- 
mjt




More information about the Ironpython-users mailing list