Mark Dickinson <dicki...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue5593>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to