JohnLeitch added the comment: Given my understanding of the issue, the memcmp approach seems like a viable fix. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24462> _______________________________________