[DB-SIG] PEP 249
temotor at gmail.com
Wed Nov 11 09:23:52 CET 2009
Regarding .fetch* methods family when there are no more rows.
It is clearly specified that .fetchone() must return None and
.fetchmany() must return empty sequence.
But for .fetchall() it is unspecified.
Now there is this myconnpy pure Python DB-API implementation for MySQL
and its cursor.fetchall() returns None.
Conformance with fetchmany seems good to me. What is official answer on this?
More information about the DB-SIG