STINNER Victor <[email protected]> added the comment:
> bpo-45155 : Default arguments for int.to_bytes(length=1,
> byteorder=sys.byteorder) (#28265)
The commit title is wrong, the default "big" not sys.byteorder:
int.to_bytes(length=1, byteorder='big', *, signed=False)
int.from_bytes(bytes, byteorder='big', *, signed=False)
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45155>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com