General

Profile

shugo (Shugo Maeda)

  • Login: shugo
  • Registered on: 05/08/2008
  • Last sign in: 11/25/2026

Issues

open closed Total
Assigned issues 3 159 162
Reported issues 3 95 98

Projects

Project Roles Registered on
Ruby Committer, Infrastructure team 05/28/2008

Activity

Today

01:43 PM Ruby Bug #22635: String#byterindex can return an offset inside a character
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Doesn't **byte** mean it never considers the encoding information?
The "byte" in byteindex/byterindex means that offsets and return values are measured in bytes, not that the encoding is ig...
shugo (Shugo Maeda)

11/21/2026

11:18 AM Ruby Bug #22614: Regressions: Adverse interactions between (unused) refinements and UnboundMethod#bind_call
The following commits need backporting:
* 2c15e9fe33 (super in a module method with an unused refinement): 3.4 and 4.0
* b870c03951 (Method#super_method after bind): 3.3, 3.4, and 4.0
shugo (Shugo Maeda)
10:59 AM Ruby Bug #22614 (Closed): Regressions: Adverse interactions between (unused) refinements and UnboundMethod#bind_call
Applied in changeset commit:git|2c15e9fe33539a3ef3c471efbd005e2e075e135d.
----------
Fix super in a refined module method rebound to another class
Once a module method is refined, even by an unused refinement, its
entry wraps the origi...
shugo (Shugo Maeda)
10:59 AM Ruby Bug #22616 (Closed): SystemStackError from `super` when refining a method from a module that appears twice in ancestry
Applied in changeset commit:git|6e687b542739799d4d92a658b79652a486246282.
----------
Fix infinite super recursion in a refinement of a module included twice
When super skips the current refinement method and finds the refined
entry of ...
shugo (Shugo Maeda)
10:59 AM Ruby Revision 6e687b54 (git): Fix infinite super recursion in a refinement of a module included twice
When super skips the current refinement method and finds the refined
entry of the second inclusion, vm_call_refined resolved it in a second
pass and cached the refinement method for the second iclass, which is
where super in that method ...
shugo (Shugo Maeda)
10:58 AM Ruby Revision 2c15e9fe (git): Fix super in a refined module method rebound to another class
Once a module method is refined, even by an unused refinement, its
entry wraps the original one. UnboundMethod#bind did not update
defined_class of the wrapped entry when the entry taken from a Method
already had defined_class, so super...
shugo (Shugo Maeda)
10:58 AM Ruby Revision b870c039 (git): Fix Method#super_method after binding a module method to another class
UnboundMethod#bind created a new iclass for the method entry but left
the iclass of the Method object pointing at the original class, so
super_method returned a method of an unrelated class bound to the new
receiver.
[Bug #22614]
Co-Au...
shugo (Shugo Maeda)
10:58 AM Ruby Revision 380fa6ff (git): Fix binding a refined module method to a class without the module
Since e5f8ba81ae, UnboundMethod#bind keeps the refinement iclass of
the original class when the receiver's class does not include the
refined module, so super was looked up from the ancestors of the
original class. Create an iclass of t...
shugo (Shugo Maeda)

11/15/2026

08:55 AM Ruby Bug #22552 (Rejected): TEST SECURITY PROBE (pentest qtprobe01) - safe to delete
I've locked the reporter. shugo (Shugo Maeda)

11/10/2026

06:33 AM Ruby Feature #22501: Optimize `Hash.new` and `String.new` in `opt_new`
The intended behavior is that a refinement of `#initialize` does not affect `new`.
That said, I'm fine with making it implementation-defined if that helps optimizations like `opt_new`.
shugo (Shugo Maeda)

Also available in: Atom