General

Profile

Eregon (Benoit Daloze)

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

Issues

open closed Total
Assigned issues 3 64 67
Reported issues 25 194 219

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

02/04/2026

09:09 AM Ruby Bug #21859: Inconsistent behaviors in Regexp lookbehind/lookahead with capture groups
Useful context for this issue which would make sense to add the description is this `Regexp` item from the NEWS of 3.3:
https://github.com/ruby/ruby/blob/master/doc/NEWS/NEWS-3.3.0.md
> The cache-based optimization now supports looka...
Eregon (Benoit Daloze)
09:01 AM Ruby Bug #21859 (Closed): Inconsistent behaviors in Regexp lookbehind/lookahead with capture groups
An interesting fact is TruffleRuby/TRegex seems to report exactly the opposite for these 4 Regexp whether they are linear:
```
truffleruby 33.0.1 (2026-01-20), like ruby 3.3.7, Oracle GraalVM Native [x86_64-linux]
irb(main):001> Regex...
Eregon (Benoit Daloze)

02/03/2026

07:13 PM Ruby Misc #21804 (Closed): Getting setup-ruby Earlier
Done, see https://github.com/ruby/setup-ruby/pull/848#issuecomment-3840213501 for details. Eregon (Benoit Daloze)
03:09 PM Ruby Revision ebef4dba (git): [ruby/prism] RB_GC_GUARD() the VALUE for RSTRING_PTR() to ensure the char* does not move
* See https://github.com/ruby/prism/pull/3886#discussion_r2741579984.
https://github.com/ruby/prism/commit/98603ce8cc
Eregon (Benoit Daloze)

01/30/2026

06:46 PM Ruby Revision d7553015 (git): [ruby/prism] Handle String-like objects for Ripper.sexp
* RSpec relies on this in
https://github.com/rspec/rspec/blob/rspec-support-v3.13.6/rspec-support/lib/rspec/support/source.rb#L57
which is given an RSpec::Support::EncodedString.
* CI failure caused by this on truffleruby:
https://...
Eregon (Benoit Daloze)
02:54 PM Ruby Feature #21852: New improved allocator function interface
It only does it for classes defined in C, and if they do all state copying in `copy_allocator`.
I think this would be valuable to have for any class, i.e. also for classes defined in Ruby and not in C.
Eregon (Benoit Daloze)
01:31 PM Ruby Feature #21852: New improved allocator function interface
byroot (Jean Boussier) wrote in #note-2:
> Indeed. Technically it wouldn't be required, but I think it's more reliable to do it there than in `initialize_copy` as the later could be redefined and cause corruption.
That could cause le...
Eregon (Benoit Daloze)
12:37 PM Ruby Feature #21852: New improved allocator function interface
Are `initialize_copy/initialize_dup/initialize_clone` still called when using a `copy_allocator`?
In the `backtrace_alloc` example you seem to already do some copying in that function, which then makes it unclear where the copying shoul...
Eregon (Benoit Daloze)
12:13 PM Ruby Feature #21853: Make Embedded TypedData a public API
Good point! How do embedded typed datas handle this, do they raise an exception in such a case?
Seems tricky given the `DATA_PTR(obj)` API returning a pointer.
I'd actually love if we had a separate API for changing the data pointer as ...
Eregon (Benoit Daloze)

01/29/2026

07:12 PM Ruby Revision b51a1126 (git): IO::Buffer.map seems not shareable across processes on OpenBSD
* See https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20260129T163005Z.fail.html.gz Eregon (Benoit Daloze)

Also available in: Atom