Jean Brouwers <[EMAIL PROTECTED]> added the comment: Keep in mind also, these Python builds are compiled with the SUN compilers, i.e. the ./configure command line includes --without-gcc. If we do change the CC- and LINKFLAGS, those changes should only apply in that particular case.
Using -xlibmieee in 3 places, BASECFLAGS, LDFLAGS and LDSHARED and without optimization produces the following for 32-bit: Python 2.6b1 (r26b1:64398, Jun 28 2008, 10:31:27) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import cmath >>> cmath.log(100.0) (4.6051701859880918+0j) >>> cmath.log(2.0) (0.69314718055994529+0j) >>> cmath.log(100.0, 2.0) (6.6438561897747253+0j) >>> import math >>> math.log(float('-inf')) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: math domain error _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3167> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com