[DB-SIG] questions for Python Database API Specification v2.0
M.-A. Lemburg
mal at egenix.com
Thu Sep 13 14:20:14 CEST 2007
Sakesun Roykiattisak wrote:
> Still wonder ..
>
>>> Given that the ODBC binary api is stable, I believe python-odbc can be
>>> based on ctypes.
>>> This way the re-compilation would no longer needed.
>
>
>> You're underestimating the complexity of the ODBC API specification
>> and the hundreds of implementations of it out there.
>
>
> In general, I think Python is the best bet to fight with "complexity".
True, but this doesn't always work for C APIs.
> What is the technical aspect that ctypes cannot work around it ?
They are related to memory management, dealing with pointers and
low-level data conversion.
Other than these technical issues, you also have to work around
various ODBC driver/manager specific issues - only experience
helps in solving these.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Sep 13 2007)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the DB-SIG
mailing list