Project

General

Profile

Activity

From 03/15/2025 to 03/21/2025

03/21/2025

07:25 PM Revision 595040ba (git): FCALL shouldn't be forwarded from caller
When we forward an FCALL (a method call with an implicit self), we
shouldn't forward the FCALL flag because it ignore...
tenderlovemaking (Aaron Patterson)
07:11 PM Bug #21196: Ruby 3.4 ignores visibility when passing arguments using `...`
I've sent [a PR with a fix](https://github.com/ruby/ruby/pull/12960), but I can't seem to merge it right now. I will... tenderlovemaking (Aaron Patterson)
02:47 PM Bug #21196 (Closed): Ruby 3.4 ignores visibility when passing arguments using `...`
If method is passing arguments using `...`, then receiver visibility gets ignored if once called without receiver:
...
toy (Ivan Kuchin)
07:06 PM Bug #21195: Crash when using IO#timeout
Thanks @mame I will review it today. ioquatix (Samuel Williams)
04:41 PM Bug #21195 (Assigned): Crash when using IO#timeout
Ah, the code was written by @ioquatix. @ioquatix Could you review the patch? mame (Yusuke Endoh)
04:39 PM Bug #21195: Crash when using IO#timeout
Thank you, I could reproduce the issue.
```
$ ./miniruby -e '$stdin.read_nonblock(1, exception: false); trap(:HUP...
mame (Yusuke Endoh)
02:12 PM Bug #21195 (Closed): Crash when using IO#timeout
We have adopted the [IO#timeout](https://bugs.ruby-lang.org/issues/18630) feature in Dalli ([ref](https://github.com/... nickamorim (Nick Amorim)
02:18 PM Revision 93ac342a (git): [ruby/prism] Add node_id to Java serialization
https://github.com/ruby/prism/commit/93e768bd18 kddnewton (Kevin Newton)
11:18 AM Revision 9b5165b1 (git): [ruby/prism] Don't use `RUBY_VERSION.to_f`
There will be a bunch of other problems should 3.10 ever exists, but I guess why not fix this one now.
https://githu...
Earlopain (Earlopain _)
08:54 AM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
It was understandable that you wanted `class C < D` to behave the same as `C = Class.new(D)` for the sake of consiste... mame (Yusuke Endoh)
08:28 AM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
> I think the current state is the best: set the state internally (both superclass and constant) so when both hooks a... fxn (Xavier Noria)
08:24 AM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
To clarify, when I said that I agree with @mame I am personally not qualifying the current approach. Just saying the ... fxn (Xavier Noria)
08:11 AM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
Agree with @mame.
And, looking at that code from Shopify that showed up in nothing, I can imagine some other applica...
fxn (Xavier Noria)
08:10 AM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
mame (Yusuke Endoh) wrote in #note-8:
> I think this handling is dirty
I think it's fine and not dirty, based on ...
Eregon (Benoit Daloze)
05:28 AM Bug #21193 (Assigned): Inherited callback returns `nil` for `Object.const_source_location`
Hmmm, I think this handling is dirty. @matz said in #21143
> But I don't want to break any existing code. I'd like...
mame (Yusuke Endoh)
06:17 AM Revision d868922e (git): Fix regexp when non-ruby thread received the signal
A space is added only when the source path is found. nobu (Nobuyoshi Nakada)
05:06 AM Feature #21194 (Open): How to manage application-level information in Ruby application
## Goal
I want to manage application-level information (e.g., application configuration) while making it easily ac...
mame (Yusuke Endoh)
04:46 AM Bug #18878: parse.y: Foo::Bar {} is inconsistently rejected
Now `Foo::Bar {}` parses in parse.y too, but `Foo::Bar {} + 1` still doesn't parse unlike in Prism. qnighy (Masaki Hara)
02:05 AM Revision edabdd95 (git): Run cleanup code in `ensure`
nobu (Nobuyoshi Nakada)
01:36 AM Revision 99503ab9 (git): Escape `Binding` reference in pattern matching docs
joshuay03 (Joshua Young)
01:30 AM Revision 80ab4246 (git): [DOC] beginless and endless ranges inspect returns "nil..nil" always
Small correction to the Range docs. All beginless (nil..) and endless (..nil) ranges, as well as fully open ranges (n... flavio-b

03/20/2025

09:24 PM Revision 65bc0ec6 (git): [ruby/prism] Fix fork check in ractor_test.rb
https://github.com/ruby/prism/commit/0073266cad Eregon (Benoit Daloze)
09:23 PM Revision e47078fb (git): [ruby/prism] Update ractor_test.rb per review
https://github.com/ruby/prism/commit/fd96a6821f kddnewton (Kevin Newton)
09:20 PM Revision ab8b199b (git): [ruby/prism] Add `Prism::Translation::ParserCurrent`
It's not my favorite api but for users that currently use the same thing
from `parser`, moving over is more difficult...
Earlopain (Earlopain _)
09:01 PM Bug #20934: `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
This should be fixed by bfe6068417ca41a6b88a1ba5fcde04f9a76718a7. I have some quick benchmark results in https://gith... jhawthorn (John Hawthorn)
08:09 PM Bug #20934 (Closed): `UnboundMethod#bind_call` may cause "double free or corruption" with Ractor
Applied in changeset commit:git|bfe6068417ca41a6b88a1ba5fcde04f9a76718a7.
----------
Use atomic for method reference...
jhawthorn (John Hawthorn)
08:09 PM Revision bfe60684 (git): Use atomic for method reference count [Bug #20934]
This changes reference_count on rb_method_definition_struct into an
atomic.
Ractors can create additional references...
jhawthorn (John Hawthorn)
06:49 PM Revision 62cc3464 (git): Remove leading `nop` from block when we don't need it
Blocks insert a leading `nop` instruction in order to execute a "block
call" tracepoint. Block compilation unconditio...
tenderlovemaking (Aaron Patterson)
05:29 PM Bug #21193 (Closed): Inherited callback returns `nil` for `Object.const_source_location`
Applied in changeset commit:git|de097fbe5f3df105bd2a26e72db06b0f5139bc1a.
----------
Trigger `inherited` and `const_...
byroot (Jean Boussier)
04:39 PM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
That's what your PR does, I reviewed it, LGTM. Eregon (Benoit Daloze)
04:36 PM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
Probably worth trying:
1. set the superclass, without calling `inherited`
2. set the constant (which also names the...
Eregon (Benoit Daloze)
04:34 PM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
I tried to manage both considerations in https://github.com/ruby/ruby/pull/12956. byroot (Jean Boussier)
04:21 PM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
Eileen, I proposed to document the previous ordering ([ruby#12759](https://github.com/ruby/ruby/pull/12759)), but the... fxn (Xavier Noria)
03:31 PM Bug #21193 (Closed): Inherited callback returns `nil` for `Object.const_source_location`
Since https://github.com/ruby/ruby/pull/12927 the inherited callback no longer can access the `Object.const_source_lo... eileencodes (Eileen Uchitelle)
05:28 PM Revision f07af59a (git): [ruby/prism] Dynamically register events to dispatch
Instead of requiring the consumer to provide a list of all events which
they wish to handle, we can give them to opti...
sambostock (Sam Bostock)
05:18 PM Revision de097fbe (git): Trigger `inherited` and `const_set` callbacks after const has been defined
[Misc #21143]
[Bug #21193]
The previous change caused a backward compatibility issue with code
that called `Object.c...
byroot (Jean Boussier)
04:41 PM Revision 5b3970f6 (git): [Bug #21094] Update nested module names when setting temporary name
[Backport #21094] nobu (Nobuyoshi Nakada)
04:38 PM Revision 8b491169 (git): [Bug #21186] multibyte char literal should be a single letter word
[Backport #21186] nobu (Nobuyoshi Nakada)
11:59 AM Revision a51364f5 (git): Close reader pipes
nobu (Nobuyoshi Nakada)
08:32 AM Bug #21026 (Closed): `def __FILE__.a; end` should be a syntax error
Applied in changeset commit:git|820c541671d9485144d81138bb029f2da8379edd.
----------
[Bug #21026] no singleton metho...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 820c5416 (git): [Bug #21026] no singleton method on pseudo variable literal
nobu (Nobuyoshi Nakada)
06:44 AM Bug #21176 (Closed): Regression in case-insensitive matching for single-byte encodings
ima1zumi (Mari Imaizumi)

03/19/2025

09:11 PM Revision 641f15b1 (git): [ruby/prism] Mark Prism as ractor-safe
https://github.com/ruby/prism/commit/c02429765b kddnewton (Kevin Newton)
09:03 PM Revision 050ffab8 (git): [ruby/prism] Polyfill Kernel#warn category parameter
https://github.com/ruby/prism/commit/d85c72a1b9 kddnewton (Kevin Newton)
09:03 PM Revision b5e9a2da (git): [ruby/prism] Remove `category` keyword from `warn` call
`category` is only supported from Ruby 3.0 onwards and prism can still run with Ruyb 2.7
https://github.com/ruby/pri...
Earlopain (Earlopain _)
09:03 PM Revision e5e16047 (git): [ruby/prism] Warn when the parser translator receives an incompatible builder class
In https://github.com/ruby/prism/pull/3494 I added a bit of code
so that using the new builder doesn't break stuff.
T...
Earlopain (Earlopain _)
07:39 PM Bug #19841: Marshal.dump stack overflow with recursive Time
Backported to 3.4 in ae2fcdc0f705e767045c2bd5253e8eae733d2edb tenderlovemaking (Aaron Patterson)
07:38 PM Bug #21163: Inconsistencies in Kernel.Float compared to other number parsing methods
Backported in e15a9044d7a9ee5435e7a6d19ef9ac46b50bb880 tenderlovemaking (Aaron Patterson)
07:38 PM Bug #21170: Corrupted Hash (bad VALUE and missing entry) when -1 returned from .hash
Backported in 698741d73a0e6c998fb47297ce7b129366b4835b tenderlovemaking (Aaron Patterson)
07:37 PM Bug #21173: RUBY_FREE_AT_EXIT does not work when error in -r
Backported in 762e76cc50db059e71d1f6c13674103a488f5171 tenderlovemaking (Aaron Patterson)
07:36 PM Bug #21179: Introduction Happy Eyeballs Version 2 broke `Socket.tcp` from secondary Ractors
Backported in 0e416faf450159a989fba87b41f3e3874a4af129 tenderlovemaking (Aaron Patterson)
07:20 PM Bug #21141: `Time#utc?` does not work with a timezone object
Should we backport this minor doc change? maximecb (Maxime Chevalier-Boisvert)
04:12 PM Bug #21192 (Closed): Coverage no longer reports coverage information about tracepoint handlers
Don't mind, I understand it as a problem. Others have pointed this problem out to me. We need to convince @ko1.
Cl...
mame (Yusuke Endoh)
04:00 PM Bug #21192: Coverage no longer reports coverage information about tracepoint handlers
Oh my, I had forgotten about it, sorry for the noise! deivid (David Rodríguez)
03:54 PM Bug #21192: Coverage no longer reports coverage information about tracepoint handlers
This is a duplicate of #16776 that you created, isn't it? :-) mame (Yusuke Endoh)
03:47 PM Bug #21192 (Closed): Coverage no longer reports coverage information about tracepoint handlers
I minimized the issue like this:
### repro.rb
```ruby
require "coverage"
Coverage.start
require_relative...
deivid (David Rodríguez)
08:01 AM Revision 4e11ea42 (git): Update default gems list at 265dcd1733ede8f3e4cb13322392d6 [ci skip]
git[bot]
08:00 AM Revision 265dcd17 (git): [ruby/optparse] bump up to 0.7.0.dev.2
https://github.com/ruby/optparse/commit/8c2c7a4903 nobu (Nobuyoshi Nakada)
06:19 AM Revision 00c84f4d (git): A comment for TestRubyOptions::ExpectedStderrList [ci skip]
nobu (Nobuyoshi Nakada)
06:08 AM Revision 6c7f721f (git): Source path may or may not exist
nobu (Nobuyoshi Nakada)
05:57 AM Revision 3eb802fb (git): Loosen SEGV message testing
Since `rb_bug` does not always take Ruby frame info during SEGV, the
source file path may not be output.
```
1) Fa...
mame (Yusuke Endoh)

03/18/2025

09:04 PM Bug #21029 (Closed): Prism behavior for `defined? (;x)` differs
Applied in changeset commit:git|adaaa7878ebee62888bf3547d14c1db4938da88a.
----------
Handle void expressions in defi...
kddnewton (Kevin Newton)
06:55 PM Bug #21029: Prism behavior for `defined? (;x)` differs
I have updated Prism with https://github.com/ruby/ruby/commit/adaaa7878ebee62888bf3547d14c1db4938da88a, but the added... kddnewton (Kevin Newton)
09:04 PM Bug #21083 (Closed): current SystemCallError.new(-1) behavior on windows is not in accordance with the intent of the source code.
Applied in changeset commit:git|0f6c647b1a1e313e3cb4fe79d4b63ffa2b7a6a6e.
----------
avoid platform dependent messag...
YO4 (Yoshinao Muramatsu)
09:04 PM Bug #21094 (Closed): Module#set_temporary_name does not affect a name of a nested module
Applied in changeset commit:git|f69ad0e810e1fdc18dc12f77bbecfa49999ef3bf.
----------
[Bug #21094] Update nested modu...
nobu (Nobuyoshi Nakada)
07:07 PM Revision e391c337 (git): Update default gems list at 6e9568d202389dc5f820b024315cf8 [ci skip]
git[bot]
07:06 PM Revision 6e9568d2 (git): [ruby/prism] Bump to v1.4.0
https://github.com/ruby/prism/commit/71d31db496 kddnewton (Kevin Newton)
06:44 PM Revision adaaa787 (git): Handle void expressions in defined?
[Bug #21029] kddnewton (Kevin Newton)
05:36 PM Revision b003d401 (git): Fix up merge conflicts for prism sync
kddnewton (Kevin Newton)
05:36 PM Revision 33aaa069 (git): [ruby/prism] Update truffleruby version
https://github.com/ruby/prism/commit/2afe89f8ce kddnewton (Kevin Newton)
05:36 PM Revision 90d38ddb (git): [ruby/prism] Fix merge mishap
Caused by https://github.com/ruby/prism/pull/3478 and https://github.com/ruby/prism/pull/3443
I also made the builde...
Earlopain (Earlopain _)
05:36 PM Revision dc48c1ac (git): [ruby/prism] Add a multiple statements flag to parentheses
This can get triggered even if the list of statements only contains
a single statement. This is necessary to properly...
kddnewton (Kevin Newton)
05:36 PM Revision e3c84646 (git): [ruby/prism] Only unnest parser mlhs nodes when no rest argument is provided
```
(a,), = []
PARSER====================
s(:masgn,
s(:mlhs,
s(:mlhs,
s(:lvasgn, :a))),
s(:array))
PRI...
Earlopain (Earlopain _)
05:36 PM Revision 94e12ffa (git): [ruby/prism] Fix parser translator multiline interpolated symbols
In https://github.com/ruby/prism/commit/26370079291a420c6b2b7be5cdbd5c609da62f21 I added tests but didn't modify them... Earlopain (Earlopain _)
05:36 PM Revision a8adf5e0 (git): [ruby/prism] Further refine string handling in the parser translator
Mostly around newlines and line continuation.
* percent arrays need special backslash handling in the ast
* Fix offse...
Earlopain (Earlopain _)
05:36 PM Revision fc14d3ac (git): [ruby/prism] Allow to test a custom fixtures path during testing
Of course, these won't really be fixtures, but it allows to test against whole codebases
without copying them, doing ...
Earlopain (Earlopain _)
05:36 PM Revision 0b4604d5 (git): [ruby/prism] Use Set.new over to_set
https://github.com/ruby/prism/commit/422d5c4c64 kddnewton (Kevin Newton)
05:36 PM Revision ad478de3 (git): [ruby/prism] Optimize array inclusion checks in the parser translator
I see `Array.include?` as 2.4% runtime. Probably because of `LPAREN_CONVERSION_TOKEN_TYPES` but
the others will be fa...
Earlopain (Earlopain _)
05:36 PM Revision d5503444 (git): [ruby/prism] Fix parser translator crash for certain octal escapes
`Integer#chr` performs some validation that we don't want/need. Octal escapes can go above 255, where it will then ra... Earlopain (Earlopain _)
05:36 PM Revision 1944247a (git): [ruby/prism] Handle control and meta escapes in parser translation
https://github.com/ruby/prism/commit/09c59a3aa5 kddnewton (Kevin Newton)
05:36 PM Revision fd7a10cf (git): [ruby/prism] Further refine string handling in the parser translator
Mostly around newlines and line continuation.
* percent arrays need special backslash handling in the ast
* Fix offse...
Earlopain (Earlopain _)
05:36 PM Revision 5d138f2b (git): [ruby/prism] Better handle regexp in the parser translator
Turns out, it was already almost correct. If you disregard \c and \M style escapes, only a single character is allowe... Earlopain (Earlopain _)
05:36 PM Revision 177adf6f (git): [ruby/prism] Fix parser translator tokens for %-arrays with whitespace escapes
Also fixes a token incompatibility for the word separator. parser only considers whitespace until the first newline
...
Earlopain (Earlopain _)
05:36 PM Revision ac728389 (git): [ruby/prism] Fix parser translator edge-case when multiline string ends with \n
When the line contains no real newline but contains unescaped ones, then there will be one less entry
https://github...
Earlopain (Earlopain _)
05:36 PM Revision 0fcb7fc2 (git): [ruby/prism] Better handle all kinds of multiline strings in the parser translator
This is a followup to #3373, where the implementation
was extracted
https://github.com/ruby/prism/commit/2637007929
Earlopain (Earlopain _)
05:36 PM Revision acf404e2 (git): [ruby/prism] Fix an incompatibility with the parser translator
The offset cache contains an entry for each byte so it can't be accessed via the string length.
Adds tests for all v...
Earlopain (Earlopain _)
05:36 PM Revision f49a0114 (git): [ruby/prism] Fix parser translator rescue location with semicolon body
There are a few other locations that should be included in that check.
I think the end location must always be presen...
Earlopain (Earlopain _)
05:36 PM Revision 12541d2c (git): [ruby/prism] Track then keyword on rescue nodes
https://github.com/ruby/prism/commit/bde8ccc038 kddnewton (Kevin Newton)
05:36 PM Revision a6795975 (git): [ruby/prism] Fix parser translator crash for certain octal escapes
`Integer#chr` performs some validation that we don't want/need. Octal escapes can go above 255, where it will then ra... Earlopain (Earlopain _)
05:36 PM Revision bc506295 (git): [ruby/prism] Further refine string handling in the parser translator
Mostly around newlines and line continuation.
* percent arrays need special backslash handling in the ast
* Fix offse...
Earlopain (Earlopain _)
05:36 PM Revision 9e5e3f1b (git): [ruby/prism] Add a custom builder class for the parser translator
I want to add new node types to the parser translator, for example `itblock`. The bulk of the work is already done by... Earlopain (Earlopain _)
05:36 PM Revision fcd6e536 (git): Remove incorrectly committed snapshots
kddnewton (Kevin Newton)
05:36 PM Revision 705bd6fa (git): [ruby/prism] Fix parser translator when unescaping invalid utf8
1. The string starts out as binary
2. `ち` is appended, forcing it back into utf-8
3. Some invalid byte sequences are ...
Earlopain (Earlopain _)
04:28 PM Revision 9c71b590 (git): fix rb_w32_strerror when errno < 0
change SystemCallError.new(-1) message on Windows
(Bug #21083)
https://bugs.ruby-lang.org/issues/21083
YO4 (Yoshinao Muramatsu)
04:28 PM Revision c717dbdc (git): avoid platform dependent message
YO4 (Yoshinao Muramatsu)
04:28 PM Revision f220866c (git): Explicitly place a regular expression
Co-authored-by: Nobuyoshi Nakada <[email protected]> YO4 (Yoshinao Muramatsu)
04:28 PM Revision 0f6c647b (git): avoid platform dependent message
(Bug #21083)
https://bugs.ruby-lang.org/issues/21083
YO4 (Yoshinao Muramatsu)
04:00 PM Revision 3d6fc291 (git): [ruby/prism] Make xstrings concat syntax error
https://github.com/ruby/prism/commit/f734350499 kddnewton (Kevin Newton)
03:34 PM Bug #21191 (Feedback): Ruby 3.4.2 crashes unexpectedly
Running my Rails app in development mode with Ruby 3.4.2 crashes with:
Thread 15 Crashed:: puma srv tp 003
0 li...
datanoise (Kent Sibilev)
02:47 PM Revision f69ad0e8 (git): [Bug #21094] Update nested module names when setting temporary name
nobu (Nobuyoshi Nakada)
01:06 PM Feature #15854: Tracing instance variable assignment
I think tracing ivar assignments would be prohibitively slow, and so probably not really usable in practice. Eregon (Benoit Daloze)
12:18 PM Feature #19908 (Closed): Update to Unicode 15.1
Applied in changeset commit:git|e63c516046b6dbf2f684454b68013b4eea12e94a.
----------
[Feature #19908] Update Unicode...
ima1zumi (Mari Imaizumi)
01:35 AM Feature #19908: Update to Unicode 15.1
Thanks, I've finished to prepare your account now. hsbt (Hiroshi SHIBATA)
12:18 PM Revision 6670926a (git): Do not break within certain combinations with Indic_Conjunct_Break (InCB)=Linker.
https://www.unicode.org/reports/tr29/tr29-43.html#GB9c ima1zumi (Mari Imaizumi)
12:18 PM Revision e63c5160 (git): [Feature #19908] Update Unicode headers to 15.1.0
ima1zumi (Mari Imaizumi)
12:18 PM Revision 4f82a6f3 (git): Support for Indic_Conjunct_Break in Unicode 15.1
ima1zumi (Mari Imaizumi)
12:04 PM Revision 75844889 (git): Fix case folding in single byte encoding
ima1zumi (Mari Imaizumi)
10:51 AM Misc #21154: Document or change Module#autoload?
Hi @mame.
After thinking about this, I have an important use case that I'd like to share, because it conflicts wit...
fxn (Xavier Noria)
08:55 AM Revision c7f31c88 (git): [Feature #20702] Tests for Array#fetch_values
nobu (Nobuyoshi Nakada)
08:40 AM Feature #21190: Proposal for the Deconstruct Method in the MatchData Class
`Match#destruct` and `Match#destruct_keys` have been defined since ruby 3.2.
`Match#destruct` is an alias of `Match#...
nobu (Nobuyoshi Nakada)
07:42 AM Feature #21190 (Closed): Proposal for the Deconstruct Method in the MatchData Class
nobu (Nobuyoshi Nakada)
05:32 AM Feature #21190: Proposal for the Deconstruct Method in the MatchData Class
You can implement this more easily using named captures:
```ruby
/(?<country_code>\d{2})(?<area_code>\d{2})(?<num...
jeremyevans0 (Jeremy Evans)
05:21 AM Feature #21190 (Closed): Proposal for the Deconstruct Method in the MatchData Class
## Context:
The MatchData class currently lacks the deconstruct method, which is necessary for extracting values f...
aristotelesbr (Aristóteles Costa)
07:42 AM Feature #18821 (Closed): Expose Pattern Matching interfaces in core classes
nobu (Nobuyoshi Nakada)
07:28 AM Revision 76aaf8dd (git): [ruby/date] Add license files (COPYING, BSDL) to gem files
https://github.com/ruby/date/commit/a3d85e0be5 Susan van den Broek
07:22 AM Revision bb7f1619 (git): Suppress sign-conversion warning [ci skip]
nobu (Nobuyoshi Nakada)
07:22 AM Revision c9d43394 (git): Adjust style [ci skip]
nobu (Nobuyoshi Nakada)
06:08 AM Misc #21189 (Assigned): Canonical Git server hardening
hsbt (Hiroshi SHIBATA)
03:49 AM Misc #21189: Canonical Git server hardening
If you can't submit pull-request to https://github.com/ruby/git.ruby-lang.org/. Please use `[email protected]` ... hsbt (Hiroshi SHIBATA)
03:07 AM Misc #21189 (Closed): Canonical Git server hardening
I'm working hardening git.ruby-lang.org and ruby organization of GitHub in recent days. Our write grant policy is:
...
hsbt (Hiroshi SHIBATA)
01:28 AM Bug #21188 (Assigned): PRISM does not end reading from tty with ^D twice
When reading from tty, `^D` ends the text without the newline.
```console
$ cat
a
```
Typing `^D` here, only...
nobu (Nobuyoshi Nakada)
12:42 AM Revision 9b49ba5a (git): [rubygems/rubygems] Speed up Version#<=> ~20-50% when lengths differ
Previously, the comparison code would loop through segments up to the
longest of the two versions being compared. How...
Hartley McGuire

03/17/2025

09:10 PM Bug #21187 (Assigned): Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
When the first elements of a literal hash are strings that are concatenated with `\`, those elements are flagged with... LocoDelAssembly (Hernán Pereira)
08:12 PM Revision 2dc50149 (git): [DOC] Fix indentation for documentation of Hash#compact
peterzhu2118 (Peter Zhu)
07:41 PM Feature #15854: Tracing instance variable assignment
How about this naming convention:
- `ivar_set`
- `cvar_set`
- `gvar_set`
`ivar`, `cvar`, and `gvar` all match...
st0012 (Stan Lo)
05:19 PM Bug #21186 (Closed): Inconsistent parsing of ?あand 0
Applied in changeset commit:git|1acfb29015dbc38fd345d8786aa78aad59f7dcd1.
----------
[Bug #21186] multibyte char lit...
nobu (Nobuyoshi Nakada)
05:19 PM Revision 52f65634 (git): Allow arguments to be passed through Binding#irb (#12796)
* Allow arguments to be passed through Binding#irb
Modified Binding#irb to forward any arguments to the underlying i...
qwyng (Hiroaki Osawa)
02:55 PM Bug #21185 (Closed): Range#overlap? is not commutative with doubly-unbounded range argument.
Applied in changeset commit:git|b5cdbadeeddd2b8e834b9d5565c13fcc43f3e684.
----------
[Bug #21185] Fix Range#overlap?...
Anonymous
02:55 PM Revision 1acfb290 (git): [Bug #21186] multibyte char literal should be a single letter word
nobu (Nobuyoshi Nakada)
02:42 PM Revision c85dffee (git): Avoid pinning `storage_head` in `iseq_mark_and_move` (#12880)
* Avoid pinning `storage_head` in `iseq_mark_and_move`
This refactor changes the behavior of `iseq_mark_and_move` to...
Eileen M. Uchitelle
02:42 PM Revision 8d6f153f (git): Manage skipping instance variable IDs in one place
nobu (Nobuyoshi Nakada)
02:42 PM Revision 4c072c81 (git): Fix `assert_warning` for `Proc`
`Proc` does not have `encoding` method.
Also, make `assert_raise_with_message` accept a `Proc` as the expected
patte...
nobu (Nobuyoshi Nakada)
10:18 AM Revision 8f19f0aa (git): [ruby/optparse] Fix completion of key-value pairs array
Enum array may be the list of pairs of key and value. Check if only
key is completable, not pair.
Fix https://githu...
nobu (Nobuyoshi Nakada)
07:26 AM Revision b5cdbade (git): [Bug #21185] Fix Range#overlap? with infinite range
Infinite ranges, i.e. unbounded ranges, should overlap with any other range
which wasn't the case in the following ex...
Jérôme Parent-Lévesque
07:01 AM Feature #19908: Update to Unicode 15.1
@hsbt
I've sent an email to cvs-admin and opened https://github.com/ruby/git.ruby-lang.org/pull/91
ima1zumi (Mari Imaizumi)
04:00 AM Feature #19908: Update to Unicode 15.1
@ima1zumi Can you provide the required information to me? See https://github.com/ruby/ruby/wiki/Committer-How-To#how-... hsbt (Hiroshi SHIBATA)
02:53 AM Feature #19908: Update to Unicode 15.1
#note-16 Approved.
Matz.
matz (Yukihiro Matsumoto)

03/16/2025

08:00 PM Revision 3e04f7b6 (git): Only mark `cc->cme_` on valid imemo_callcache
We observed T_NONE on `cc->cme_` on a --repeat-count=50 run a compaction
test on CI:
http://ci.rvm.jp/results/trunk-r...
alanwu (Alan Wu)
03:35 PM Revision 70a9e5f6 (git): [DOC] Doc for Hash#transform_keys
burdettelamar (Burdette Lamar)
12:22 PM Bug #21131: IO.copy_stream: yielded string changes value when duped
ruby_3_3 commit:f85e5e01bafeca387e833b9d79cab43a8b22aa3d merged revision(s) commit:f423f6e10c0c226dfed98e7cb7a5d48919... nagachika (Tomoyuki Chikanaga)
11:35 AM Revision f85e5e01 (git): merge revision(s) f423f6e10c0c226dfed98e7cb7a5d489191dfa35: [Backport #21131]
Ensure IO.copy_stream buffer is an independent string
Otherwise, changes to the buffer by the destination wr...
nagachika (Tomoyuki Chikanaga)
11:19 AM Bug #21172: Race condition in `register_fstring`
https://github.com/ruby/ruby/pull/12873 byroot (Jean Boussier)
09:06 AM Bug #21172: Race condition in `register_fstring`
ruby_3_3 commit:726bff43b462d2a1b0bc93299cf031202f7fe7a1 merged revision(s) commit:c224ca4feaff20cab03d76439bcbfb35d4... nagachika (Tomoyuki Chikanaga)
11:09 AM Bug #21180: SEGV while marking `imemo_env->iseq`
ruby_3_3 commit:2b2ab1a67c236eb0c47e63e8adcf877b0d20a38c merged revision(s) commit:08b3a45bc97c835b4677bf76dbce68fd51... nagachika (Tomoyuki Chikanaga)
09:52 AM Revision 2b2ab1a6 (git): merge revision(s) 08b3a45bc97c835b4677bf76dbce68fd51d81897: [Backport #21180]
Push a real iseq in rb_vm_push_frame_fname()
Previously, vm_make_env_each() (used during proc
creati...
nagachika (Tomoyuki Chikanaga)
09:49 AM Bug #21144: Win32: Use Windows time zone ID as the time zone name if TZ is not set
ruby_3_3 commit:d213eb7f453fa0bd6c476826c450d9726c3c8b15 merged revision(s) commit:3f07bc76ff6a11232d9f18e5eaa31835c1... nagachika (Tomoyuki Chikanaga)
09:46 AM Revision d213eb7f (git): merge revision(s) 3f07bc76ff6a11232d9f18e5eaa31835c195e8f0, 34098b669c0cbc024cd08e686891f1dfe0a10aaf: [Backport #21144]
[Bug #21144] Win32: Use Windows time zone ID if TZ is not set
If the TZ environment variable is not set, the...
nagachika (Tomoyuki Chikanaga)
09:02 AM Revision 726bff43 (git): merge revision(s) c224ca4feaff20cab03d76439bcbfb35d4e2f6b1: [Backport #21172]
Fix a race condition with interned strings sweeping.
[Bug #21172]
This fixes a rare CI failure.
...
nagachika (Tomoyuki Chikanaga)
08:33 AM Revision 47d75b65 (git): Make wrapper of `main` for wasm more generic
nobu (Nobuyoshi Nakada)
08:33 AM Revision 453f88f7 (git): Make ASAN default option string built-in libruby
The content depends on ruby internal, not responsibility of the
caller. Revive `RUBY_GLOBAL_SETUP` macro to define t...
nobu (Nobuyoshi Nakada)
07:20 AM Bug #21186: Inconsistent parsing of ?あand 0
Added comparison with escaped chars qnighy (Masaki Hara)
05:13 AM Bug #21186 (Closed): Inconsistent parsing of ?あand 0
`?あand 0` has inconsistent behavior between Prism and parse.y.
```console
% ./miniruby --parser=parse.y -e "?aand...
qnighy (Masaki Hara)
07:10 AM Bug #21092: error building ruby 3.4.1 on cygwin/msys2
ruby_3_3 commit:da86a9959b4c5bbdefb6fd1000a0251a151ffbc1 merged revision(s) commit:2b6fc9ea7212543a1be26768403f59c7a7... nagachika (Tomoyuki Chikanaga)
07:10 AM Bug #21159: `Module#set_temporary_name` should freeze given name
ruby_3_3 commit:1d3c19871d7a0d05a0f0a80e78cfad843b7ef324 merged revision(s) commit:931ac960b6d11937364b6c4e847fdd575e... nagachika (Tomoyuki Chikanaga)
06:39 AM Revision 1d3c1987 (git): merge revision(s) 931ac960b6d11937364b6c4e847fdd575ee67980: [Backport #21159]
[Bug #21159] module names should not be modifiable nagachika (Tomoyuki Chikanaga)
06:25 AM Revision da86a995 (git): merge revision(s) 2b6fc9ea7212543a1be26768403f59c7a759b5ea: [Backport #21092]
[Bug #21092] Fallback variables after execonf has done
When reading from a dummy makefile, the global variab...
nagachika (Tomoyuki Chikanaga)
04:28 AM Bug #20906: Segmentation Fault in compile_keyword_arg
committed at commit:ac3f355fb33f4ce41df864f2084028610b7b38d1. nagachika (Tomoyuki Chikanaga)
03:47 AM Bug #20906: Segmentation Fault in compile_keyword_arg
In general I think the syntax should not be changed in stable branches.
But segmentation fault should be avoided as ...
nagachika (Tomoyuki Chikanaga)
04:10 AM Revision ac3f355f (git): Silently ignore keyword args for attr-asign method to cease segmentation fault.
nagachika (Tomoyuki Chikanaga)
03:27 AM Revision f23146f0 (git): Fix enums in comparisons
nobu (Nobuyoshi Nakada)
03:25 AM Bug #21141 (Closed): `Time#utc?` does not work with a timezone object
Applied in changeset commit:git|06919949a60b42a8f30e8bd0cb075e17b05eebcd.
----------
[Bug #21141] [DOC] Clarify what...
nobu (Nobuyoshi Nakada)
03:09 AM Revision 06919949 (git): [Bug #21141] [DOC] Clarify what time is in UTC
nobu (Nobuyoshi Nakada)

03/15/2025

07:21 PM Bug #21185: Range#overlap? is not commutative with doubly-unbounded range argument.
https://github.com/ruby/ruby/pull/12937 jeromepl (Jerome Parent-Levesque)
07:01 PM Bug #21185 (Closed): Range#overlap? is not commutative with doubly-unbounded range argument.
In https://bugs.ruby-lang.org/issues/20725 the following:
``` ruby
(nil..nil).overlap?(..3)
```
was fixed to outp...
jeromepl (Jerome Parent-Levesque)
07:02 AM Revision 35920f7a (git): Refine `TestSocket_TCPSocket#test_initialize_failure`
* Use `assert_raise_kind_of` instead of `rescue` and `flunk`.
* Use `assert_include` for the pattern that may contain...
nobu (Nobuyoshi Nakada)
06:50 AM Revision 29c0ca58 (git): Test for the crash
nobu (Nobuyoshi Nakada)
06:50 AM Revision b148dfef (git): Fix crash in TCPSocket.open
Fix segfault crash observable with TCPSocket.open(nil, nil) Luke Jahnke
12:52 AM Feature #19908: Update to Unicode 15.1
+1 alanwu (Alan Wu)
12:36 AM Feature #19908: Update to Unicode 15.1
+1 mrkn (Kenta Murata)
 

Also available in: Atom