Bug #5186
Psych noisy parsing valid node
Description
Psych makes a lot of noise over perfectly valid value.
$DEBUG = true
YAML.load('--- 1.1.1')
ExceptionArgumentError' at /usr/local/lib/ruby/1.9.1/psych/scalar_scanner.rb:71 - invalid value for Integer(): "1.1.1"
ArgumentError' at /usr/local/lib/ruby/1.9.1/psych/scalar_scanner.rb:72 - invalid value for Float(): "1.1.1"
Exception
=> "1.1.1"
History
Updated by tenderlovemaking (Aaron Patterson) over 8 years ago
- Status changed from Open to Closed
- Assignee set to tenderlovemaking (Aaron Patterson)
- % Done changed from 0 to 100
Fixed in r32957