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

Barry A. Warsaw report at bugs.python.org
Thu Sep 16 10:44:30 EDT 2021


Barry A. Warsaw <barry at python.org> added the comment:

On Sep 16, 2021, at 00:36, STINNER Victor <report at bugs.python.org> wrote:
> 
> 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)

Oops

----------

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


More information about the Python-bugs-list mailing list