General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 05/10/2025

Issues

open closed Total
Assigned issues 1 59 60
Reported issues 24 185 209

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Like

Activity

Today

12:36 PM Ruby Bug #21324 (Open): Namespace loads RubyGems in root Namespace but it should not
RubyGems has tons of mutable state, isn't core library and isn't "builtin classes" either, so it should not be in roo... Eregon (Benoit Daloze)
12:32 PM Ruby Bug #21323: irb fails to start with Namespace
Looks somewhat similar, `benchmark` loads fine in main namespace but not in other namespace:
```
$ RUBY_NAMESPACE=1...
Eregon (Benoit Daloze)
11:14 AM Ruby Bug #21323 (Open): irb fails to start with Namespace
```
$ irb
irb(main):001> 6 * 7
=> 42
$ RUBY_NAMESPACE=1 irb
/home/eregon/prefix/ruby-master/bin/ruby: warning:...
Eregon (Benoit Daloze)
12:22 PM Ruby Bug #21317: Namespaces leak with object IDs
Seems very related to https://bugs.ruby-lang.org/issues/21322 so let's keep this one closed and discuss there. Eregon (Benoit Daloze)
11:13 AM Ruby Bug #21317: Namespaces leak with object IDs
Full reproducer, showing that even though `Object` is the same reference in all namespaces it can have different cons... Eregon (Benoit Daloze)
12:20 PM Ruby Bug #21322: Namespaces and builtin classes as arguments and return values
Right, IOW it's the duality between builtin classes and other classes.
Builtin classes' constants, methods, ivar and...
Eregon (Benoit Daloze)
12:17 PM Ruby Bug #21320: Namespaces leak with constant lookup
Full repro:
```
# Copy the description program to program.rb, e.g. $ xsel -b > program.rb
$ RUBY_NAMESPACE=1 ruby ...
Eregon (Benoit Daloze)
12:13 PM Ruby Bug #21316: Namespaces leak with permanent names
Right I think in the namespace defining the class/module the `Module#name` needs to not have a prefix, or it will bre... Eregon (Benoit Daloze)
11:06 AM Ruby Bug #21318: Namespaces leak with Module.nesting
Complete reproducer:
```
$ RUBY_NAMESPACE=1 ruby -ve 'p Module.nesting; ns = Namespace.new; File.write "ns.rb", "p ...
Eregon (Benoit Daloze)
08:29 AM Ruby Revision 7add6b2a (git): ruby/spec has a minimum of Ruby 3.2 now
Eregon (Benoit Daloze)

Also available in: Atom