[issue6414] struct module : processor endianness descriptions misleading

Mark Dickinson report at bugs.python.org
Tue Jul 7 13:56:19 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Maybe it's better to avoid the platform-specific statements altogether, 
and just point out the existence of sys.byteorder for those who want to 
check the endianness of the system they're currently working on.

Or maybe just mention that the x86 and AMD64 (aka x86-64) architectures 
are little-endian;  I'd guess that this covers a good proportion of the 
processors that people are currently running Python on.  People using more 
exotic architectures probably already know their endianness.

----------
nosy: +marketdickinson

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6414>
_______________________________________


More information about the Python-bugs-list mailing list