[issue5463] Compiler warning get_ulong is never used 3.x

Andreas Schawo report at bugs.python.org
Wed Mar 11 12:28:50 CET 2009


Andreas Schawo <andreas.schawo at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5463>
_______________________________________


More information about the Python-bugs-list mailing list