INADA Naoki <songofaca...@gmail.com> added the comment:
> `MultibyteCodec_State` can occupy 8 bytes, and `pending` can occupy 2 bytes > (MAXENCPENDING), we get a total of 10 bytes which I think exceeds what a > PyLong can represent. PyLong is "long integer", aka "big integer", not C's long type. https://docs.python.org/3.6/c-api/long.html You can encode 12 bytes into single long object. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33578> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com