DB-API 1.0 vs. 2.0

M.-A. Lemburg mal at lemburg.com
Sat Jul 14 12:23:44 EDT 2001


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, maybe the people involved could add a release date to the
> 2.0 specification?)

Done. (See CVS)

-- 
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