[#64703] Add `Hash#fetch_at` (issue #10017) — Wojtek Mach <wojtek@...>
Hey guys
1 message
2014/09/01
[#64711] [ruby-trunk - Bug #10193] [Closed] TestIO#test_readpartial_locktmp fails randomly — nobu@...
Issue #10193 has been updated by Nobuyoshi Nakada.
3 messages
2014/09/02
[#64744] [ruby-trunk - Bug #10202] [Open] TestBenchmark#test_realtime_output breaks on ARM — v.ondruch@...
Issue #10202 has been reported by Vit Ondruch.
3 messages
2014/09/03
[#64823] documenting constants — Xavier Noria <fxn@...>
I am writing a Rails guide about constant autoloading in Ruby on
5 messages
2014/09/07
[#64838] [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus — ko1@...
Issue #10212 has been reported by Koichi Sasada.
6 messages
2014/09/08
[#64858] Re: [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus
— Eric Wong <normalperson@...>
2014/09/08
rb_env_t may use a flexible array, helps a little even on my busy system:
[#64871] Re: [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus
— SASADA Koichi <ko1@...>
2014/09/08
(2014/09/08 19:48), Eric Wong wrote:
[#64972] [ruby-trunk - Bug #10231] [Open] Process.detach(pid) defines new singleton classes every call — headius@...
Issue #10231 has been reported by Charles Nutter.
3 messages
2014/09/11
[#64980] [ruby-trunk - Bug #10212] MRI is not for lambda calculus — ko1@...
Issue #10212 has been updated by Koichi Sasada.
4 messages
2014/09/12
[#65142] [ruby-trunk - Feature #10267] [Open] Number of processors — akr@...
Issue #10267 has been reported by Akira Tanaka.
4 messages
2014/09/20
[#65144] Re: [ruby-trunk - Feature #10267] [Open] Number of processors
— Eric Wong <normalperson@...>
2014/09/20
akr@fsij.org wrote:
[#65210] [ruby-trunk - misc #10278] [Assigned] [RFC] st.c: use ccan linked list — nobu@...
Issue #10278 has been updated by Nobuyoshi Nakada.
3 messages
2014/09/22
[ruby-core:65066] [ruby-trunk - Bug #10248] Possible missing test or bug for Module#include and Module#prepend
From:
headius@...
Date:
2014-09-16 18:32:24 UTC
List:
ruby-core #65066
Issue #10248 has been updated by Charles Nutter. A couple questions: 1. Which of the two cases tested is unexpected (or is it both)? The two cases are (in pseudo-spec-ese): * If a module A has been included into class B, and then additional modules are included into A, calls to B *will not* see them without a re-include of A. * If a module A has been inlcluded into class B, and then methods are modified in A, calls to B *will* see them without a re-include of A. Ignore the mentions of "flushing" in the spec...the above behavior is what it really tests. It works this way because at include time, a *reference* to the module is inserted into the target hierarchy, and *only* its method table gets searched; other modules that the first module includes are themselves *included* into the hierarchy. Included modules are only searched for methods and constants they directly define. The module's method and constant tables are virtually proxied into the target hierarchy, but the module's superclasses are only included at include time. I don't know why this is the case. ---------------------------------------- Bug #10248: Possible missing test or bug for Module#include and Module#prepend https://bugs.ruby-lang.org/issues/10248#change-48933 * Author: Timur Duehr * Status: Open * Priority: Normal * Assignee: * Category: * Target version: next minor * ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin12.0] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- I've been implementing Module#prepend for JRuby. I ran into this test https://github.com/jruby/jruby/blob/master/test/jruby/test_method_cache.rb#L19 This was unexpected behavior for me. I've looked through both the MRI and rubyspec test cases and don't see a similar test. If this behavior is intended, this test should be included in the suite. Currently, MRI passes this test for both include and prepend. When implementing include or prepend without referencing the MRI source code directly, the implementation won't necessarily pass this test. -- https://bugs.ruby-lang.org/