[#35446] [Ruby 1.9 - Bug #4477][Open] Kernel:exec and backtick (`) don't work for certain system commands — Joachim Wuttke <j.wuttke@...>

10 messages 2011/03/07

[#35476] [Ruby 1.9 - Bug #4489][Open] [PATCH] Encodings with /-(unix|dos|mac)\Z/ — "James M. Lawrence" <quixoticsycophant@...>

20 messages 2011/03/10

[#35552] [Ruby 1.9 - Feature #4523][Open] Kernel#require to return the path of the loaded file — Alex Young <alex@...>

14 messages 2011/03/24

[#35565] [Ruby 1.9 - Feature #4531][Open] [PATCH 0/7] use poll() instead of select() in certain cases — Eric Wong <normalperson@...>

33 messages 2011/03/28

[#35566] [Ruby 1.9 - Feature #4532][Open] [PATCH] add IO#pread and IO#pwrite methods — Eric Wong <normalperson@...>

12 messages 2011/03/28

[#35586] [Ruby 1.9 - Feature #4538][Open] [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O — Eric Wong <normalperson@...>

9 messages 2011/03/29

[ruby-core:35463] [Ruby 1.9 - Bug #4383][Third Party's Issue] psych fails to parse a symbol in a flow sequence

From: Aaron Patterson <aaron@...>
Date: 2011-03-07 21:28:49 UTC
List: ruby-core #35463
Issue #4383 has been updated by Aaron Patterson.

Status changed from Assigned to Third Party's Issue

I'm closing this as a third party issue.  The problem stems from ambiguities in the YAML spec with regard to JSON and YAML support.  This exception was added on purpose in libyaml.  Please read the discussion on the libyaml mailing list for more information:


  http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTi%3DtRBNOo__zmn%3D%3D3hW_VhQQNG1WeD5E-1z6ZAKm%40mail.gmail.com&forum_name=yaml-core

In the mean time, I am updating projects with YAML that isn't compliant.
----------------------------------------
Bug #4383: psych fails to parse a symbol in a flow sequence
http://redmine.ruby-lang.org/issues/4383

Author: Yuki Sonoda
Status: Third Party's Issue
Priority: Normal
Assignee: Aaron Patterson
Category: ext
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-02-08 trunk 30821) [i386-darwin9.8.0] 


 % ruby-trunk -rsyck -ryaml -ve 'p YAML.load("order: [ :year, :month, :day ]")' 
 ruby 1.9.3dev (2011-02-08 trunk 30821) [i386-darwin9.8.0]
 {"order"=>[:year, :month, :day]}
 
 % ruby-trunk -rpsych -ryaml -ve 'p YAML.load("order: [ :year, :month, :day ]")'
 ruby 1.9.3dev (2011-02-08 trunk 30821) [i386-darwin9.8.0]
 /Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:153:in `parse': (<unknown>): couldn't parse YAML at line 0 column 10 (Psych::SyntaxError)
         from /Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:153:in `parse_stream'
         from /Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:124:in `parse'
         from /Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:111:in `load'
         from -e:1:in `<main>'
 
 The example YAML is a part of lib/active_support/locale/en.yml  in ActiveSupport 2.3.10.


-- 
http://redmine.ruby-lang.org

In This Thread

Prev Next