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