[Python-ideas] Direct byte<->int conversions (was Re: bitwise operations on bytes)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Aug 16 03:30:05 CEST 2009

Alexandre Vassalotti wrote:

> Whether it should default to 'little' or 'big' is pretty much an
> arbitrary choice. In my patch, I choose to default big-endian since it
> is the standard network byte-order. But maybe the option should
> default to little-endian instead since it more widely used.

This all sounds to me like an argument for not having
a default at all.


More information about the Python-ideas mailing list