[issue32648] Wrong byte count with struct
Christian Heimes
report at bugs.python.org
Wed Jan 24 06:00:52 EST 2018
Christian Heimes <lists at cheimes.de> added the comment:
It's not a bug. Please read the section about padding.
>>> struct.calcsize('id')
16
>>> struct.calcsize('>id')
12
----------
nosy: +christian.heimes
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32648>
_______________________________________
More information about the Python-bugs-list
mailing list