On Sun, 18 Aug 2002 08:21:20 -0400 Todd Miller wrote:
The following patch is required for Cygwin:
Index: Src/_chararraymodule.c
Todd> I'll apply this.
Applied.
,---- | ***************************************************************** | Failure in example: | array([1, 8, 100, 100], type=Int8) * array([1, 8, 100, -100], type=Int8) | from line #1671 of numtest | Expected: | Warning: Encountered overflow(s) in multiply | array([ 1, 64, 127, -128], type=Int8) | Got: array([ 1, 64, 127, -128], type=Int8) | ***************************************************************** `----
Todd> This overflow exception issue came up earlier this year with Todd> IRIX. My guess is that the function int_overflow_error() in Todd> codegenerator.py is not working correctly. The suggested Todd> temporary patch at the time was: [patch against codegenerator.py] Todd> If you try it out and it solves the problem for Cygwin, we Todd> should probably change it universally. No, it doesn't solve the problem. I hope to find some time later this week to look at it. Greetings, Jochen -- University of North Carolina phone: +1-919-962-4403 Department of Chemistry phone: +1-919-962-1579 Venable Hall CB#3290 (Kenan C148) fax: +1-919-843-6041 Chapel Hill, NC 27599, USA GnuPG key: 44BCCD8E