knzsys added the comment: the pack function has the same error: it adds additional 2 bytes ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue30712> _______________________________________