ANN: mxNumber -- Experimental Number Types, Version 0.2.0

Paul Moore gustav at morpheus.demon.co.uk
Mon Apr 30 16:58:13 EDT 2001


"M.-A. Lemburg" <mal at lemburg.com> writes:

> The 0.2.0 release is an alpha release. Everything is still in flux, so
> expect bugs, strange behaviour etc.

>python
ActivePython 2.1, build 210 ActiveState)
based on Python 2.1 (#15, Apr 19 2001, 10:28:27) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import mx.Number
>>> mx.Number.Integer(1500) <= 1
1
>>> mx.Number.Integer(1500) <= mx.Number.Integer(1)
0

Does this count as "strange behaviour"? Surely mx.Number.Integer
values should compare properly with Python integers?

Paul.



More information about the Python-list mailing list