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 serhiy.storchaka
Recipients barry, ethan.furman, ncoghlan, serhiy.storchaka
Date 2021-09-10.00:57:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631235462.8.0.779462239516.issue45155@roundup.psfhosted.org>
In-reply-to
Content
So (128).to_bytes() will raise an error, right?

I afraid also that it will lead to some programs working correctly only on platforms with the most common byte order, just because authors are not aware of byte ordering. Currently the interface forces programmers to read something about byte ordering.
History
Date User Action Args
2021-09-10 00:57:42serhiy.storchakasetrecipients: + serhiy.storchaka, barry, ncoghlan, ethan.furman
2021-09-10 00:57:42serhiy.storchakasetmessageid: <1631235462.8.0.779462239516.issue45155@roundup.psfhosted.org>
2021-09-10 00:57:42serhiy.storchakalinkissue45155 messages
2021-09-10 00:57:42serhiy.storchakacreate