Mark Dickinson dicki...@gmail.com added the comment:
I'm not sure what can reasonably be done about these failures. The Python test
is failing because of a deficiency in the system math library.
Adding extra code to Python to handle this (making use of
TANH_PRESERVES_ZERO_SIGN) is an option,
STINNER Victor victor.stin...@haypocalc.com added the comment:
Here is a patch skipping math and cmath tests if TANH_PRESERVES_ZERO_SIGN is 0.
--
keywords: +patch
Added file: http://bugs.python.org/file19532/skip_tanh_sign.patch
___
Python tracker
Changes by STINNER Victor victor.stin...@haypocalc.com:
Added file: http://bugs.python.org/file19533/skip_tanh_sign-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10337
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited to Python 3.2 (r86299) after a review of Mark Dickson on IRC. Thanks
Mark ;-)
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
Nice fix! Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10337
___
___
Mark Dickinson dicki...@gmail.com added the comment:
P.S. Greg, as the owner of the buildbot, do you feel like reporting this
upstream? I get the impression that it's easier to do the reporting directly
from the NetBSD machine in question...
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
P.S. Greg, as the owner of the buildbot, do you feel like reporting this
upstream? I get the impression that it's easier to do the reporting
directly from the NetBSD machine in question...
I already reported the bug upstream:
STINNER Victor victor.stin...@haypocalc.com added the comment:
NetBSD bug report:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44057
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10337
New submission from STINNER Victor victor.stin...@haypocalc.com:
On NetBSD 5 i386 3.x buildbot, testTanh() of test_math fails because the sign
of wrong.
configure scripts has a test to check if tanh(-0.0) keeps the sign or no, and
on this buildbot the result is no. pyconfig.h contains a
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10337
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_cmath does also fail:
http://www.python.org/dev/buildbot/builders/NetBSD%205%20i386%203.x/builds/237/steps/test/logs/stdio
==
FAIL: test_specific_values
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10337
___
___
12 matches
Mail list logo