[issue27444] Python doesn't build due to test_float.py broken on non-IEEE machines

Greg Stark report at bugs.python.org
Mon Jul 4 19:32:45 EDT 2016


Greg Stark added the comment:

Well I was able to minimize the actual cause:

$ /usr/pkg/bin/python -c 1e300*1e300
[1]   Floating point exception /usr/pkg/bin/python -c 1e300*1e300

I noticed that the constant folding arithmetic is protected by "PyFPE_START_PROTECT" macros so I wonder... should I be configuring with --with-fpectl? (Or should it be on unconditionally if it's required to function properly on a given architecture?)

----------

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


More information about the Python-bugs-list mailing list