PyMySQL/PyMySQL — pull request #208 by EnTeQuAk (2014-01-21 01:04:10+00:00)
Title: Fix escaping with mixed binary/unicode arguments.

I am honestly not sure if this is the "correct" way to fix this. I'm open for suggestions!