Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Since we modify the content of the bytes object in any case, we can shrink it in-place by setting its Py_SIZE(). But it would be better to fill the end of it with "no-op" fillers. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38115> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com