[Python-Dev] Re: mpz module broken with GMP 4.0

Gustavo Niemeyer niemeyer@conectiva.com
Tue, 18 Dec 2001 09:50:04 -0200

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> Thanks for the indication -- I was not aware of the new GMP 4.0.  A rapid=
> test shows the current gmpy.c, release 0.8, breaks in exactly one place=
> (structure gmpstate_t used to have a member named seed, now renamed to=20
> _mp_seed).  Once that single line is fixed, gmpy 0.8 builds fine (on a=20

Have you commited to the CVS? It'd be nice to have it compiling with
both, the new and the old gmp.

> Linux box) with the new GMP 4.0 and passes all of its 973 unit-tests (wit=
> Python 2.2b1).  I think we should rapidly release a 0.8.1 with the one-li=
> fix (arranged so it keeps building with GMP 3.1 while also building with=
> 4.0, of course), and plan the modest gmpy extensions needed to exploit=20

Ohh.. that's it! Nice.. :-)

I'll commit the multiprecision pi code, so the next version already
includes it.


Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org