MySQLdb doesn't recognise the new DECIMAL field type correctly and returns strings to Python when doing things like SUM(). This has the effect of code that doesn't cast the output from a cursor and then uses the output to compare will throw an exception. Fixed ebuild (tar.gz'd for people to use in overlays) will be attached.
Created attachment 76278 [details] Overlay ebuild (for portage overlay) that fixes the problem
Please, attach a plaintext patch. Thanks.
Created attachment 76285 [details, diff] Patch for MySQLdb 1.2.0 to work with MySQL 5
thanks for the patch. added to mysql-python-1.2.0-r1.