Mark Dickinson <dicki...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6414> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com