New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
This example [1] assumes you are using a specific platform to check it out. I
am using amd64, and I get different results. To fix, I prefix the format string
with '':
before:
pack('hhl', 1, 2, 3)
after:
pack('hhl', 1, 2, 3)
1:
Meador Inge mead...@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
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Sadly, I noticed it only after submitting this report.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14765
___
Changes by Meador Inge mead...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14765
___