[issue15477] test_cmath failures on OS X 10.8

Mark Dickinson report at bugs.python.org
Sun Jul 29 11:04:50 CEST 2012


Mark Dickinson added the comment:

> These types of run-time tests based on configure-time tests are problematic
> for binary installations of Python, like the OS X installers.

Understood.  I'm wondering how to fix this for Python, given that we're unlikely to see an OS-level fix for a while.  There's an easy workaround, namely to add an "if (x == 0.0) return x;" before any use of the system log1p;  the issue is how and when to apply this workaround.

One option is always to apply the workaround, but this feels to me as though it's unnecessarily penalising those OSs that get it right;  maybe just always apply the workaround on OS X?

----------

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


More information about the Python-bugs-list mailing list