[issue3129] struct allows repeat spec. without a format specifier

Alexander Belopolsky report at bugs.python.org
Fri Jun 11 05:21:59 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Attached patch works and passes the tests.  The failing test was clearly wrong.  I am still not sure that it is right to raise TypeError rather than struct.error on invalid offset in pack_into, but this is a separate issue.

----------
Added file: http://bugs.python.org/file17625/issue3129.diff

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


More information about the Python-bugs-list mailing list