[DB-SIG] PEP 249

2009-11-11 Thread Sergey Shepelev
Hello. Cursor objects. 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 MySQ

Re: [DB-SIG] PEP 249

2009-11-11 Thread M.-A. Lemburg
Sergey Shepelev wrote: > Hello. > > Cursor objects. > 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. .fetchall() should return an e