[Python-Dev] mpz module broken with GMP 4.0

Guido van Rossum guido@python.org
Sat, 15 Dec 2001 11:23:44 -0500

See SF bug #493631:


The mpz modules doesn't work with GMP 4.0 (which is brand new --
http://www.swox.com/gmp/ lists Dec 1, 2001 as the release date).

It looks like the mpz module is a mess.  The setup.py file contains a
reference to pympz.sourceforge.net, but that doesn't exist.

There is, however, a SF project gmpy, which seems to be a Python
wrapper for GMP 3.0 (does it work with GMP 4.0?).  I'm cc'ing the
project admins, maybe they can shed light on this.

Does anybody know how to fix mpzmodule.c?  Or should we just get rid
of it?  Should we at least fix the reference in setup.py to point to

--Guido van Rossum (home page: http://www.python.org/~guido/)