[issue45155] Add default arguments for int.to_bytes()
Barry A. Warsaw
report at bugs.python.org
Fri Sep 10 12:33:48 EDT 2021
Barry A. Warsaw <barry at python.org> added the comment:
On Sep 10, 2021, at 04:06, STINNER Victor <report at bugs.python.org> wrote:
>
> If the intent is to create a bytes string of length 1, I'm not sure that "re-using" this existing API for that is a good idea.
Why not? It seems an obvious and simple convenience.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45155>
_______________________________________
More information about the Python-bugs-list
mailing list