As with the upcoming release I thought, it's time to submit my personal MySQLdb patchset for consideration. I've been using that for some time now in production.
Patch 3/4: _mysql.c reference counting and exception issues
This patch fixes a reference leak and improves the error handling in the converter mapping code. Rather accidentially it also drops the cleanup: label and the gotos ;)