Project

General

Profile

Activity

From 05/20/2025 to 05/26/2025

05/26/2025

05:38 PM Bug #21340: Bump autoconf version to properly handle C23 bool/stdbool defines
We can't backport to 3.2 since that would break older Visual Studio versions that it supports.
Maybe we need to b...
alanwu (Alan Wu)
03:05 PM Feature #21365: Add `Namespace#eval`
Thanks for the clarification, everyone! matheusrich (Matheus Richard)
02:45 PM Feature #21365: Add `Namespace#eval`
`instance_eval` modifies the nesting in the eval'ed code. Since namespaces are modules, `instance_eval` already works... fxn (Xavier Noria)
10:00 AM Feature #21365: Add `Namespace#eval`
`ns.eval "self"` would be the Namespace "main" object, not the `Namespace` instance itself, so `instance_eval` would ... Eregon (Benoit Daloze)
02:12 PM Bug #21374 (Open): FrozenError message is inconsistent when a singleton method is defined on a frozen object
I would expect a message to contain an object class (e.g. `can't modify frozen <class>: <object#inspect>`) when an or... andrykonchin (Andrew Konchin)
12:08 PM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
As long as the SPARC Platform Maintainer is actively maintaining SPARC code, it should not be removed. I think. kosaki (Motohiro KOSAKI)
02:21 AM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
FYI, Ruby has a Solaris platform maintainer, @ngoto.
https://github.com/ruby/ruby/blob/87d340f0e129ecf807e3be35d67...
mame (Yusuke Endoh)
08:32 AM Feature #21353 (Closed): Add shape_id to RBasic under 32 bit
Applied in changeset commit:git|f483befd9065d159d3a944b87fe26179c5373c30.
----------
Add shape_id to RBasic under 32...
jhawthorn (John Hawthorn)
08:19 AM Bug #21267 (Closed): respond_to check in Class#allocate is inconsistent
I missed tagging this issue but the check was removed by https://github.com/ruby/ruby/commit/b0502e8f904f155ac0770140... jhawthorn (John Hawthorn)

05/25/2025

09:51 PM Bug #21373 (Closed): "Illegal instruction: 4" when raising SystemStackError after rescuing
I overflowed the stack in a test - this was rescued and tests continued, but when the next test also overflowed the s... Ethan (Ethan -)
08:24 PM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
@matheusrich keeping those links working would have been nice. From the Mastodon thread it seems he was asking 10k wh... p8 (Petrik de Heus)
12:01 PM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
@p8 I didn't mean buying it because it has good SEO. I meant buying it to keep some level of compatibility (at least ... matheusrich (Matheus Richard)
11:32 AM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
Thanks Nobu!
I agree with Stan that some of the links to `/core` and `/stdlib` could be replaced with a link to the ...
p8 (Petrik de Heus)
09:31 AM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
Checking with web.archive.org, a few links were already 404 many years ago (e.g. 2016), so we can simply remove them ... st0012 (Stan Lo)
06:32 AM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
Some URIs in the above list are just in footnotes but unused now.
And the toplevel of the site could be simply remov...
nobu (Nobuyoshi Nakada)
02:51 PM Bug #21372 (Third Party's Issue): Ruby is passing clang specific flags to GCC 15 and native gem doesn't build.
Fedora 42 has ompilation errors while running `gem install extlz4`.
```sh
At top level:
cc1: note: unrecognized ...
skatkov (Stanislav (Stas) Katkov)
02:33 AM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
If that's the case, we need to ensure (1) we have CI running and (2) we have resources available for development/test... ioquatix (Samuel Williams)
12:31 AM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
ioquatix (Samuel Williams) wrote in #note-7:
> Thanks for that list.
>
> What do you think a realistic deprecatio...
jeremyevans0 (Jeremy Evans)
12:22 AM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
Thanks for that list.
What do you think a realistic deprecation/removal timeline might look like for SPARC?
ioquatix (Samuel Williams)

05/24/2025

11:59 PM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
ioquatix (Samuel Williams) wrote in #note-5:
> Are there any official Linux distributions other than OpenBSD/sparc64...
jeremyevans0 (Jeremy Evans)
11:34 PM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
Are there any official distributions other than OpenBSD/sparc64 that still support SPARC? There appears to be a somew... ioquatix (Samuel Williams)
04:19 PM Misc #21371: Proposal to Remove SPARC Architecture Support from Ruby
Can you explain who the "we" is here?
Removing SPARC support would not only eventually remove Ruby from OpenBSD/sp...
jeremyevans0 (Jeremy Evans)
03:25 PM Misc #21371 (Assigned): Proposal to Remove SPARC Architecture Support from Ruby
mame (Yusuke Endoh)
01:57 PM Misc #21371 (Rejected): Proposal to Remove SPARC Architecture Support from Ruby
We propose removing support for the SPARC architecture from Ruby. SPARC has seen little to no community usage in rece... ioquatix (Samuel Williams)
09:15 AM Bug #21310: YJIT optimization causes incorrect is_a? method evaluation
Since jump_to_next_insn() has different arguments and return type on ruby_3_3, some follow up changes for commit:3809... nagachika (Tomoyuki Chikanaga)
07:39 AM Bug #21310: YJIT optimization causes incorrect is_a? method evaluation
ruby_3_3 commit:380938998415c22ba3ca9bc01f4035d5a73f274d merged revision(s) commit:cbf9c088f8005a49b6aa3f475c70041357... nagachika (Tomoyuki Chikanaga)
08:04 AM Bug #21370: `it` can cause ISeq serialization failure
I have a fix but no idea if it's the correct approach: https://github.com/ruby/ruby/pull/13436 byroot (Jean Boussier)
07:56 AM Bug #21370 (Closed): `it` can cause ISeq serialization failure
Originally reported at: https://github.com/rails/rails/issues/55108
```ruby
iseq = RubyVM::InstructionSequence.co...
byroot (Jean Boussier)
03:37 AM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
I had tried to purchase it earlier today, but it appears that it has already been bought and I cannot see who owns it... baweaver (Brandon Weaver)
03:31 AM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
______________________________________________ Anonymous
03:11 AM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
It looks there are 95 links 22 unique URIs in www.ruby-lang.org.
```
http://ruby-doc.org
http://ruby-doc.org/cor...
nobu (Nobuyoshi Nakada)
01:57 AM Bug #21357: Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite
ruby_3_3 commit:24c994b91a67f0023e8fe22a5428581110564332 merged revision(s) commit:056497319658cbefe22351c6ec5c9fa6e4... nagachika (Tomoyuki Chikanaga)
01:22 AM Bug #21357: Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite
I'm going to backport the fix for #21333, and fill Backport field REQUIRED for 3.3. nagachika (Tomoyuki Chikanaga)
01:57 AM Bug #21333: heap-use-after-free caused by rehash during update
ruby_3_3 commit:8f895758d9512466e9ec24ce8e588f059c16136c merged revision(s) commit:49b306ecb9e2e9e06e0b1590bacc5f4b38... nagachika (Tomoyuki Chikanaga)
12:42 AM Bug #21323: irb fails to start with Namespace
Have this been fixed already?
```
[retro@retro2 ~]❤ ruby -v
ruby 3.5.0dev (2025-05-23T23:31:28Z master 87d340f0...
retro (Josef Šimánek)

05/23/2025

11:42 PM Misc #21369 (Closed): Propose Max Bernstein (@tekknolagi) as a core committer
## Proposal
I'd like to propose Max Bernstein (@tekknolagi) as a committer. He has a strong background in compilers,...
k0kubun (Takashi Kokubun)
09:09 PM Bug #21340: Bump autoconf version to properly handle C23 bool/stdbool defines
@alanwu I'd like to request 3.2 backport as other GCC 15 fixes have been back ported e.g. https://bugs.ruby-lang.org/... ntkme (Natsuki Natsume)
09:03 PM Bug #21329: `date_core.so` is broken with the recent MSYS2 update
For rubyinstaller2 the issue is fixed with 3.4.4 release, and the fix will be backported to 3.3.9 and 3.2.9 whenever ... ntkme (Natsuki Natsume)
07:57 PM Bug #21368 (Assigned): Moving objects with finalizer between Ractors crashes
When an object is moved to a different Ractor, the finalizers are not copied to the new object, so it will have the `... peterzhu2118 (Peter Zhu)
07:45 PM Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
Agree. On a different note (and I'm not sure this is the right place to ask it), *could* we buy this domain and redir... matheusrich (Matheus Richard)
06:48 PM Misc #21367 (Closed): Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
The ruby-doc.org domain no longer seems resolvable.
```
$ curl -I http://ruby-doc.org
curl: (6) Could not resolve...
p8 (Petrik de Heus)
07:43 PM Feature #21365: Add `Namespace#eval`
@ufuk fair point. Although it is a private method, so we're never doing `"foo".eval(bar)`. matheusrich (Matheus Richard)
05:02 PM Feature #21365: Add `Namespace#eval`
matheusrich (Matheus Richard) wrote in #note-3:
> @Eregon I feel like that's more consistent with the rest of the la...
ufuk (Ufuk Kayserilioglu)
04:52 PM Feature #21365: Add `Namespace#eval`
@Eregon I feel like that's more consistent with the rest of the language. I can't remember if any object as a `eval` ... matheusrich (Matheus Richard)
01:58 PM Feature #21365: Add `Namespace#eval`
Yep, agreed it'd be far more convenient for testing Namespace.
matheusrich (Matheus Richard) wrote in #note-1:
> ...
Eregon (Benoit Daloze)
12:30 PM Feature #21365: Add `Namespace#eval`
I'm curious why `eval` and not `instance_eval`? matheusrich (Matheus Richard)
06:43 PM Bug #21363: `Namespace.current` should always return the Namespace in which it was defined
To be more specific, given this program:
```ruby
File.binwrite("ns.rb", <<-RUBY)
# namespace 3
module M
de...
tenderlovemaking (Aaron Patterson)
06:09 PM Bug #20905: Ruby VM hangs while using ractors
I had trouble reproducing this, but found that it does reproduce when limiting the number of CPUs. ex.
```
taskse...
jhawthorn (John Hawthorn)
03:48 PM Bug #21366 (Feedback): Error with Ruby 3.1
Which version of the compiler?
Anyway, 3.1 has reached the EOL already and no backport anymore.
nobu (Nobuyoshi Nakada)
03:09 PM Bug #21366 (Feedback): Error with Ruby 3.1
```
/usr/include/ruby-3.1.0/ruby/internal/anyargs.h:255:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’
2...
vv3 (Mariusz A)
02:08 PM Feature #21359: Introduce `Exception#cause=` for Post-Initialization Assignment
`msgpack` doesn't seem to handle recursive data structures:
```
irb(main):003> a=[]
=> []
irb(main):004> a<<a
=>...
Eregon (Benoit Daloze)
07:44 AM Bug #18455 (Closed): `IO#close` has poor performance and difficult to understand semantics.
After merging https://github.com/ruby/ruby/pull/12839, we see nice performance improvements and the semantics are wel... ioquatix (Samuel Williams)
07:31 AM Bug #21316: Namespaces leak with permanent names
@ko1 yeah, in Ruby you can have two classes with the same permanent name today. You know that, but let me show an exa... fxn (Xavier Noria)
07:15 AM Bug #21316: Namespaces leak with permanent names
FYI: Java's case
"OBJ09-J. Compare classes and not class names"
https://wiki.sei.cmu.edu/confluence/display/java/OB...
ko1 (Koichi Sasada)
06:07 AM Bug #21166 (Closed): Fiber Scheduler is unable to be interrupted by `IO#close`.
Merged in 73c9d6ccaa2045a011ed991dc29633bd0443971a ioquatix (Samuel Williams)
04:45 AM Bug #21167: Visual Studio 2022 17.13.x couldn't build ruby.exe
vs2022 17.14.0 has been released and resolved this. hsbt (Hiroshi SHIBATA)

05/22/2025

11:44 PM Feature #21359: Introduce `Exception#cause=` for Post-Initialization Assignment
> Serializing exceptions properly without Marshal is probably quite hard yes, not only about the cause but also the i... ioquatix (Samuel Williams)
08:00 PM Feature #21359: Introduce `Exception#cause=` for Post-Initialization Assignment
ioquatix (Samuel Williams) wrote in #note-2:
> Yes, in Async, I want to set the cause of an exception before raising...
Eregon (Benoit Daloze)
12:12 PM Feature #21359: Introduce `Exception#cause=` for Post-Initialization Assignment
Yes, in Async, I want to set the cause of an exception before raising it later on a fiber.
Additionally, serialisa...
ioquatix (Samuel Williams)
10:15 AM Feature #21359: Introduce `Exception#cause=` for Post-Initialization Assignment
Do you have real-world examples where you would use this, e.g. in gems? Eregon (Benoit Daloze)
08:39 AM Feature #21359 (Assigned): Introduce `Exception#cause=` for Post-Initialization Assignment
Ruby currently allows an exception’s `cause` to be explicitly set **only at the time of raising** using `raise ..., c... ioquatix (Samuel Williams)
11:28 PM Feature #21365 (Closed): Add `Namespace#eval`
I would like a way to eval code on to a `Namespace` object. Could we add an eval method that _doesn't_ take a binding... tenderlovemaking (Aaron Patterson)
11:23 PM Bug #21364 (Open): Constant lookup in namespaces should be consistent
This might be related to #21363, but I'm not sure.
I expect that a top level `Bar` constant should have the same v...
tenderlovemaking (Aaron Patterson)
11:17 PM Bug #21363 (Open): `Namespace.current` should always return the Namespace in which it was defined
I think `Namespace.current` should always return the namespace in which it was defined. Here is an example to demons... tenderlovemaking (Aaron Patterson)
08:53 PM Bug #21362: Namespace: Inline method caches poisoned with builtins
Yeah such builtin/core Ruby files clearly need to be loaded and executed in the root namespace from a performance POV... Eregon (Benoit Daloze)
08:34 PM Bug #21362 (Assigned): Namespace: Inline method caches poisoned with builtins
``` ruby
File.write("/tmp/ntest.rb", <<~'RUBY')
class Integer
def succ = self + 2
end
module Test
def sel...
jhawthorn (John Hawthorn)
07:53 PM Feature #21361: Set execution file and line
I'm not sure we want to encourage generating Ruby code (generated code in many cases is pretty bad IMO, e.g. huge met... Eregon (Benoit Daloze)
04:46 PM Feature #21361 (Open): Set execution file and line
I'd like to be able to set the execution file and execution line for the purpose of generated Ruby code. My specific ... kddnewton (Kevin Newton)
03:19 PM Bug #21340 (Closed): Bump autoconf version to properly handle C23 bool/stdbool defines
Thanks!
commit:2297afda7ff3926c51fea700dfbf0f0eb4fea1e5 should also work for the 3.3 branch since it also requires...
alanwu (Alan Wu)
10:16 AM Feature #21311: Namespace on read (revised)
First, I would like to thank mame for the explanation in regards to the namespace discussion, or rather the pre-discu... rubyFeedback (robert heiler)
10:00 AM Feature #21358: Advanced filtering support for #dig
You might be able to achieve similar behavior using pattern matching.
```ruby
item => batters: {batter: [*, {type...
nobu (Nobuyoshi Nakada)
09:39 AM Feature #21360 (Assigned): Inconsistent Support for `Exception#cause` in `Fiber#raise` and `Thread#raise`
The `raise` method supports setting the cause of an exception using the `cause:` keyword, but this behavior does not ... ioquatix (Samuel Williams)
07:00 AM Bug #21333: heap-use-after-free caused by rehash during update
If this gets backported, please also consider https://bugs.ruby-lang.org/issues/21357. This fix caused a different pr... Earlopain (Earlopain _)
06:57 AM Bug #21357: Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite
Thanks! Works nicely. Earlopain (Earlopain _)
03:26 AM Bug #21357 (Closed): Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite
Applied in changeset commit:git|056497319658cbefe22351c6ec5c9fa6e4df72bd.
----------
[Bug #21357] Fix crash in Hash#...
dodecadaniel (Daniel Colson)
02:33 AM Bug #21357: Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite
Possible fix https://github.com/ruby/ruby/pull/13404 (if tests pass 🤞🏻) dodecadaniel (Daniel Colson)
03:39 AM Bug #21337: Using `not` on the RHS of a logical operator becomes valid syntax with Prism
I prefer the behavior of Prism here. Intuitively, `true && not true` seems like it should be valid just like `true an... Dan0042 (Daniel DeLorme)
03:20 AM Feature #21353: Add shape_id to RBasic under 32 bit
jhawthorn (John Hawthorn) wrote in #note-2:
> it is hard for us to follow that path when shapes are so different unde...
Dan0042 (Daniel DeLorme)
12:03 AM Bug #21348: Should Tracepoint track retry as another "call" event?
Thanks for confirming that the behavior needs to be fixed @eregon. karthikc (Karthik Chandrasekariah)

05/21/2025

11:01 PM Feature #21358 (Feedback): Advanced filtering support for #dig
Currently, `#dig` can be used to access nested data structures using "simple" keys, such as array indices or hash key... lovro-bikic (Lovro Bikić)
07:02 PM Bug #21357: Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite
I reduced it down significantly:
```rb
require "yaml"
YML = <<~YML
foo:
- bar: abc
baz: def
...
Earlopain (Earlopain _)
12:51 PM Bug #21357 (Closed): Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite
I've encountered crahses on ruby-head in recent days, related to hash methods like `merge` and `merge!`. I can now re... Earlopain (Earlopain _)
03:53 PM Bug #21340: Bump autoconf version to properly handle C23 bool/stdbool defines
alanwu (Alan Wu) wrote in #note-5:
> @ntkme @christo if you have time, please try building with the latest master br...
christo (Chris Alberti)
08:55 AM Bug #21340: Bump autoconf version to properly handle C23 bool/stdbool defines
I've pushed commit:2297afda7ff3926c51fea700dfbf0f0eb4fea1e5 which I think should resolve build issues without touchin... alanwu (Alan Wu)
09:28 AM Bug #21356: Error when accessing local variable named "default" with Binding#local_variable_get
Good catch, you are correct. Thank you! https://github.com/ruby/ruby/pull/13396 mame (Yusuke Endoh)
08:31 AM Bug #21356 (Closed): Error when accessing local variable named "default" with Binding#local_variable_get
On Ruby master when using `Binding#local_variable_get` with the name `:default` it raises the following error:
```...
richardboehme (Richard Böhme)
08:02 AM Bug #21355 (Closed): `csv/test/csv/interface/test_read.rb` at test-bundled-gems is flaky recent days
I faced test failure of `make test-bundled-gems` in GitHub Actions. It caused by `csv` testing with `Ractor`.
http...
hsbt (Hiroshi SHIBATA)
06:12 AM Bug #21354 (Closed): Symbol#to_proc is not ractor safe
Applied in changeset commit:git|f6cbf499bc98b851034fffb49fcbb59d495f6f7b.
----------
Fix Symbol#to_proc (rb_sym_to_p...
Anonymous

05/20/2025

10:49 PM Feature #21353: Add shape_id to RBasic under 32 bit
@Dan0042 We've been finding a lot of cases where flags actually make sense as part of the shape rather than flags, li... jhawthorn (John Hawthorn)
08:11 PM Feature #21353: Add shape_id to RBasic under 32 bit
In general this sounds like a good idea, but I think it would be better to have a struct that works the same way for ... Dan0042 (Daniel DeLorme)
08:18 AM Feature #21353 (Closed): Add shape_id to RBasic under 32 bit
Currently on 64bit systems, for every types, the `shape_id` is stored inside the `RBasic.flags` field, and is 32bit
...
byroot (Jean Boussier)
01:46 PM Bug #21354: Symbol#to_proc is not ractor safe
PR here: https://github.com/ruby/ruby/pull/13380
We are looking at how to make the cache ractor safe but it will be ...
luke-gru (Luke Gruber)
01:37 PM Bug #21354 (Closed): Symbol#to_proc is not ractor safe
There is caching in `Symbol#to_proc` (`rb_sym_to_proc`) that makes the assumption that we're always in the main racto... luke-gru (Luke Gruber)
01:16 PM Misc #21350: Bundled gems lack online documentation
I also don't think the documentation for bundled gems necessarily has to be included in the Ruby core documentation, ... osyoyu (Daisuke Aritomo)
01:15 PM Bug #21341: `Namespace is not a module (TypeError)` without enabling the namespace
I want to let Matz determine how to handle this problem :D tagomoris (Satoshi Tagomori)
01:07 PM Bug #21341: `Namespace is not a module (TypeError)` without enabling the namespace
I guess I found a widely used real-world app that defines a toplevel `Namespace` class, and it seems very difficult f... matsuda (Akira Matsuda)
08:21 AM Bug #21341: `Namespace is not a module (TypeError)` without enabling the namespace
> But the incompatibility may not have been considered since toplevel Ruby used to warn in 3.4 for Ruby::VERSION and ... byroot (Jean Boussier)
06:41 AM Bug #21341: `Namespace is not a module (TypeError)` without enabling the namespace
It looks intentional to me:
> Namespace.new
(irb):1:in 'Namespace#initialize': Namespace is disabled. Set RUBY_NAM...
Earlopain (Earlopain _)
04:34 AM Feature #21287 (Closed): Remove SortedSet autoload and set/sorted_set
Applied in changeset commit:git|c52f4eea564058a8a9865ccc8b2aa6de0c04d156.
----------
Remove SortedSet autoload and s...
jeremyevans (Jeremy Evans)
 

Also available in: Atom