Project

General

Profile

Activity

From 01/13/2025 to 01/19/2025

01/19/2025

11:18 PM Feature #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
1. It's intended behavior. We don't call it a bug. If we keep the non-shareable semantics, the basic principle of Rac... matz (Yukihiro Matsumoto)
11:12 PM Feature #21047: Change `*nil` to not call `nil.to_a`, for consistency with `**nil`
Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:48 AM Feature #21047 (Closed): Change `*nil` to not call `nil.to_a`, for consistency with `**nil`
In Ruby 3.3, we started accepting `**nil` for keyword splats. This does not call `nil.to_hash`, unlike other uses of ... jeremyevans0 (Jeremy Evans)
01:31 PM Bug #21048 (Closed): [Prism] rescue in modifier form with condition behaves differently
With the following code there is a discrepancy in how prism and parse.y consider precedence:
```rb
$called = fals...
Earlopain (Earlopain _)
12:44 PM Revision f27ed98e (git): [ruby/prism] Freeze `Prism::VERSION`
Closes https://github.com/ruby/prism/pull/3422
https://github.com/ruby/prism/commit/b488a84253
Earlopain (Earlopain _)
08:09 AM Bug #21046: Backport: TLS fix for ARM64
Heya - sorry I've been away from Ruby for a little while, but this caught my eye and I wanted to bring your attention... kjtsanaktsidis (KJ Tsanaktsidis)

01/18/2025

12:25 PM Bug #21046: Backport: TLS fix for ARM64
Does this mean all current releases of CRuby might hit this issue on linux-aarch64?
Do you know if it happens every ...
Eregon (Benoit Daloze)
01:14 AM Bug #21046 (Closed): Backport: TLS fix for ARM64
commit:f7059af50a31a4d27a04ace0beadb60616f3f971
Use no-inline version `rb_current_ec` on Arm64
The TLS across ....
nobu (Nobuyoshi Nakada)
11:45 AM Bug #21021: "try to mark T_NONE object" with 3.4.1
tenderlovemaking (Aaron Patterson) wrote in #note-14:
> If this doesn't catch the error _before_ GC, and it only repr...
Benoit_Tigeot (Benoit Tigeot)
12:41 AM Bug #21034: try to mark T_NONE object error after upgrading to 3.4.1
If you're able to get a gdb session, if you go to frame 13 (where `rb_gc_mark_vm_stack_values` is called) and try pri... tenderlovemaking (Aaron Patterson)
12:38 AM Bug #21034: try to mark T_NONE object error after upgrading to 3.4.1
These two lines make it seem like they are the same bug to me:
```
/usr/local/lib/libruby.so.3.4(gc_mark+0x16) [0...
tenderlovemaking (Aaron Patterson)
12:12 AM Bug #21034: try to mark T_NONE object error after upgrading to 3.4.1
Here's a crash dump: https://gist.github.com/travisbell/fc3b03a5d1bd797e16e990c17fb2ec9a
Based on what I am seeing...
travisbell (Travis Bell)
12:19 AM Revision 65a7c691 (git): CI: Skip setup-ruby on Ubuntu arm64
Use system default 3.2.3, until setup-ruby supports Ubuntu arm64
runners.
nobu (Nobuyoshi Nakada)
12:19 AM Revision a9d37ac3 (git): CI: Add Ubuntu arm64
nobu (Nobuyoshi Nakada)

01/17/2025

05:22 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Benoit_Tigeot (Benoit Tigeot) wrote in #note-13:
> tenderlovemaking (Aaron Patterson) wrote in #note-12:
> > If you...
tenderlovemaking (Aaron Patterson)
01:20 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
tenderlovemaking (Aaron Patterson) wrote in #note-12:
> If you're able to build from source and reproduce the proble...
Benoit_Tigeot (Benoit Tigeot)
04:08 PM Bug #21045: [patch & workaround] "make test-all" failed with FreeBSD 13.4
I'm sorry, but I have already upgraded all my local environments to 13.4-RELEASE-p2, so I cannot revert to p1 to chec... hs (Hideki Sakamoto)
09:01 AM Bug #21045 (Feedback): [patch & workaround] "make test-all" failed with FreeBSD 13.4
14.1-RELEASE too. nobu (Nobuyoshi Nakada)
08:59 AM Bug #21045: [patch & workaround] "make test-all" failed with FreeBSD 13.4
I tried master on FreeBSD 13.4-RELEASE-p1, and `make test-all` worked fine.
Is it a regression of make at p1?
nobu (Nobuyoshi Nakada)
03:44 PM Revision 5fceba66 (git): [ruby/mmtk] Add mmtk_heap_max to GC.config
https://github.com/ruby/mmtk/commit/6a78ffaf16 peterzhu2118 (Peter Zhu)
03:16 PM Revision 6422ecd2 (git): Update default gems list at 1574b9045144a3d7eec633e2c9daf3 [ci skip]
git[bot]
03:15 PM Revision 1574b904 (git): [ruby/psych] Bump version for release
https://github.com/ruby/psych/commit/2af9f6ac02 headius (Charles Nutter)
01:48 PM Revision f7059af5 (git): Use no-inline version `rb_current_ec` on Arm64
The TLS across .so issue seems related to Arm64, but not Darwin. nobu (Nobuyoshi Nakada)

01/16/2025

11:30 PM Revision cc7fafb4 (git): Update bundled gems list at ac45edc64da65e66f03c98f67824da [ci skip]
git[bot]
11:29 PM Revision ac45edc6 (git): Bump bundled RDoc version to 6.11.0
Stan Lo
11:04 PM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
tenderlovemaking (Aaron Patterson) wrote in #note-8:
> Yes. I think we could probably do a similar trick for anonymo...
jeremyevans0 (Jeremy Evans)
10:47 PM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
jeremyevans0 (Jeremy Evans) wrote in #note-7:
> tenderlovemaking (Aaron Patterson) wrote in #note-6:
> > I think we...
tenderlovemaking (Aaron Patterson)
10:26 PM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
tenderlovemaking (Aaron Patterson) wrote in #note-6:
> I think we could probably do something to speed up anonymous ...
jeremyevans0 (Jeremy Evans)
09:38 PM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
I reran this benchmark with Ruby 3.5. I think most numbers have improved:
```
$ ruby test.rb
ruby 3.5.0dev (202...
tenderlovemaking (Aaron Patterson)
09:40 PM Revision 179899c6 (git): [ruby/mmtk] Add mmtk_heap_min to GC.config
https://github.com/ruby/mmtk/commit/5bbac70c69 peterzhu2118 (Peter Zhu)
09:17 PM Feature #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
Okay fair enough, and it's not of much consequence either way whether it's a bug or a feature because your point stil... luke-gru (Luke Gruber)
03:56 PM Feature #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
I think it's a bug, because it breaks fundamental Ruby block semantics.
No Ractor method or functionality should be ...
Eregon (Benoit Daloze)
07:52 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Benoit_Tigeot (Benoit Tigeot) wrote in #note-11:
> Benoit_Tigeot (Benoit Tigeot) wrote in #note-10:
> > I've look a...
tenderlovemaking (Aaron Patterson)
04:37 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Benoit_Tigeot (Benoit Tigeot) wrote in #note-10:
> I've look a little bit before but those are mostly app logs.
I...
Benoit_Tigeot (Benoit Tigeot)
04:20 PM Revision d05f6a9b (git): [ruby/mmtk] Add NoGC back to MMTK_PLAN test
https://github.com/ruby/mmtk/commit/89f8b8be04 peterzhu2118 (Peter Zhu)
04:20 PM Revision d1a30359 (git): [ruby/mmtk] Bump mmtk-core
https://github.com/ruby/mmtk/commit/52b857ea04 peterzhu2118 (Peter Zhu)
04:20 PM Revision 2538f4d5 (git): [ruby/mmtk] Add mmtk_heap_mode to GC.config
https://github.com/ruby/mmtk/commit/810f897603 peterzhu2118 (Peter Zhu)
03:34 PM Bug #18613: Voluntary wanted: Some signal-related tests fail on FreeBSD 13
I apologize if my comment on the closed ticket is inappropriate. By the way, these bugs seem to have been fixed in Fr... hs (Hideki Sakamoto)
03:31 PM Revision d78aef5e (git): Add not null checks to rb_gc_vm_weak_table_foreach
If the tables are null (which happens when a GC is ran at boot), it will
segfault when trying to iterate.
peterzhu2118 (Peter Zhu)
03:07 PM Bug #21045 (Feedback): [patch & workaround] "make test-all" failed with FreeBSD 13.4
"make test-all" fails when building Ruby 3.4.1 on FreeBSD 13.4.
Build and test steps:...
hs (Hideki Sakamoto)
01:22 PM Revision 5df20ab0 (git): Un-constify `mark_current_machine_context` on wasm
As `SET_STACK_END` updates `ec->machine.stack_end`, it cannot be
const.
nobu (Nobuyoshi Nakada)
01:02 PM Revision fe03cc22 (git): [ruby/reline] Fix typo: marco -> macro
(https://github.com/ruby/reline/pull/806)
https://github.com/ruby/reline/commit/2111172302
kaiba
10:41 AM Revision 25332934 (git): [rubygems/rubygems] Introduce Spec::Path.sinatra_dependency_paths for sinatra mock server
https://github.com/rubygems/rubygems/commit/0a168156d5 hsbt (Hiroshi SHIBATA)
10:41 AM Revision e7de621b (git): [rubygems/rubygems] Revert RubyGems plugins getting loaded on `Bundler.require`
These changes were included when adding bundler plugin hooks for
`Bundler.require`, but they seem completely unrelate...
deivid (David Rodríguez)
10:41 AM Revision 10e7e92b (git): [rubygems/rubygems] Extract logic to manipulate RUBYLIB in specs to a helper
https://github.com/rubygems/rubygems/commit/0057382bb1 deivid (David Rodríguez)
10:41 AM Revision 3638f670 (git): [rubygems/rubygems] fix `@licenses` array unmarshalling
https://github.com/rubygems/rubygems/commit/12f3e78c95 Michael Rykov
10:19 AM Revision 142001cd (git): Fix callcc on Windows on ARM64
Otherwise using callcc fails with a segfault for instance in this test case:
TestEnsureAndCallcc#test_bug20655_exte...
larskanis (Lars Kanis)
08:49 AM Bug #21034: try to mark T_NONE object error after upgrading to 3.4.1
travisbell (Travis Bell) wrote in #note-1:
> Could be related to the issue posted here: https://bugs.ruby-lang.org/i...
Benoit_Tigeot (Benoit Tigeot)
12:09 AM Bug #21034: try to mark T_NONE object error after upgrading to 3.4.1
Can you post the crash report ruby generates? By default it goes to `stderr`, and you can get it in a file by setting... alanwu (Alan Wu)
06:35 AM Revision 0d650617 (git): downloader.rb: Use keyword arguments
nobu (Nobuyoshi Nakada)
06:20 AM Revision f2c9eac8 (git): [DOC] Follow up link to heading changes
The section "Special global variables" has changed:
e021754db013ca9cd6dbd68b416425b32ee81490: Special Global Variable...
nobu (Nobuyoshi Nakada)
05:21 AM Revision e65986c9 (git): [DOC] Add reference from global variables to equivalent MatchData
c.f. #21040 nobu (Nobuyoshi Nakada)
05:03 AM Revision 32cb4b20 (git): [DOC] Link to MarkupReference directly
nobu (Nobuyoshi Nakada)
04:08 AM Revision 7ef91f58 (git): Update bundled gems list at f78447c9e8de23c652322a0d5b1696 [ci skip]
git[bot]
03:35 AM Revision f78447c9 (git): Define dummy lib_dir of win32ole
hsbt (Hiroshi SHIBATA)
03:35 AM Revision 8d319edf (git): Skip win32ole tests without Windows platform
hsbt (Hiroshi SHIBATA)
03:35 AM Revision 4e563d9c (git): Disabled to existence test for win32ole
hsbt (Hiroshi SHIBATA)
03:35 AM Revision 72189168 (git): Migrate win32ole as bundled gems
hsbt (Hiroshi SHIBATA)
03:30 AM Bug #21043 (Closed): Prism defined? has slight deviations from parse.y
Applied in changeset commit:git|d492cfdaadf9e936217e80e0899809313ff4b3d5.
----------
Align defined? implementations ...
kddnewton (Kevin Newton)
01:34 AM Bug #21043 (Closed): Prism defined? has slight deviations from parse.y
```ruby
defined?((alias foo bar))
defined?((undef foo))
def foo(*) = defined?(foo(*))
def foo(**) = defined?(foo(...
kddnewton (Kevin Newton)
03:29 AM Revision d492cfda (git): Align defined? implementations between parsers (#12584)
Fixes [Bug #21043] kddnewton (Kevin Newton)
01:47 AM Bug #21044 (Closed): Prism maximum recursion depth is 1_000, parse.y is 10_000
Applied in changeset commit:git|931a870606f4e286a1c7bacf022940994f3c431b.
----------
[ruby/prism] Increase value of ...
bquorning (Benjamin Quorning)
01:37 AM Bug #21044 (Closed): Prism maximum recursion depth is 1_000, parse.y is 10_000
These should be aligned. This was because I misread the bison docs originally. Some folks are hitting this when tryin... kddnewton (Kevin Newton)
01:47 AM Revision 931a8706 (git): [ruby/prism] Increase value of PRISM_DEPTH_MAXIMUM to 10000
The previous value of 1_000 was added with a reference to the Bison
parser[^1], but the value of YYMAXDEPTH in the Bi...
bquorning (Benjamin Quorning)
12:01 AM Revision 91918bb0 (git): [ruby/json] Refactor JSONFixturesTest
https://github.com/ruby/json/commit/c69963fbe5 byroot (Jean Boussier)

01/15/2025

10:52 PM Feature #21042 (Assigned): Add and expose Thread#memory_allocations memory allocation counters
For the last 5 years, we've been patching our Ruby interpreter with https://github.com/ruby/ruby/pull/3978 in order t... stanhu (Stan Hu)
10:38 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
tenderlovemaking (Aaron Patterson) wrote in #note-8:
> Do you know if any of the code in your Ruby level backtrace ar...
Benoit_Tigeot (Benoit Tigeot)
07:58 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
T_NONE on the stack is reminiscent of a class of YJIT bugs we see during development. I recommend building Ruby while... alanwu (Alan Wu)
05:30 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Odd. This may be a weak map bug as @alanwu is saying.
The C level back trace has these lines:
```
/usr/local/l...
tenderlovemaking (Aaron Patterson)
04:41 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
Sorry for the delay. I removed the concurrency mecanism and let our crontask ran multiple times. The crash output see... Benoit_Tigeot (Benoit Tigeot)
10:15 PM Feature #21041: Enum class
I think the main feedback is that a feature request needs to fulfill the criteria listed here: https://github.com/rub... ufuk (Ufuk Kayserilioglu)
08:22 PM Feature #21041: Enum class
I wrote a proposal with my own words and had an llm make it sound better. Yes, it needs concrete implementation but ... dsisnero (Dominic Sisneros)
08:13 PM Feature #21041: Enum class
Without any concrete design proposal and implementation, I'm afraid this boils down to "enums in ruby would be nice".... alanwu (Alan Wu)
07:54 PM Feature #21041 (Open): Enum class
Enumerations (Enums) represent a critical abstraction in modern software design, offering significant advantages in t... dsisnero (Dominic Sisneros)
10:12 PM Revision a50d612a (git): [ruby/psych] Update to SnakeYAML-Engine 2.9
Fixes ruby/psych#689
https://github.com/ruby/psych/commit/ac887cdc76
headius (Charles Nutter)
08:57 PM Revision 67744879 (git): Use existing vm variable for frozen strings in rb_gc_vm_weak_table_foreach
peterzhu2118 (Peter Zhu)
08:11 PM Revision cd0abd69 (git): [ruby/psych] remove vim settings
https://github.com/ruby/psych/commit/2f46abf4e1 tenderlovemaking (Aaron Patterson)
08:08 PM Bug #21037: Ractors hang with multiple threads
It seems calling `ractor.take` from multiple threads is unsupported at the moment. I don't know if this is a limitati... luke-gru (Luke Gruber)
07:30 PM Bug #21037: Ractors hang with multiple threads
Maybe this fixes it? https://github.com/ruby/ruby/pull/12520
Edit: I just tried with this branch but it seems unrela...
luke-gru (Luke Gruber)
07:28 PM Feature #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
As far as I know this is intentional behavior, so even though I agree it is confusing I think this is more accurately... luke-gru (Luke Gruber)
09:57 AM Feature #21039 (Assigned): Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
```ruby
def make_counter
count = 0
nil.instance_exec do
[-> { count }, -> { count += 1 }]
end
end
...
Eregon (Benoit Daloze)
06:08 PM Revision ab1565eb (git): [ruby/mmtk] Add mmtk_plan to GC.config
https://github.com/ruby/mmtk/commit/67da9ea5b8 peterzhu2118 (Peter Zhu)
05:57 PM Revision e5ad8949 (git): [ruby/irb] Colorize backref token bold green like global variables
(https://github.com/ruby/irb/pull/1065)
https://github.com/ruby/irb/commit/0b60a5be1d
tompng (tomoya ishida)
05:55 PM Revision e02c7491 (git): [ruby/mmtk] Fix mmtk.h
https://github.com/ruby/mmtk/commit/dbb4036be9 peterzhu2118 (Peter Zhu)
05:40 PM Revision 65fa58d3 (git): [ruby/prism] Mark some parser translator tests as being known failures
Without a change from `parser`, this is impossible to correctly handle.
https://github.com/ruby/prism/commit/ca1d44e808
Earlopain (Earlopain _)
03:13 PM Revision cb6476a3 (git): [ruby/mmtk] Bump mmtk-core
https://github.com/mmtk/mmtk-core/pull/1261 fixes an issue where the following
script causes a Rust panic:
GC.di...
peterzhu2118 (Peter Zhu)
02:50 PM Bug #21040: String#next! method does not mutate $& variable
These are called `virtual variables`, a new object is created each time you try to access it
```c
rb_define_v...
Hanmac (Hans Mackowiak)
02:49 PM Bug #21040 (Rejected): String#next! method does not mutate $& variable
`$&` returns a new String on every usage, so this is fully expected:
```
$ ruby -e '"a" =~ /a/; p $&.object_id; p $...
Eregon (Benoit Daloze)
01:07 PM Bug #21040 (Rejected): String#next! method does not mutate $& variable
`String#next!` method should mutate string and return mutated version. For some reason, using it on `$&` does not mut... radarek (Radosław Bułat)
02:37 PM Revision 6286d385 (git): Fix ENV tests on Windows on ARM64
Due to the x64 emulation of Windows 11 on ARM the environment variable PROCESSOR_ARCHITECTURE is set by the process s... larskanis (Lars Kanis)
01:11 PM Revision d399e0c2 (git): Move probes.h to all-incs
It is platform dependent, should not generate by default. nobu (Nobuyoshi Nakada)
01:10 PM Revision 22feb020 (git): Do not expand empty DESTDIR
nobu (Nobuyoshi Nakada)
11:49 AM Revision 2599ac38 (git): Expand `$destdir` to enable rdoc plugins for rubygems
`Gem::InstallerUninstallerUtils#regenerate_plugins_for` assumes that
`plugins_dir` is an absolute path as same as the...
nobu (Nobuyoshi Nakada)
10:12 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
tenderlovemaking (Aaron Patterson) wrote in #note-15:
> Until this ticket, I was operating under the assumption it w...
Eregon (Benoit Daloze)
08:13 AM Revision fe2bc778 (git): Update documents with the latest bundled gems
hsbt (Hiroshi SHIBATA)
08:13 AM Revision 21254c36 (git): Removed sync target of rdoc
hsbt (Hiroshi SHIBATA)
07:53 AM Revision c2ba8404 (git): Update bundled gems list at 39cfba0b5e4dd37d9b92916b36f0e4 [ci skip]
git[bot]
07:52 AM Revision 39cfba0b (git): Disable to generate rubygems plugin
hsbt (Hiroshi SHIBATA)
07:52 AM Revision 667e938f (git): rdoc-srcdir can refer srcdir by itself
hsbt (Hiroshi SHIBATA)
07:52 AM Revision 2bfa49f2 (git): Skip related tests with Gem::RDoc
hsbt (Hiroshi SHIBATA)
07:52 AM Revision c6923278 (git): Fixed missing kpeg issue with test-bundled-gems
hsbt (Hiroshi SHIBATA)
07:52 AM Revision 86575e24 (git): Use rdoc provided by bundled gems for generating ruby documentation
hsbt (Hiroshi SHIBATA)
07:52 AM Revision 86d871d2 (git): Migrate rdoc as bundled gems
hsbt (Hiroshi SHIBATA)
07:22 AM Revision be31f993 (git): v3.3.7
k0kubun (Takashi Kokubun)
06:19 AM Revision e0be1b90 (git): Link `bin` as well as `lib` so that `Gem.bin_path` works
nobu (Nobuyoshi Nakada)
05:25 AM Revision b6affbca (git): Skip an unstable test due to a Ractor assertion
k0kubun (Takashi Kokubun)
05:19 AM Bug #20997: YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
Backporting commit:dd80d9b089e35729d585bae2f8866c845c48f3b7 to `ruby_3_3` caused a conflict, but successfully resolve... k0kubun (Takashi Kokubun)
05:16 AM Revision e9f479d8 (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 ...
k0kubun (Takashi Kokubun)
05:13 AM Bug #21038: Preserve `errno` in `rb_fiber_scheduler_unblock`
ruby_3_3 commit:02bcfb42be7ca97fa40c6efa2f03ddff66c9257c merged revision(s) commit:04ec07794657cd2444ecb001a522b9df2d... k0kubun (Takashi Kokubun)
01:59 AM Bug #21038 (Closed): Preserve `errno` in `rb_fiber_scheduler_unblock`
Applied in changeset commit:git|04ec07794657cd2444ecb001a522b9df2db1b90a.
----------
Preserve `errno` in `rb_fiber_s...
Anonymous
12:39 AM Bug #21038 (Closed): Preserve `errno` in `rb_fiber_scheduler_unblock`
`rb_fiber_scheduler_unblock` can invoke user code that can affect `errno`, and at least in `io_binwrite`, this is une... ioquatix (Samuel Williams)
05:13 AM Revision 02bcfb42 (git): merge revision(s) 04ec07794657cd2444ecb001a522b9df2db1b90a: [Backport #21038]
Preserve `errno` in `rb_fiber_scheduler_unblock`. (#12576)
[Bug #21038]
Co-authored-by: Julian Sche...
k0kubun (Takashi Kokubun)
04:07 AM Revision 272a8c3c (git): [ruby/erb] Make `@scanner_map` of `ERB::Compiler::Scanner` ractor-shareable
- Freeze on assignment
- Recreate Hash on registration
https://github.com/ruby/erb/commit/12d69fc2b3
wanabe (_ wanabe)
04:07 AM Revision 96b5cde2 (git): [ruby/erb] Make `ERB::NOT_GIVEN` ractor-shareable
https://github.com/ruby/erb/commit/348777b5bf wanabe (_ wanabe)
02:00 AM Bug #21008: Array#sum, Enumerator#sum, Numeric subclass
ruby_3_3 commit:7b9caf19ba480d168ef4c5e93690735240975c91 merged revision(s) commit:b176d4f52e4af67654814dab3e9c5f4bf9... k0kubun (Takashi Kokubun)
02:00 AM Revision 7b9caf19 (git): merge revision(s) b176d4f52e4af67654814dab3e9c5f4bf9170e54: [Backport #21008]
[Bug #21008] Normalize before sum to float
After switching to `Float`-mode when summing `Numeric` objects,
...
k0kubun (Takashi Kokubun)
01:59 AM Bug #21031 (Closed): Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
Applied in changeset commit:git|cb419e3912f0514b8151469b0a4a4b83cbbcce78.
----------
[PRISM] Handle forwarding insid...
kddnewton (Kevin Newton)
01:59 AM Revision 04ec0779 (git): Preserve `errno` in `rb_fiber_scheduler_unblock`. (#12576)
[Bug #21038]
Co-authored-by: Julian Scheid <[email protected]>
Samuel Williams
01:59 AM Bug #20995: exception escapes block given to IO.popen("-") in child process
ruby_3_3 commit:12a0807965624a0be37dc79371a69b5d787cc8d1 merged revision(s) commit:8034e9c3d001ca3dff124ab42972684eac... k0kubun (Takashi Kokubun)
01:59 AM Revision 12a08079 (git): merge revision(s) 8034e9c3d001ca3dff124ab42972684eac8af2ae: [Backport #20995]
[Bug #20995] Protect `IO.popen` block from exiting by exception k0kubun (Takashi Kokubun)
01:58 AM Bug #20984: ENV.inspect is not encoding aware
ruby_3_3 commit:0d6459249d13e247cd0eae28f59ef51b862bce80 merged revision(s) commit:19c39e4cfaa467e69b9848c9c5496d7f50... k0kubun (Takashi Kokubun)
01:58 AM Revision 0d645924 (git): merge revision(s) 19c39e4cfaa467e69b9848c9c5496d7f50d39c7f: [Backport #20984]
[Bug #20984] ENV.inspect should be encoding aware k0kubun (Takashi Kokubun)
01:56 AM Bug #21012: Compiling `a['a','b'],=1` with parse.y fails
ruby_3_3 commit:3a986b47cba80bdc081638d5f759a26c1beb8fad merged revision(s) commit:e0d600ec190c64aff76cfcbd6009cffb92... k0kubun (Takashi Kokubun)
01:56 AM Revision 3a986b47 (git): merge revision(s) e0d600ec190c64aff76cfcbd6009cffb927da166: [Backport #21012]
Avoid opt_aset_with optimization inside multiple assignment
Previously, since the opt_aset_with optimization...
k0kubun (Takashi Kokubun)
01:54 AM Bug #20950: Use-after-free in ep in Proc#dup for ifunc procs
ruby_3_3 commit:299455be9966c0a31dabe00014a4b8fae5093a7d merged revision(s) commit:92dd9734a967c20e628c8f77c5ce700058... k0kubun (Takashi Kokubun)
01:54 AM Revision 299455be (git): merge revision(s) 92dd9734a967c20e628c8f77c5ce700058dcd58c: [Backport #20950]
Fix use-after-free in ep in Proc#dup for ifunc procs
[Bug #20950]
ifunc proc has the ep allocated i...
k0kubun (Takashi Kokubun)
01:53 AM Bug #20924: IO#readline ignores the limit argument when the encoding is UTF-32LE and the limit would split a character
ruby_3_3 commit:00147cbab567b05b8a4137875bbda341ef704760 merged revision(s) commit:e90b447655dd39ad1eb645cdaae450efd6... k0kubun (Takashi Kokubun)
01:53 AM Revision 00147cba (git): merge revision(s) e90b447655dd39ad1eb645cdaae450efd605db00: [Backport #20924]
[Bug #20924] Fix reading with delimiter in wide character encodings k0kubun (Takashi Kokubun)
01:52 AM Bug #20921: Use-after-free in constant cache
ruby_3_3 commit:1b1c6e67588ef417847d36f4f4017bd18157a1d2 merged revision(s) commit:f65a6c090c229de1665af49f2e51fc1d63... k0kubun (Takashi Kokubun)
01:52 AM Revision 1b1c6e67 (git): merge revision(s) f65a6c090c229de1665af49f2e51fc1d6397ab72: [Backport #20921]
Fix use-after-free in constant cache
[Bug #20921]
When we create a cache entry for a constant, the ...
k0kubun (Takashi Kokubun)
01:51 AM Bug #20915: Segfault with `TracePoint#parameters` and aliased C method
ruby_3_3 commit:745fe4cf7e0c297879b46045a4838b3e5e2dfeb9 merged revision(s) commit:660b995365f719fa59ed6f2809bb1527e6... k0kubun (Takashi Kokubun)
01:51 AM Revision 745fe4cf (git): merge revision(s) 660b995365f719fa59ed6f2809bb1527e6470d14: [Backport #20915]
[Bug #20915] Fix SEGV with `TracePoint#parameters` and aliased C method
The following snippet results with a...
k0kubun (Takashi Kokubun)
01:50 AM Bug #20909: Backport String indexing bug fixes
ruby_3_3 commit:1e48631e0f318a3b73cd39bdbda4619017383aac merged revision(s) commit:02b70256b5171d4b85ea7eeab836d3d7cf... k0kubun (Takashi Kokubun)
01:50 AM Revision 1e48631e (git): merge revision(s) 02b70256b5171d4b85ea7eeab836d3d7cfb3dbfc, 6b4f8945d600168bf530d21395da8293fbd5e8ba: [Backport #20909]
Check negative integer underflow
Many of Oniguruma functions need valid encoding strings
k0kubun (Takashi Kokubun)
01:49 AM Bug #20871: Including methods in Enumerable doesn't make them available in Array
ruby_3_3 commit:8506fdfb4aca5262940b9c49827c2a839f6bb1fe merged revision(s) commit:3b7892b6e4d1a1a5d6019987f9b46ed443... k0kubun (Takashi Kokubun)
01:48 AM Revision 8506fdfb (git): merge revision(s) 3b7892b6e4d1a1a5d6019987f9b46ed443dd104f: [Backport #20871]
Fix a bug in rb_include_module that stops nested inclusion into module subclasses
This bug was present since...
k0kubun (Takashi Kokubun)
01:48 AM Bug #20907: Fiber scheduler does not correctly re-lock mutex if `Mutex#sleep` is interrupted.
ruby_3_3 commit:f19831a15d680fd995ceaecad1157282be7182dc merged revision(s) commit:a8c2d5e7bee5fad0965baeb58d312ddc59... k0kubun (Takashi Kokubun)
01:47 AM Revision f19831a1 (git): merge revision(s) a8c2d5e7bee5fad0965baeb58d312ddc5932ec26: [Backport #20907]
Ensure fiber scheduler re-acquires mutex when interrupted from sleep. (#12158)
[Bug #20907]
k0kubun (Takashi Kokubun)
01:46 AM Bug #20892: `ObjectSpace.dump` can produce broken JSON for classes with temporary names
`ruby_3_3` merged https://github.com/ruby/ruby/pull/12068. Thank you! k0kubun (Takashi Kokubun)
01:45 AM Bug #20886: Crash due to double free on regex timeout after stack allocations
`ruby_3_3` merged https://github.com/ruby/ruby/pull/12063. Thank you! k0kubun (Takashi Kokubun)
01:43 AM Bug #20873: `printf("%f")` returns wrong result for `Rational` with `FIXNUM_MIN`
ruby_3_3 commit:1ec258ab7002210670171f3f2f0c4b39657e24a4 merged revision(s) commit:d71be7274bd2623bb521be72c245c08fc3... k0kubun (Takashi Kokubun)
01:42 AM Revision 1ec258ab (git): merge revision(s) d71be7274bd2623bb521be72c245c08fc38d6ae4: [Backport #20873]
[Bug #20873] Consider `-FIXNUM_MIN` overflow
`-FIXNUM_MIN` is usually greater than `FIXNUM_MAX` on platforms...
k0kubun (Takashi Kokubun)
01:42 AM Bug #20883: sprintf with binary strings has incorrect coderange
`ruby_3_3` merged https://github.com/ruby/ruby/pull/12040. Thank you! k0kubun (Takashi Kokubun)
01:40 AM Bug #20868: Method#hash changes after compaction
ruby_3_3 commit:42f043c1893b320b9d2a38ec3b1065dee71ce863 merged revision(s) commit:56ecc243e230e8e99761ec0ffc5116601f... k0kubun (Takashi Kokubun)
01:40 AM Revision 42f043c1 (git): merge revision(s) 56ecc243e230e8e99761ec0ffc5116601f094bb0: [Backport #20868]
[Bug #20868] Fix Method#hash to not change after compaction
The hash value of a Method must remain constant ...
k0kubun (Takashi Kokubun)
01:39 AM Bug #20787: IO#readline does not check its arguments like IO#gets and will read more data than limit
ruby_3_3 commit:233014639793cb6c8650a9b17d37bc09c662d430 merged revision(s) commit:773d140f65c1c8b726e107915bc003c186... k0kubun (Takashi Kokubun)
01:38 AM Revision 23301463 (git): merge revision(s) 773d140f65c1c8b726e107915bc003c186f38677: [Backport #20787]
[Bug #20787] Check the separator in `IO#readline` as well as 3.2 k0kubun (Takashi Kokubun)

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)
 

Also available in: Atom