On Fri, Apr 27, 2012 at 2:11 PM, Young Hyun <youngh / caida.org> wrote:
> On Apr 26, 2012, at 5:52 PM, Jeremy Kemper wrote:
>
>> On Thu, Apr 26, 2012 at 5:09 PM, Young Hyun <youngh / caida.org> wrote:
>>> YAML in ruby 1.9.3p125 seems to have a bug reading in YAML from older R=
uby versions. =A0Specifically, YAML in 1.9.3p125 mis-parses text like "123_=
456" as a number (just as in Ruby) rather than as a string, which appears t=
o be the correct behavior according to the YAML specification.
>>
>> Psych (yaml in 1.9.3) is correctly parsing 123_456 as a String.
>>
>> Syck (yaml in 1.8) took some liberties with the yaml spec :)
>
> Sorry if I was unclear, but Psych is the one parsing an unquoted 123_456 =
as a number rather than a string. =A0So it seems like either Psych is the o=
ne not following the YAML spec on reading, or Syck is not following the spe=
c on writing (that it should have quoted 123_456).

Precisely: Psych is following the YAML spec; Syck didn't.