Author mark.dickinson
Recipients christian.heimes, mark.dickinson, skip.montanaro
Date 2008-12-14.18:05:34
SpamBayes Score 8.34028e-08
Marked as misclassified No
Message-id <1229277935.97.0.308591583982.issue4575@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch (force_to_memory2.patch) that I'm hoping fixes the cmath 
test failures on Solaris 10/x86.

Skip, could you give it a try?

The patch isn't final:  I need to look for more places where 
Py_FORCE_DOUBLE should be applied.  But I'll wait to find out whether this 
really does fix the problem, first;  I'm still just guessing about the 
cause.

By the way, it looks like the problem with the original patch, on OS X, 
was that nothing in pymath.c is used in the Python *core*, so the symbols 
from pymath.o aren't compiled into the python.exe executable, and they're 
not available when loading modules.  Rather than working out how to fix 
this, I just moved the definitions into Objects/floatobject.c instead.
History
Date User Action Args
2008-12-14 18:05:36mark.dickinsonsetrecipients: + mark.dickinson, skip.montanaro, christian.heimes
2008-12-14 18:05:35mark.dickinsonsetmessageid: <1229277935.97.0.308591583982.issue4575@psf.upfronthosting.co.za>
2008-12-14 18:05:35mark.dickinsonlinkissue4575 messages
2008-12-14 18:05:34mark.dickinsoncreate