This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author knzsys
Recipients SylvainDe, knzsys, serhiy.storchaka
Date 2017-06-21.10:48:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
many many thanks for your help!
and fast responses :-)
this explain my oberservations

why only the first 2 bytes are padded?
0xAABBCCDD (4 bytes = real32) to 0x0000AABBCCDD (6 bytes)
and not to 0x0000AABB0000CCDD (8 bytes)

it has something to do with the behavior of the  C compiler’s sizeof expression? and why?

since I need pack / unpack often in my projects, i want to have it completely clarified.
Date User Action Args
2017-06-21 10:48:25knzsyssetrecipients: + knzsys, serhiy.storchaka, SylvainDe
2017-06-21 10:48:25knzsyssetmessageid: <>
2017-06-21 10:48:25knzsyslinkissue30712 messages
2017-06-21 10:48:25knzsyscreate