petehunt/PyMySQL — pull request #143 by seoester (2013-04-02 21:22:56+00:00)
Title: TypeError: unsupported operand type(s) for %

The query is now encoded after it has been escaped

Fixing #109 and #110

Thanks to @jsevilleja for first describing the fix