[DB-SIG] Some obscurity with paramstyle
mal at egenix.com
Mon Jul 18 09:36:28 CEST 2011
Michael Bayer wrote:
> On Jul 17, 2011, at 1:52 AM, Vernon Cole wrote:
>> 2) some major applications (e.g. django) assume %s format.
>> But I am +1 for the idea anyway.
> But not all DBAPIs support %s format, do you mean that Django assumes %s format for those DBAPIs that are known to do so ? Shouldn't they be at least using .paramstyle to determine that ?
> Is there a path to changes being made in the DBAPI? i.e. would there be a DBAPI 3 ?
Yes, such changes would have to go into a DB API 3.
for some other things I'd like to see in DBAPI 3.
Professional Python Services directly from the Source (#1, Jul 18 2011)
>>> 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 our new mxODBC.Connect Python Database Interface 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