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

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


--0eh6TmSyL6TZE2Uz
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=
=20
> test shows the current gmpy.c, release 0.8, breaks in exactly one place=
=20
> (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=
h=20
> Python 2.2b1).  I think we should rapidly release a 0.8.1 with the one-li=
ne=20
> fix (arranged so it keeps building with GMP 3.1 while also building with=
=20
> 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.

Thanks!!

--=20
Gustavo Niemeyer

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

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

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

iD8DBQE8Hy1sIlOymmZkOgwRAs8dAJ9UgFEYGeLQY/gjz1OMM4FGCNcPFQCg0uuv
Uvq90IZdQTWRWUXTJjjgtn0=
=KsOJ
-----END PGP SIGNATURE-----

--0eh6TmSyL6TZE2Uz--