STINNER Victor <victor.stin...@haypocalc.com> added the comment: > - if the ancillay data is truncated, struct.unpack will raise an exception
Well, the current C code doesn't check that the data is truncated and it works correctly, so I don't think that it would be different in Python. And yes, Python adds an extra check thanks to struct.unpack. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12981> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com