[#76442] [Ruby trunk Feature#11741] Migrate Ruby to Git from Subversion — naruse@...
Issue #11741 has been updated by Yui NARUSE.
3 messages
2016/07/19
[#76515] [Ruby trunk Bug#12610] webrick: protect from httpoxy — nagachika00@...
Issue #12610 has been updated by Tomoyuki Chikanaga.
3 messages
2016/07/22
[ruby-core:76447] Re: YAML and quoting: Is this a bug, the desired behaviour, or just a mild annoyance?
From:
Jesús Burgos Maciá <jburmac@...>
Date:
2016-07-19 10:22:08 UTC
List:
ruby-core #76447
The reason why '0034460310' gets quotes is to prevent it from being understood as an octal number. I wouldn't say it's a bug. On 19 July 2016 at 11:53, Ronald Fischer <ynnor@mm.st> wrote: > In irb: > > require 'yaml' > YAML::dump(['0034460310','0019027200']) > > => "---\n- '0034460310'\n- 0019027200\n" > > Why is it that the first number ends up quoted in YAML format and the > second one is unquoted? > > YAML is generous with quotes, and in this case, I get an array of two > strings back, when I do a YAML::load(....). Still, this looks a bit > conspicuous. Is it an issue I should report on the bug tracker? > > Ronald > > Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> > <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core> > -- Jes炭s Burgos Maci叩 Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>