General

Profile

sanjioh (Fabio Sangiovanni)

  • Login: sanjioh
  • Registered on: 12/28/2020
  • Last sign in: 12/24/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

10/25/2025

03:31 PM Ruby Feature #15381: Let double splat call `to_h` implicitly
jeremyevans0 (Jeremy Evans) wrote in #note-11:
> […] Maybe in Ruby 4?
Bringing this up since it seems that this year’s Ruby version will be 4.0.
Is this change going to be considered for inclusion in the new release?
sanjioh (Fabio Sangiovanni)

04/25/2025

09:20 AM Ruby Bug #21282: `FrozenError` raised by `rb_error_frozen_object` should mention real class of frozen object
On a second thought, I've come to the conclusion that the benefits in clarity that a fix would provide are not worth the associated performance impact (i.e. the additional search for the real class required to format the error message).
...
sanjioh (Fabio Sangiovanni)

04/23/2025

03:01 PM Ruby Bug #21282: `FrozenError` raised by `rb_error_frozen_object` should mention real class of frozen object
PR https://github.com/ruby/ruby/pull/13161 sanjioh (Fabio Sangiovanni)
02:54 PM Ruby Bug #21282 (Closed): `FrozenError` raised by `rb_error_frozen_object` should mention real class of frozen object
Hello everyone,
I've noticed that the following snippets both raise `FrozenError`, but with different messages:
``` ruby
Object.new.freeze.instance_variable_set(:@test, true) # can't modify frozen Object: #<Object:0x000000010b4d8...
sanjioh (Fabio Sangiovanni)

01/30/2025

06:22 PM Ruby Bug #21099: TestGc#test_gc_stress_at_startup assertion failure
peterzhu2118 (Peter Zhu) wrote in #note-1:
> Thank you for this bug report. I have a fix here: https://github.com/ruby/ruby/pull/12667
Thanks for the fix!
sanjioh (Fabio Sangiovanni)

01/29/2025

04:00 PM Ruby Bug #21099 (Closed): TestGc#test_gc_stress_at_startup assertion failure
Hi all,
I'm running macOS 15.2, and on my machine the test `TestGc#test_gc_stress_at_startup` results in an assertion failure.
These are my current configure flags:
```
../configure \
--prefix="$SOURCEDIR/ruby_3.4.1" \
...
sanjioh (Fabio Sangiovanni)
03:17 PM Ruby Bug #21098 (Closed): rb_alias: confusing error messages when the original method cannot be found and ZSUPER methods are involved
Hi all,
I've noticed that the current implementation of `rb_alias` can raise `NameError` exceptions with confusing error messages when the original method cannot be found and ZSUPER methods are involved in the inheritance chain traver...
sanjioh (Fabio Sangiovanni)

10/21/2024

09:30 PM Ruby Feature #15381: Let double splat call `to_h` implicitly
Eregon (Benoit Daloze) wrote in #note-4:
> Should `**` call `to_h` rather than `to_hash`, similar to `*` calling `to_a` and not `to_ary`?
Hi, I’m learning Ruby and the fact that `**` calls `to_hash` rather than `to_h` surprised me; I wo...
sanjioh (Fabio Sangiovanni)

10/14/2024

05:00 PM Ruby Bug #20798: Missing spaces/punctuation in SyntaxError message.
kddnewton (Kevin Newton) wrote in #note-1:
> This is an issue with the syntax suggest gem. Could you open an issue here please? https://github.com/ruby/syntax_suggest/issues
Oh of course! Thanks for letting me know.
This can be clos...
sanjioh (Fabio Sangiovanni)
04:49 PM Ruby Bug #20798 (Closed): Missing spaces/punctuation in SyntaxError message.
Hi all,
with the following simple snippet of Ruby code:
``` ruby
def x.y.z
end
```
the interpreter raises a `SyntaxError`, whose message is made up of two sentences with no spaces or punctuation in between (see line no. 2 o...
sanjioh (Fabio Sangiovanni)

Also available in: Atom