[DB-SIG] PEP 249

M.-A. Lemburg mal at egenix.com
Tue Apr 7 23:27:26 CEST 2009


On 2009-03-29 00:40, Adam wrote:
> Suggestion:
> Cursor execute function return self (cursor) to allow for code like:
>  cursor.execute(SQL).fetchall()
>  instead of
>  cursor.execute(SQL)
>  cursor.fetchall()

DB-API modules are free to implement this. The cursor.execute() return
value is not defined in the spec (it is deliberately undefined).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Apr 07 2009)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2009-03-19: Released mxODBC.Connect 1.0.1      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
               http://www.egenix.com/company/contact/


More information about the DB-SIG mailing list