tags:

views:

220

answers:

1

I recently starting playing around with the new features of Python 3.1 and porting one of my 2.6 apps. I was surprised to find that MySQLdb does not yet support any of the 3.x versions of Python. My app uses MySQL extensively, so, as you can imagine, I didn't get too far!

What are my options (if any) for working with MySQL and Python 3.1? I've been out of the Python 3k loop, but cursory search did not yield any evidence of a release date for 3.1 support in MySQLdb or any other alternatives.

+2  A: 

mypysql doesn't follow the Python DB API standard, but does support Mysql and Python 3.

Alex Martelli
Thanks for the info, Alex! I had a chance to catch you at OSCON this year (Abstraction Maintenance) and really enjoyed the talk. I'll probably stick with 2.6 for now with an eye towards MySQL support that follows the Python DB API standard.
jonstjohn
@jonstjohn, yes, Py2 still gives you more choice in add-ons (and btw, glad you liked my talk -- it's also online at http://us.pycon.org/2009/conference/schedule/event/75/ ).
Alex Martelli