[issue45155] Add default arguments for int.to_bytes()
Petr Viktorin
report at bugs.python.org
Fri Sep 10 03:48:20 EDT 2021
Petr Viktorin <encukou at gmail.com> added the comment:
Exactly, a platform-dependent default is a bad idea. A default allows using the function without the code author & reviewer even being *aware* that there is a choice, and that is dangerous.
----------
nosy: +petr.viktorin
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45155>
_______________________________________
More information about the Python-bugs-list
mailing list