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 alex.henrie
Recipients alex.henrie
Date 2018-10-04.01:24:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When serializing a single integer, int.to_bytes and int.from_bytes are more efficient alternatives to struct.pack and struct.unpack. However, struct.pack and struct.unpack currently have the advantage that the byteorder does not have to be specified (because it defaults to sys.byteorder). It would avoid a lot of redundant code to make the byteorder argument default to sys.byteorder in int.to_bytes and int.from_bytes too.
Date User Action Args
2018-10-04 01:24:08alex.henriesetrecipients: + alex.henrie
2018-10-04 01:24:08alex.henriesetmessageid: <>
2018-10-04 01:24:08alex.henrielinkissue34889 messages
2018-10-04 01:24:07alex.henriecreate