[issue18169] struct.pack() behaves strangely for 'L' on 64bit Linux
Roman Zeyde
report at bugs.python.org
Sun Jun 9 08:16:59 CEST 2013
Roman Zeyde added the comment:
You are correct - the documentation is right:
"Format characters have the following meaning; the conversion between C and Python values should be obvious given their types. The ‘Standard size’ column refers to the size of the packed value in bytes when using standard size; that is, when the format string starts with one of '<', '>', '!' or '='. When using native size, the size of the packed value is platform-dependent."
So indeed, there is no problem - just my own misinterpretation of the docs...
----------
status: pending -> open
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18169>
_______________________________________
More information about the Python-bugs-list
mailing list