Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Ah, signed=False by default, so (128).to_bytes() will work. But I still worry that it can provoke writing more errorprone code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45155> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com