On Mon, Mar 17, 2008 at 02:33:24PM +0300, Oleg Broytmann wrote:
> 1. SQLObject still support Python 2.2; just released 0.10 supports at least
> 2.3. Generators were added in Python 2.4.
>    The next major release that is now the trunk will support Python 2.4.

   Sorry, I have forgotten the details and didn't look into the docs.
Generators were introduced in Python 2.2 and were made a standard feature
in 2.3.

> 2. queryAll fetches the results by calling DB API cursor.fetchall(). To
> make queryAll a generator one must rewrite the method to at least to use
> cursor.fetchmany().

   I will accept patches for the trunk.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to