knzsys added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30712> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com