Message77811
| Author |
mark.dickinson |
| Recipients |
christian.heimes, mark.dickinson, skip.montanaro |
| Date |
2008年12月14日.18:05:34 |
| SpamBayes Score |
8.340276e-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:36 | mark.dickinson | set | recipients:
+ mark.dickinson, skip.montanaro, christian.heimes |
| 2008年12月14日 18:05:35 | mark.dickinson | set | messageid: <1229277935.97.0.308591583982.issue4575@psf.upfronthosting.co.za> |
| 2008年12月14日 18:05:35 | mark.dickinson | link | issue4575 messages |
| 2008年12月14日 18:05:34 | mark.dickinson | create |
|