Since Ractor-local GC, a hook on `RUBY_INTERNAL_EVENT_GC_ENTER` (and `GC_EXIT`, `GC_START`, `GC_END_MARK`, `GC_END_SWEEP`) normally only fires for collections of the objspace of the Ractor which enabled it. Local GCs in other Ractors ar...Eregon (Benoit Daloze)
@ko1 Thank you for your review. ko1 (Koichi Sasada) wrote in #note-14: > * I'm okay to introduce it if we can agree that this symbols are implementation dependent and no guarantee even between teeny version. Yes, I think this is clear ...Eregon (Benoit Daloze)
The `offset` keyword argument was added in Ruby 4.1 by 99f92c4874ddd08a50f74eb37e6a51f0194c9c76 ([Feature #17056]), so these specs raised ArgumentError on older versions and failed the "Rubyspec Version Guards Check" workflow. Co-Author...Eregon (Benoit Daloze)
## Summary `Kernel#freeze` can be called on a Ractor object owned by another Ractor, and succeeds: ```ruby Ractor.new { Ractor.main.freeze }.value Ractor.main.frozen? # => true ``` This is a write to another Ractor's object, ...Eregon (Benoit Daloze)
> matz: except classes and modules, I agree. Traverse every other reference, including instance variables, array elements, and hash keys and values. Please update the PR. Done, I updated https://github.com/ruby/ruby/pull/19529 to trav...Eregon (Benoit Daloze)
This was discussed at the last dev meeting: https://github.com/ruby/dev-meeting-log/blob/master/2026/DevMeeting-2026-11-12.md#feature-21962-add-deep_freeze-for-recursive-freezing-eregon I'm confused because IIRC twice matz agreed to t...Eregon (Benoit Daloze)
To clarify, this isn't fixed because the merged PR https://github.com/ruby/ruby/pull/18209 was reverted in https://github.com/ruby/ruby/pull/18226. I'll close this as Rejected since there is no agreement how to fix this and at this po...Eregon (Benoit Daloze)
Applied in changeset commit:git|16ee033bece10f1d94b75a18d31f2d5c18c36d8a. ---------- [Feature #22520] Return the block node from #syntax_tree for a block Proc#syntax_tree, Method#syntax_tree and UnboundMethod#syntax_tree now return the...Eregon (Benoit Daloze)