Xiang Zhang <angwe...@126.com> added the comment:
Why not just bytes(buf[:4]) before passing? ---------- nosy: +xiang.zhang _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34465> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com