Andreas Schawo <andreas.sch...@gmail.com> added the comment: Hi Mark,
I've removed all overflow masking from _struct.c. Running the regression test test_struct failed for test_issue4228 wich I think have to be removed too because it tests the deprecated feature. I've tested the constraints with some values and got the expected overflow errors. So here's the new patch without overflow masking and deleted test_issue4228. The patch is just tested on windows. So when I get home I'll give it a try on Linux. ---------- Added file: http://bugs.python.org/file13304/struct_overflow_patch.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5463> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com