[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Bug in IO#gets("") in 1.9 ?

From: Johan Holmberg <holmberg@...>
Date: 2004-11-19 08:38:44 UTC
List: ruby-core #3771
Is the following change in IO#gets intentional, or is it a bug? 
Example script:

     while line = DATA.gets("")
       p line
     end

     __END__
     paragraph
     1

     paragraph
     2

output in 1.8.2:

     "paragraph\n1\n\n"
     "paragraph\n2\n"

output in 1.9:

     "paragraph\n1\n\nparagraph\n2\n"


/Johan Holmberg


In This Thread

Prev Next