ANN: GMPY binaries for Windows 2.5
mensanator at aol.com
mensanator at aol.com
Fri Sep 1 19:38:59 EDT 2006
casevh at comcast.net wrote:
> GMPY binaries for Python 2.5 are available at
> http://home.comcast.net/~casevh/
>
> 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()
'1.04'
>>> gmpy.divm(1,2,5)
mpz(3)
>>> gmpy.divm(4,8,20)
mpz(3)
>>> gmpy.divm(4,8,20)
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
gmpy.divm(4,8,20)
ZeroDivisionError: not invertible
>>> gmpy.mpz(20)
mpz(20)
>>> gmpy.mpz(8)
mpz(2)
>>> gmpy.mpz(4)
mpz(1)
>
> 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