I'm using sqlalchemy as a drop in replacement to MySQLdb, that means I'm using session.execute rather than using mappers.
However I've run into a reproducible error, namely an ValueError: "incomplete format" exception wherever I use "%" in a query, this is a problem since the "%" character is necessary for date formatting of UNIX_TIMESTAMP and the LIKE statement in MySQL.
I have tried using "\%", "\\%" and "%%" without luck.