[issue14765] the struct example should give consistent results across different hardware platforms

Meador Inge report at bugs.python.org
Wed May 9 16:07:15 CEST 2012


Meador Inge <meadori at gmail.com> added the comment:

And the examples make an explicit note of that:

"""
.. note::
All examples assume a native byte order, size, and alignment with a
big-endian machine.
"""

AMD64 is little-endian;  the examples are noted to be in big-endian.

Is that note not sufficient?

----------

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


More information about the Python-bugs-list mailing list