[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23251] [Bug #1391] yaml cannot parse dates which are very far in future

From: dohFee1u dohFee1u <redmine@...>
Date: 2009-04-18 21:48:39 UTC
List: ruby-core #23251
Bug #1391: yaml cannot parse dates which are very far in future
http://redmine.ruby-lang.org/issues/show/1391

Author: dohFee1u dohFee1u
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

>> YAML::load(Date.parse("20090-01-01").to_yaml)
ArgumentError: argument out of range
	from /usr/lib/ruby/1.8/yaml.rb:133:in `utc'
	from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
	from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
	from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
	from (irb):10


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

In This Thread

Prev Next