Matthew Barnett added the comment: You're checking "int offset", but what happens with "unsigned int offset"? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17016> _______________________________________