Project

General

Profile

Activity

From 01/10/2025 to 01/16/2025

Today

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: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)
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 (Open): 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 Bug #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 Bug #21039 (Open): 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)
06:19 AM Revision e0be1b90 (git): Link `bin` as well as `lib` so that `Gem.bin_path` works
nobu (Nobuyoshi Nakada)
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: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)
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)
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 <julians37@gmail.com>
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:58 AM Bug #20984: ENV.inspect is not encoding aware
ruby_3_3 commit:0d6459249d13e247cd0eae28f59ef51b862bce80 merged revision(s) commit:19c39e4cfaa467e69b9848c9c5496d7f50... 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: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: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:52 AM Bug #20921: Use-after-free in constant cache
ruby_3_3 commit:1b1c6e67588ef417847d36f4f4017bd18157a1d2 merged revision(s) commit:f65a6c090c229de1665af49f2e51fc1d63... 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:50 AM Bug #20909: Backport String indexing bug fixes
ruby_3_3 commit:1e48631e0f318a3b73cd39bdbda4619017383aac merged revision(s) commit:02b70256b5171d4b85ea7eeab836d3d7cf... 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 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: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 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: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/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 (Open): 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 (Open): 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 (Open): 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 <jean.boussier@gmail.com> 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 (Open): 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 (Open): `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 (Open): 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 (Open): 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 (Open): `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)
 

Also available in: Atom