[#62904] [ruby-trunk - Feature #9894] [Open] [RFC] README.EXT: document rb_gc_register_mark_object — normalperson@...
Issue #9894 has been reported by Eric Wong.
3 messages
2014/06/02
[#63321] [ANN] ElixirConf 2014 - Don't Miss Jos辿 Valim and Dave Thomas — Jim Freeze <jimfreeze@...>
Just a few more weeks until ElixirConf 2014!
6 messages
2014/06/24
[ruby-core:62918] [ruby-trunk - Bug #9652] Marshal doesn't dump/load Time#zone correctly with too many time object
From:
cantin2010@...
Date:
2014-06-03 06:47:54 UTC
List:
ruby-core #62918
Issue #9652 has been updated by Cantin Xu. Tomoyuki Chikanaga wrote: > r45364, r45395, r45396, r45403 and r45406 were backported into `ruby_2_1` branch at r46304. I can reproduce it in `ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]` Changing the timezone_test.rb, modify line 19 from `100000.times do` to `5000000.times do` anything wrong? ---------------------------------------- Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object https://bugs.ruby-lang.org/issues/9652#change-47024 * Author: Cantin Xu * Status: Closed * Priority: Normal * Assignee: * Category: core * Target version: current: 2.2.0 * ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0] * Backport: 2.0.0: DONE, 2.1: DONE ---------------------------------------- Hi, there I wrote a script to test Marshal dump/load with many time object ( see attachment ). basic idea is: 1) A is container of time, it contains 100,000 time instance (all Time.now). 2) dump/load A by using Marshal, expected behavior is all the time zone must same as Time.now.zone but I get different things or unreadable code in some Time instance by calling time.zone. mostly it's "UTF-8'. env: Mac 10.9.2, ruby: ruby 2.1.1-p76 PS: it's fine while A contain 10,000 time instance ---Files-------------------------------- timezone_test.rb (409 Bytes) -- https://bugs.ruby-lang.org/