What steps will reproduce the problem?
1. svn checkout http://gmpy.googlecode.com/svn/trunk/ gmpy
2. python gmpy/test/gmpy_test_mpf.py
I would expect something ending with 'Test passed' (hopefully) or a report of
failed tests.
Instead the python interpreter badly fails because of a floating point
exception *in the
interpreter*.
% python gmpy/test/gmpy_test_mpf.py
Unit tests for gmpy 1.02 release candidate (mpf functionality)
running on Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]
Testing gmpy 1.02 (GMP 4.2.2) with default caching (20, 20, -2..11)
[1] 9923 floating point exception python gmpy/test/gmpy_test_mpf.py
Then it appears the usual OS window informing that process Python has crashed
and asking
whether I want to inform apple.
I'm using
Mac OS X Leopard 10.5.2
Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-
1228.4.31~1/RELEASE_I386 i386
Default Python 2.5
% python --version
Python 2.5.1
gmp 4.2.2 (make checked and working)
gmpy 1.02 RC
The rest of gmpy works (passes all the test excepted the one on mpf).
Original issue reported on code.google.com by enrico.franchi on 5 Apr 2008 at 1:03
Original issue reported on code.google.com by
enrico.franchi
on 5 Apr 2008 at 1:03