Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Length should be Py_ssize_t. Python does not support creating bytes objects larger than PY_SSIZE_T_MAX. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38265> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com