[issue7355] Struct incorrectly compiles format strings

Steve Krenzel report at bugs.python.org
Thu Nov 19 20:03:19 CET 2009


Steve Krenzel <sgk284 at gmail.com> added the comment:

Just for clarification, why does "ci" get padded but "ic" doesn't? 
While I agree that updating the documentation would help clarify, 
perhaps either everything should be padded to word boundaries or 
nothing should.

It is weird behavior that "ic" != "ci". If both formats were 8 bytes 
then my first thought would have been "Oh, it's just getting padded", 
but with this inconsistency it appeared as a bug.

Whatever the reason behind this discrepancy is, it should definitely be 
included in the doc updates.

----------

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


More information about the Python-bugs-list mailing list