Hi,
In message "Re: [ ruby-Bugs-4555 ] Range
"max" method does not handle Infinity"
on Wed, 24 May 2006 13:37:59 +0900, noreplyrubyforge.org writes:
|Summary: Range "max" method does not handle
Infinity
|
|Initial Comment:
|> a = 1.0/0
|=> Infinity
|
|(0..a).max
|
|[system hangs...]
It is supported by 1.9. I'm not sure it should be
backported to 1.8
or not, since it is a major behavior change.
matz.
Range "max" method does not
handle Infinity
2006-05-27 01:03:02
On 24/05/06, Yukihiro Matsumoto <matzruby-lang.org> wrote:
>
> It is supported by 1.9. I'm not sure it should be
backported to 1.8
> or not, since it is a major behavior change.
If it hangs the system in 1.8, it should be fixed since
hanging can never be
a good behavior.