[issue26746] struct.pack(): trailing padding bytes on x64

Meador Inge report at bugs.python.org
Mon May 9 20:56:25 EDT 2016


Meador Inge added the comment:

I'm not to crazy about the trailing padding syntax either.  The behavior is documented all the way back to Python 2.6.  So, I would be hesitant to change it now.

If the new 'T{...}' struct syntax from issue3132 ever gets added, then maybe we could address this there?

FWIW, internal and trailing padding is implementation defined by the C standard.  That being said, most compilers I have worked with add the trailing padding.

----------
nosy: +meador.inge

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26746>
_______________________________________


More information about the Python-bugs-list mailing list