General

Profile

matz (Yukihiro Matsumoto)

  • Login: matz
  • Email: matz@ruby.or.jp
  • Registered on: 05/09/2008
  • Last sign in: 12/16/2025

Issues

open closed Total
Assigned issues 148 688 836
Reported issues 1 30 31

Projects

Project Roles Registered on
Ruby Owner, Committer 05/18/2008

Activity

04/17/2026

02:05 PM Ruby Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
Thank you for the proposal. Introducing a new method rather than extending `source_location` is the right direction, given the compatibility issues we hit.
I approve the shape of this feature, including:
- The class name `Ruby::Sou...
matz (Yukihiro Matsumoto)
07:18 AM Ruby Bug #20409: Missing reporting some invalid breaks
Yes, it is OK to make it `SyntaxError`.
Matz.
matz (Yukihiro Matsumoto)
07:15 AM Ruby Misc #21922: Permissions for committers for ex-default/bundled/unbundled gems repositories
I'd like to suggest we settle the design before changing the permissions.
Specifically:
1. The current policy around default/bundled/unbundled gems should be written down. `doc/maintainers.md` is outdated, and until it's updated, d...
matz (Yukihiro Matsumoto)
06:00 AM Ruby Feature #21963: A solution to completely avoid allocated-but-uninitialized objects
Two comments on this proposal.
First, I am not fond of exposing this as a Ruby-level opt-in (Class#safe_initialization). The classes that actually benefit are C-implemented ones, where uninitialized state can cause segfaults. Pure Rub...
matz (Yukihiro Matsumoto)
04:54 AM Ruby Feature #21962: Add deep_freeze for recursive freezing
`Ractor.make_shareable` does more than deep freezing and exists for Ractor. Its presence does not by itself justify `deep_freeze` in core.
In my opinion, deep freezing is a rare need in practice, and the `ice_nine` gem seems to cover ...
matz (Yukihiro Matsumoto)
04:38 AM Ruby Feature #21795: Methods for retrieving ASTs
Thanks for the analysis in #13, especially the finding about node_id fragility across Prism versions.
But I don't think the offset-based approach solves the real problem. It makes the identifier more robust, but the node returned is s...
matz (Yukihiro Matsumoto)

03/17/2026

09:46 AM Ruby Bug #21921: Hash inconsistent ==, >=, <= behavior
Not many people use `Hash` inclusion operators, and I doubt anyone expects them to behave consistently when `compare_by_identity` is involved. Rather than raising an exception, I think returning `nil` from `==`, `<=` and `>=` whenever ei... matz (Yukihiro Matsumoto)
09:40 AM Ruby Feature #21932: `MatchData#get_int`
I agree with adding `integer_at(n)` to `MatchData`, and `StringScanner` too (#21943).
Matz.
matz (Yukihiro Matsumoto)
09:38 AM Ruby Feature #17056: Array#index: Allow specifying the position to start search as in String#index
I think it's good to add an offset: keyword argument to `Array#index` and `Array#rindex`, for consistency with `String#index` and `String#rindex`.
As for `Array#find_index`, I think we should add `offset:` there as well, keeping it in...
matz (Yukihiro Matsumoto)
08:39 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
After reconsideration, I think `tap_each` is a better name than `tee` for this method.
`tee` is familiar to Unix users, but Python's `itertools.tee` has a very different meaning (splitting an iterator into multiple independent iterato...
matz (Yukihiro Matsumoto)

Also available in: Atom