[issue45155] Add default arguments for int.to_bytes()

Raymond Hettinger report at bugs.python.org
Thu Sep 9 21:12:01 EDT 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Perhaps instead of the system byte ordering, choose one for the default so that default encoding/decoding will work cross platform.  I think "little" is the most common (intel and arm).

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45155>
_______________________________________


More information about the Python-bugs-list mailing list