Part of the reason why this only occurs on py3 is because the code path is different in pymysql for py2 vs py3 (see lines 68-102):
https://github.com/PyMySQL/PyMySQL/blob/v0.9.2/pymysql/converters.py#L68
Part of the reason why this only occurs on py3 is because the code path is different in pymysql for py2 vs py3 (see lines 68-102):
https:/ /github. com/PyMySQL/ PyMySQL/ blob/v0. 9.2/pymysql/ converters. py#L68