Project

General

Profile

Actions

Bug #5186

closed

Psych noisy parsing valid node

Added by trans (Thomas Sawyer) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-07-03 trunk 32372) [x86_64-linux]
Backport:
[ruby-core:38915]

Description

Psych makes a lot of noise over perfectly valid value.

$DEBUG = true
YAML.load('--- 1.1.1')
Exception ArgumentError' at /usr/local/lib/ruby/1.9.1/psych/scalar_scanner.rb:71 - invalid value for Integer(): "1.1.1" Exception ArgumentError' at /usr/local/lib/ruby/1.9.1/psych/scalar_scanner.rb:72 - invalid value for Float(): "1.1.1"
=> "1.1.1"

Updated by tenderlovemaking (Aaron Patterson) over 12 years ago

  • Status changed from Open to Closed
  • Assignee set to tenderlovemaking (Aaron Patterson)
  • % Done changed from 0 to 100

Fixed in r32957

Actions

Also available in: Atom PDF

Like0
Like0