New submission from Brian Cole <coleb@...>:
Ellipsis should be treated as positive infinity when comparing to
floating point numbers.
coleb@...$ python
Python 2.5.1 (r251:54863, May 14 2009, 15:33:54)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1.0 <= Ellipsis
True
>>>
coleb@...$ jython
Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26)
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_0
Type "help", "copyright", "credits" or "license" for more information.
>>> 1.0 <= Ellipsis
False
----------
components: Core
messages: 5071
nosy: coleb
severity: normal
status: open
title: Ellipsis comparison different from Python 2.5 to Jython 2.5
type: behaviour
versions: 2.5.0
_______________________________________
Jython tracker <report@...>
<http://bugs.jython.org/issue1449>
_______________________________________
|