Vlad Riscutia <riscutiav...@gmail.com> added the comment: Added unit test to reproduce the issue (covers both big endian and little endian structures so _other_endian function is hit on any machine).
Test currently fails without fix and passes with proposed fix in place. ---------- keywords: +patch nosy: +vladris Added file: http://bugs.python.org/file22623/issue4376_test.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4376> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com