[issue5593] test_math.testFsum failure on release30-maint

Mark Dickinson report at bugs.python.org
Sun Mar 29 16:11:20 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Thanks, Antoine!  Yes, I can now reproduce the testFsum failure on my 
MacBook Pro (OS X 10.5.6/x86_64, with Apple's gcc 4.0.1) using the 
following sequence of commands:  (I tested this for the trunk, but I 
py3k should be just the same).

make distclean
CC="gcc -arch x86_64" ./configure && make
./python.exe -m test.regrtest -v test_math
rm Parser/*.o
CC="gcc -mfpmath=387" ./configure && make
./python.exe -m test.regrtest -v test_math

(the rm is necessary to avoid a 'wrong architecture' build failure).

It might be worth making the tests a bit more robust here;  I'll
take a look.  On the other hand, there are plans to replace fsum
with a double-rounding-friendly version.

----------
assignee:  -> marketdickinson
components: +Extension Modules -Interpreter Core
stage:  -> needs patch
versions: +Python 2.6, Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5593>
_______________________________________


More information about the Python-bugs-list mailing list