This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry
Date 2021-09-09.22:00:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In the PEP 467 discussion, I proposed being able to use

>>> (65).to_bytes()

IOW, adding default arguments for the `length` and `byteorder` arguments to `int.to_bytes()`

It occurs to me that this is (1) useful on its own merits; (2) easy to do.  So I've done it.  Creating this bug so I can link a PR against it.
Date User Action Args
2021-09-09 22:00:31barrysetrecipients: + barry
2021-09-09 22:00:31barrysetmessageid: <>
2021-09-09 22:00:31barrylinkissue45155 messages
2021-09-09 22:00:30barrycreate