General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 0 28 28
Reported issues 31 139 170

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

06/30/2026

10:18 PM Ruby Feature #22136: `sprintf` shouldn't raise ArgumentError when $DEBUG is set
I don't think so, the code very explicitly raises in debug mode:
```c
if (RTEST(ruby_debug)) rb_raise(rb_eArgError, "%s", mesg);
```
And that has been the case for at least 18 years: https://github.com/byroot/ruby/commit/549c345c...
byroot (Jean Boussier)
01:34 PM Ruby Feature #22136 (Open): `sprintf` shouldn't raise ArgumentError when $DEBUG is set
### Expected behavior
If I'm tracking down a problem and suspect an error might be swallowed somewhere, I do run my test case with `RUBYOPT="-d"` (or simply set `$DEBUG = true`.
I do expect the program to execute all in the same wa...
byroot (Jean Boussier)
03:05 PM Ruby Bug #21970 (Closed): Corrupted `ciobj->operands` in `compile.c: optimize_checktype`
I'm going to assume this was the same issue than [Bug #22104] byroot (Jean Boussier)
02:56 PM Ruby Misc #22107: DevMeeting-2026-07-09
* [Feature #22136] `sprintf` shouldn't raise ArgumentError when $DEBUG is set (byroot)
* It's the only method I know of with such behavior.
* I think it's counter productive, if I run some code with `$DEBUG = true` I expect its beh...
byroot (Jean Boussier)
01:53 PM Ruby Feature #22137 (Open): Change `Symbol#to_s` to return frozen strings
Since Ruby 3.4 ([Feature #20350]) `Symbol#to_s` returns a chilled string, meaning mutating it emits a deprecation warning.
I believe it's now time to act on this deprecation, I'd like to request that on Ruby 4.1, `Symbol#to_s` always ...
byroot (Jean Boussier)
01:04 PM Ruby Feature #22135: Remove obsolete `ObjectSpace#_id2ref`
👍 this is a lot of complex and error prone code to support a deprecated feature. Very little gems ever used `_id2ref` and nowadays it's always advantageously replaced by a WeakMap. byroot (Jean Boussier)
09:35 AM Ruby Bug #22104: Segfault in PRISM while Bootsnap compiles aws-sdk client_api.rb
It will mostly likely be in 4.0.6, which will most likely be released in July, but it can always happen that an urgent security release is needed and that 4.0.6 is released in advance without that specific fix. byroot (Jean Boussier)

06/29/2026

06:55 AM Ruby Feature #22130: Add a new YARV instruction for a `String.new` fast path
> How about to introduce String.new_buffer(capacity)
That was the original proposal back in [Feature #12024], but `String.new(**)` was considered more composable.
Personally, I must say that if we can make the existing API faster,...
byroot (Jean Boussier)

06/27/2026

06:40 AM Ruby Feature #22130: Add a new YARV instruction for a `String.new` fast path
I support this. When working with low-level code that need to buffer IOs for parsing, it's very useful to be in control of the buffer size.
However what I found is that the overhead of argument handling when calling `String.new(capaci...
byroot (Jean Boussier)
06:36 AM Ruby Misc #22107: DevMeeting-2026-07-09
* [Feature #22085] `String#to_f` and `Kernel#Float` shouldn't issue out of range warnings
* Here is another example of the warning needing to be worked around: https://github.com/ruby/json/pull/1044
byroot (Jean Boussier)

Also available in: Atom