A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-January/019391.html below:

[Python-Dev] 2.1.2 testing.

[Python-Dev] 2.1.2 testing.Martin v. Loewis martin@v.loewis.de
Fri, 11 Jan 2002 08:33:23 +0100
> > Linux/sparc             Debian 2.2 (cf.sf.net)         FAILED
> > This is scary. I don't know why this one alone fails - it fails the
> > test_math test.
[...]
> Sorry, not short of stepping into mathmodule.c under a debugger.  The only
> interesting thing about that test is that math.acos(-1) is the very first
> call test_math.py makes to the platform libm.  Perhaps if you commented it
> out, you'd get a bogus OverflowError from
> 
>     testit('acos(0)', math.acos(0), math.pi/2)
> 
> on the following line.

Seems to be a Sparclinux bug. If mathmodule is statically linked into
python (via Modules/Setup), the test passes fine. Without further
analysis, I'd say that assigning to errno does not work well when done
in a shared library.

I'd say this is bug #459464. Last time, I incorrectly diagnosed this
as a sparc64 gcc issue, which it isn't: Even though 'uname -m' reports
'sparc64', all userland code is 32-bit. I'm probably wrong with my
current guess as well.

HTH,
Martin



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4