Skip Montanaro <[email protected]> added the comment:
Mark> Here's a patch that backports the corresponding changes from
Mark> trunk.
Mark> Skip, can you confirm that this fixes the issue?
Indeed, your patch appears to fix the problem:
% LD_LIBRARY_PATH=. ./python Lib/test/regrtest.py -v test_cmath
test_cmath
test_abs (test.test_cmath.CMathTests) ... ok
test_cmath_matches_math (test.test_cmath.CMathTests) ... ok
test_constants (test.test_cmath.CMathTests) ... ok
test_input_type (test.test_cmath.CMathTests) ... ok
test_isinf (test.test_cmath.CMathTests) ... ok
test_isnan (test.test_cmath.CMathTests) ... ok
test_phase (test.test_cmath.CMathTests) ... ok
test_polar (test.test_cmath.CMathTests) ... ok
test_rect (test.test_cmath.CMathTests) ... ok
test_specific_values (test.test_cmath.CMathTests) ... ok
test_user_object (test.test_cmath.CMathTests) ... ok
----------------------------------------------------------------------
Ran 11 tests in 0.063s
OK
1 test OK.
I'll leave it to you and Barry to consider if the patch is too hefty for
backport.
Skip
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5724>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com