On 3/6/07, Oleg Broytmann <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 06, 2007 at 02:59:11PM +0100, Markus Gritsch wrote:
> > MySQLdb 1.2.2 has just been released on Saturday, and it allows
> > setting the reconnect flag.  I made some changes to mysqlconnection.py
> > to support this.  Please find the patch attached.
>
>    Applied in the revisions 2396-2399 (0.7, 0.8, trunk, docs.) Thank you
> very much!

You're welcome :)

>    In the next round of patches I am going to change
>             if MySQLdb.version_info[0] > 1 or (MySQLdb.version_info[0] == 1 
> and...
>    to
>             if MySQLdb.version_info[:3] > (1, 2, 1)

Ah, nice.  Didn't know that works.  There is a similar check in
mysqlconnection.py around line 31.  Maybe this should be rewritten
using your more elegant syntax too.

Kind regards,
Markus

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to