DB-API 1.0 vs. 2.0

M.-A. Lemburg mal at lemburg.com
Sat Jul 14 14:41:30 EDT 2001


"M.-A. Lemburg" wrote:
> 
> Fredrik Lundh wrote:
> >
> > DB-API 1.0 (dated April 9, 1996) specifies that a connection object
> > should provide "all Cursor Object attributes and methods".
> >
> > this requirement seems to have been dropped in the (undated)
> > DB-API 2.0 specification -- but this fairly major change isn't listed
> > under "Major Changes from Version 1.0 to Version 2.0"...
> >
> > what's the deal here?  should a 2.0 implementation provide an
> > implicit cursor, or not?
> 
> It can, but is not required to.
> The deal is: explicit is better than implict :-)

BTW, you might want to join the DB-SIG mailing list if you're
interested in the API spec and writing database API compliant
modules:

	http://www.python.org/sigs/db-sig/

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/




More information about the Python-list mailing list