ANN: GMPY binaries for Windows 2.5

mensanator at mensanator at
Sat Sep 2 01:38:59 CEST 2006

casevh at wrote:
> GMPY binaries for Python 2.5 are available at
> Notes
> ====
> They have not been extensively tested.

They don't work. At least the Pentium4 binary doesn't work,
same problem as before. Is the patch installed?

Python 2.5c1 (r25c1:51305, Aug 17 2006, 10:41:11) [MSC v.1310 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.

IDLE 1.2c1
>>> import gmpy
>>> gmpy.version()
>>> gmpy.divm(1,2,5)
>>> gmpy.divm(4,8,20)
>>> gmpy.divm(4,8,20)

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
ZeroDivisionError: not invertible

>>> gmpy.mpz(20)
>>> gmpy.mpz(8)
>>> gmpy.mpz(4)

> This is based on the CVS version of gmpy and includes a patch (not yet
> in CVS) from Alex Martelli that resolves a bug with divm(). Please
> consider this an "unofficial" release. The patch and the source code
> snapshot I used are also available on the website.
> GMP 4.2.1 is used.
> There are three versions available: one that should work on any
> processor, one compiled for Pentium 4 processor, and one compiled for
> AMD Athlon (32-bit).
> If there is demand, I'll create updated binaries for earlier version of
> Python.
> Enjoy,
> casevh

More information about the Python-list mailing list