This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients barry, skip.montanaro
Date 2009-04-08.21:28:10
SpamBayes Score 8.15642e-12
Marked as misclassified No
Message-id <1239226094.42.0.345959405343.issue5724@psf.upfronthosting.co.za>
In-reply-to
Content
I configured and built Python 2.6.2c1 on Solaris 10 using gcc 4.2.
All tests pass except cmath:

    % 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) ... FAIL
    test_user_object (test.test_cmath.CMathTests) ... ok

    ======================================================================
    FAIL: test_specific_values (test.test_cmath.CMathTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/tuba/skipm/src/Python-2.6.2c1/Lib/test/test_cmath.py",
line 338, in test_specific_values
	self.fail('OverflowError not raised in test %s' % test_str)
    AssertionError: OverflowError not raised in test exp0052:
exp(complex(710.0, 1.5))

    ----------------------------------------------------------------------
    Ran 11 tests in 0.048s

    FAILED (failures=1)
    test test_cmath failed -- Traceback (most recent call last):
      File "/home/tuba/skipm/src/Python-2.6.2c1/Lib/test/test_cmath.py",
line 338, in test_specific_values
	self.fail('OverflowError not raised in test %s' % test_str)
    AssertionError: OverflowError not raised in test exp0052:
exp(complex(710.0, 1.5))

    1 test failed:
	test_cmath

Since we are so close to release I'm assigning it to Barry, though
Mark Dickinson is probably the best person to look at this problem.  I
think this is a long-standing Solaris/cmath issue.  I'm sorry Mark and
I didn't connect long enough at PyCon to dig into this.  It may not be
serious enough to hold up a final release, but I wanted to mention the
problem so it's recognized.
History
Date User Action Args
2009-04-08 21:28:14skip.montanarosetrecipients: + skip.montanaro, barry
2009-04-08 21:28:14skip.montanarosetmessageid: <1239226094.42.0.345959405343.issue5724@psf.upfronthosting.co.za>
2009-04-08 21:28:12skip.montanarolinkissue5724 messages
2009-04-08 21:28:11skip.montanarocreate