MySQL with Python v3.1 now also possible using MySQL Connector/Python

The second development release of MySQL Connector/Python comes with support for Python v3.1!

I thought of making two distributions of MySQL Connector/Python, but then it would have been messy with versions and packaging. So what you get now is 2-in-1 and the installation script should be smart enough to figure it out.

Please, if you find any issues, bugs or have suggestions: report them here https://bugs.launchpad.net/myconnpy

Download

From LaunchPad!

Release notes

Added Python v3.1 support* The subdirectory/module py3k/ contains Connector/Python compatible  with Python v3.1.1.

* setup.py will install the correct Connector/Python distribution
  depending on the Python version.
* Test cases which were running against Python v2.4+ are also working
  under Python v3.1
* Examples found in py3k/examples should work with Python v3.1
* The code will not check whether the Python version is supported.

Misc.

* Using divmod() in MySQLConverter._timedelta_to_mysql()
* Avoiding imports and the use of isinstance() by putting code in
  exceptions.
* Stop using types module.

Installation

Installation is just like before:

$ tar xzf mysql-connector-python-0.1.1-devel.tar.gz
$ cd mysql-connector-python-0.1.1-devel
$ sudo python setup.py install

Comments

Aigars Mahinovs
Does this connector work with PyPy and Unladen Swallow? If so, you are my hero! I was looking to test some things on PyPy and the Google python branch for work, but could not get the MySQLdb module compiled the right way. I hope this one will help me here.

P.S. There is a simple way to use server-side results, right?