General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 08/05/2026

Issues

open closed Total
Assigned issues 2 70 72
Reported issues 32 202 234

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

Today

12:15 PM Ruby Bug #22235: node_id/location for constant assignment failing while reading
To be complete, the other two "failing while reading" cases in the spec are:
(`$` marks the beginning and end of the `source_range`)
```ruby
"index operator assignments failing while reading" => <<-RUBY,
value = nil
...
Eregon (Benoit Daloze)
11:54 AM Ruby Bug #22235: node_id/location for constant assignment failing while reading
Regarding failing while reading or writing, here is reading:
```ruby
namespace = Module.new
begin
namespace::NotDefined += 1
rescue => e
p e
pp e.backtrace_locations[0]
pp e.backtrace_locations[0].source_range
puts e.backtrace_...
Eregon (Benoit Daloze)
11:43 AM Ruby Bug #22235: node_id/location for constant assignment failing while reading
I found this via this spec: https://github.com/ruby/spec/blob/0f44fd58585fcdc652da70521ecb753f6fda80f9/core/thread/backtrace/location/source_range_spec.rb#L155-L158
It encodes the current CRuby behavior, but as described above I think t...
Eregon (Benoit Daloze)
11:40 AM Ruby Bug #22235 (Open): node_id/location for constant assignment failing while reading
```ruby
namespace = Module.new
begin
namespace::NotDefined += 1
rescue => e
pp e.backtrace_locations[0]
pp e.backtrace_locations[0].source_range
pp e.backtrace_locations[0].syntax_tree
end
```
On CRuby master it gives...
Eregon (Benoit Daloze)
08:53 AM Ruby Feature #22227: Per-Ractor GC: collect each Ractor's heap locally, stop the world only when needed
IOW, I think the LLM reasoning here is flawed and it merits another look ;) Eregon (Benoit Daloze)
08:51 AM Ruby Feature #22227: Per-Ractor GC: collect each Ractor's heap locally, stop the world only when needed
I don't really understand that constraint here, I think either way on the first Ractor#value that Ractor's heap get absorbed by the receiver Ractor.
Whether it's only allowed to call Ractor#value once or multiple times (from the receive...
Eregon (Benoit Daloze)

08/07/2026

09:17 PM Ruby Revision 43c3a2bc (git): Update to ruby/spec@0f44fd5
Eregon (Benoit Daloze)
09:17 PM Ruby Revision 9b80bb97 (git): Update to ruby/mspec@b79c65e
Eregon (Benoit Daloze)
08:09 PM Ruby Bug #22216: Special variables (ex. Regexp backref and IO lastline) are thread-unsafe in some cases, incompatible with Ractor
matz (Yukihiro Matsumoto) wrote in #note-18:
> Reading `$1` after `e.next` is code people actually write
Given that does not work on Ruby 4.0 (3rd snippet of #note-13) and there has been no bug report about that, it seems a strong indic...
Eregon (Benoit Daloze)
07:50 PM Ruby Revision 969d44cc (git): Disable failing specs on macOS in RubyCI
* https://logs.rubyci.org/osx1400arm/ruby-master/log/20260807T174503Z.fail.html.gz
1)
File.setgid? accepts a path in a non-UTF-8, ASCII-compatible encoding containing non-ASCII characters FAILED
Expected false == true
to be truth...
Eregon (Benoit Daloze)

Also available in: Atom