Nick <n...@codingrobot.com> added the comment: tested on macosx 10.6.2 64-bit and debian amd64 with both python2.6 and python3.1
the output is always the same: b'\x01\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00' 20 (1, 1, 2, 1, 1) (1, 1, 2, 16777216, 16777216) (1, 1, 2, 16777216, 16777216) ------------------ b'\x01\x00\x00\x00\x01\x00\x00\x00\x02\x01\x00\x00\x00\x01\x00\x00\x00' 17 (1, 1, 2, 1, 1) (1, 1, 2, 1, 1) ---------- Added file: http://bugs.python.org/file16370/struct_test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8019> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com