Rationals and Linear Programming in Python

Michael Gilfix mgilfix at eecs.tufts.edu
Mon May 13 22:46:59 EDT 2002


On Mon, May 13 @ 22:37, Alex Martelli wrote:
> Noah wrote:
>         ...
> > I'm more interested in a pure Python type. The Gmpy docs say
> > that it has this, so far so good. Do you know if it will work
> 
> ?  gmpy is a wrapper over the GMP library, which in turn is
> implemented in C or assembler.  Don't know exactly what you
> mean by "a pure Python type", but if you mean a type entirely
> coded in Python, gmpy doesn't have any, and I'd appreciate it
> if you could point out to me what part of the docs misleadingly
> gave that impression, thanks.

  I think he means defining new types as in on this doc page:
http://www.python.org/dev/doc/devel/ext/ext.html or defining
classes which implement the __add__ operator, etc.

           -- Mike

-- 
Michael Gilfix
mgilfix at eecs.tufts.edu

For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html





More information about the Python-list mailing list