[issue5145] struct.calcsize('cd') returns 16 instead of 9
report at bugs.python.org
Tue Feb 3 20:13:23 CET 2009
bob gailer <bgailer at gmail.com> added the comment:
Someone pointed out that one must consider alignment. I had overlooked
that. It makes sense that a d is double-word aligned.
Perhaps the documentation should mention alignment.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list