General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 04/16/2026

Issues

open closed Total
Assigned issues 2 66 68
Reported issues 32 197 229

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

04/17/2026

11:28 PM Ruby Bug #22007: Inconsistent type checking on rescue
zenspider (Ryan Davis) wrote in #note-5:
> so what should `rescue /regexp/` do?
It would do `/regexp/ === exception`, which is not useful but consistent.
The `assert_raises` example is interesting, I recall https://github.com/test...
Eregon (Benoit Daloze)
09:01 PM Ruby Bug #22007: Inconsistent type checking on rescue
I think a better fix, related to this issue, would be to stop checking the class of rescue clauses, I think any expression should be allowed and just call `===` on them.
So one could do e.g.:
```ruby
begin
raise "nope"
rescue ->...
Eregon (Benoit Daloze)
08:59 PM Ruby Bug #22007: Inconsistent type checking on rescue
The reason is `rescue` clauses are evaluated lazily, and stop at the first matching one.
I believe this is by design for efficiency.
Evaluating every `rescue` clause when not necessary would be some overhead and have potentially unwant...
Eregon (Benoit Daloze)
08:49 PM Ruby Feature #21963: A solution to completely avoid allocated-but-uninitialized objects
Thank you for reviewing this ticket.
I agree with both points.
I thought it would be nice-to-have to also have this for classes defined in Ruby but as you say the worst case is NoMethodError, and the specifics of the proposal are mostly...
Eregon (Benoit Daloze)
08:24 PM Ruby Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
For the start position I think either is fine.
I think from the `p` of `proc` is more useful because it gives extra context to what the block is given (a block can't exist on its own, it's always part of something bigger syntax-wise).
...
Eregon (Benoit Daloze)
10:00 AM Ruby Revision 27af8317 (git): Fix timeout_scale= call to use the correct receiver
* See https://github.com/ruby/test-unit-ruby-core/pull/23 Eregon (Benoit Daloze)

04/16/2026

07:24 PM Ruby Revision 9c682d3d (git): Set a default EnvUtil.timeout_scale for TruffleRuby to help avoid transient failures
Eregon (Benoit Daloze)

04/15/2026

09:44 PM Ruby Revision 9eea01fc (git): [ruby/date] Exclude test causing transient timeouts on TruffleRuby
https://github.com/ruby/date/commit/840494d1ae Eregon (Benoit Daloze)

04/14/2026

09:21 PM Ruby Misc #22001 (Open): Adding TruffleRuby in the CI of all default & bundled gems
I would like to add TruffleRuby (i.e. `ruby-version: truffleruby`, the latest release for improved stability) in the CI of all default & bundled gems.
I'm tracking the progress in https://github.com/truffleruby/truffleruby/issues/2644.
...
Eregon (Benoit Daloze)
09:03 PM Ruby Misc #22000 (Open): Requesting to be a co-maintainer of ostruct
I would like to become a co-maintainer of the `ostruct` gem (OpenStruct class).
I know currently @marcandre is the maintainer of `ostruct` but he seems less active recently (e.g. [open PRs](https://github.com/ruby/ostruct/pulls)) and ...
Eregon (Benoit Daloze)

Also available in: Atom