[issue3129] struct allows repeat spec. without a format specifier
Terry J. Reedy
report at bugs.python.org
Thu Jun 10 01:05:38 CEST 2010
Terry J. Reedy <tjreedy at udel.edu> added the comment:
I verified that 3.1 has same behavior. Doc says format strings "are built up from format characters" which "may be preceded by an integral repeat count". So I agree that such formats are bugs that should be reported and that ignoring repeat counts of nothing is a bug.
While I cannot apply and test the (trivial) patch, I read it and it looks sensible. Pending independent test, I would say apply. I am not familiar with whether it needs to be rebuilt against current code or not.
----------
keywords: +patch
nosy: +tjreedy
stage: -> commit review
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3129>
_______________________________________
More information about the Python-bugs-list
mailing list