Activity
From 04/23/2025 to 04/29/2025
Today
-
11:15 AM Bug #21292: wrong number of arguments (given 2, expected 0) (ArgumentError) since 8ac8225c504dee57454131e7cde2c47126596fdc
- This seems to be related to the `Class#new` optimization. Assigning to @tenderlovemaking
-
04:14 AM Bug #21292 (Open): wrong number of arguments (given 2, expected 0) (ArgumentError) since 8ac8225c504dee57454131e7cde2c47126596fdc
- Rails CI against Ruby master branch has been failing https://buildkite.com/rails/rails-nightly/builds/2129#019673e6-e...
-
09:41 AM Misc #21290: Unable to build ruby extension on Fedora 42 due to possible GCC 15 issues
- I can't reproduce the failure on Fedora 42 aarch64.
`gem install --user ed25519` succeeded with ruby installed by `d... -
06:34 AM Misc #21290: Unable to build ruby extension on Fedora 42 due to possible GCC 15 issues
- For some additional context just in case it's helpful here, I've been running into this same issue on my Fedora 42 sy...
-
09:35 AM Feature #21279: Bare "rescue" should not rescue NameError
- Maybe I'm simply used to how this worked until now, but I don't see a problem with `NoMethodError` being handled by b...
-
09:16 AM Feature #21279: Bare "rescue" should not rescue NameError
- > I couldn't find the precise rationale, but @matz seemed to believe (at least at the time) that code like `d.to_f re...
-
08:33 AM Feature #21279: Bare "rescue" should not rescue NameError
- matz (Yukihiro Matsumoto) wrote in #note-2:
> During Ruby 1.6 - 1.8, NameError was a subclass of Exception, then mov... -
02:34 AM Feature #21279: Bare "rescue" should not rescue NameError
- During Ruby 1.6 - 1.8, NameError was a subclass of Exception, then moved under the StandardError (on 2001-07-05). Unf...
-
12:56 AM Bug #21291: possible bug with /m regexp and $ based on input
- Possible fix: https://github.com/ruby/ruby/pull/13200
-
12:46 AM Bug #21291: possible bug with /m regexp and $ based on input
- 1.8 prints 2 but 1.9 and later print nil.
04/28/2025
-
10:21 PM Bug #21288 (Closed): StringScanner#named_captures overrides matched captures with unmatched captures
- strscan 3.1.4 gem fixed this.
-
10:50 AM Bug #21288: StringScanner#named_captures overrides matched captures with unmatched captures
- See https://github.com/ruby/strscan/issues/145 and the linked PR
-
01:55 AM Bug #21288 (Closed): StringScanner#named_captures overrides matched captures with unmatched captures
- StringScanner#named_captures operates inconsistently with MatchData#named_captures when there is the same name used i...
-
08:15 PM Bug #21291 (Open): possible bug with /m regexp and $ based on input
- reported in discord by the.unnamed user:
``` ruby
#!/usr/bin/env -S ruby -vw
# => ruby 3.4.2 (2025-02-15 revisio... -
07:33 PM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- I just updated the code in https://github.com/ruby/setup-msys2-gcc (the repo that assembles Windows build tool archiv...
-
03:23 PM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- Maybe gcc-15 could be added to https://github.com/ruby/ruby/blob/master/.github/workflows/compilers.yml?
We don't ... -
02:55 PM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- I wonder if `-Werror` is being set implicitly?
I'm seeing similar failures up and down my CI pipelines for the gem... -
12:42 PM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- I'm getting the same thing in windows CI runs for a bunch of other first-party gems:
* `date`
* `fiddle`
* `io-con... -
06:48 AM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- I'm seeing the same thing on `ruby/json` GitHub Actions builds.
```
bigdecimal.c:2556:1: note: 'BigDecimal_trunc... - 07:10 PM Revision 6052b12d (git): ZJIT: Replace GetConstantPath with Const if the IC is not empty (#13183)
- * Add rb_zjit_constcache_shareable
* Add rb_zjit_multi_ractor_p
* Replace GetConstantPath with Const if the IC is n... -
07:08 PM Revision 1e416685 (git): ZJIT: Drop a duplicated call into optimize (#13196)
- * ZJIT: Drop a duplicated call into optimize
* Update a comment
Co-authored-by: Max Bernstein <[email protected]... -
07:06 PM Misc #21290 (Open): Unable to build ruby extension on Fedora 42 due to possible GCC 15 issues
- At least one Ruby extension (ed25519) fails to build due to incompatibilities(?) with the core library headers on Fed...
-
06:45 PM Revision 9996d692 (git): Add comments for cryptic functions in iseq.c
-
05:26 PM Bug #21289 (Open): Fix C level backtraces for USE_ELF
- After upgrading GitHub to Ruby 3.4 we noticed that we stopped getting useful C level backtrace information in our cra...
-
04:25 PM Revision 58e3aa02 (git): ZJIT: Drop trace_zjit_* instructions (#13189)
-
04:23 PM Revision 50b1759b (git): YJIT: Fix potential infinite loop when OOM (GH-13186)
- Avoid generating an infinite loop in the case where:
1. Block `first` is adjacent to block `second`, and the branch f... -
03:38 PM Revision 92641117 (git): Support Marshal.{dump,load} for core Set
- This was missed when adding core Set, because it's handled
implicitly for T_OBJECT.
Keep marshal compatibility betwe... -
12:50 PM Bug #21257 (Closed): YJIT can generate infinite loop when OOM
- Applied in changeset commit:git|80a1a1bb8ae8435b916ae4f66a483e91ad31356a.
----------
YJIT: Fix potential infinite lo... -
12:50 PM Revision 80a1a1bb (git): YJIT: Fix potential infinite loop when OOM (GH-13186)
- Avoid generating an infinite loop in the case where:
1. Block `first` is adjacent to block `second`, and the branch f... -
10:55 AM Revision 37db51b4 (git): Suppress error message when gc is cleaned already [ci skip]
-
08:21 AM Bug #20203: `TestEnumerable` test failures with GCC 14
- Was this ever resolved or is the undefined behavior still used?
-
06:09 AM Revision 73f8d0a9 (git): Fix nondeterministic failure in test_latest_gc_info_weak_references_count
- Clear the ary variable before setting it to nil. Otherwise, if
the previous ary value was somewhere on the stack, al...
04/27/2025
-
06:39 PM Feature #21287 (Open): Remove SortedSet autoload and set/sorted_set
- When implementing core Set, I moved the `SortedSet` autoload from `lib/set.rb` to `prelude.rb`. However, since this ...
-
05:10 PM Bug #21286 (Open): Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile.
See [MinGW](https://github.com/MSP-G... -
01:35 PM Bug #21271: Ruby build failure due to invalid probe specifier for dtrace
- @nobu Do you remember why CPPFLAGS is needed for dtrace in this commit https://github.com/ruby/ruby/commit/060ae17c80...
-
09:59 AM Revision 3ec7bfff (git): Use a `set_table` for `rb_vm_struct.unused_block_warning_table`
- Now that we have a hash-set implementation we can use that
instead of a hash-table with a static value. -
09:35 AM Feature #21284: Request: add `Array#pad` method
- No worries, I thought it was some new syntax I was not aware of!
-
09:32 AM Feature #21284: Request: add `Array#pad` method
- Current Ruby doesn't have start-exclusive range.
`^..` is so-called neko-operator in Perl 6, and just this request r... - 06:47 AM Revision 6874b289 (git): Free jump buffers leaked by `cont_restore_thread` in WASI builds
- 06:47 AM Revision 45e814d1 (git): Fix jump buffer leak in WASI builds
-
04:17 AM Bug #21257: YJIT can generate infinite loop when OOM
- I've had a swing at fixing this in https://github.com/ruby/ruby/pull/13186
-
01:00 AM Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled
- Thank you for the additional reports.
Based on the information shared so far, it seems that the host machines expe...
04/26/2025
-
06:38 PM Feature #21264: Extract Date library from Ruby repo in the future
- Do we have examples of the maintenance overhead to just keep date as a default gem?
I would think because it's stable... -
06:25 PM Bug #21272: Class.new doesn't trigger :class TracePoint
- In my view, `Baz = Class.new` doesn't really "Start a class or module definition." it creates a class but there is no...
-
06:18 PM Feature #21279: Bare "rescue" should not rescue NameError
- I think the proposal makes sense and would be worth to try it experimentally (i.e. merge to master and see if it actu...
-
06:11 PM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- I think just removing the warning is not right here (also explicitly testing for chilled strings feels dirty).
I t... - 11:56 AM Revision 687bd837 (git): [ruby/ipaddr] Added IPAddr#+/-
- https://github.com/ruby/ipaddr/commit/78b4f53bf5
-
11:52 AM Bug #21285: Range#overlap? returns false for (nil..nil)
- Yeah, indeed. I was fixed in https://github.com/ruby/ruby/pull/12937. Thank you.
-
10:10 AM Revision c0417bd0 (git): Use `set_table` to track const caches
- Now that we have a `set_table` implementation, we can
use it to track const caches and save some memory.
We could ev... -
05:28 AM Feature #21216 (Closed): Implement Set as a core class
- Applied in changeset commit:git|e4f85bfc311a3812de7bc2e9d068934e8b364574.
----------
Implement Set as a core class
... -
01:31 AM Revision e4f85bfc (git): Implement Set as a core class
- Set has been an autoloaded standard library since Ruby 3.2.
The standard library Set is less efficient than it could ...
04/25/2025
-
11:45 PM Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled
- I can repro this on M4 chipset but not M3. `Fix is export RUBY_TCP_NO_FAST_FALLBACK=1`
See https://github.com/ruby... -
08:46 PM Revision b1283b45 (git): maybe fix bindgen
-
08:46 PM Revision ec3b48d3 (git): Deopt if iseq trace events are enabled
-
08:46 PM Revision f15d85f0 (git): Add parse.y implementation
-
08:46 PM Revision 3552d446 (git): update allocation location tests
-
08:46 PM Revision 8ac8225c (git): Inline Class#new.
- This commit inlines instructions for Class#new. To make this work, we
added a new YARV instructions, `opt_new`. `op... -
07:21 PM Bug #21285 (Closed): Range#overlap? returns false for (nil..nil)
- I believe it is already fixed.
-
03:28 PM Bug #21285 (Closed): Range#overlap? returns false for (nil..nil)
- I've notices the following edge case:
```ruby
(..1).overlap?(nil..nil)
=> false
```
But I expect `true` - 06:04 PM Revision e0545a02 (git): ZJIT: Bail out of HIR translation if we can't handle a send flag (#13182)
- Bail out of HIR translation if we can't handle a send flag
-
06:00 PM Feature #21221: Proposal to upstream ZJIT
- Eregon (Benoit Daloze) wrote in #note-6:
> In my reply I was even mostly focusing on the "jumping to other compiled ... - 04:33 PM Revision 871d07a2 (git): ZJIT: Emit CCall if we know the type statically, not just from profiles (#13173)
- Emit CCall if we know the type statically, not just from profiles
-
12:13 PM Bug #21282 (Closed): `FrozenError` raised by `rb_error_frozen_object` should mention real class of frozen object
-
09:20 AM Bug #21282: `FrozenError` raised by `rb_error_frozen_object` should mention real class of frozen object
- On a second thought, I've come to the conclusion that the benefits in clarity that a fix would provide are not worth ...
-
10:40 AM Revision c772d269 (git): Count metadata entries automatically from the names list
-
09:17 AM Revision 62a7f171 (git): Update `RB_GC_OBJECT_METADATA_ENTRY_COUNT`
- In cb1ea54bbf6cdf49c53f42720fec1a151069810c I added one more
metadata flag, but didn't notice `RB_GC_OBJECT_METADATA_... -
07:37 AM Revision f501d114 (git): Use OS label for actions/cache. vcpkg only uses same os cache
-
07:35 AM Feature #21284: Request: add `Array#pad` method
- When I try and run that code, e.g.
``` ruby
[1, 2, 3].fill(nil, -1^..10)
```
``` shell
'Integer#^': Range ca... -
02:13 AM Feature #21284: Request: add `Array#pad` method
- It may be possible with `Array#fill` and start-exclusive range?
```ruby
ary.fill(object, -1^..padding_length)
``` -
12:16 AM Feature #21284 (Open): Request: add `Array#pad` method
- A method to pad an array of arbitrary length with objects up to a specified array size does not currently exist.
`... -
07:25 AM Revision b3566e9e (git): [rubygems/rubygems] bin/rubocop -a --only Style/StringLiterals
- https://github.com/rubygems/rubygems/commit/62e1bf2d37
- 07:03 AM Revision 24c838f9 (git): Update bundled gems list as of 2025-04-25
-
05:24 AM Revision ffa40d34 (git): Use actions/cache instead of vcpkg built-in cache feature
-
05:24 AM Revision 08f62809 (git): Revert "Extract windows-11-arm job from windows.yml because it may ignored vcpkg binary cache for x64-windows"
- This reverts commit 8e258af5b083a417a8f5e424a2c7d2c4800f8ca2.
-
02:37 AM Revision 8e258af5 (git): Extract windows-11-arm job from windows.yml because it may ignored vcpkg binary cache for x64-windows
- 02:17 AM Revision daef56cf (git): Update default gems list at 6f336d1b154e608d5200bd8de48473 [ci skip]
-
02:12 AM Revision 6f336d1b (git): [rubygems/rubygems] Remove shellwords autoload
- https://github.com/rubygems/rubygems/commit/2af1646776
-
02:11 AM Revision db660382 (git): [ruby/json] Release 2.11.2
- https://github.com/ruby/json/commit/c985e8c6ea
-
02:11 AM Revision 05f949eb (git): [ruby/json] Bring back JSON::PRETTY_STATE_PROTOTYPE with a deprecation
- Fix: https://github.com/ruby/json/issues/788
`multi_json` rely on it, even though it was never documented as
public ... -
02:11 AM Revision 1d65d5ce (git): [ruby/json] Release 2.11.1
- https://github.com/ruby/json/commit/84443e881d
-
02:11 AM Revision 2b5e1db2 (git): [ruby/json] Bring back the numerous deprecated alias
- This time with explicit deprecation warnings.
https://github.com/ruby/json/commit/0dee9bdad9 -
02:11 AM Revision 169b33d1 (git): [ruby/json] Release 2.11.0
- https://github.com/ruby/json/commit/a6949f8656
04/24/2025
- 11:41 PM Revision 9aed9e94 (git): ZJIT: Fold Send into SendWithoutBlockDirect if we know the class statically (#13172)
- Fold Send into SendWithoutBlockDirect if we know the class statically
This applies for constants and also for values... - 06:33 PM Revision 71166f60 (git): Add tests
- 06:33 PM Revision c2677f4d (git): Make type_of use union-find
- Otherwise we might have stale types floating around
- 06:33 PM Revision 4c1f29fd (git): Make PatchPoint(CalleeModifiedLocals) implicit
- We don't have a good model for modeling weakref-like instruction
dependency behavior and I don't think we should add ... - 06:33 PM Revision b437a3ee (git): Strength reduce sends on Fixnums in the optimizer instead of HIR builder
- 06:33 PM Revision f36f7920 (git): Simplify fixnum guarding code
-
05:50 PM Feature #21221: Proposal to upstream ZJIT
- I (mis)understood side-exit as anything getting out of the current compilation unit, whether that's jumping to other ...
-
01:16 PM Feature #21221: Proposal to upstream ZJIT
Eregon (Benoit Daloze) wrote in #note-3:
> Isn't this the main reason to move to a method-based JIT?
>
> I th...-
05:06 PM Feature #20610 (Closed): Float::INFINITY as IO.select timeout argument
- committed.
https://github.com/ruby/ruby/commit/698ef864a59004f468c77534d59e51e862ec2624 - 12:15 PM Revision bbd5d334 (git): Fix tiny typo in syntax/exceptions.rdoc
-
12:03 PM Revision 18f8c514 (git): Fix memoization for the `/(...){0}/` case (#13169)
- In this case, the previous implementation counted an extra number of
opcodes to cache and the matching was unstable o... -
10:09 AM Bug #19473: can't be called from trap context (ThreadError) is too limiting
- I agree the current behaviour seems too limiting. If user code does something incorrect, it should fail, or deadlock....
-
10:06 AM Revision 5113869f (git): Fix a flaky test by making sure that a test thread stops
- ```
1) Failure:
TestThread#test_join_argument_conversion [D:/a/ruby/ruby/src/test/ruby/test_thread.rb:249]:
E... -
09:40 AM Revision 84254760 (git): Move VCPKG_BINARY_SOURCES to global environmental variable on workflow
-
08:28 AM Revision 5dc15535 (git): Do not allocate new objects at machine stack overflow
-
08:14 AM Revision cb1ea54b (git): objspace_dump: Include `shareable` flag
- Given that the currently planned ractor local GC implementation
performance will heavilly be influenced by the number... - 07:03 AM Revision 7af5a632 (git): Update bundled gems list as of 2025-04-24
-
05:06 AM Revision d34ba74c (git): Added --vcpkg-root for fixing mismatched vcpkg root with scoop version
-
05:06 AM Revision 0714867d (git): codeql-trap cache is growing over 300MB. We should enable to cleanup needless cache from actions/cache
-
04:40 AM Bug #21283: Some tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0
- Probably due to warnings in CP932 encoding.
The warning issue is already reported at: https://developercommunity.v... -
03:08 AM Bug #21283 (Open): Some tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0
- The following tests are broken with VS2022 17.14.0 preview 4.0.
```
1) Error:
TestMkmfConvertible#test_typeof_... -
03:15 AM Revision f0dda053 (git): Rewrite CGI.parse with URI.decode_www_form_component
- Co-authored-by: Nobuyoshi Nakada <[email protected]>
-
03:15 AM Revision a23ce6d3 (git): Removed unused cgi library
-
03:15 AM Revision a88c5b50 (git): Use cgi/util if that uses like CGI.escape methods
04/23/2025
- 08:45 PM Revision bf3be272 (git): ZJIT: Fix README example command (#13163)
- Fix README example command
-
04:35 PM Revision 1f090403 (git): Fix comparison of signed and unsigned integers
- ```
../string.c:660:38: warning: comparison of integers of different signs: 'rb_atomic_t' (aka 'unsigned int') and 'i... -
03:01 PM Bug #21282: `FrozenError` raised by `rb_error_frozen_object` should mention real class of frozen object
- PR https://github.com/ruby/ruby/pull/13161
-
02:54 PM Bug #21282 (Closed): `FrozenError` raised by `rb_error_frozen_object` should mention real class of frozen object
- Hello everyone,
I've noticed that the following snippets both raise `FrozenError`, but with different messages:
... -
02:39 PM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- > Since code will not break in this case
That is debatable. It won't raise an exception yes, but the behavior wil... -
02:37 PM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- byroot (Jean Boussier) wrote in #note-5:
> Chilled string as designed should behave like mutable strings, and warn w... -
02:22 PM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- Perhaps it's the jetlag talking, but I think the current behavior is desirable.
Chilled string as designed should ... -
02:19 PM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- byroot (Jean Boussier) wrote in #note-3:
> > But behavior in this case will not change
>
> Maybe I'm missing some... -
07:25 AM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- > But behavior in this case will not change
Maybe I'm missing something, but I think the behavior will change:
```r... -
07:18 AM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- byroot (Jean Boussier) wrote in #note-1:
> Chilled strings should also emit a warning when they are mutated to signa... -
05:34 AM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- > Should this result in a warning (current behavior), or is it safe to avoid changing the encoding of the underlying ...
-
11:15 AM Misc #21281: DevMeeting-2025-05-08
- * [Feature #15408] Actually deprecate `ObjectSpace._id2ref` (byroot)
* Matz agreed to deprecate `_id2ref` for Ruby ... -
09:56 AM Misc #21281 (Open): DevMeeting-2025-05-08
- # The next dev meeting
**Date: 2025/05/08 13:00-17:00** (JST)
Log: *TBD*
- Dev meeting *IS NOT* a decision-mak... -
10:05 AM Revision 7d7478c7 (git): Run auto-style.rb only on ruby/ruby
- `github.event.before` for newly pushed branch is all zero and cannot
check out. -
09:54 AM Revision 1048b162 (git): Eagerly store a copy of `object_id` in finalizer table.
- This makes the finalizer table fully self contained, so GC no
longer need to delay cleaning the `obj_to_id_tbl`. -
09:46 AM Feature #15408: Deprecate ObjectSpace._id2ref
- I opened a PR to finally deprecated `ObjectSpace._id2ref`: https://github.com/ruby/ruby/pull/13157
-
09:09 AM Revision a8aa83cc (git): all of examples at commands/newgem_spec.rb are working on ruby repo
-
05:17 AM Revision 085878a1 (git): Remove unexpected files [ci skip]
-
05:14 AM Revision 59c7b384 (git): Check Unicode version of the normalization table
-
05:14 AM Revision b4417ff6 (git): Add Encoding::UNICODE_VERSION constant
-
05:07 AM Revision 5f3fb35a (git): Add a new spec for inherited
-
05:07 AM Revision 80cf292c (git): Add a new spec for const_added
-
05:04 AM Revision 6d0dd7d8 (git): rb_gc_impl_define_finalizer: unlock on early return
- 04:05 AM Revision 60297819 (git): [DOC] Update for String#split
- Highlight the performance advantages of calling `string.split` with a block, instead of `string.split.each` with the ...
- 01:17 AM Revision c1dbd01c (git): Increase fiber sleep test tolerance. (#13152)
Also available in: Atom