Project

General

Profile

Activity

From 03/02/2025 to 03/08/2025

03/08/2025

10:08 PM Bug #21139 (Open): Prism and parse.y parses `it = it` differently
matz (Yukihiro Matsumoto) wrote in #note-1:
> By the way, how can I clear assignee of the issue on Redmine?
The null option in the menu is the very first one and is rendered with a tiny height to make it hard to mouse over. It's easi...
alanwu (Alan Wu)
05:56 PM Revision caa7eaec (git): Refactor parser rules to remove inline_operation
ydah (Yudai Takada)
01:20 PM Revision 24945def (git): Remove redundant semantic action in bvar rule
ydah (Yudai Takada)
09:56 AM Revision a14d9b8d (git): string.c: Improve `fstring_hash` to reduce collisions
`rb_str_hash` doesn't include the encoding for ASCII only strings
because ASCII only strings are equal regardless of their encoding.
But in the case if the `fstring_table`, two identical ASCII strings
with different encodings aren't equ...
byroot (Jean Boussier)
09:26 AM Revision eae0fe37 (git): Implement CLASS NODE locations
The following Location information has been added This is the information required for parse.y to be a universal parser:
```
❯ ruby --parser=prism --dump=parsetree -e "class A < B; end"
@ ProgramNode (location: (1,0)-(1,16))
+-- locals:...
ydah (Yudai Takada)
09:21 AM Bug #21112: Typo in error message when an incorrect key is used with WeakKeyMap
ruby_3_3 commit:e860cb2267cd17aef9a5e8e977d03410c213d6a2 merged revision(s) commit:91a10c07579f282a94e4b5830feaeca87f9a7dd3. nagachika (Tomoyuki Chikanaga)
09:21 AM Revision e860cb22 (git): merge revision(s) 91a10c07579f282a94e4b5830feaeca87f9a7dd3: [Backport #21112]
Fix a typo in WeakKeyMap argument error
[Bug #21112]
nagachika (Tomoyuki Chikanaga)
09:20 AM Bug #21095: Prefer `uname -n` over `hostname` in tests.
ruby_3_3 commit:fff5baf200572762a60c624bc7bea866992c2f30 merged revision(s) commit:46b544c54955348ef1ea9692b837b061f59f91cd, commit:d3abee739f4feb91bb9aaae33877d70c8c576db0. nagachika (Tomoyuki Chikanaga)
09:19 AM Revision fff5baf2 (git): merge revision(s) 46b544c54955348ef1ea9692b837b061f59f91cd, d3abee739f4feb91bb9aaae33877d70c8c576db0: [Backport #21095]
Prefer `uname -n` over `hostname`. (#12647)
Add fallback for `hostname` if `uname` isn't available. (#12655)
nagachika (Tomoyuki Chikanaga)
08:40 AM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
ruby_3_3 commit:54dd27d89d2e6814114f1aff18836a987d5a4ab1 merged revision(s) commit:d4a1a2780c39bc648496ac92fc6e6ce2eb38ab47. nagachika (Tomoyuki Chikanaga)
08:26 AM Revision 54dd27d8 (git): merge revision(s) d4a1a2780c39bc648496ac92fc6e6ce2eb38ab47: [Backport #21032]
rb_feature_p: skip `get_expanded_load_path` for absolute paths
Ref: https://github.com/fxn/zeitwerk/pull/308
```ruby
require 'benchmark'
$LOAD_PATH << 'relative-path'
autoload :FOO, '/tmp/foo.r...
nagachika (Tomoyuki Chikanaga)
08:24 AM Bug #21046: Backport: TLS fix for ARM64
ruby_3_3 commit:8274b8193e0a047d1edfff603dd2436276f906c4 merged revision(s) commit:f7059af50a31a4d27a04ace0beadb60616f3f971. nagachika (Tomoyuki Chikanaga)
08:23 AM Revision 8274b819 (git): merge revision(s) f7059af50a31a4d27a04ace0beadb60616f3f971: [Backport #21046]
Use no-inline version `rb_current_ec` on Arm64
The TLS across .so issue seems related to Arm64, but not Darwin.
nagachika (Tomoyuki Chikanaga)
08:03 AM Bug #20951: Confusing handling of timezone object's `#utc_to_local` results
ruby_3_3 commit:56ba9041d9e338359b32ba0bfb3d816d57dc9d39 merged revision(s) commit:ae6bd3b49ba252985b92416c24102ede3c0aac9b, commit:966458199d870b88b42898d4a063b487c1ef6b00, commit:966458199d870b88b42898d4a063b487c1ef6b00. nagachika (Tomoyuki Chikanaga)
07:53 AM Bug #20951 (Closed): Confusing handling of timezone object's `#utc_to_local` results
Moved to "Closed" status to trigger backport. nagachika (Tomoyuki Chikanaga)
08:03 AM Revision 56ba9041 (git): merge revision(s) ae6bd3b49ba252985b92416c24102ede3c0aac9b, 966458199d870b88b42898d4a063b487c1ef6b00, 966458199d870b88b42898d4a063b487c1ef6b00: [Backport #20951]
[DOC] Tweak "Timezone Objects"
- Make method descriptions plain pragraphs in each method.
- Make "Argument" and "Returns" note-lists.
[Bug #20951] [DOC] About UTC offset calculation after `utc_to_local`
...
nagachika (Tomoyuki Chikanaga)
07:44 AM Bug #21170: Corrupted Hash (bad VALUE and missing entry) when -1 returned from .hash
Merged into ruby_3_3 at ecb9f7ef372c70c3e4fa81a5002533814a94aa86 nagachika (Tomoyuki Chikanaga)
07:43 AM Revision ef523984 (git): Replace tombstone when converting AR to ST hash
[Bug #21170]
st_table reserves -1 as a special hash value to indicate that an entry
has been deleted. So that that's a valid value to be returned from the
hash function, do_hash replaces -1 with 0 so that it is not mistaken for
the sent...
jhawthorn (John Hawthorn)
07:27 AM Revision ecb9f7ef (git): Merge cgi-0.4.2
hsbt (Hiroshi SHIBATA)
07:27 AM Revision e5882716 (git): Merge uri-0.13.2
hsbt (Hiroshi SHIBATA)
01:23 AM Revision 98790faa (git): YJIT: Add Counter::invalidate_everything
When YJIT is forced to discard all the code, that's bad for
performance, so there should be an easy way to know about it.
alanwu (Alan Wu)

03/07/2025

11:52 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
A keyword argument, then. Maybe `exception: true` ala `Kernel#system`? deivid (David Rodríguez)
11:01 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
The `!` for a version that raises is a Rails convention, and AFAIK always rejected for Ruby itself.
So a keyword argument is more likely to be accepted.
byroot (Jean Boussier)
10:19 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
It could also be an option like `FileUtils.rm(ignore_missing: true)`, that way it can apply to both `rm` and `rm_r`. Dan0042 (Daniel DeLorme)
08:59 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
Today I again spent a lot of time debugging an issue, and it ended up being an exception swallowed by `FileUtils.rm_rf`.
Would you be ok with adding `FileUtils.rm_rf!` that mimics standard `rm -rf` shell behaviour, similar to what @Da...
deivid (David Rodríguez)
09:18 PM Revision 3c92fe13 (git): [DOC] Fix minor miscalculation of stack size
kyontan (Kyosuke Tanaka)
07:41 PM Bug #21168: Prism doesn't require argument parentheses (in some cases) when a block is present but parse.y does
I took a look at this and I'm not sure any of these cases should fail - which would mean the consistently rejected cases are incorrect.
If the argument is wrapped in parenthesis it passes the syntax check (in all cases provided in thi...
eileencodes (Eileen Uchitelle)
02:38 PM Revision 17f6a689 (git): [DOC] Tweaks for Hash#rehash
burdettelamar (Burdette Lamar)
02:36 PM Revision 8774530c (git): [DOC] Tweaks for Hash#rassoc
burdettelamar (Burdette Lamar)
02:34 PM Revision 42b75a9c (git): [DOC] Tweaks for Hash#merge (#12825)
burdettelamar (Burdette Lamar)
11:44 AM Bug #21175 (Closed): Range#max called on a beginles Integer Range with excluded end raises TypeError
Applied in changeset commit:git|cbe3156f82ee8b68e734be58badb9b6a3adc8aa6.
----------
[Bug #21174] [Bug #21175] Fix `Range#max` on beginless integer range
nobu (Nobuyoshi Nakada)
10:29 AM Bug #21175: Range#max called on a beginles Integer Range with excluded end raises TypeError
https://github.com/ruby/ruby/pull/12879 nobu (Nobuyoshi Nakada)
11:44 AM Bug #21174 (Closed): Range#max called with an argument on a beginless Integer Range raises RangeError
Applied in changeset commit:git|cbe3156f82ee8b68e734be58badb9b6a3adc8aa6.
----------
[Bug #21174] [Bug #21175] Fix `Range#max` on beginless integer range
nobu (Nobuyoshi Nakada)
10:28 AM Bug #21174: Range#max called with an argument on a beginless Integer Range raises RangeError
andrykonchin (Andrew Konchin) wrote:
> I would expect `[9, 10]` to be returned.
`Range#max` returns the elements in greater order.
I think it should be `[10, 9]`, and `(..10).last(2)` should return `[9, 10]` without an exception to...
nobu (Nobuyoshi Nakada)
10:19 AM Bug #21162 (Closed): Regexp casefold mismatch for latin1 supplemental chars
I nobu (Nobuyoshi Nakada)
09:51 AM Bug #21167 (Third Party's Issue): Visual Studio 2022 17.13.x couldn't build ruby.exe
According to the Microsoft engineering team, already this bug has been fixed internally.
https://developercommunity.visualstudio.com/t/Use-of-the-result-of-bsr-before-that-i/10862351#T-N10863092-N10864280
nobu (Nobuyoshi Nakada)
08:52 AM Revision f118e0ce (git): [Bug #21174] [Bug #21175] Update rubyspec
nobu (Nobuyoshi Nakada)
08:23 AM Revision cbe3156f (git): [Bug #21174] [Bug #21175] Fix `Range#max` on beginless integer range
nobu (Nobuyoshi Nakada)
04:30 AM Bug #21163 (Closed): Inconsistencies in Kernel.Float compared to other number parsing methods
Applied in changeset commit:git|8841f885bde7bbe571d2043830799059870dc70c.
----------
[Bug #21163] Fix hexadecimal float conversion
nobu (Nobuyoshi Nakada)
03:14 AM Revision 8841f885 (git): [Bug #21163] Fix hexadecimal float conversion
nobu (Nobuyoshi Nakada)

03/06/2025

08:33 PM Bug #21175 (Closed): Range#max called on a beginles Integer Range with excluded end raises TypeError
I would expect that for a Range with Integer right boundary `end - 1` is returned:
```ruby
(nil...10).max
# => (irb):1:in 'Range#max': cannot exclude end value with non Integer begin value (TypeError)
```
`#max` works well with ...
andrykonchin (Andrew Konchin)
08:31 PM Bug #21174 (Closed): Range#max called with an argument on a beginless Integer Range raises RangeError
It seems surprising but instead of returning last `n` Integers `Range#max(n)` raises `RangeError`:
```ruby
(nil..10).max(2)
# => (irb):3:in 'Range#max': cannot get the maximum of beginless range with custom comparison method (RangeE...
andrykonchin (Andrew Konchin)
05:24 PM Revision 161cffb3 (git): Fix a race condition with interned strings sweeping.
[Bug #21172]
This fixes a rare CI failure.
The timeline of the race condition is:
- A `"foo" oid=1` string is interned.
- `"foo" oid=1` is no longer referenced and will be swept in the future.
- Another `"foo" oid=2` string is interne...
byroot (Jean Boussier)
04:59 PM Bug #21173 (Closed): RUBY_FREE_AT_EXIT does not work when error in -r
Applied in changeset commit:git|6bad47ac6d62b54fe30e3f161c2a9d8f5fa4800c.
----------
RUBY_FREE_AT_EXIT does not work when error in -r
[Bug #21173]
When loading a file using the command line -r, it is processed before
RUBY_FREE_AT_EXIT...
peterzhu2118 (Peter Zhu)
04:58 PM Revision 6bad47ac (git): RUBY_FREE_AT_EXIT does not work when error in -r
[Bug #21173]
When loading a file using the command line -r, it is processed before
RUBY_FREE_AT_EXIT is checked. So if the loaded file raises an error, it
will cause memory to not be freed with RUBY_FREE_AT_EXIT.
For example `ruby -rte...
peterzhu2118 (Peter Zhu)
03:52 PM Revision bb91c303 (git): YJIT: Rename get_temp_regs2() back to get_temp_regs() (#12866)
k0kubun (Takashi Kokubun)
09:29 AM Revision e20f1f76 (git): [ruby/json] Fix JSON::GeneratorError#detailed_message with Ruby < 3.2
https://github.com/ruby/json/commit/2e015ff839 Rahim Packir Saibo
08:20 AM Bug #21169: "try to mark T_NONE object" with 3.3.7
> that patch is for https://bugs.ruby-lang.org/issues/21042, which we've tried to upstream for years.
I don't want to derail that thread, but was this ticket ever added to a DevMeeting agenda?
byroot (Jean Boussier)
07:25 AM Bug #21169: "try to mark T_NONE object" with 3.3.7
alanwu (Alan Wu) wrote in #note-1:
> You seem to have using a patched ruby, which makes the backtrace less helpful. But, gc.c:7480 is around this code:
> ...
Sorry, that patch is for https://bugs.ruby-lang.org/issues/21042, which we've...
stanhu (Stan Hu)
07:58 AM Revision f7af75d3 (git): Show test task names longer
nobu (Nobuyoshi Nakada)
07:42 AM Revision ca4325f6 (git): Harden `TestObjSpace#test_memsize_of_root_shared_string`
This test occasionally fail because it runs into a String instance
that had its `==` method removed.
I couldn't identify where this String comes from, but in general
when using `each_object` it's best to not assume returned objectd
are ...
byroot (Jean Boussier)
04:06 AM Revision c426ad1f (git): Drop CODEOWNERS from ruby_3_1
k0kubun (Takashi Kokubun)
03:39 AM Revision c939d0c8 (git): Launchable: Send stdout and stderr (#12785)
Currently, the Launchable team is developing a new feature to attach any logs. Attached log can be anything, such as system logs or stdout. Users can find these logs using any text search. Please note that this feature is a work in progr... ono-max (Naoto Ono)
03:18 AM Revision 309076ff (git): Fix flaky failure in TestSetTraceFunc#test_tracepoint_disable (#12854)
TestSetTraceFunc#test_tracepoint_disable is a flaky and failing intermittently. Here is an example of failure logs.
```
1) Failure:
TestSetTraceFunc#test_tracepoint_disable [/home/runner/work/ruby/ruby/src/test/ruby/test_settracefu...
ono-max (Naoto Ono)
02:08 AM Bug #21167: Visual Studio 2022 17.13.x couldn't build ruby.exe
@nobu found `miniruby.exe` is working with `-O2` instead of `-O2s`. But we faced another issue with:
```
linking shared-library x64-vcruntime140-ruby350.dll
x64-vcruntime140-ruby350.def : error LNK2001: unresolved external symbol Av...
hsbt (Hiroshi SHIBATA)
02:05 AM Revision bb6b3c98 (git): Replace tombstone when converting AR to ST hash
[Bug #21170]
st_table reserves -1 as a special hash value to indicate that an entry
has been deleted. So that that's a valid value to be returned from the
hash function, do_hash replaces -1 with 0 so that it is not mistaken for
the sent...
jhawthorn (John Hawthorn)
01:06 AM Revision 38540021 (git): * 2025-03-06 [ci skip]
git[bot]
01:06 AM Revision 18a84ad8 (git): Use actions/checkout@v4
hsbt (Hiroshi SHIBATA)
12:52 AM Revision 977d711b (git): Update actions/checkout and actions/cache and others
hsbt (Hiroshi SHIBATA)
12:23 AM Revision e8f8565d (git): Remove obsoleted insn_may_depend_on_sp_or_pc()
which was for MJIT k0kubun (Takashi Kokubun)
12:09 AM Revision 188ff4d4 (git): Name dependency checks job
And run on the latest ubuntu. nobu (Nobuyoshi Nakada)
12:09 AM Revision 9472548a (git): automerge needs windows results
hsbt (Hiroshi SHIBATA)

03/05/2025

11:46 PM Revision 0d031837 (git): auto-request-review should run only for master
Backport PRs are reviewed only by the branch maintainers. k0kubun (Takashi Kokubun)
11:46 PM Revision e3960c5a (git): Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.co...
dependabot[bot]
11:36 PM Revision c462deb4 (git): Update actions/cache for ruby_3_3
k0kubun (Takashi Kokubun)
11:15 PM Revision 698741d7 (git): Replace tombstone when converting AR to ST hash
[Bug #21170]
st_table reserves -1 as a special hash value to indicate that an entry
has been deleted. So that that's a valid value to be returned from the
hash function, do_hash replaces -1 with 0 so that it is not mistaken for
the sent...
jhawthorn (John Hawthorn)
10:49 PM Bug #21170 (Closed): Corrupted Hash (bad VALUE and missing entry) when -1 returned from .hash
alanwu (Alan Wu)
10:46 PM Bug #21170: Corrupted Hash (bad VALUE and missing entry) when -1 returned from .hash
Fixed in 443e2ec27db89c896bd62994f6e04d8d6d48cddb
Backports:
3.2: https://github.com/ruby/ruby/pull/12860
3.3: https://github.com/ruby/ruby/pull/12861
3.4: https://github.com/ruby/ruby/pull/12862
jhawthorn (John Hawthorn)
01:45 AM Bug #21170: Corrupted Hash (bad VALUE and missing entry) when -1 returned from .hash
Started with the 3.2 series. alanwu (Alan Wu)
10:05 PM Revision 443e2ec2 (git): Replace tombstone when converting AR to ST hash
[Bug #21170]
st_table reserves -1 as a special hash value to indicate that an entry
has been deleted. So that that's a valid value to be returned from the
hash function, do_hash replaces -1 with 0 so that it is not mistaken for
the sent...
jhawthorn (John Hawthorn)
07:26 PM Bug #21173 (Closed): RUBY_FREE_AT_EXIT does not work when error in -r
PR: https://github.com/ruby/ruby/pull/12859
When loading a file using the command line -r, it is processed before RUBY_FREE_AT_EXIT is checked. So if the loaded file raises an error, it will cause memory to not be freed with RUBY_FREE...
peterzhu2118 (Peter Zhu)
05:57 PM Bug #21172 (Closed): Race condition in `register_fstring`
Applied in changeset commit:git|c224ca4feaff20cab03d76439bcbfb35d4e2f6b1.
----------
Fix a race condition with interned strings sweeping.
[Bug #21172]
This fixes a rare CI failure.
The timeline of the race condition is:
- A `"foo" o...
byroot (Jean Boussier)
05:09 PM Bug #21172 (Closed): Race condition in `register_fstring`
This is a rare bug with very low criticality, but it can cause occasional CI failures. I leave it to branch maintainers to decide if it's worth backporting or not.
### Timeline
- A `"foo" oid=1` string is interned.
- `"foo" oid=1`...
byroot (Jean Boussier)
05:57 PM Revision c224ca4f (git): Fix a race condition with interned strings sweeping.
[Bug #21172]
This fixes a rare CI failure.
The timeline of the race condition is:
- A `"foo" oid=1` string is interned.
- `"foo" oid=1` is no longer referenced and will be swept in the future.
- Another `"foo" oid=2` string is interne...
byroot (Jean Boussier)
04:38 PM Revision 9a7e3aab (git): yjit.rb: Fix parameter name in documentation
a5-stable
03:19 PM Revision 53579e57 (git): yjit.rb: Fix parameter name in documentation
a5-stable
01:26 PM Bug #21171 (Closed): Segfault on large stack (RUBY_THREAD_VM_STACK_SIZE) on 3.4.2
maybe related to #17583 ?
We are using Ruby with large `RUBY_THREAD_VM_STACK_SIZE` (as large as 128MB currently).
Ruby 3.4.2 (also happened on Ruby 3.4.0, 3.4.1) crashes if `RUBY_THREAD_VM_STACK_SIZE` is larger than `15958016` (= 1...
kyontan_q (Kyosuke Tanaka)
09:27 AM Feature #21157: Comparison operator <>
Such a note in the documentation would certainly be advisable. Could a similar one be added to the `max`, `min` and `minmax` methods? lpogic (Łukasz Pomietło)
08:26 AM Feature #21157 (Feedback): Comparison operator <>
Added a reference to `Numeric#nonzero?` at commit:d31c15d81f368614f81e8c32295d0529b66e7334.
Isn't it enough?
nobu (Nobuyoshi Nakada)
09:21 AM Revision 36ee0c1a (git): Add tests for alias locations with special variables $`, $', and $+
ydah (Yudai Takada)
07:24 AM Misc #21100: DevMeeting before RubyKaigi 2025
*Venue changed!!*
Thank you for RubyKaigi organizers, they offer us the great meeting room at the same venue of RubyKaigi 2025! (Ehime Prefectural Convention Hall)
ko1 (Koichi Sasada)
02:25 AM Bug #21169: "try to mark T_NONE object" with 3.3.7
You seem to have using a patched ruby, which makes the backtrace less helpful. But, gc.c:7480 is around this code:
```
case T_OBJECT:
{
rb_shape_t *shape = rb_shape_get_shape_by_id(ROBJECT_SHAPE_ID(obj));
if (rb_shape_obj_too_co...
alanwu (Alan Wu)

03/04/2025

11:19 PM Bug #21170 (Closed): Corrupted Hash (bad VALUE and missing entry) when -1 returned from .hash
``` ruby
class MyObj
attr_reader :hash
def initialize(val) = @hash = val
end
values = 0.downto(-16).to_a
hash = {}
values.each do |val|
hash[MyObj.new(val)] = val
end
p hash.values
# => [0, -2, -3, -4, -5, -6, -7, -8, ...
jhawthorn (John Hawthorn)
09:10 PM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
On the latest Linux kernel, the constants have changed:
```
MADV_DONTNEED = 4
MADV_FREE = 8
```
I did a quick comparison, creating 10,000 fibers x10 times in a loop:
```
samuel@aiko ~/D/s/memory-leak (main)> time RUBY_SHARED_FIBER_POO...
ioquatix (Samuel Williams)
09:04 PM Bug #21144: Win32: Use Windows time zone ID as the time zone name if TZ is not set
ruby_3_4 commit:d40c6cf7b606edb815adf7a8e9abe98f38a8f747. ufuk (Ufuk Kayserilioglu)
09:04 PM Revision d40c6cf7 (git): [Bug #21144] Win32: Use Windows time zone ID if TZ is not set
If the TZ environment variable is not set, the time zone names
retrieved from the system are localized for UI display and may vary
across editions and language packs for the same time zone.
Use the time zone IDs that are invariant across...
nobu (Nobuyoshi Nakada)
08:45 PM Revision 1ce10f3f (git): do not reset `EnvUtil.timeout_scale`
Even if `setup` is omitted, but `teardown` is called and
`EnvUtil.timeout_scale` was reset with `nil`.
ko1 (Koichi Sasada)
08:45 PM Revision 46f3d82f (git): Revert "try to show timeout sec"
This reverts commit ce66eea167847d4300150791bde4932b907b0cc0. ko1 (Koichi Sasada)
06:39 PM Bug #21169 (Open): "try to mark T_NONE object" with 3.3.7
We have been intermittent `try to mark T_NONE object` erorrs in CI using Ruby 3.3.7. For example:
```
/builds/gitlab-org/gitlab/vendor/ruby/3.3.0/gems/actionpack-7.0.8.7/lib/action_dispatch/journey/visitors.rb:139: [BUG] try to mark ...
stanhu (Stan Hu)
02:23 PM Revision 15ee4508 (git): Move in-place interning spec to Ruby's tests
Fix: https://github.com/ruby/spec/issues/1249
JRuby and TruffleRuby can't implement this behavior.
While quite a lot of code out there relies on it, if it's
not implemented it will simply result in sligthly less efficient
code, so not t...
byroot (Jean Boussier)
02:22 PM Revision 5de02d64 (git): [DOC] Tweaks for Hash#size
burdettelamar (Burdette Lamar)
12:32 PM Bug #21168 (Open): Prism doesn't require argument parentheses (in some cases) when a block is present but parse.y does
It's a bit more than that but explaining it in full would be a bit much. Instead, see this:
```rb
foo(
bar baz do
end
)
```
```sh
$ ruby -c --parser=prism test.rb
Syntax OK
$ ruby -c --parser=parse.y test.rb
ruby: test...
Earlopain (Earlopain _)
10:39 AM Revision ce66eea1 (git): try to show timeout sec
http://ci.rvm.jp/results/trunk-gc-asserts@ruby-sp2-noble-docker/5632508
```
1) Error:
TestEval#test_outer_local_variable_under_gc_compact_stress:
Test::Unit::ProxyError: execution of Test::Unit::CoreAssertions#assert_separately expired...
ko1 (Koichi Sasada)
10:11 AM Feature #21157: Comparison operator <>
Let's not add new syntax and methods for something which can easily be done with `nonzero?` (and which is BTW the main purpose of `nonzero?`) Eregon (Benoit Daloze)
09:58 AM Revision d7a96a28 (git): Sync skip rules from ubuntu.yml
hsbt (Hiroshi SHIBATA)
09:58 AM Revision bb6674f9 (git): Try to build WSL on GitHub Actions
hsbt (Hiroshi SHIBATA)
01:26 AM Revision 53f8b269 (git): * append newline at EOF. [ci skip]
nobu (Nobuyoshi Nakada)
01:08 AM Bug #21161: Crash when locale is set to Turkish tr_TR.UTF-8
ruby_3_4 commit:3d744a0a9436fbf7901c345055dd3d775b518361. ufuk (Ufuk Kayserilioglu)
01:07 AM Bug #21159: `Module#set_temporary_name` should freeze given name
ruby_3_4 commit:ddb73fbd115631e6dec3bdd230c1cfc13027602e. ufuk (Ufuk Kayserilioglu)

03/03/2025

11:54 PM Revision 40ae7d96 (git): .gdbinit: Fix T_HASH printing [ci skip]
Tested and it works with both AR and ST tables, with live process and
core dumps.
alanwu (Alan Wu)
11:42 PM Revision 3d744a0a (git): [ruby/prism] Use a locale-insensitive version of tolower
[Bug #21161]
The `tolower` function provided by the libc is locale dependent
and can behave in ways you wouldn't expect for some value
of `LC_CTYPE`.
https://github.com/ruby/prism/commit/e3488256b4
Co-Authored-By: Nobuyoshi Nakada <no...
byroot (Jean Boussier)
11:41 PM Revision ddb73fbd (git): [Bug #21159] module names should not be modifiable
nobu (Nobuyoshi Nakada)
11:41 PM Revision 82e43a9c (git): [Feature #19521] Test for `Module#set_temporary_name`
nobu (Nobuyoshi Nakada)
11:08 PM Bug #21153: ::Foo ||= p 1 should parse
ruby_3_4 commit:8d2be590ad567b7b03286731f9a9754d24370f00. k0kubun (Takashi Kokubun)
11:08 PM Bug #21145: Prism accepts newlines in-between curly unicode escape
ruby_3_4 commit:f627efe8ae580d777d87c3bb8c0b350b49af62e8. k0kubun (Takashi Kokubun)
11:07 PM Bug #21131: IO.copy_stream: yielded string changes value when duped
ruby_3_4 commit:eb8ee7c189d051e656f781ce2775ede1157edd6a. k0kubun (Takashi Kokubun)
11:06 PM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
ruby_3_4 commit:6d2c7d4304bbf8450d31b624f5dc40a92e44f00b. k0kubun (Takashi Kokubun)
10:15 PM Bug #21166: Fiber Scheduler is unable to be interrupted by `IO#close`.
Yeah, this makes more sense to me. The other way introduces a method on all `IO` objects that's only useful in the fiber scheduler context, and I could see users forgetting
to call it. I think having it be the default is the more sensib...
luke-gru (Luke Gruber)
02:55 AM Bug #21166: Fiber Scheduler is unable to be interrupted by `IO#close`.
The fiber scheduler hook `rb_fiber_scheduler_io_wait` could be implemented like this:
```c
static VALUE
fiber_scheduler_io_wait(VALUE _argument) {
VALUE *arguments = (VALUE*)_argument;
return rb_funcallv(arguments[0], id_io_wai...
ioquatix (Samuel Williams)
10:01 PM Revision eb8ee7c1 (git): Ensure IO.copy_stream buffer is an independent string
Otherwise, changes to the buffer by the destination write method
could result in data changing for supposedly independent strings.
Fixes [Bug #21131]
jeremyevans (Jeremy Evans)
09:45 PM Revision 6d2c7d43 (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)
08:45 PM Revision 5085ec3e (git): Allow YJIT `mem-size` and `call-threshold` to be set at runtime via `YJIT.enable()` (#12505)
* first commit
* yjit.rb change
* revert formatting
* rename mem-size to exec-mem-size for correctness
* wip, move setting into rb_yjit_enable directly
* remove unused helper functions
* add in call threshold
* input validation wi...
annichai-stripe
06:05 PM Bug #21162: Regexp casefold mismatch for latin1 supplemental chars
@nobu Certainly could be and the fix looks similar.
@mjrzasa What do you think? Does your fix repair this problem?
headius (Charles Nutter)
03:27 PM Revision 9ccba881 (git): [ruby/openssl] test_pkey_dh.rb: Merge 2 test_new_break tests to one test.
Merge 2 test_new_break tests to one test because it's easy to maintain the test.
https://github.com/ruby/openssl/commit/446ff3e11f
Jun Aruga
11:29 AM Bug #21167: Visual Studio 2022 17.13.x couldn't build ruby.exe
Reported at https://developercommunity.visualstudio.com/t/Use-of-the-result-of-bsr-before-that-i/10862351 nobu (Nobuyoshi Nakada)
09:59 AM Bug #21167: Visual Studio 2022 17.13.x couldn't build ruby.exe
I think it is a bug in VC 19.43.34808 for x64.
This is the code compiled `heap_idx_for_size` with VC 19.43.34808 for x64
```asm
mov r8d, 63 ; 0000003fH
sub r8d, DWORD PTR r$2[rsp]
lea rcx, QWORD PTR [r10+39]
mul rcx
s...
nobu (Nobuyoshi Nakada)
05:30 AM Bug #21167 (Third Party's Issue): Visual Studio 2022 17.13.x couldn't build ruby.exe
`miniruby.exe` built by Visual Studio 2022 17.13.0-2 is not working with our build process.
```
user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib gmp.lib imagehlp.lib shlwapi.lib bcrypt.lib
linking miniruby.exe
Creat...
hsbt (Hiroshi SHIBATA)
06:52 AM Revision 12e2dfdc (git): [rubygems/rubygems] Update parallel_tests.
- new version restores previously removed method
https://github.com/rubygems/rubygems/commit/5348e88d07
retro (Josef Šimánek)
06:52 AM Revision 7b3a0c65 (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 directory: [rb-sys](https://github.com/oxidize-rb/rb-sys).
Bumps the rb-sys group with 1 update in the /test/rubygems/t...
dependabot[bot]
06:52 AM Revision fdf1076e (git): [rubygems/rubygems] docs(bundle-exec): recommend non-deprecated methods
https://github.com/rubygems/rubygems/commit/3b4934fb69 Michael Chui
06:52 AM Revision a98c3d22 (git): [rubygems/rubygems] docs(bundle-config): hint default group when using only option
https://github.com/rubygems/rubygems/commit/c258e45b44 Mateo
06:52 AM Revision 29e3ee05 (git): [rubygems/rubygems] Bring man pages up to date
https://github.com/rubygems/rubygems/commit/591d2c0503 retro (Josef Šimánek)
06:52 AM Revision e4c5531b (git): [rubygems/rubygems] Update vendored uri to 1.0.3
https://github.com/rubygems/rubygems/commit/176dc7421c hsbt (Hiroshi SHIBATA)
06:52 AM Revision f52a2e4b (git): Restore lockfile for vendor_gems.rb
hsbt (Hiroshi SHIBATA)
02:17 AM Bug #21165 (Closed): 引数なしで起動するとSegmentatino Fault
Applied in changeset commit:git|617e8608b2cff8be1d063c2f47ab425cda839d58.
----------
[ruby/prism] Rename fgets parameter to fix NetBSD
Fixes [Bug #21165]
https://github.com/ruby/prism/commit/3f0acf7560
kddnewton (Kevin Newton)
02:17 AM Revision a47e686c (git): Implement POSTEXE NODE locations
The following Location information has been added This is the information required for parse.y to be a universal parser:
```
❯ ruby --parser=prism --dump=parsetree -e "END { }"
@ ProgramNode (location: (1,0)-(1,8))
+-- locals: []
+-- s...
ydah (Yudai Takada)

03/02/2025

11:54 PM Bug #21166: Fiber Scheduler is unable to be interrupted by `IO#close`.
> when you can accomplish the same thing by allowing the io operation to be interrupted by a close in every case like the regular thread scheduler does
Because the point at which IO operations become interruptible is not the entire op...
ioquatix (Samuel Williams)
11:20 PM Bug #21166: Fiber Scheduler is unable to be interrupted by `IO#close`.
I'm not knowledgeable when it comes to the fiber scheduler, but why add this new method `io.interruptible_operation` when you can accomplish the same thing by allowing the io operation to be interrupted by a close in every case like the ... luke-gru (Luke Gruber)
09:38 PM Bug #21166 (Closed): Fiber Scheduler is unable to be interrupted by `IO#close`.
## Background
Ruby's `IO#close` can cause `IO#read`, `IO#write`, `IO#wait`, `IO#wait_readable` and `IO#wait_writable` to be interrupted with an `IOError: stream closed in another thread`. For reference, `IO#select` cannot be interrupt...
ioquatix (Samuel Williams)
10:27 PM Misc #21134: DevMeeting-2025-03-13
- [Bug #21166] Fiber Scheduler is unable to be interrupted by `IO#close`.
- Introduce new public interfaces:
- `VALUE rb_fiber_scheduler_fiber_interrupt(VALUE scheduler, VALUE fiber, VALUE exception)` for interrupting a specific fi...
ioquatix (Samuel Williams)
10:20 PM Feature #19059 (Closed): Introduce top level `module TimeoutError` for aggregating various timeout error classes.
It is unlikely that Ruby will adopt this, so I am going to close it. ioquatix (Samuel Williams)
10:18 PM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
I also agree this is not a bug and the expanded stack trace is good. But let me talk about my experience with Objective-C.
A long time ago, I created Objective-C applications with Apple's Cocoa framework. It uses "delegate" pattern exte...
ioquatix (Samuel Williams)
06:14 PM Revision 617e8608 (git): [ruby/prism] Rename fgets parameter to fix NetBSD
Fixes [Bug #21165]
https://github.com/ruby/prism/commit/3f0acf7560
kddnewton (Kevin Newton)
02:10 PM Revision c93f30ab (git): Use user defined parameterizing rules `mlhs`
ydah (Yudai Takada)
02:10 PM Revision 6c8cdc9c (git): Change superclass rhs to use none
ydah (Yudai Takada)
 

Also available in: Atom