From: Yusuke ENDOH Date: 2010-04-09T03:23:12+09:00 Subject: [ruby-core:29352] Re: [Bug #1247] YAML::load converts some dates into strings Hi, 2010/4/9 Caleb Clausen : > On 4/8/10, Aaron Patterson wrote: >> On Thu, Apr 08, 2010 at 10:22:57PM +0900, Yusuke Endoh wrote: >>> I suggest to declare that any bug of syck will no longer be fixed >>> unless it is fatal (such as SEGV). ?Then, I can close all tickets >>> about bug of syck (#1311, #1758, #2767, more?). >> >> Also #719. >> >> I agree. > > I assume that at least one of you guys is verifying that these > problems are actually fixed in psych? (Tho it's unlikely that Aaron > made the same mistakes that _why did...) $ ./ruby -ryaml -e ' YAML::ENGINE.yamler = "psych" #1311 p YAML.load YAML.dump("\n a\nb") p YAML.load YAML.dump("\n a\n b\nc") p YAML.load YAML.dump("\n a\n b") #1758 p YAML::load(YAML::dump("\n a\n\"")) #2767 p YAML.load({"x"=>"\r\n P\r\nA"}.to_yaml) ' "\n a\nb" "\n a\n b\nc" "\n a\n b" "\n a\n\"" {"x"=>"\r\n P\r\nA"} > Here are a few more old yaml bugs: #1653 #1639 #991 Thanks. I'll check them later. > I will be very glad to see #1311 finally fixed and closed. Hmm. I guess a patch would be welcome. -- Yusuke ENDOH