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 =
Ruby versions.  Specifically, 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 to be the correct behavior according to the YAML specification.
>=20
> Psych (yaml in 1.9.3) is correctly parsing 123_456 as a String.
>=20
> 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.  So it seems like either Psych is the =
one not following the YAML spec on reading, or Syck is not following the =
spec on writing (that it should have quoted 123_456).


 --Young