gmpy moving to code.google.com
Daniel Nogradi
nogradi at gmail.com
Mon Feb 26 15:30:11 EST 2007
> If you're interested in gmpy (the Python wrapper of GMP, for
> unlimited-precision arithmetic, rationals, random number generation,
> number-theoretical functions, etc), please DO check out
> http://code.google.com/p/gmpy/ -- gmpy 1.02 is there (as far as I can
> tell) in a workable state. Source on Subversion (and a prerelease
> zipfile too), downloadable binaries for MacOSX (download and read the
> README file first!) and Windows (for Python 2.4 and 2.5 only, built and
> minimally tested on a shaky Win2K+mingw -- on -- Parallels/MacOSX
> setup... I have no other Windows machine to check 'em out...!).
>
> Please help me check that the move-and-upgrade went OK -- download some
> or all of the pieces (including an svn checkout of the sources), build,
> install, test, try it out. I will HEARTILY welcome feedback (mail
> aleaxit at gmail.com) telling me what worked and/or what didn't so I can
> finalize this release -- and hopefully move on to a future 1.03 (I won't
> aim to 1.03 until I'm convinced that 1.02 is OK...).
>
>
> Thanks in advance,
>
> Alex
Svn checkout, compilation and installation went okay but some tests
failed, this is the output of 'python test_gmpy.py':
Unit tests for gmpy 1.02 release candidate
on Python 2.5 (r25:51908, Nov 1 2006, 11:42:37)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
Testing gmpy 1.02 (GMP 4.1.4), default caching (20, 20, -2..11)
gmpy_test_cvr 270 tests, 0 failures
gmpy_test_rnd 26 tests, 0 failures
gmpy_test_mpf 155 tests, 0 failures
gmpy_test_mpq 264 tests, 0 failures
**********************************************************************
File "/home/nogradi/tmp/gmpy/test/gmpy_test_mpz.py", line ?, in
gmpy_test_mpz.__test__.number
Failed example:
_memsize()-_siz
Expected:
0
Got:
-4
**********************************************************************
1 items had failures:
2 of 132 in gmpy_test_mpz.__test__.number
***Test Failed*** 2 failures.
gmpy_test_mpz 388 tests, 2 failures
**********************************************************************
1 items had failures:
2 of 132 in gmpy_test_mpz.__test__.number
***Test Failed*** 2 failures.
gmpy_test_dec 16 tests, 0 failures
7 items had no tests:
gmpy_test_cvr._test
gmpy_test_dec._test
gmpy_test_mpf._test
gmpy_test_mpq._test
gmpy_test_mpz._memsize
gmpy_test_mpz._test
gmpy_test_rnd._test
30 items passed all tests:
6 tests in gmpy_test_cvr
12 tests in gmpy_test_cvr.__test__.misc_stuff
252 tests in gmpy_test_cvr.__test__.user_errors
1 tests in gmpy_test_dec
15 tests in gmpy_test_dec.__test__.elemop
1 tests in gmpy_test_mpf
32 tests in gmpy_test_mpf.__test__.binio
33 tests in gmpy_test_mpf.__test__.cmpr
49 tests in gmpy_test_mpf.__test__.elemop
34 tests in gmpy_test_mpf.__test__.format
6 tests in gmpy_test_mpf.__test__.newdiv
2 tests in gmpy_test_mpq
26 tests in gmpy_test_mpq.__test__.binio
62 tests in gmpy_test_mpq.__test__.cmpr
66 tests in gmpy_test_mpq.__test__.elemop
54 tests in gmpy_test_mpq.__test__.format
12 tests in gmpy_test_mpq.__test__.newdiv
18 tests in gmpy_test_mpq.__test__.power
24 tests in gmpy_test_mpq.__test__.qdiv
4 tests in gmpy_test_mpz
34 tests in gmpy_test_mpz.__test__.binio
62 tests in gmpy_test_mpz.__test__.bitops
48 tests in gmpy_test_mpz.__test__.cmpr
42 tests in gmpy_test_mpz.__test__.elemop
36 tests in gmpy_test_mpz.__test__.format
14 tests in gmpy_test_mpz.__test__.index
12 tests in gmpy_test_mpz.__test__.newdiv
4 tests in gmpy_test_mpz.factorize
1 tests in gmpy_test_rnd
25 tests in gmpy_test_rnd.__test__.rand
**********************************************************************
1 items had failures:
2 of 132 in gmpy_test_mpz.__test__.number
1119 tests in 38 items.
1117 passed and 2 failed.
***Test Failed*** 2 failures.
HTH,
Daniel
More information about the Python-list
mailing list