Project

General

Profile

Activity

From 01/08/2025 to 01/14/2025

01/14/2025

11:52 PM Bug #21029: Prism behavior for `defined? (;x)` differs
I think we should change `parse.y` to match this behavior. I will ask around. kddnewton (Kevin Newton)
11:41 PM Revision cb419e39 (git): [PRISM] Handle forwarding inside eval
Fixes [Bug #21031] kddnewton (Kevin Newton)
10:33 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
Eregon (Benoit Daloze) wrote in #note-14:
> Given semantics are already incompatible when using `Ractor.make_shareab...
tenderlovemaking (Aaron Patterson)
07:52 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
I played with `Ractor.make_shareable` and it already mutates a Proc in place, breaking the basic Ruby semantics of re... Eregon (Benoit Daloze)
07:26 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
> `isolated { lambda { ... } }`
Maybe this could be shortened to `isolated { ... }` or so, if that method is declare...
Eregon (Benoit Daloze)
07:22 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
tenderlovemaking (Aaron Patterson) wrote in #note-11:
> Adding syntax makes it much harder to port existing applicati...
Eregon (Benoit Daloze)
05:05 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
Good catches, thank you. I knew there must be something I was missing, but wasn't sure what.
Eregon (Benoit Daloz...
tenderlovemaking (Aaron Patterson)
02:26 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
This also breaks that analysis:
```
$ ruby -e 'p lambda { ->{}.binding.receiver }.call'
main
$ ruby --dump=insns...
Eregon (Benoit Daloze)
02:24 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
```
$ ruby -e 'p lambda { Kernel.binding.receiver }.call'
main
$ ruby --dump=insns -e 'p lambda { Ker...
Eregon (Benoit Daloze)
01:16 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
luke-gru (Luke Gruber) wrote in #note-7:
> But it doesn't work, after the `Ractor.make_shareable` call, `bl.call` gi...
tenderlovemaking (Aaron Patterson)
12:54 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
Sorry, I should have tested what I thought could happen.
I thought this could happen:
```ruby
class Foo
def make_...
luke-gru (Luke Gruber)
12:16 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
luke-gru (Luke Gruber) wrote in #note-4:
> I'm a bit worried in the general case about `eval`. What if eval is calle...
tenderlovemaking (Aaron Patterson)
12:13 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
luke-gru (Luke Gruber) wrote in #note-4:
> I'm a bit worried in the general case about `eval`. What if eval is calle...
tenderlovemaking (Aaron Patterson)
12:04 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
I'm a bit worried in the general case about `eval`. What if eval is called through `Kernel.eval`? I think what you wo... luke-gru (Luke Gruber)
12:01 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
I guess GitHub is not working right now, so I'll just attach the patch here. tenderlovemaking (Aaron Patterson)
09:08 PM Bug #21037 (Closed): Ractors hang with multiple threads
The following program hangs, but I don't expect it to hang:
```ruby
# frozen_string_literal: true
class Map
...
tenderlovemaking (Aaron Patterson)
08:59 PM Revision f1e32914 (git): [ruby/mmtk] Add mmtk_worker_count to GC.config
https://github.com/ruby/mmtk/commit/836a9059cb peterzhu2118 (Peter Zhu)
08:33 PM Revision 56242ba4 (git): 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 _)
08:31 PM Revision 51d3d6ac (git): [ruby/prism] Support forwarding flags on scopes
When parent scopes around an eval are forwarding parameters (like
*, **, &, or ...) we need to know that information ...
kddnewton (Kevin Newton)
05:34 PM Bug #21024: Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
For the record, nobu sent the following PR, and merged.
https://github.com/ruby/ruby/pull/12573
jaruga (Jun Aruga)
05:17 PM Revision f5fa1ee5 (git): [ruby/mmtk] Exit with error message if MMTK_PLAN is invalid
https://github.com/ruby/mmtk/commit/79ce2008a3 peterzhu2118 (Peter Zhu)
05:11 PM Bug #20955 (Closed): Subtle differences with Proc#parameters for anonymous parameters
AFAICT #20974 fully addressed the issue in the OP, and `it` behaves the same as anonymous destructuring parameters.
...
alanwu (Alan Wu)
05:09 PM Revision 1adcd960 (git): Add tests for Proc#parameters on `it` blocks
[Bug #20955] alanwu (Alan Wu)
05:07 PM Revision 2bcbc80f (git): [ruby/mmtk] Exit with error message if MMTK_HEAP_MODE is invalid
https://github.com/ruby/mmtk/commit/c8b1f4c156 peterzhu2118 (Peter Zhu)
05:07 PM Revision f627e05d (git): [ruby/mmtk] Add tests for when MMTK_HEAP_MIN >= MMTK_HEAP_MAX
https://github.com/ruby/mmtk/commit/65b34b5e86 peterzhu2118 (Peter Zhu)
05:07 PM Revision e2f0769c (git): [ruby/mmtk] Also test invalid values for MMTK_HEAP_MIN and MMTK_HEAP_MAX
https://github.com/ruby/mmtk/commit/90f1aa8d76 peterzhu2118 (Peter Zhu)
04:46 PM Revision b076e9b7 (git): Remove incorrectly committed snapshots
kddnewton (Kevin Newton)
04:18 PM Revision cf4d848c (git): [ruby/mmtk] Add framework for tests
https://github.com/ruby/mmtk/commit/6d94549fc7 peterzhu2118 (Peter Zhu)
04:01 PM Revision 12fa76b3 (git): [ruby/prism] Fix parse.y translation for locals test
https://github.com/ruby/prism/commit/c8037dfaed kddnewton (Kevin Newton)
03:36 PM Revision 23fc0fc2 (git): [ruby/prism] Be a bit stricter when comparing parser translator tokens
When there were more actual tokens than expected tokens, the test would still pass.
Now it's possible to receive an ...
Earlopain (Earlopain _)
03:33 PM Revision d0c493df (git): [ruby/prism] Fix block parameters and it for RubyParser
https://github.com/ruby/prism/commit/7a93a307ac jsc (Justin Collins)
03:32 PM Revision da93c9ae (git): [ruby/prism] Refactor serializer
https://github.com/ruby/prism/commit/8ab2532f09 kddnewton (Kevin Newton)
03:32 PM Revision 713f3187 (git): [ruby/prism] Freeze AST option
To make it so that you can pass `freeze: true` to Prism parse
methods and get back a deeply-frozen AST that is Ractor...
kddnewton (Kevin Newton)
03:21 PM Revision 1758137e (git): Simplify gc/mmtk/extconf.rb
- Split static recipes to depend file.
- Modify makefile configurations in the block to `create_makefile`.
- Expand r...
nobu (Nobuyoshi Nakada)
01:15 PM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
byroot (Jean Boussier) wrote in #note-2:
> @fxn tracked it down to https://github.com/emailage/Emailage_Ruby/blob/64...
Eregon (Benoit Daloze)
08:25 AM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
I dug more into this today, based on @nobu's review. `autoload?` isn't the only thing slowed down in such case.
Pe...
byroot (Jean Boussier)
12:56 PM Revision c961d093 (git): [Bug #21024] <cstdbool> header has been useless
And finally deprecated at C++-17.
Patched by jprokop (Jarek Prokop).
nobu (Nobuyoshi Nakada)
12:38 PM Revision 1b515d1c (git): [ruby/openssl] ssl: update test_verify_hostname_on_connect for LibreSSL
This reverts the change made to this test case in commit https://github.com/ruby/openssl/commit/a0e98d48c91f
(Enhance...
rhenium (Kazuki Yamaguchi)
12:38 PM Revision 318519ca (git): [ruby/openssl] engine: remove mention of LibreSSL from OpenSSL::Engine
These paths are only reachable when it is compiled against OpenSSL.
LibreSSL 3.9 does not support ENGINE and defines ...
rhenium (Kazuki Yamaguchi)
12:38 PM Revision 731d3ec3 (git): [ruby/openssl] ossl.c: use OPENSSL_init_ssl() and OpenSSL_version() with LibreSSL
LibreSSL 2.7.0 added support for OPENSSL_init_ssl() and
OpenSSL_version().
https://github.com/ruby/openssl/commit/13...
rhenium (Kazuki Yamaguchi)
12:38 PM Revision 0fb64bda (git): [ruby/openssl] Require LibreSSL 3.9 or later
Drop support for LibreSSL 3.1-3.8. LibreSSL 3.8 has reached its EOL in
2024-10.
https://github.com/ruby/openssl/comm...
rhenium (Kazuki Yamaguchi)
11:54 AM Bug #20972 (Closed): OpenSSL Memory Usage
Applied in changeset commit:git|2f5d31d38ad6918410da1c41936e043f47725d4f.
----------
[ruby/openssl] Reduce OpenSSL::...
byroot (Jean Boussier)
11:54 AM Revision 4f794858 (git): [ruby/openssl] Refactor buffer usage to only use `append_as_bytes`
https://github.com/ruby/openssl/commit/28f2901c48 byroot (Jean Boussier)
11:54 AM Revision 2f5d31d3 (git): [ruby/openssl] Reduce OpenSSL::Buffering#do_write overhead
[Bug #20972]
The `rb_str_new_freeze` was added in https://github.com/ruby/openssl/issues/452
to better handle concur...
byroot (Jean Boussier)
08:27 AM Bug #21036 (Closed): Somewhat confusing behaviour between warning "block passed may be ignored", versus the responsible method triggering this warning already being faulty and can never be run successfully due to errors such as "wrong number of arguments" and/or recursive cal
Today I was updating / porting some legacy code, to ruby 3.4.1.
Ruby 3.4.1 changed a few things, including some wa...
rubyFeedback (robert heiler)
08:27 AM Bug #20816: Potential regression in Ruby 3.3.x (compared with 3.1 and 3.2) regarding fast syscalls and multi-threading.
@ko1 would input would be welcome on this issue. byroot (Jean Boussier)
08:20 AM Revision ccb4ba45 (git): Use LRAMA instead of YACC
ydah (Yudai Takada)
08:20 AM Revision eafba0d5 (git): Use LRAMA instead of BISON
ydah (Yudai Takada)
08:08 AM Revision 2f0741dd (git): [ruby/json] Fix a method redefinition warning in C parser
Ref: https://github.com/ruby/json/pull/728
Ref: https://github.com/ruby/ruby/pull/12569
https://github.com/ruby/json...
byroot (Jean Boussier)
08:08 AM Revision 599fbeaf (git): [ruby/json] Refactor JSON::Ext::Parser to split configuration and parsing state
Ref: https://github.com/ruby/json/pull/718
The existing `Parser` interface is pretty bad, as it forces to
instantiat...
byroot (Jean Boussier)
07:51 AM Misc #21035 (Closed): Clarify or redefine Module#autoload? and Module#const_defined?
The documentation for `Module#autoload?` says:
> Returns filename to be loaded if name is registered as autoload i...
fxn (Xavier Noria)
06:50 AM Revision c8d11edc (git): Sync lockfile from rubygems/rubygems
hsbt (Hiroshi SHIBATA)
06:34 AM Revision 4daa5ebb (git): [DOC] About `create_makefile`
Describe two features that were missing from the documentation:
- yields configuration part if a block is given.
- "...
nobu (Nobuyoshi Nakada)
05:52 AM Revision 13c868ae (git): Restore lockfile for test-bundler
In the past, bundler updated platform without normalized variable like arm64-darwin-23.
We ignored that update. But t...
hsbt (Hiroshi SHIBATA)
04:36 AM Revision 382277f9 (git): [ruby/yaml] We should load rubygems for optional pstore gem
https://github.com/ruby/yaml/commit/d32dc11205 hsbt (Hiroshi SHIBATA)
03:24 AM Revision 61d3f9a1 (git): Remove explicit test dependency on uri
Since we now vendor uri, it does not buy us anything to include it in
the gemfile explicitly.
deivid (David Rodríguez)
03:24 AM Revision a3882dc5 (git): Remove test dependency on logger
I think logger is only used to figure out which methods need to be made
noops in order to silence webrick during test...
deivid (David Rodríguez)
03:24 AM Revision 78cec339 (git): Remove base64 as an explicit test dependency
Tests don't use it directly, so no need to specify it in our Gemfile.
I think it may have only been added because si...
deivid (David Rodríguez)
03:24 AM Revision 434fa4f3 (git): Add basic tapioca check to CI
deivid (David Rodríguez)
03:24 AM Revision f301383c (git): Remove Generator::State#_generate
Co-authored-by: Jean Boussier <[email protected]> etienne (Étienne Barrié)
03:24 AM Revision 1fae0d72 (git): Use ronn-ng again for documentation generation
We switched to nronn because ronn-ng felt abandoned, but it seems
it has activity again, so switch back.
deivid (David Rodríguez)
03:24 AM Revision f1f81e86 (git): [ruby/fiddle] add regex for bool parsing & test struct w/ bool
parsing
(https://github.com/ruby/fiddle/pull/169)
GitHub: fix https://github.com/ruby/fiddle/pull/168
Struct parsin...
Dmitrii
03:24 AM Revision ed0a2136 (git): [rubygems/rubygems] Bump the rb-sys group across 2 directories with 1 update
Bumps the rb-sys group with 1 update in the /test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib... dependabot[bot]
03:24 AM Revision 0b1b8bc3 (git): [rubygems/rubygems] Don't remove platform specific variants from the lockfile unless necessary
Even if they don't match the current Ruby version, they could still work
in other rubies. So it's better to keep them...
deivid (David Rodríguez)
03:24 AM Revision 5c83d09e (git): [rubygems/rubygems] Tiny parameter rename
Just for consistency, since all the other methods in this class that
receive an array of dependencies use `deps`.
ht...
deivid (David Rodríguez)
03:24 AM Revision ae75c887 (git): [rubygems/rubygems] Extract `SpecSet#version_for`
https://github.com/rubygems/rubygems/commit/a76fd6d3bf deivid (David Rodríguez)
03:24 AM Revision a0e2ed21 (git): [rubygems/rubygems] re-add removed pre-evaluated gemspec test
https://github.com/rubygems/rubygems/commit/b73ee4059b Joshua.LeBlanc
03:24 AM Revision aee0277e (git): [rubygems/rubygems] Serialize gemspec when caching git source
https://github.com/rubygems/rubygems/commit/8727d44024 jleblanc (Joshua LeBlanc)
03:24 AM Revision c89bcbd5 (git): [rubygems/rubygems] Do not fail on start when cannot find writable user directory on ruby 3.4
https://github.com/rubygems/rubygems/commit/027cdc750a Vasily Fedoseyev
03:24 AM Revision 7389ca87 (git): [rubygems/rubygems] Print message when blocking on a file lock.
https://github.com/rubygems/rubygems/commit/3ca7ef214c Ellen Marie Dash
03:24 AM Revision df534ef0 (git): [rubygems/rubygems] Remove no longer used spec filter
I think we have consistent behavior regardless of the version of git
being used, and I'd like to keep it like that so...
deivid (David Rodríguez)
03:03 AM Bug #19374: Issue with Ractor.make_shareable with curried procs
There's a new feature request that should remedy this: https://bugs.ruby-lang.org/issues/21033 luke-gru (Luke Gruber)
02:58 AM Misc #20575 (Closed): Syntax Moratorium til 3.4
Ruby 3.4 has been released. We can add new syntax to Ruby 3.5. hsbt (Hiroshi SHIBATA)
02:33 AM Feature #20971: Deprecate `rb_path_check`
I heard that that warning would be problematic on WSL as well, Windows directories cannot be changed from 777. nobu (Nobuyoshi Nakada)
02:26 AM Revision 8891890b (git): Mark `rb_path_check` as internal only
nobu (Nobuyoshi Nakada)
02:26 AM Revision d74e9ef7 (git): CI: Make parents of PATH directories world-unwritable
nobu (Nobuyoshi Nakada)
12:41 AM Bug #21034: try to mark T_NONE object error after upgrading to 3.4.1
Could be related to the issue posted here: https://bugs.ruby-lang.org/issues/21021 but I am not using ActiveJob so ha... travisbell (Travis Bell)
12:35 AM Bug #21034 (Closed): try to mark T_NONE object error after upgrading to 3.4.1
Hi everyone,
I noticed we started having some workers crash after upgrading to 3.4.1. I tried grabbing a core file...
travisbell (Travis Bell)

01/13/2025

11:59 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
luke-gru (Luke Gruber) wrote in #note-1:
> Hi, cool patch. I think the state of `self` could escape through a `defin...
tenderlovemaking (Aaron Patterson)
11:53 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
Hi, cool patch. I think the state of `self` could escape through a `defined?(@ivar)` still. luke-gru (Luke Gruber)
11:17 PM Feature #21033 (Open): Allow lambdas that don't access `self` to be Ractor shareable
Hi,
I would like to allow lambdas that don't access `self` to be eligible for Ractor shareability regardless of th...
tenderlovemaking (Aaron Patterson)
10:47 PM Feature #21028: Method for finding why an object isn't Ractor shareable
I suspect it's probably a `Proc` object. The feature sounds good to me, and wouldn't be hard to implement I think. luke-gru (Luke Gruber)
10:37 PM Bug #20816: Potential regression in Ruby 3.3.x (compared with 3.1 and 3.2) regarding fast syscalls and multi-threading.
I think this is due to the refactor for M:N threads. In the 3.2 release, which is fast even though it still uses cond... luke-gru (Luke Gruber)
08:11 PM Revision 5f3d1eeb (git): [ruby/mmtk] Remove accidentally committed files
https://github.com/ruby/mmtk/commit/154a038293 peterzhu2118 (Peter Zhu)
08:08 PM Revision ed4b1f9c (git): [ruby/mmtk] Exit with error message if MMTK_HEAP_MAX is invalid
https://github.com/ruby/mmtk/commit/4a24d55d91 peterzhu2118 (Peter Zhu)
08:08 PM Revision f821a127 (git): [ruby/mmtk] Exit with error message if MMTK_HEAP_MIN is invalid
https://github.com/ruby/mmtk/commit/1d2f7b9cfc peterzhu2118 (Peter Zhu)
08:08 PM Revision 3b9b41d0 (git): [ruby/mmtk] Exit with error message if MMTK_THREADS is invalid
https://github.com/ruby/mmtk/commit/5c5c454f65 peterzhu2118 (Peter Zhu)
07:49 PM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
@fxn tracked it down to https://github.com/emailage/Emailage_Ruby/blob/64b9762cda7608ac1eeced2a85ad5f4b7919f4f0/lib/e... byroot (Jean Boussier)
07:47 PM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
For curiosity, what's adding a relative path in `$LOAD_PATH`? That sounds rather dubious/wrong. Eregon (Benoit Daloze)
05:35 PM Bug #21032 (Closed): `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
Reproduction script:
```ruby
require 'benchmark'
$LOAD_PATH << 'relative-path'
autoload :FOO, '/tmp/foo.rb'...
byroot (Jean Boussier)
06:02 PM Revision 7c0b92a1 (git): [ruby/prism] Fix parser translator tokens for `%x(#{})`
It falsely considered it to be a single backtick command
https://github.com/ruby/prism/commit/dd762be590
Earlopain (Earlopain _)
05:59 PM Bug #20974 (Closed): Required and optional anonymous parameter show differently in Proc#parameters
Applied in changeset commit:git|6637aa4682ef64134e05af949a9beee260dab937.
----------
Proc#parameters: Show anonymous...
alanwu (Alan Wu)
05:58 PM Revision 6637aa46 (git): Proc#parameters: Show anonymous optionals as `[:opt]`
Have this for lead parameters as well as parameters after rest ("post").
[Bug #20974]
alanwu (Alan Wu)
05:09 PM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
Thanks for clarifying, I thought the allocationless anonymous splat forwarding optimization relied on some specific u... Eregon (Benoit Daloze)
04:37 PM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
Eregon (Benoit Daloze) wrote in #note-1:
> @jeremyevans0 Isn't this parse.y behavior breaking the optimization to fo...
jeremyevans0 (Jeremy Evans)
11:38 AM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
As a note, I checked and the `*` and `**` examples (Case 1 & 2) work in 3.2 and 3.3.
Case 3 / `&` seems incorrect th...
Eregon (Benoit Daloze)
11:29 AM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
@jeremyevans0 Isn't this parse.y behavior breaking the optimization to forward `*/**/&` efficiently (and maybe `...` ... Eregon (Benoit Daloze)
10:54 AM Bug #21031 (Closed): Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
## Case 1
```rb
# t.rb
def foo(*)
eval("p(*)")
end
foo(1)
```
```
$ ruby --parser=prism t.rb
t.rb:4...
ksss (Yuki Kurihara)
04:44 PM Revision 85a25116 (git): [ruby/mmtk] Enable immix_non_moving feature
https://github.com/ruby/mmtk/commit/63ab563e04 peterzhu2118 (Peter Zhu)
03:43 PM Revision 0a26a3de (git): [ruby/prism] Fix parser translator heredoc dedention with leading interpolation
```rb
<<~F
foo
#{}
bar
F
```
has zero common whitespace.
https://github.com/ruby/prism/commit/1f3c222a06
Earlopain (Earlopain _)
03:25 PM Revision eab1f021 (git): [ruby/mmtk] Unskip TestEnv#test_select_bang_in_ractor
https://github.com/ruby/mmtk/commit/b2b83ecadb peterzhu2118 (Peter Zhu)
03:18 PM Feature #20953: Array#fetch_values vs #values_at protocols
> What's the expected behavior of:
For `..42` versions, I believe that `values_at` behavior gives enough affordanc...
zverok (Victor Shepelev)
03:08 PM Feature #20953: Array#fetch_values vs #values_at protocols
I opened https://github.com/ruby/ruby/pull/12565 as a draft, with some failing specs for the edge cases I found but I... byroot (Jean Boussier)
02:43 PM Feature #20953: Array#fetch_values vs #values_at protocols
Alright.
What's the expected behavior of:
```ruby
[1, 2, 3].fetch_values(42..)
[1, 2, 3].fetch_values(42..) {...
byroot (Jean Boussier)
11:43 AM Bug #20957: RangeError on Array#values_at with negative ranges
Here are more interesting cases:
```
# Reverse ranges don't return values
[0, 1, 2, 3].values_at(2..3) => [2, 3]...
johnnyshields (Johnny Shields)
10:10 AM Revision f7fd42ce (git): Move the declaration of `rb_path_check`
Although this function is unrelated to hash, it was defined in hash.c
to check PATH environment variable originally. ...
nobu (Nobuyoshi Nakada)
03:12 AM Revision 384e6945 (git): [ruby/date] Enclose dangling else in braces and fix -Wmisleading-indentation
```
date_strptime.c:253:324: warning: misleading indentation;
statement is not part of the previous 'if' [-Wmis...
nobu (Nobuyoshi Nakada)
02:41 AM Revision 691c8952 (git): Dependency: ext/-test-/memory_status/depend
nobu (Nobuyoshi Nakada)
01:55 AM Bug #20996: Embed Ruby 3.4 Failure
Any advice on how to proceed? We would like to get Rice, and all the gems that depend on it, working with 3.4. Thanks! cfis (Charlie Savage)
01:22 AM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
3.4.2 is not scheduled yet. nobu (Nobuyoshi Nakada)
12:57 AM Revision 2e38b3ef (git): Update probes.h by incs
nobu (Nobuyoshi Nakada)
12:56 AM Revision 4180036f (git): sync_default_gems.rb: check message_filter arguments
nobu (Nobuyoshi Nakada)
12:56 AM Revision 060ae17c (git): CPPFLAGS is needed for dtrace not only INCFLAGS
nobu (Nobuyoshi Nakada)
12:23 AM Revision 84f0d2dd (git): Stop passing `-t` and `-v` on ripper build
Both of them are debug option.
Let's use `YFLAGS` for parse.y build if needed.
yui-knk (Kaneko Yuichiro)

01/12/2025

11:15 PM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
May I confirm this will be patched in Ruby 3.4.2? johnnyshields (Johnny Shields)
06:34 PM Bug #21030 (Closed): Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
Applied in changeset commit:git|f56f3eaae55cc6f8d9e79862ee73a9ffb53d6077.
----------
[Bug #21030] Fix step for non-n...
nobu (Nobuyoshi Nakada)
08:23 AM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
Confirmed, looking into it. zverok (Victor Shepelev)
05:59 AM Bug #21030 (Closed): Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
Issue also filed at: https://github.com/rails/rails/issues/54199
### System configuration
**Rails version**: 7.1....
johnnyshields (Johnny Shields)
06:54 PM Revision 566f9463 (git): [ruby/prism] Fix parser translator tSPACE tokens for percent arrays
Tests worked around this but the incompatibility is not hard to fix.
This fixes 17 token incompatibilies in tests her...
Earlopain (Earlopain _)
06:41 PM Revision 14b90984 (git): [ruby/prism] Frozen strings in the AST
https://github.com/ruby/prism/commit/8d9d429155 kddnewton (Kevin Newton)
06:34 PM Revision 48749afe (git): [ruby/prism] Fix parser translator ranges for mulltiline strings with multiline bytes
A rather silly issue with a rather simple fix.
The ranges already use the offset cache, this effectivly double-encode...
Earlopain (Earlopain _)
06:34 PM Revision d0deec3e (git): [ruby/prism] Fix parser translator tokens for comment-only file
In https://github.com/ruby/prism/pull/3393 I made a mistake.
When there is no previous token, it wraps around to -1. ...
Earlopain (Earlopain _)
05:07 PM Revision f56f3eaa (git): [Bug #21030] Fix step for non-numeric range
When the end points of an inclusive range equal, `Range#step` should
yields the element once.
nobu (Nobuyoshi Nakada)
02:01 PM Revision d9e1a7cd (git): [Bug #21018] Fix for s390x
nobu (Nobuyoshi Nakada)
12:59 PM Revision 450d9dc8 (git): [ruby/irb] Group private methods together in `IRB::Context`
(https://github.com/ruby/irb/pull/1064)
This makes them easier to find and matches the convention of the codebase.
...
st0012 (Stan Lo)
12:47 PM Revision 9f8defe8 (git): [ruby/irb] Drop ColorPrinter's workaround for BasicObject
(https://github.com/ruby/irb/pull/1051)
`pp` 0.6.0+ includes https://github.com/ruby/pp/pull/26 to handle BasicObjec...
st0012 (Stan Lo)
10:48 AM Revision e2f1f7c5 (git): [Doc] Encourage use of encoding constants
Lots of documentation examples still use encoding APIs with encoding names
rather than encoding constants. I think it...
byroot (Jean Boussier)
08:20 AM Bug #21026: `def __FILE__.a; end` should be a syntax error
As far as I understand (though it is an intuitive understanding, not backed by looking into particular implementation... zverok (Victor Shepelev)
07:27 AM Feature #20899: Reconsider adding `Array#find_map`
The Facets gem has this same feature as `find_yield`. In their implementation there's an optional first arg which is ... johnnyshields (Johnny Shields)
04:53 AM Revision d9d08484 (git): [DOC] Fix the description of `rb_path_check`
c.f. #20971 nobu (Nobuyoshi Nakada)
02:58 AM Bug #21029 (Closed): Prism behavior for `defined? (;x)` differs
Prism has a different behavior for `(;expr)` when used in `defined?` predicate:
```console
% ./miniruby --parser=...
qnighy (Masaki Hara)
12:49 AM Revision 723f31cf (git): [ruby/prism] Fix binary encoding for the parser translator
Skipping detecting the encoding is almost always right, just for binary it should actually happen.
A symbol containi...
Earlopain (Earlopain _)
12:23 AM Bug #21027 (Closed): `not()` receiver should be `nil`
Applied in changeset commit:git|117d6e145a0270ab8fc9134403519ef13b9ebb24.
----------
[ruby/prism] Fix `not` receiver...
kddnewton (Kevin Newton)
12:09 AM Revision 8e56d9e4 (git): Update default gems list at 70022224b2627694cbbb30e819a6b1 [ci skip]
git[bot]
12:09 AM Revision 70022224 (git): [ruby/prism] Better comment token handling for the parser translator
There appear to be a bunch of rules, changing behaviour for
inline comments, multiple comments after another, etc.
T...
Earlopain (Earlopain _)
12:09 AM Revision 117d6e14 (git): [ruby/prism] Fix `not` receiver
`not foo` should be `!foo`
`not()` should be `!nil`
Fixes [Bug #21027]
https://github.com/ruby/prism/commit/871ed4b462
kddnewton (Kevin Newton)
12:09 AM Revision 9c962ea7 (git): [ruby/prism] Fix parser translator tokens for backslashes in single-quoted strings and word arrays
These are not line continuations. They either should be taken literally,
or allow the word array to contain the follo...
Earlopain (Earlopain _)
12:09 AM Revision 110461c5 (git): [ruby/prism] Implement more string token escaping in the parser translator
This leaves `\c` and `\M` escaping but I don't understand how these should even work yet. Maybe later.
https://githu...
Earlopain (Earlopain _)
12:09 AM Revision 81079ebf (git): [ruby/prism] Import code samples for Ruby 3.3 from the parser gem
Slightly tweaking the import script becaues of backtrace format changes in Ruby 3.4
Most tests pass in all parsers, ...
Earlopain (Earlopain _)
12:09 AM Revision ca81142e (git): [ruby/prism] [Bug #21010] Reject endless method definition of `[]=`
Fixes: https://bugs.ruby-lang.org/issues/20785
https://github.com/ruby/prism/commit/192960ce5d
ydah (Yudai Takada)
12:09 AM Revision 283037f7 (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 _)
12:09 AM Revision 80fe9a1c (git): [ruby/prism] Better handle multiline interpolated strings in the parser translator
Much of this logic should be shared between interpolated symbols and regexps.
It's also incorrect when the node conta...
Earlopain (Earlopain _)
12:09 AM Revision 9f38ee11 (git): [ruby/prism] Fix parser translator ast for empty regex
In that specific case, no string node is emitted
https://github.com/ruby/prism/commit/1166db13dd
Earlopain (Earlopain _)
12:09 AM Revision a234fd51 (git): [ruby/prism] Fix parser translator ast for regex with line continuation
Turns out, the vast majority of work was already done with handling the same for heredocs
I'm confident this should ...
Earlopain (Earlopain _)
12:09 AM Revision d1a70014 (git): [ruby/prism] Fix parser translator ast when using anonymous forwarding in blocks/lambda
Blocks and lambdas inherit anonymous arguments from the method they are a part of.
They themselves don't allow to int...
Earlopain (Earlopain _)
12:09 AM Revision 7cbaa3b9 (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 _)
12:09 AM Revision d597118b (git): [ruby/prism] Fallthrough fallback for unknown compilers
https://github.com/ruby/prism/commit/cc810b1e06 kddnewton (Kevin Newton)
12:09 AM Revision fa1427a6 (git): [ruby/prism] Enable implicit fall-through errors
https://github.com/ruby/prism/commit/03797b84d3 AMomchilov (Alexander Momchilov)
12:09 AM Revision b0e64fcd (git): [ruby/prism] Bump to v1.3.0
https://github.com/ruby/prism/commit/a679ee0e5c kddnewton (Kevin Newton)
12:09 AM Revision b79152fd (git): [ruby/prism] Support 3.5 for version option
https://github.com/ruby/prism/commit/6b6aa05bfb kddnewton (Kevin Newton)

01/11/2025

11:24 PM Feature #21028 (Feedback): Method for finding why an object isn't Ractor shareable
`Ractor.shareable?` is easy to use, but if it returns false I would like to be able to figure out what object is caus... tenderlovemaking (Aaron Patterson)
10:49 PM Feature #21020: Sync sig directory for prism of default gem.
I'm fine with this if everyone else is. kddnewton (Kevin Newton)
09:42 PM Bug #21026: `def __FILE__.a; end` should be a syntax error
Interesting! I didn't realize that `__FILE__` will **always** (without frozen string literals) return a new instance.... Earlopain (Earlopain _)
07:49 PM Bug #21026: `def __FILE__.a; end` should be a syntax error
> It already doesn't seem to actually do anything
This is a bunch of technicalities... But I don’t think it doesn’...
zverok (Victor Shepelev)
12:07 PM Bug #21026 (Closed): `def __FILE__.a; end` should be a syntax error
Constants like `__FILE__`, `__LINE__` and `__ENCODING__` are literals and as such you shouldn't be able to defined si... Earlopain (Earlopain _)
08:51 PM Feature #20757: Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
I've added the methods to debug.h and in my small test case it seemed to work without any problems. The PR is at http... richardboehme (Richard Böhme)
08:38 PM Bug #21027 (Closed): `not()` receiver should be `nil`
`not` has a 0-argument mode, and the behavior differs from that of parse.y:
```
% RBENV_VERSION=3.4.0 ruby --pars...
kddnewton (Kevin Newton)
02:03 PM Revision 76b620b3 (git): [ruby/irb] `IRB.conf[:SAVE_HISTORY]` should handle boolean values
(https://github.com/ruby/irb/pull/1062)
Although not documented, `IRB.conf[:SAVE_HISTORY]` used to accept boolean,
w...
st0012 (Stan Lo)
12:59 PM Revision 80d28785 (git): [ruby/irb] Print more actionable message when the exception may be
an IRB issue
(https://github.com/ruby/irb/pull/1061)
https://github.com/ruby/irb/commit/4d74d39261
st0012 (Stan Lo)
07:17 AM Bug #21008: Array#sum, Enumerator#sum, Numeric subclass
ruby_3_2 commit:845763fdf370846938b86a062827b237313c924f merged revision(s) commit:b176d4f52e4af67654814dab3e9c5f4bf9... nagachika (Tomoyuki Chikanaga)
07:17 AM Bug #20995: exception escapes block given to IO.popen("-") in child process
ruby_3_2 commit:f150d67b7d389eb88e0cd13694d3529895d55579 merged revision(s) commit:8034e9c3d001ca3dff124ab42972684eac... nagachika (Tomoyuki Chikanaga)
07:16 AM Bug #20984: ENV.inspect is not encoding aware
ruby_3_2 commit:4e59c10646cf012d457da99ad258b0e6a3e42132 merged revision(s) commit:19c39e4cfaa467e69b9848c9c5496d7f50... nagachika (Tomoyuki Chikanaga)
07:16 AM Bug #21024 (Closed): Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
Applied in changeset commit:git|1b3037081ef9fc121b83e213d997a069acd5904b.
----------
[Bug #21024] <cstdbool> header ...
nobu (Nobuyoshi Nakada)
03:24 AM Bug #21024: Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
That patch will break C++-11 and C++-14.
https://github.com/ruby/ruby/pull/12551
nobu (Nobuyoshi Nakada)
06:32 AM Revision 845763fd (git): merge revision(s) b176d4f52e4af67654814dab3e9c5f4bf9170e54: [Backport #21008]
[Bug #21008] Normalize before sum to float
After switching to `Float`-mode when summing `Numeric` objects,
...
nagachika (Tomoyuki Chikanaga)
06:30 AM Revision f150d67b (git): merge revision(s) 8034e9c3d001ca3dff124ab42972684eac8af2ae: [Backport #20995]
[Bug #20995] Protect `IO.popen` block from exiting by exception nagachika (Tomoyuki Chikanaga)
06:28 AM Revision 4e59c106 (git): merge revision(s) 19c39e4cfaa467e69b9848c9c5496d7f50d39c7f, d78ff6a767ca813ac5fa178dd7611f20a993c191: [Backport #20984]
[Bug #20984] ENV.inspect should be encoding aware
[Bug #20984] Fix test with locale encoding
nagachika (Tomoyuki Chikanaga)
03:21 AM Revision 1b303708 (git): [Bug #21024] <cstdbool> header is deprecated in C++17
nobu (Nobuyoshi Nakada)
12:26 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
matz (Yukihiro Matsumoto) wrote in #note-9:
> I like the basic idea of this proposal. But, I am against:
>
> * `-g` ...
sampersand2 (Sam Westerman)

01/10/2025

11:03 PM Misc #21025 (Closed): What's the default encoding of `String.new`?
Applied in changeset commit:git|cde065c32c8db34eaf2c6b8646a2d4a34e20a3ec.
----------
Clarify documentation for encod...
deivid (David Rodríguez)
07:48 PM Misc #21025: What's the default encoding of `String.new`?
I created https://github.com/ruby/ruby/pull/12548 for this. deivid (David Rodríguez)
06:12 PM Misc #21025: What's the default encoding of `String.new`?
Cool, thanks for the info, I'll create a PR to improve the documentation. deivid (David Rodríguez)
05:22 PM Misc #21025: What's the default encoding of `String.new`?
It's just a documentation bug.
It's always BINARY for `String.new` without args.
Eregon (Benoit Daloze)
04:57 PM Misc #21025 (Closed): What's the default encoding of `String.new`?
In the documentation (https://docs.ruby-lang.org/en/3.4/encodings_rdoc.html#label-String+Encoding) I see a good expla... deivid (David Rodríguez)
11:03 PM Revision 4d8eaa9e (git): YJIT: Rename send_iseq_forwarding->send_forwarding
It's in gen_send_general(), so nothing specifically to do with iseqs. alanwu (Alan Wu)
10:36 PM Revision cde065c3 (git): Clarify documentation for encoding of `String.new` without arguments
[Bug #21025] deivid (David Rodríguez)
09:39 PM Bug #20489 (Closed): Ractor behavior strange in ruby master
Applied in changeset commit:git|50c2c4bddee5a2c5edc0d9fc0f635befdfc4bacc.
----------
Make rb_vm_insns_count a thread...
tenderlovemaking (Aaron Patterson)
03:47 AM Bug #20489: Ractor behavior strange in ruby master

> Unfortunately, it's still not as fast as tarai(1, 1):
This may cause by a native thread and ractor thread mapp...
nekoyama32767 (Jinsong Yu)
01:13 AM Bug #20489: Ractor behavior strange in ruby master
Ah I was running a non-yjit build. Good work guys, that's a weird bug for sure. The thread-local wouldn't work with r... luke-gru (Luke Gruber)
09:39 PM Revision 50c2c4bd (git): Make rb_vm_insns_count a thread local variable
`rb_vm_insns_count` is a global variable used for reporting YJIT
statistics. It is a counter that tallies the number ...
tenderlovemaking (Aaron Patterson)
09:29 PM Revision 039446f6 (git): [ruby/irb] Gracefully handle incorrect command aliases
(https://github.com/ruby/irb/pull/1059)
* Gracefully handle incorrect command aliases
Even if the aliased target is...
st0012 (Stan Lo)
04:55 PM Bug #21024 (Closed): Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
C++ compiler in GCC 15 now generates a warning when trying to include `<cstdbool>`.
This file is being included when...
jprokop (Jarek Prokop)
04:22 PM Revision 4a2702da (git): Remove stale declaration for modular GC
nobu (Nobuyoshi Nakada)
04:01 PM Revision eb8f29c4 (git): [rubygems/rubygems] Fix test failure when running tests with ENV["EDITOR"] set
Can be reproduced, for example, with
```
bin/rspec spec/bundler/cli_spec.rb spec/other/cli_man_pages_spec.rb --order...
deivid (David Rodríguez)
03:59 PM Revision 8adc96b5 (git): [ruby/date] Skip tests failing on TruffleRuby
https://github.com/ruby/date/commit/d019ac8186 andrykonchin (Andrew Konchin)
03:27 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
peterzhu2118 (Peter Zhu)
03:27 PM Bug #21022 (Open): The --with-modular-gc= option is cumbersome
> That mentions 1-2 %. Assuming that the ultimate target is to be able to use different GC, which in theory might com... peterzhu2118 (Peter Zhu)
03:23 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
jeremyevans0 (Jeremy Evans)
09:59 AM Bug #21022: The --with-modular-gc= option is cumbersome
peterzhu2118 (Peter Zhu) wrote in #note-2:
> > What is the intended configuration?
>
> We realize that this featu...
vo.x (Vit Ondruch)
03:17 PM Revision cfee3d9f (git): Revert "[MMTk/CI] Skip Ractor btests with MMTk"
This reverts commit 58b4e249ed8d33fc78528bc77516d541c04d65f2.
The bug that it encountered was fixed in f76d40789d2c7...
peterzhu2118 (Peter Zhu)
03:17 PM Revision f1049aa5 (git): Don't check for presence of `ENV['GITHUB_WORKFLOW']`
We already check whether `ENV['GITHUB_WORKFLOW']` is equal to `Compilations`,
so we don't need to check that it's not...
peterzhu2118 (Peter Zhu)
11:40 AM Bug #21021: "try to mark T_NONE object" with 3.4.1
We are not seeing the issue if we disable YJIT, but it could be a side effect. Benoit_Tigeot (Benoit Tigeot)
08:52 AM Bug #21021: "try to mark T_NONE object" with 3.4.1
Thanks for your answers.
tenderlovemaking (Aaron Patterson) wrote in #note-3:
> Are you able to get a core file or a...
Benoit_Tigeot (Benoit Tigeot)
11:34 AM Misc #21019: DevMeeting-2025-02-13
* [Bug #20998] rb_str_locktmp() changes flags of frozen strings and string literals (eregon)
* Current behavior on...
Eregon (Benoit Daloze)
11:13 AM Bug #21023: Unintentional ruby/spec capi extension build twice
```
❯ make -v
GNU Make 4.4.1
Built for aarch64-apple-darwin23.0.0
```
I used gnu-make provided by homebrew.
hsbt (Hiroshi SHIBATA)
08:42 AM Bug #21023 (Open): Unintentional ruby/spec capi extension build twice

I faced `building spec/ruby/optional/capi/ext/` build twice sometimes like:
```
❯ make -j
revision.h updated...
hsbt (Hiroshi SHIBATA)
07:57 AM Revision c7e5dbe1 (git): Bump up logger-1.6.5 for TruffleRuby
hsbt (Hiroshi SHIBATA)
07:00 AM Revision 1babff98 (git): Update bundled gems list as of 2025-01-10
git[bot]
06:02 AM Revision be6a81c8 (git): Removed benchmark, logger, ostruct and pstore from sync targets
hsbt (Hiroshi SHIBATA)
05:38 AM Revision e8015ce1 (git): [ruby/syntax_suggest] Resolve to lint failure of standardrb
https://github.com/ruby/syntax_suggest/commit/ce7b87184e hsbt (Hiroshi SHIBATA)
04:27 AM Revision a450e930 (git): Extract Benchmark.measure on assert_cpu_usage_low
hsbt (Hiroshi SHIBATA)
03:52 AM Bug #20480: Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc
Finally, This configure problem is caused by a intel CPU instability problem (See `https://community.intel.com/t5/Pro... nekoyama32767 (Jinsong Yu)
02:10 AM Misc #21009 (Closed): Removed old archives from top-level of cache.ruby-lang.org.
No one objected to this proposal at #20949 .
I have been removed them and snapshot-master.tar.bz2 in https://cache...
hsbt (Hiroshi SHIBATA)
01:20 AM Revision 447f426b (git): Update bundled gems list at 503073581915761bb8b99a8e41d0a5 [ci skip]
git[bot]
01:19 AM Revision 50307358 (git): Use fixed commits for assert_in_out_err of pstore and logger
hsbt (Hiroshi SHIBATA)
01:19 AM Revision fcecef77 (git): Added logger dependency for Bundler's example
hsbt (Hiroshi SHIBATA)
01:19 AM Revision 31855506 (git): Make Pstore tests as optional
hsbt (Hiroshi SHIBATA)
01:19 AM Revision 1089282a (git): Make benchmark exapmles as optional
hsbt (Hiroshi SHIBATA)
01:19 AM Revision 3a1414a7 (git): Rewrite Benchmark to Tempfile on bootstraptest/test_ractor.rb
hsbt (Hiroshi SHIBATA)
01:19 AM Revision cda268d8 (git): Make logger as bundled gems
hsbt (Hiroshi SHIBATA)
01:19 AM Revision b0d3771b (git): Make benchmark as bundled gems
hsbt (Hiroshi SHIBATA)
01:19 AM Revision 0c3dca62 (git): Make pstore as bundled gems
hsbt (Hiroshi SHIBATA)

01/09/2025

10:33 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
There seems to be a weakmap bug that's been around since at least November 2024 that could be responsible: http://ci.... alanwu (Alan Wu)
08:26 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Are you able to get a core file or a backtrace from gdb? The bug is that some object has a T_NONE reference and is t... tenderlovemaking (Aaron Patterson)
05:10 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Benoit_Tigeot (Benoit Tigeot) wrote in #note-1:
> I was wrong. We still have the issue. Here is a new crash dump : [...
Benoit_Tigeot (Benoit Tigeot)
04:05 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Benoit_Tigeot (Benoit Tigeot) wrote:
> We migrated this part of the code to parallel->concurrent-ruby and we do not ...
Benoit_Tigeot (Benoit Tigeot)
03:43 PM Bug #21021 (Closed): "try to mark T_NONE object" with 3.4.1
Hello
We upgraded to 3.4.1 yesterday but we are seeing crash since then.
```
/bundle/ruby/3.4.0/gems/activejob...
Benoit_Tigeot (Benoit Tigeot)
07:14 PM Bug #20489: Ractor behavior strange in ruby master
nekoyama32767 (Jinsong Yu) wrote in #note-10:
> tenderlovemaking (Aaron Patterson) wrote in #note-7:
> > The regres...
tenderlovemaking (Aaron Patterson)
05:47 AM Bug #20489: Ractor behavior strange in ruby master
tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://gi...
nekoyama32767 (Jinsong Yu)
05:16 AM Bug #20489: Ractor behavior strange in ruby master
tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://gi...
nekoyama32767 (Jinsong Yu)
04:58 AM Bug #20489: Ractor behavior strange in ruby master
tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://git...
nekoyama32767 (Jinsong Yu)
01:11 AM Bug #20489: Ractor behavior strange in ruby master
The regression in Ruby 3.3 came from [this commit](https://github.com/ruby/ruby/pull/8064). It seems like `rb_vm_ins... tenderlovemaking (Aaron Patterson)
12:22 AM Bug #20489: Ractor behavior strange in ruby master
It looks like the VM loop is much slower in Ruby 3.5 than Ruby 3.2:
![instruments screenshot](https://github.com/u...
tenderlovemaking (Aaron Patterson)
12:04 AM Bug #20489 (Assigned): Ractor behavior strange in ruby master
Sorry, I'm totally wrong. I misread the reproduction steps. I can reproduce this problem.
The way I tested is wi...
tenderlovemaking (Aaron Patterson)
07:08 PM Revision f76d4078 (git): [ruby/mmtk] Enable UNIQUE_OBJECT_ENQUEUING in MMTk
UNIQUE_OBJECT_ENQUEUING guarantees that object marking is atomic so that
an object cannot be marked more than once.
...
peterzhu2118 (Peter Zhu)
07:08 PM Revision 4ce82f1c (git): [ruby/mmtk] Bump mmtk-core to
https://github.com/ruby/mmtk/commit/68bf1b638263
https://github.com/ruby/mmtk/commit/ba1ec69bf6
peterzhu2118 (Peter Zhu)
06:58 PM Feature #8751 (Closed): Add offsets to method#source_location
tenderlovemaking (Aaron Patterson)
06:31 PM Feature #8751: Add offsets to method#source_location
Eregon (Benoit Daloze) wrote in #note-7:
> In light of end line and column information being added in #6012 do you t...
rocky (Rocky Bernstein)
02:33 PM Feature #8751: Add offsets to method#source_location
In light of end line and column information being added in #6012 do you think there is still a need for byte offsets? Eregon (Benoit Daloze)
06:13 PM Revision d96cc52e (git): [rubygems/rubygems] Add credentials file path to "gem env".
There are 3 possible locations:
- $HOME/.gem/credentials
- $XDG_DATA_HOME/gem/credentials
- $HOME/.local/share/gem/c...
Ellen Marie Dash
05:50 PM Bug #21022: The --with-modular-gc= option is cumbersome
> What is the intended configuration?
We realize that this feature is currently cumbersome to use as it requires a...
peterzhu2118 (Peter Zhu)
04:34 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
Just experimenting a bit with the `--with-modular-gc=` if it is worth of enabling in Fedora, but I somehow cannot wra... vo.x (Vit Ondruch)
05:42 PM Feature #20971: Deprecate `rb_path_check`
PR https://github.com/ruby/ruby/pull/12542 Earlopain (Earlopain _)
09:03 AM Feature #20971: Deprecate `rb_path_check`
As a UNIX user from ancient time, I feel a world writable directory is too dangerous to allow. But if everyone is OK ... matz (Yukihiro Matsumoto)
05:34 PM Revision 2da91080 (git): [ruby/mmtk] Fix libmmtk_ruby.a building in extconf.rb
Since libmmtk_ruby.a was a PHONY target, it caused the shared object to
not be rebuilt even though libmmtk_ruby.a was...
peterzhu2118 (Peter Zhu)
05:00 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
I prefer the noop solution, as it makes it a much easier to use API. But no strong opinion. byroot (Jean Boussier)
04:14 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
@nobu @byroot So do you think rb_str_locktmp() should noop on frozen strings (since they can't change anyway), or it ... Eregon (Benoit Daloze)
03:55 PM Feature #6012: Proc#source_location also return the column
mame (Yusuke Endoh) wrote in #note-25:
> Matz was negative neither on adding a new class like Ruby::CodeLocation for...
Dan0042 (Daniel DeLorme)
02:30 PM Feature #6012: Proc#source_location also return the column
Great to see this was accepted and even already implemented! (thanks @nobu!)
Byte offsets would be mostly for perf...
Eregon (Benoit Daloze)
01:21 PM Feature #6012 (Closed): Proc#source_location also return the column
Applied in changeset commit:git|073c4e1cc712064e626914fa4a5a8061f903a637.
----------
[Feature #6012] Extend `source_...
nobu (Nobuyoshi Nakada)
11:51 AM Feature #6012: Proc#source_location also return the column
This was discussed at the October 2024 dev meeting and @matz approved `source_location` to return `[path, start_line,... mame (Yusuke Endoh)
11:26 AM Feature #6012: Proc#source_location also return the column
I'm not sure about attributes and `Binding#source_location`.
https://github.com/ruby/ruby/pull/12539
nobu (Nobuyoshi Nakada)
03:41 PM Revision 5fab31b1 (git): Enable riscv64 coroutine on OpenBSD/riscv64
jeremyevans (Jeremy Evans)
03:21 PM Revision 5045c666 (git): [DOC] Use Hash inspect without hash-rocket in Hash documentation (#12540)
Co-authored-by: tomoya ishida <[email protected]> p8 (Petrik de Heus)
03:07 PM Revision d8a21592 (git): coroutine/ppc64le: fix conditional registers got clobbered unexpectedly
Now we also save the special cr registers during the fiber switching liushuyu (shuyu liu)
02:49 PM Feature #21020 (Assigned): Sync sig directory for prism of default gem.
Currently, the type signatures (RBS) for the default gem is not available.
**Prism** is the only default gem with ty...
ksss (Yuki Kurihara)
02:36 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
The original proposal has been accepted (adding end line and column information), see https://bugs.ruby-lang.org/issu... Eregon (Benoit Daloze)
02:21 PM Feature #20925: Allow boolean operators at beginning of line to continue previous line
It's the same thing for method calls right?
```ruby
a = 1
.to_s
```
It changes the RHS of assignment to `1.to_s`...
Dan0042 (Daniel DeLorme)
06:48 AM Feature #20925: Allow boolean operators at beginning of line to continue previous line
Dan0042 (Daniel DeLorme) wrote in #note-8:
> a = b
> && c
> should be parsed as
>
> a = (b
> && c)
> corr...
nobu (Nobuyoshi Nakada)
12:03 PM Bug #20965: `it` vs `binding.local_variables`
We discussed this at the dev meeting. The above behavior of `p binding.local_variable_get(:_1)` is considered a bug.
...
mame (Yusuke Endoh)
11:52 AM Misc #21019 (Closed): DevMeeting-2025-02-13
# The next dev meeting
**Date: 2025/02/13 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
11:52 AM Misc #20949 (Closed): DevMeeting-2025-01-09
mame (Yusuke Endoh)
11:42 AM Bug #20980 (Closed): Range#size new TypeError vs semi-open ranges
The current behavior is intended. In principle, `#size` should return how many times `#each` will call a given block.... mame (Yusuke Endoh)
11:36 AM Bug #20974: Required and optional anonymous parameter show differently in Proc#parameters
Discussed at the dev meeting. @matz said that it should return `[[:opt]]` instead of `[[:opt, nil]]`. mame (Yusuke Endoh)
11:35 AM Feature #20953: Array#fetch_values vs #values_at protocols
Discussed at the dev meeting. @matz liked to align the behavior of Array#fetch_values with Array#values_at here in th... mame (Yusuke Endoh)
11:33 AM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
Discussed at the dev meeting. @matz suggested that we try modifying it so that only the `load "foo.rb"` case is a ful... mame (Yusuke Endoh)
11:26 AM Feature #20987: Add dbg - minimal debugging helper
This proposal was discussed in the dev meeting.
@matz said that, while adding a new method or changing the default...
mame (Yusuke Endoh)
11:21 AM Revision 073c4e1c (git): [Feature #6012] Extend `source_location` for end position and columns
nobu (Nobuyoshi Nakada)
10:55 AM Bug #21018 (Closed): Show invalid command line option more properly
Applied in changeset commit:git|dfe6b7c02efa3bc2f5426eb64107ac0ac45a66a4.
----------
[Bug #21018] Show invalid comma...
nobu (Nobuyoshi Nakada)
10:26 AM Revision dfe6b7c0 (git): [Bug #21018] Show invalid command line option more properly
nobu (Nobuyoshi Nakada)
10:24 AM Revision d44a41d8 (git): Add `rb_node_get_type` for debuggers
nobu (Nobuyoshi Nakada)
10:14 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
I like the basic idea of this proposal. But, I am against:
* `-g` option name. `-s` is relatively unpopular. Even ...
matz (Yukihiro Matsumoto)
09:24 AM Revision 6069e8fe (git): Refactor for loop handling to simplify do keyword location assignment
ydah (Yudai Takada)
09:24 AM Revision 7790aa89 (git): Use Named Reference
ydah (Yudai Takada)
09:24 AM Revision c7213011 (git): Implement FOR NODE locations
The following Location information has been added This is the information required for parse.y to be a universal pars... ydah (Yudai Takada)
04:53 AM Revision 84155524 (git): [DOC] Show `NONE` within `Measure` namespace (#12274)
Keep `NONE` within `Measure` shan (Shannon Skipper)
04:22 AM Feature #20993 (Rejected): Allow `class <constant-path> = <expression>` syntax
This is a too trivial issue to add new syntax. I suggest the following (I know the difference, but it works OK, doesn... matz (Yukihiro Matsumoto)
12:47 AM Bug #20997 (Closed): YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
Applied in changeset commit:git|dd80d9b089e35729d585bae2f8866c845c48f3b7.
----------
YJIT: Filter `&` calls from spe...
alanwu (Alan Wu)
12:41 AM Bug #20997: YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
Thanks for the report! Everything being available rubygems helped with diagnosis. A fix for this should land soon-ish... alanwu (Alan Wu)
12:47 AM Revision dd80d9b0 (git): YJIT: Filter `&` calls from specialized C method codegen
Evident with the crash reported in [Bug #20997], the C replacement
codegen functions aren't authored to handle block ...
alanwu (Alan Wu)

01/08/2025

11:27 PM Bug #20489 (Feedback): Ractor behavior strange in ruby master
I also can't seem to reproduce this:
```
[aaron@tc-lan-adapter ~/g/ruby (master)]$ time ruby -v test.rb 8 8
ruby...
tenderlovemaking (Aaron Patterson)
10:01 PM Bug #20489: Ractor behavior strange in ruby master
For me the runtime goes up a lot when I increase # of ractors when `VM_CHECK_MODE > 0`, but in non-debug mode it runs... luke-gru (Luke Gruber)
08:42 PM Revision 96f23306 (git): [ruby/prism] Revert "Reject pattern match with unexpected double splat inside array"
https://github.com/ruby/prism/commit/51e7c84124 kddnewton (Kevin Newton)
08:36 PM Revision c4534c9f (git): [ruby/prism] Handle escapes in named capture names
https://github.com/ruby/prism/commit/b4b7a69ce7 kddnewton (Kevin Newton)
06:50 PM Misc #20949: DevMeeting-2025-01-09
* [Feature #21015] Add in a `-g` flag, like `-s` but with a few more quality of life features (sampersand2)
* Ther...
sampersand2 (Sam Westerman)
05:33 PM Revision 36b6625b (git): Refactor `parse_isalnum` and `parse_isxdigit` to use macro
ydah (Yudai Takada)
05:24 PM Bug #21012 (Closed): Compiling `a['a','b'],=1` with parse.y fails
Applied in changeset commit:git|e0d600ec190c64aff76cfcbd6009cffb927da166.
----------
Avoid opt_aset_with optimizatio...
jeremyevans (Jeremy Evans)
01:38 AM Bug #21012: Compiling `a['a','b'],=1` with parse.y fails
I've submitted a PR that should fix this: https://github.com/ruby/ruby/pull/12528 jeremyevans0 (Jeremy Evans)
05:23 PM Revision 500a8775 (git): [ruby/prism] Reject pattern match with unexpected double splat inside array
`a => [-2**b]` should be SyntaxError
Fixes: https://github.com/ruby/prism/issues/3381
https://github.com/ruby/prism...
ydah (Yudai Takada)
05:22 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
Eregon (Benoit Daloze) wrote in #note-14:
> Maybe CRuby does not currently preserve the information of end line and...
tenderlovemaking (Aaron Patterson)
02:15 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
Eregon (Benoit Daloze) wrote in #note-3:
> If it's a new method, I think we should return a "code location" object (...
Dan0042 (Daniel DeLorme)
10:24 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
It's very important that this new feature does not expect users to use `RubyVM::InstructionSequence` or anything unde... Eregon (Benoit Daloze)
04:55 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
mame (Yusuke Endoh) wrote in #note-12:
> tenderlovemaking (Aaron Patterson) wrote in #note-11:
> > I think we shoul...
tenderlovemaking (Aaron Patterson)
01:24 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
> I think you are proposing adding the .node_for implementation to Prism?
Yes.
> To be more exact, I'm guessin...
mame (Yusuke Endoh)
12:49 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
Also just to be clear, I don't think the code I pasted above is _nice_ code, but it does work after the Prism bug is ... tenderlovemaking (Aaron Patterson)
12:40 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
It seems like a very similar solution to what @mame is proposing was merged at one point as Feature #14836. It seems... tenderlovemaking (Aaron Patterson)
04:49 PM Revision e0d600ec (git): Avoid opt_aset_with optimization inside multiple assignment
Previously, since the opt_aset_with optimization was introduced,
use of the opt_aset_with optimization inside multipl...
jeremyevans (Jeremy Evans)
04:17 PM Revision e7281700 (git): [ruby/rdoc] Finalize RDoc::Options before calling
RDoc::RDoc#parse_files
(https://github.com/ruby/rdoc/pull/1274)
Commit https://github.com/ruby/rdoc/commit/6cf6e1647...
rhenium (Kazuki Yamaguchi)
02:36 PM Feature #21000: A way to avoid loading constant required by a type check
Eregon (Benoit Daloze) wrote in #note-12:
> Maybe a new method or kwarg to `const_get` which has some special behavi...
Dan0042 (Daniel DeLorme)
09:55 AM Feature #21000: A way to avoid loading constant required by a type check
IMO the pattern is not frequent enough to justify adding new syntax for this or breaking compatibility.
In https://p...
Eregon (Benoit Daloze)
01:46 AM Feature #21000: A way to avoid loading constant required by a type check
If you just want to avoid repetition and don't care autoload, I found a good (and magical) way to do it.
```ruby
...
mame (Yusuke Endoh)
02:11 PM Revision 62a15280 (git): Pass allocation size to rb_imemo_new
This would allow imemo to take advantage of VWA and allocate sizes larger
than RVALUE (40 bytes).
peterzhu2118 (Peter Zhu)
12:35 PM Bug #21018 (Closed): Show invalid command line option more properly
Currently the invalid command line option character is printed as-is.
This makes the error message confusing somet...
nobu (Nobuyoshi Nakada)
09:41 AM Bug #21017 (Closed): `--with-parser=parse.y` configure option does not work
Applied in changeset commit:git|051af9529b03c11aff8f6a09522c69983e3a9d72.
----------
[Bug #21017] Fix `--with-parser...
nobu (Nobuyoshi Nakada)
08:15 AM Bug #21017 (Closed): `--with-parser=parse.y` configure option does not work
nobu (Nobuyoshi Nakada)
08:26 AM Revision 051af952 (git): [Bug #21017] Fix `--with-parser` configure option
nobu (Nobuyoshi Nakada)
08:12 AM Revision 3c3bde64 (git): Update bundled gems list at ad5fa24e84be97212ef2d876308602 [ci skip]
git[bot]
08:12 AM Revision ad5fa24e (git): Skip examples related with OpenStruct in ruby/spec
hsbt (Hiroshi SHIBATA)
08:12 AM Revision a4528f60 (git): Omit Psych_Unit_Tests if ostruct is not available
hsbt (Hiroshi SHIBATA)
08:12 AM Revision 599a0601 (git): Switch to use ostruct to open3 with suggestion test
hsbt (Hiroshi SHIBATA)
08:12 AM Revision 9f5ca633 (git): Refactor to omit JSON::GenericObject tests
hsbt (Hiroshi SHIBATA)
08:12 AM Revision 6bff923d (git): Rewrite OpenStruct to dummy response class
hsbt (Hiroshi SHIBATA)
08:12 AM Revision 4da545dd (git): Use erb instead of ostruct for test_frozen_loaded_features
hsbt (Hiroshi SHIBATA)
08:12 AM Revision 574bfd28 (git): Update documents for ostruct
hsbt (Hiroshi SHIBATA)
08:12 AM Revision adb4029b (git): Removed logger from stub data
hsbt (Hiroshi SHIBATA)
08:12 AM Revision 32fb364d (git): Replace target list with stub constants at example of bundled_gems.rb
hsbt (Hiroshi SHIBATA)
08:12 AM Revision 5f4be3ad (git): Make ostruct as bundled gems
hsbt (Hiroshi SHIBATA)
08:12 AM Revision d722bdcf (git): Convert ostruct to openstruct
hsbt (Hiroshi SHIBATA)
07:56 AM Misc #21009: Removed old archives from top-level of cache.ruby-lang.org.
I think we can remove `snapshot-master.tar.bz2` in <https://cache.ruby-lang.org/pub/ruby/snapshot/> too.
`snapshot...
znz (Kazuhiro NISHIYAMA)
06:13 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
For the record, I love this and want it very badly.
I advocated for `-ss` to mean "an extension of `-s`", much lik...
zenspider (Ryan Davis)
02:22 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
sampersand2 (Sam Westerman) wrote:
> # Prior art
> (TODO) Perl has `-s`, and it works like Ruby's `-s`. IDK of any ...
nobu (Nobuyoshi Nakada)
01:50 AM Feature #21015 (Open): Add in a `-g` flag, like `-s` but with a few more quality of life features
Add in a `-g` flag, like `-s` but with a few more QOL features
## TL;DR
([PR](https://github.com/ruby/ruby/pull/1...
sampersand2 (Sam Westerman)
05:13 AM Bug #21011 (Closed): Constant massign segfaults in parse.y with shareable_constant_value: experimental_everything
Applied in changeset commit:git|b81db531b24a6824bf5b89d8460baed5d5418835.
----------
[Bug #21011] `nd_value` is NULL...
nobu (Nobuyoshi Nakada)
02:52 AM Bug #21011: Constant massign segfaults in parse.y with shareable_constant_value: experimental_everything
Even with prism:
```ruby
# shareable_constant_value: experimental_everything
A, = ""
p A.frozen? #=> false
```...
nobu (Nobuyoshi Nakada)
05:11 AM Revision 3e6f5ead (git): Reapply "Suppress WIN32OLE deprecation warnings for the time being"
Revert the part of commit 10917c5cc026f839a3dcd072b6e274eed211d0f7,
"Update to ruby/spec@18032a7", that discarded the...
nobu (Nobuyoshi Nakada)
04:55 AM Bug #20992 (Closed): `eval(ascii_encoded_code)` raises EncodingError when multibyte local variable exists
Applied in changeset commit:git|1a06bee027d5c5b65ed0aaee76ee0040554d4efd.
----------
Do not intern invalid symbols i...
kddnewton (Kevin Newton)
04:26 AM Revision b81db531 (git): [Bug #21011] `nd_value` is NULL in massign
nobu (Nobuyoshi Nakada)
03:30 AM Revision 1a06bee0 (git): Do not intern invalid symbols in eval parse
When the inner code cannot represent the name of the locals in the
outer code, do not bother putting them into the co...
kddnewton (Kevin Newton)
03:11 AM Bug #21016: What should massign with `shareable_constant_value: experimental_everything` freeze?
Yeah we found this when we were building prism (https://bugs.ruby-lang.org/issues/20340). I don't know what the expec... kddnewton (Kevin Newton)
02:56 AM Bug #21016 (Closed): What should massign with `shareable_constant_value: experimental_everything` freeze?
Derived from #21011.
Even with prism:
```ruby
# shareable_constant_value: experimental_everything
A, = ""
p ...
nobu (Nobuyoshi Nakada)
02:55 AM Revision 27c9ccb3 (git): Also stub-out with directry using with test script or -e option
hsbt (Hiroshi SHIBATA)
02:55 AM Revision 4a02a72c (git): Dont't use stub constants like LIBDIR in bundled_gems.rb
hsbt (Hiroshi SHIBATA)
02:55 AM Revision aaf36f4f (git): Use heredoc to script runner for another ruby process
hsbt (Hiroshi SHIBATA)
01:48 AM Revision 18f756e4 (git): Remove unnecessary semantic actions
If you don’t specify an action for a rule, Lrama supplies a default: `$$ = $1`. ydah (Yudai Takada)
01:46 AM Revision 76759003 (git): Introduce macro for creating child iseqs with callbacks
Use macro like `NEW_ISEQ` and `NEW_CHILD_ISEQ`. ydah (Yudai Takada)
01:08 AM Bug #21014 (Closed): Prism doesn't set node_id on iseqs correctly
Applied in changeset commit:git|63723c8d5908569918fb27e070ae5bc9de33c8bd.
----------
Correctly set node_id on iseq l...
tenderlovemaking (Aaron Patterson)
12:36 AM Bug #21014: Prism doesn't set node_id on iseqs correctly
Fix sent here: https://github.com/ruby/ruby/pull/12527 tenderlovemaking (Aaron Patterson)
12:35 AM Bug #21014 (Closed): Prism doesn't set node_id on iseqs correctly
Given this code:
```ruby
f = proc { <<END }
heredoc
END
iseq = RubyVM::InstructionSequence.of(f)
p iseq.t...
tenderlovemaking (Aaron Patterson)
01:08 AM Revision 63723c8d (git): Correctly set node_id on iseq location
The iseq location object has a slot for node ids. parse.y was correctly
populating that field but Prism was not. Thi...
tenderlovemaking (Aaron Patterson)
12:36 AM Bug #21010 (Closed): Endless method definition of `[]=` is SyntaxError in parse.y but allowed in Prism
nobu (Nobuyoshi Nakada)
12:00 AM Bug #21013 (Closed): Backport request for YJIT fix for `yield` with keyword arguments
GitHub PR: https://github.com/ruby/ruby/pull/12525
The patch applies cleanly.
Programs like the following used to...
alanwu (Alan Wu)
 

Also available in: Atom