I downloaded and tried the CVS version. Division still didn't work as
expected.

>>> import gmpy
>>> gmpy.version()
'1.01'
>>> gmpy.mpz(9)//gmpy.mpz(4)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: unsupported operand type(s) for //: 'mpz' and 'mpz'
>>> from __future__ import division
>>> gmpy.mpz(9)//gmpy.mpz(4)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: unsupported operand type(s) for //: 'mpz' and 'mpz'
>>> gmpy.mpz(9)/gmpy.mpz(4)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: unsupported operand type(s) for /: 'mpz' and 'mpz'
>>>

Platform: Solaris 10 x86, SunStudio compiler, GMP 4.1.4, Python 2.4.2

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to