From: Jack H. <ho...@br...> - 2013-01-29 17:12:47
Attachments:
python27.patch
python27.info
|
Daniel, The Xcode 4.6's clang breaks the InfoTest in python27 with the failure... test test_cmath failed -- Traceback (most recent call last): File "/sw/src/fink.build/python27-2.7.3-1/Python-2.7.3/Lib/test/test_cmath.py", line 352, in test_specific_values msg=error_message) File "/sw/src/fink.build/python27-2.7.3-1/Python-2.7.3/Lib/test/test_cmath.py", line 94, in rAssertAlmostEqual 'got {!r}'.format(a, b)) AssertionError: atan0000: atan(complex(0.0, 0.0)) Expected: complex(0.0, 0.0) Received: complex(0.0, -0.0) Received value insufficiently close to expected value. Backporting the change described in http://hg.python.org/cpython/rev/336653319112 with the attached python27 info file and patch eliminates the InfoTest failure on x86_64-apple-darwin12. Jack |
From: Daniel J. <dan...@gm...> - 2013-01-30 00:59:11
|
On Jan 29, 2013, at 12:12 PM, Jack Howarth <ho...@br...> wrote: > Daniel, > The Xcode 4.6's clang breaks the InfoTest in python27 with the failure... > > test test_cmath failed -- Traceback (most recent call last): > File "/sw/src/fink.build/python27-2.7.3-1/Python-2.7.3/Lib/test/test_cmath.py", line 352, in test_specific_values > msg=error_message) > File "/sw/src/fink.build/python27-2.7.3-1/Python-2.7.3/Lib/test/test_cmath.py", line 94, in rAssertAlmostEqual > 'got {!r}'.format(a, b)) > AssertionError: atan0000: atan(complex(0.0, 0.0)) > Expected: complex(0.0, 0.0) > Received: complex(0.0, -0.0) > Received value insufficiently close to expected value. > > Backporting the change described in http://hg.python.org/cpython/rev/336653319112 > with the attached python27 info file and patch eliminates the InfoTest failure > on x86_64-apple-darwin12. > Jack > <python27.patch><python27.info> Thanks. I updated python27 with this patch. I also added it to python32. python33 already has the patch upstream and it builds fine with Xcode 4.6. python31 is still broken but unfortunately the other pythons have diverged from it enough that the patches don't apply. I'll have to try to redo the patches for it. Daniel |