General

Profile

mame (Yusuke Endoh)

  • Login: mame
  • Email: mame@ruby-lang.org
  • Registered on: 05/28/2008
  • Last sign in: 03/16/2026

Issues

open closed Total
Assigned issues 4 149 153
Reported issues 17 351 368

Projects

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

Activity

07/25/2026

03:11 AM Ruby Feature #22212: Add Thread::Backtrace::Location#source_range
Why not just use `Backtrace::Location#syntax_tree`?
As the maintainer of error_highlight, I have no plan to use this method. I will use `Backtrace::Location#syntax_tree`. Therefore, the use cases for this feature should be explained s...
mame (Yusuke Endoh)

07/22/2026

09:24 AM Ruby Feature #22205: Deprecate ruby2_keywords
I agree with this proposal. `ruby2_keywords` was a compromise we reluctantly introduced so that a single code base could behave exactly the same on Rubies before and after 3.0. Now that all of those versions have reached EOL, explicit de... mame (Yusuke Endoh)
08:15 AM Ruby Bug #22199 (Closed): win32: Kernel#system: `AA BB\` arrives as `AA BB"`
Applied in changeset commit:git|26a8633488bb84c4c005ce1d3f17bd2dbf22e358.
----------
win32: escape a trailing backslash when quoting an argument
An argument ending in a backslash arrived corrupted: the backslash escaped the
closing quo...
mame (Yusuke Endoh)
08:15 AM Ruby Revision 26a86334 (git): win32: escape a trailing backslash when quoting an argument
An argument ending in a backslash arrived corrupted: the backslash escaped the
closing quote that Kernel#system had added.
```
PS C:\> ruby -ve "system('python3','-c','import sys; print(sys.argv[1])', 'AA BB\\')"
ruby 4.0.6 (2026-07-14 ...
mame (Yusuke Endoh)
07:17 AM Ruby Feature #21795: Methods for retrieving ASTs
I made a prototype under the name `#syntax_tree` instead of `Proc#ast`.
https://github.com/ruby/ruby/pull/18005
```ruby
def foo(x) = x * 2
bar = ->(y) { y + 1 }
p method(:foo).syntax_tree.class #=> Prism::DefNode
p method(:f...
mame (Yusuke Endoh)

07/17/2026

09:30 AM Ruby Feature #22202: Add Coverage.branch_stub and Coverage.method_stub as companions to Coverage.line_stub
Good news: starting with Ruby 4.1, thanks to [Bug #22018], files compiled via `RubyVM::InstructionSequence.compile_file` will be subject to coverage measurement.
```ruby
# not-loaded.rb
if rand > 0.5
foo
else
bar
end
```
...
mame (Yusuke Endoh)
03:37 AM Ruby Feature #22182: Poor man's escape analysis
byroot (Jean Boussier) wrote in #note-11:
> it's the same issue with `--enable-frozen-string-literal` which doesn't show much gain because all the performance sensitive code already runs with `# frozen_string_literal: true` (or use cons...
mame (Yusuke Endoh)

07/16/2026

05:40 PM Ruby Bug #22201 (Open): ruby.exe reads `"AA\ " BB` as a single argument
A backslash escapes a double quote that sits beyond a whitespace character.
```
C:\> ruby -e "p ARGV" "AA\ " BB
["AA\\ BB"] # <- actual
["AA\\ ", "BB"] # <- expected
```
This is not intentional, right? The escape is cance...
mame (Yusuke Endoh)
04:14 PM Ruby Bug #22199 (Closed): win32: Kernel#system: `AA BB\` arrives as `AA BB"`
```
PS C:\> ruby -ve "system('python3','-c','import sys; print(sys.argv[1])', 'AA BB\\')"
ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +PRISM [x64-mingw-ucrt]
AA BB"
```
`AA BB\` was passed to `Kernel#system`, but python3.exe read ...
mame (Yusuke Endoh)
03:44 PM Ruby Bug #22198 (Closed): win32: heap overflow in Kernel#system
mame (Yusuke Endoh)

Also available in: Atom