General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 09/19/2026

Issues

open closed Total
Assigned issues 3 71 74
Reported issues 29 208 237

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

09/20/2026

08:26 PM Ruby Feature #22274: Make `IO::Buffer` no longer experimental.
ioquatix (Samuel Williams) wrote in #note-6:
> Implemented in [https://github.com/ruby/ruby/pull/18911](https://github.com/ruby/ruby/pull/18911)
Great, this will make semantics match more closely and ensure reliable behavior.
ioquatix ...
Eregon (Benoit Daloze)

09/12/2026

08:47 PM Ruby Revision 38850f70 (git): Add Thread::Backtrace::Location#source_range specs for more assignments
Cover constant &&=, constant path writes and operator assignments
failing on the namespace, bare constant operator assignments failing in
the operator or on the value, instance and class variable operator
assignments, index and attribute...
Eregon (Benoit Daloze)
12:17 PM Ruby Revision b2ec82d4 (git): Cover the whole `Const op= value` expression in the constant read node in parse.y
For `Const += value`, parse.y builds a NODE_CDECL whose value is an
OPCALL on a NODE_CONST read node, and that read node only spanned the
constant name. The NameError for an undefined constant is raised by that
read, so Thread::Backtrace...
Eregon (Benoit Daloze)
11:25 AM Ruby Revision 578c4625 (git): Update to ruby/spec@aae6309
Eregon (Benoit Daloze)

09/11/2026

08:58 PM Ruby Feature #22274: Make `IO::Buffer` no longer experimental.
(apologies for the reply partly written by AI, the base argument is mine, and I found a problematic case with raw addresses for slices)
Right, that "every buffer is a slice of an underlying allocation" model is exactly the right frami...
Eregon (Benoit Daloze)

09/10/2026

09:44 PM Ruby Bug #22302: Prism and parse.y disagree on the `:line` event for a bare `nil` method body
Because this only affects parse.y and the missing :line event is not critical, I think no need to backport. Eregon (Benoit Daloze)
09:43 PM Ruby Bug #22302 (Closed): Prism and parse.y disagree on the `:line` event for a bare `nil` method body
Applied in changeset commit:git|8040d0659931d7230cad458429030492add43faf.
----------
[Bug #22302] Emit a line event for a method's implicit nil return in parse.y
reduce_nodes eliminated a bare `nil` in a method's tail (value) position
...
Eregon (Benoit Daloze)
09:42 PM Ruby Revision 8040d065 (git): [Bug #22302] Emit a line event for a method's implicit nil return in parse.y
reduce_nodes eliminated a bare `nil` in a method's tail (value) position
down to an empty method body, so parse.y emitted no :line event and
recorded no line coverage for that line, even though it is executed:
def m
nil # <...
Eregon (Benoit Daloze)
08:48 AM Ruby Bug #22216: Special variables (ex. Regexp backref and IO lastline) are thread-unsafe in some cases, incompatible with Ractor
+1 to what John said.
Making the semantics simpler has been wanted for a long time here, let's not add some complication with blocking Fibers or some inheritance of sort.
I think no one writes code like `g = "hello".gsub(/(.)/); g....
Eregon (Benoit Daloze)
08:36 AM Ruby Feature #22056: Add zero-copy String constructor backed by an arbitrary Ruby object
kou (Kouhei Sutou) wrote in #note-26:
> Eregon (Benoit Daloze) wrote in #note-22:
> ...
The IO::Buffer might be GC'd or free'd, and the slice_string result live longer.
In Rust terms, this is basically invalid ownership.
Eregon (Benoit Daloze)

Also available in: Atom