Author ncoghlan
Recipients barry, ethan.furman, ncoghlan
Date 2021-09-10.00:29:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631233787.84.0.115851240602.issue45155@roundup.psfhosted.org>
In-reply-to
Content
Rather than defaulting to sys.byteorder, could the byte order default to None and only be optional when not needed? (input value fits in a single byte, output is a single byte)

Otherwise the difference in defaults between this method and the struct module (network byte order rather than host byte order) could be very confusing.
History
Date User Action Args
2021-09-10 00:29:47ncoghlansetrecipients: + ncoghlan, barry, ethan.furman
2021-09-10 00:29:47ncoghlansetmessageid: <1631233787.84.0.115851240602.issue45155@roundup.psfhosted.org>
2021-09-10 00:29:47ncoghlanlinkissue45155 messages
2021-09-10 00:29:47ncoghlancreate