General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 03/13/2026

Issues

open closed Total
Assigned issues 3 65 68
Reported issues 28 195 223

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

Today

12:40 PM Ruby Feature #21960: Improve #backtrace to not confuse terminals
+1, also I think it reads better with a space.
Re #14145 the motivation to use a space was also to be clickable: https://bugs.ruby-lang.org/issues/14145#note-25
FWIW your example in the description is using older backtrace, they lo...
Eregon (Benoit Daloze)

03/20/2026

10:55 PM Ruby Revision f64f4b30 (git): [ruby/prism] Ensure Source#offsets is set correctly in all cases
* See https://github.com/ruby/prism/issues/3861
https://github.com/ruby/prism/commit/3f6014dc53
Eregon (Benoit Daloze)

03/19/2026

11:09 AM Ruby Feature #21950: Add a built-in CPU-time profiler
Something that's not clear (to me at least) in this ticket is why would it need to be (or should be) in core vs an external gem?
Couldn't that gem use `rb_profile_frames()`, etc like pf2 / dd-trace-rb ?
Seeing that you are the author o...
Eregon (Benoit Daloze)
09:28 AM Ruby Feature #21957: Introduce `Enumerable#close` to free internal resources.
+1
Leaking Fibers through an Enumerator is quite common and relying on the GC to clean that up is pretty brittle and it also adds significant complexity on the Ruby implementation (e.g. weakref to the Fiber object).
You're mentioni...
Eregon (Benoit Daloze)

03/18/2026

03:37 PM Ruby Feature #21932: `MatchData#get_int`
Thanks for the explanations.
naruse (Yui NARUSE) wrote in #note-9:
> In this use case, interpreting "0x" prefix is not useful
It could be useful, but one could workaround that with `/0x(\h+)/` instead of `/(0x\h+)/`.
Leading 0 (octal)...
Eregon (Benoit Daloze)
08:37 AM Ruby Feature #21932: `MatchData#get_int`
I think returning 0 when the group isn't parseable as a number seems bad behavior.
At least if I would use this method, I would expect two things of it:
* It returns the Integer value of that group, without needing `Integer($N)`
* I...
Eregon (Benoit Daloze)

03/17/2026

03:17 PM Ruby Feature #19315: Lazy substrings in CRuby
FWIW, `StringValueCStr()` already exists and checks for no `\0` bytes and implies a terminating `\0`.
It still seems too risky to change `RSTRING_PTR()` to not terminate though.
FWIW, TruffleRuby already has lazy substrings and alway...
Eregon (Benoit Daloze)
09:46 AM Ruby Feature #21795: Methods for retrieving ASTs
mame (Yusuke Endoh) wrote in #note-9:
> When new syntax is introduced to the Ruby master branch, the built-in `prism.c` is updated immediately. In this scenario, if we attempt to retrieve `#ast` using the node definitions from a release...
Eregon (Benoit Daloze)
08:33 AM Ruby Feature #6012: Proc#source_location also return the column
Right, I will make a proposal for `Ruby::SourceLocation`/`Ruby::CodeLocation` or so.
I hope it can be approved quickly without taking more time.
Eregon (Benoit Daloze)
08:30 AM Ruby Feature #21875 (Closed): Handling of trailing commas in lambda parameters
Eregon (Benoit Daloze)

Also available in: Atom