Project

General

Profile

Activity

From 02/17/2025 to 02/23/2025

Today

08:37 AM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
Yes, you are not meant to edit others comments, it's just that each comment can contain one or more tickets. byroot (Jean Boussier)
08:30 AM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
Thanks @byroot! I see there is only one comment with a series of tickets, but I cannot edit that comment. Should I wr... fxn (Xavier Noria)
08:25 AM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
See: https://bugs.ruby-lang.org/issues/21134 byroot (Jean Boussier)
08:22 AM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
I have tried to formulate a more narrowed question in https://bugs.ruby-lang.org/issues/21154.
@eregon How to add ...
fxn (Xavier Noria)
08:15 AM Misc #21154 (Open): Document or change Module#autoload?
The documentation of `Module#autoload?` says
> Returns filename to be loaded if name is registered as autoload in ...
fxn (Xavier Noria)
01:37 AM Revision dfc25204 (git): [doc] update Time document.
akr (Akira Tanaka)
01:28 AM Bug #21153 (Open): ::Foo ||= p 1 should parse
There is an inconsistency between how `Foo` and `::Foo` are handled:
```console
% ./miniruby --parser=parse.y -e ...
qnighy (Masaki Hara)

02/22/2025

11:47 PM Bug #21152 (Open): Enumerator's #size returned by Range#reverse_each raises an exception for endless Range
I've noticed a change between 3.3 and 3.4 in a way how `Range#reverse_each` behaves:
Ruby 3.3:
```ruby
Range.n...
andrykonchin (Andrew Konchin)
03:11 PM Revision fd882fb6 (git): [ruby/openssl] test_ssl_session.rb: test adjustments to work with AWS-LC
The SSL SESSION files we were originally testing against use DHE and
SSLv3. AWS-LC happens to have no support for eit...
sachiang (Samuel Chiang)
03:11 PM Revision 7a15ba48 (git): [ruby/openssl] ssl: account for slight behavioral differences in AWS-LC
There are a few SSL discrepencies in AWS-LC when compared to OpenSSL.
1. AWS-LC has slightly different error message...
sachiang (Samuel Chiang)
03:11 PM Revision 4ec0e9e2 (git): [ruby/openssl] pkey/ec: AWS-LC disallows serialization of explicit curves
https://github.com/ruby/openssl/commit/65c5a772ea sachiang (Samuel Chiang)
03:11 PM Revision 23465d84 (git): [ruby/openssl] pkey/dh: tweak break tests for AWS-LC
We reecently tweaked some break tests in test_pkey_dh.rb due to
different behavior with OpenSSL in FIPS mode.
AWS-LC ...
sachiang (Samuel Chiang)
03:11 PM Revision 841d9f25 (git): [ruby/openssl] pkey: EVP_DigestVerify doesn't return -1 in AWS-LC
EVP_DigestVerify in OpenSSL returns 0 to indicate a signature
verification failure and can return -1 to indicate oth...
sachiang (Samuel Chiang)
03:11 PM Revision f63a1236 (git): [ruby/openssl] pkey: AWS-LC disallows parsing of invalid keys and params
OpenSSL allows invalid EC keys or DH params to be parsed. The consuming
application can then run parameter/key checks...
sachiang (Samuel Chiang)
03:11 PM Revision 6263d0d1 (git): [ruby/openssl] test_pkcs7.rb: skip AWS-LC's unsupported features
1. AWS-LC has no support for SMIME with PKCS7. That may change in the
near future, so I've marked that with "pend"...
sachiang (Samuel Chiang)
03:11 PM Revision b995eee8 (git): [ruby/openssl] asn1: adjusting an ASN1 test to use CONTEXT_SPECIFIC
AWS-LC's ASN1 parsing capabilities led to us examine some of our
ASN1 tests. One test in test_asn1.rb happens to use ...
sachiang (Samuel Chiang)
03:11 PM Revision c4a39d6e (git): [ruby/openssl] test_config.rb: skip AWS-LC's unsupported features
AWS-LC has a few minor functionalities removed from NCONF_get_string.
1. Expanding of $foo to a previously-parsed va...
sachiang (Samuel Chiang)
03:11 PM Revision ee5af886 (git): [ruby/openssl] test_bn.rb: AWS-LC does not support BN::CONSTTIME
AWS-LC does not support BN_FLG_CONSTTIME due to its historically
inconsistent constant-time guarantees.
https://gith...
sachiang (Samuel Chiang)
03:11 PM Revision f14995e2 (git): [ruby/openssl] test_pkcs12.rb: don't use KEY_EX/SIG with AWS-LC
AWS-LC does not support the KEY_SIG or KEY_EX flags that were only ever
supported by old MSIE.
https://github.com/ru...
sachiang (Samuel Chiang)
03:11 PM Revision 6f3bd376 (git): [ruby/openssl] test_fips.rb: account for AWS-LC's FIPS mode
AWS-LC's FIPS mode is decided at compile time. FIPS in AWS-LC can't be
toggled on and off like OpenSSL, so tests that...
sachiang (Samuel Chiang)
03:03 PM Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled
@radarek
Thank you for your additional report.
I would like to determine how to address this issue, but unfortuna...
shioimm (Misaki Shioi)
10:14 AM Revision d6f44535 (git): [DOC] Fix a typo
nobu (Nobuyoshi Nakada)
01:29 AM Revision b17f984e (git): [doc] Time class document updated.
akr (Akira Tanaka)
01:09 AM Revision 4963d393 (git): Add description for Socket::Ifaddr#flags.
akr (Akira Tanaka)

02/21/2025

06:37 PM Feature #21105: Improve Ruby Stack Trace to Include Exact Error Position (Column Number)
Sorry to comment on a closed issue.
As a complement, I find it very useful when there is multiple objects calling th...
ennder (Jérôme BATAILLE)
04:53 PM Revision 41299730 (git): [DOC] Tweaks for Hash#fetch_values
burdettelamar (Burdette Lamar)
12:06 PM Revision 7ef9110b (git): [ruby/stringio] Fix SEGV at unget to a null device StringIO
https://github.com/ruby/stringio/commit/eb4ee49218 nobu (Nobuyoshi Nakada)
12:06 PM Revision fa6b9f75 (git): [ruby/stringio] Suppress a warning for the chilled string
https://github.com/ruby/stringio/commit/4a35291ed3 nobu (Nobuyoshi Nakada)
10:17 AM Bug #21150 (Closed): Segfault in MacOS libunwind (c backtrace info) when called from a ractor
Applied in changeset commit:git|1bc57b5e0e3cd15e8702c8856a276e98b6e46ba8.
----------
[Bug #21150] macOS: Temporary w...
nobu (Nobuyoshi Nakada)
10:06 AM Revision a1bdc364 (git): Use an exclusive range for `ruby_version_is`
nobu (Nobuyoshi Nakada)
08:53 AM Revision 1bc57b5e (git): [Bug #21150] macOS: Temporary workaround at unwinding coroutine
On arm64 macOS, libunwind (both of system library and homebrew
llvm-18) seems not to handle our coroutine switching c...
nobu (Nobuyoshi Nakada)
08:20 AM Bug #16145: regexp match error if mixing /i, character classes, and utf8
Fix: https://github.com/ruby/ruby/pull/12787 mjrzasa (Maciek Rząsa)
06:20 AM Revision d97884a5 (git): [ruby/cgi] Use license files same as ruby/ruby
https://github.com/ruby/cgi/commit/defbdf9a30 hsbt (Hiroshi SHIBATA)
02:51 AM Revision dbb3e021 (git): Update default gems list at f8750dd87f91482283838090a801a3 [ci skip]
git[bot]
02:36 AM Revision f8750dd8 (git): Bump up development version of stringio
hsbt (Hiroshi SHIBATA)
02:31 AM Revision ee2c7bca (git): [rubygems/rubygems] Allow noop `bundle install` to work on read-only or protected folders
As long as there's nothing new to install and gems are already there.
If not, give a meaningful error about what hap...
deivid (David Rodríguez)
02:31 AM Revision ca46a159 (git): [rubygems/rubygems] bin/rubocop -a --only Style/RedundantParentheses
https://github.com/rubygems/rubygems/commit/24d4281d86 hsbt (Hiroshi SHIBATA)
02:31 AM Revision 425cfcff (git): [rubygems/rubygems] bin/rubocop -a --only Style/MultipleComparison
https://github.com/rubygems/rubygems/commit/677e17aa2e hsbt (Hiroshi SHIBATA)
02:31 AM Revision cdbadafd (git): [rubygems/rubygems] Fix resolver issue due to ill-defined version ranges being created
https://github.com/rubygems/rubygems/commit/f2f2ac9680 deivid (David Rodríguez)
02:31 AM Revision bf6c106d (git): [ruby/strscan] `scan_integer(base: 16)` ignore x suffix if not
followed by hexadecimal
(https://github.com/ruby/strscan/pull/141)
Fix: https://github.com/ruby/strscan/issues/140
...
byroot (Jean Boussier)
02:01 AM Revision 0f8a6e1f (git): Remove an unused empty directory [ci skip]
nobu (Nobuyoshi Nakada)
02:00 AM Revision a64bf7e5 (git): Remove useless shebang in non-executable files [ci skip]
nobu (Nobuyoshi Nakada)
01:32 AM Revision f4481b95 (git): Remove useless shebang in non-executable file [ci skip]
nobu (Nobuyoshi Nakada)
12:50 AM Revision 06451f0d (git): Merge RubyGems-3.6.5 and Bundler-2.6.5
hsbt (Hiroshi SHIBATA)
12:50 AM Revision a0025b6e (git): Merge RubyGems-3.6.4 and Bundler-2.6.4
hsbt (Hiroshi SHIBATA)
12:50 AM Revision 19c69f38 (git): Merge RubyGems-3.6.3 and Bundler-2.6.3
hsbt (Hiroshi SHIBATA)
12:37 AM Revision 7d798464 (git): [ruby/stringio] Allow seek when underlying string is frozen
(https://github.com/ruby/stringio/pull/121)
Fixes https://github.com/ruby/stringio/pull/119. Adds a test for this ex...
headius (Charles Nutter)
12:35 AM Revision 20a72bb6 (git): [ruby/mmtk] Fix compatibility for Rust 1.85
https://github.com/ruby/mmtk/commit/9da566e26a peterzhu2118 (Peter Zhu)

02/20/2025

10:42 PM Bug #21151 (Open): IO and StringIO raise FrozenError even for read-only methods
Problem
--------
While fixing a small [regression](https://github.com/ruby/stringio/issues/119) from my recent St...
headius (Charles Nutter)
07:35 PM Revision 0f1cb923 (git): [ruby/mmtk] Fix compatibility for Rust 1.85
https://github.com/ruby/mmtk/commit/9da566e26a peterzhu2118 (Peter Zhu)
07:26 PM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
According to the changelogs for v3.4.2, this wasn't included?
https://github.com/ruby/ruby/releases/tag/v3_4_2
jamesst20 (James St-Pierre)
06:14 PM Revision b2cf48f4 (git): chmod -x tool/ruby_vm/models/bare_instructions.rb
We run only tool/insns2vm.rb as the executable. It seems confusing to
have an executable flag on this file.
k0kubun (Takashi Kokubun)
04:44 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
@hsbt I tried my approach again, but (I think) without the defect of making users possibly miss the bundled gems warn... deivid (David Rodríguez)
02:25 PM Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled
I have the same issue with ruby 3.4.1 and 3.4.2. Because of it I can not install gems (ie. gem install solargraph fai... radarek (Radosław Bułat)
06:34 AM Revision 34098b66 (git): [Bug #21144] Win32: Convert the time zone name to the current locale
The Windows time zone IDs provided by Microsoft as of 24H1 are ASCII
only all, but the API itself is not impossible t...
nobu (Nobuyoshi Nakada)
03:58 AM Revision 556be73c (git): [rubygems/rubygems] gem server command is extracted from rubygems core feature now
https://github.com/rubygems/rubygems/commit/b29f8d6a37 hsbt (Hiroshi SHIBATA)
03:58 AM Revision 63600d79 (git): [rubygems/rubygems] Fix lockfile platforms inconveniently added on JRuby
When working with our repository on JRuby locally, I get the following
changes when running `bin/rake setup` in all o...
deivid (David Rodríguez)
03:35 AM Bug #21150: Segfault in MacOS libunwind (c backtrace info) when called from a ractor
When printing out the backtrace after each iteration of `unw_step(&cursor)`, the one right before the crashing call t... luke-gru (Luke Gruber)
03:18 AM Revision 86195205 (git): Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/act...
dependabot[bot]
01:20 AM Revision 7605d680 (git): Revert "refactor: make get_local_variable_ptr accept "rb_env_t *""
This reverts commit 6d75599a1aade9f8081d0691a9da1e62a5428e95.
Updating env was actually needed in local_variable_set...
mame (Yusuke Endoh)
12:37 AM Feature #21148: Class proposal: IndefiniteNumeric < Numeric
I was not talking about diamond inheritance. I was talking about
```
Numeric
Float
IndefiniteNumeric
...
Student (Nathan Zook)
12:18 AM Revision a27758ad (git): [ruby/stringio] Make sure shared buffer is copied on mutation
(https://github.com/ruby/stringio/pull/117)
We need to ensure shared buffers are made independent on mutation.
Other...
Aaron Patterson

02/19/2025

11:05 PM Bug #21149 (Rejected): Strange behavior of ObjectSpace.each_object after Ractor.new
Thank you. I forgot to search existing issues before opening the ticket. Now I can see many related tickets:
- [Fe...
wanabe (_ wanabe)
08:42 PM Bug #21149: Strange behavior of ObjectSpace.each_object after Ractor.new
Yes, this is a known bug. Currently, objects don't record which ractor they belong to. Therefore, after you start new... luke-gru (Luke Gruber)
10:11 AM Bug #21149: Strange behavior of ObjectSpace.each_object after Ractor.new
Interesting.
It seems irrelevant what is done in the new Ractor.
Even if the block is empty, the result is same.
nobu (Nobuyoshi Nakada)
09:42 AM Bug #21149 (Rejected): Strange behavior of ObjectSpace.each_object after Ractor.new
I found the strange behavior of `ObjectSpace.each_object`.
It misses some objects after `Ractor.new`.
```
$ ruby...
wanabe (_ wanabe)
10:40 PM Bug #21131: IO.copy_stream: yielded string changes value when duped
Thank you jeremy! Was planning to take a stab at it to see if I could do it, but thankful that you jumped in. chucke (Tiago Cardoso)
02:04 AM Bug #21131 (Closed): IO.copy_stream: yielded string changes value when duped
Applied in changeset commit:git|f423f6e10c0c226dfed98e7cb7a5d489191dfa35.
----------
Ensure IO.copy_stream buffer is...
jeremyevans (Jeremy Evans)
08:16 PM Bug #21150 (Closed): Segfault in MacOS libunwind (c backtrace info) when called from a ractor
On Macos Arm64 with llvm18, libunwind fails with SEGV when called within a Ractor. So, the bug
report fails with a S...
luke-gru (Luke Gruber)
05:08 PM Revision c515da3d (git): [ruby/openssl] ssl: remove cert_store from start_server test helper
OpenSSL::SSL::SSLContext#cert_store= uses SSL_CTX_set_cert_store(). The
store is used for verifying peer certificates...
rhenium (Kazuki Yamaguchi)
04:50 PM Bug #21115: Etc.getgrgid is not Ractor-safe but is marked as such
I made a PR to mark Etc as not Ractor-safe for now: https://github.com/ruby/etc/pull/52 Eregon (Benoit Daloze)
04:04 PM Feature #21140: Add a method to get the address of certain JIT related functions
Correct me if I'm wrong: for struct offsets I'm assuming they will have to parse C header files or DWARF files? maximecb (Maxime Chevalier-Boisvert)
10:53 AM Feature #21140: Add a method to get the address of certain JIT related functions
Thinking a bit more about this, how is RJIT going to work since on master it seems everything related to it has been ... Eregon (Benoit Daloze)
01:21 AM Feature #21140: Add a method to get the address of certain JIT related functions
> That's why I wanted to use the set that RJIT/YJIT use already. I assume it's not just using the function "for fun" ... maximecb (Maxime Chevalier-Boisvert)
02:56 PM Revision 49e229b3 (git): Fix value of RB_GC_OBJECT_METADATA_ENTRY_COUNT
There are 7 entries in RB_GC_OBJECT_METADATA_ENTRY_COUNT. peterzhu2118 (Peter Zhu)
02:47 PM Revision ff6b1a03 (git): Skip TestObjSpace#test_dump_flag_age for MMTk
peterzhu2118 (Peter Zhu)
02:47 PM Revision 5e45f2a0 (git): Add age to rb_gc_object_metadata
This will allow ObjectSpace.dump to output the age of the object. peterzhu2118 (Peter Zhu)
02:47 PM Revision 5acfe308 (git): Implement rb_gc_object_metadata for MMTk
peterzhu2118 (Peter Zhu)
02:47 PM Revision 7b6e07ea (git): Add rb_gc_object_metadata API
This function replaces the internal rb_obj_gc_flags API. rb_gc_object_metadata
returns an array of name and value pai...
peterzhu2118 (Peter Zhu)
02:46 PM Revision 273e35cd (git): [DOC] Tweaks for Hash#fetch
burdettelamar (Burdette Lamar)
02:46 PM Revision a46997a8 (git): [DOC] Tweaks for Hash#except
burdettelamar (Burdette Lamar)
02:45 PM Revision 188b3375 (git): [DOC] Tweaks for Hash#eql?
burdettelamar (Burdette Lamar)
11:31 AM Bug #21144 (Closed): Win32: Use Windows time zone ID as the time zone name if TZ is not set
Applied in changeset commit:git|3f07bc76ff6a11232d9f18e5eaa31835c195e8f0.
----------
[Bug #21144] Win32: Use Windows...
nobu (Nobuyoshi Nakada)
09:58 AM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
Another way to look at it is if `Array#fetch_values` was defined by a gem (e.g. by `activesupport`), then everyone wo... Eregon (Benoit Daloze)
01:47 AM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
My thinking is inline with @Eregon 's. It's significantly more work to try to modify the backtraces to omit `<intern... jeremyevans0 (Jeremy Evans)
09:27 AM Revision 3f07bc76 (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...
nobu (Nobuyoshi Nakada)
04:54 AM Revision bd84c75a (git): [wasm] Update WASI SDK to 25
to include WASI Preview 2 related changes added in the SDK. katei (Yuta Saito)
03:27 AM Feature #21148: Class proposal: IndefiniteNumeric < Numeric
Student (Nathan Zook) wrote:
> The `IndefiniteNumeric` class would serve as a base class for such values. In partic...
nobu (Nobuyoshi Nakada)
01:21 AM Feature #21148 (Open): Class proposal: IndefiniteNumeric < Numeric
Suppose someone deals five cards face down from a regulation poker deck, and we wish to reason about the number of ac... Student (Nathan Zook)
02:46 AM Revision eac35edf (git): [wasm] Stop using mprotect(PROT_NONE) on WASI
we had been using a stub weak definition of `mprotect` in wasm/missing.c
so far, but wasi-sdk 23 added mprotect emula...
katei (Yuta Saito)
02:04 AM Revision 4f7dfbe5 (git): [rubygems/rubygems] Remove no longer necessary JRuby specific test ENV
It does not seem noisy anymore.
https://github.com/rubygems/rubygems/commit/060c5e960a
deivid (David Rodríguez)
02:04 AM Revision 5d8fe7a5 (git): [rubygems/rubygems] Make sure empty gems are not reinstalled every time
Unfortunately this requires reverting a previous enhancement of
reinstalling gems if they incorrectly ship with an em...
deivid (David Rodríguez)
02:04 AM Revision da976629 (git): [rubygems/rubygems] Don't add gemspec to specification list of our test gems
Real gems hardly ever do this, so don't do it ourselves for testing
either.
https://github.com/rubygems/rubygems/com...
deivid (David Rodríguez)
02:04 AM Revision 68f0150f (git): [ruby/json] Pass through all options if present.
https://github.com/ruby/json/commit/bea96e0a69 Samuel Williams
01:18 AM Revision f423f6e1 (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 indepen...
jeremyevans (Jeremy Evans)

02/18/2025

11:48 PM Revision 6e510d78 (git): Launchable: Remove unused file names (#12782)
I found file names that were not used anymore. I'm gonna delete them in this PR. ono-max (Naoto Ono)
11:41 PM Revision 80a71bfb (git): Fix typo in test_gc_compact.rb [ci skip]
peterzhu2118 (Peter Zhu)
11:19 PM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
TLDR: I think this is mostly a matter of getting used to `<internal:` backtrace entries, and so I think we should not... Eregon (Benoit Daloze)
06:40 PM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
This issue was discussed briefly at the dev meeting and Matz agreed with koic's expectation.
https://github.com/ru...
mame (Yusuke Endoh)
10:58 AM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
I agree with Jeremy and Jean, this is not a bug.
There are more and more methods implemented in Ruby, and that's a g...
Eregon (Benoit Daloze)
10:32 PM Feature #21140: Add a method to get the address of certain JIT related functions
Eregon (Benoit Daloze) wrote in #note-17:
> How about reviewing the functions RJIT really needs, and those it could ...
tenderlovemaking (Aaron Patterson)
10:17 PM Feature #21140: Add a method to get the address of certain JIT related functions
tenderlovemaking (Aaron Patterson) wrote in #note-14:
> I don't think providing the method _hurts_ anything. It's ex...
Eregon (Benoit Daloze)
07:45 PM Feature #21140: Add a method to get the address of certain JIT related functions
maximecb (Maxime Chevalier-Boisvert) wrote in #note-15:
> > I don't think providing the method hurts anything. It's ...
tenderlovemaking (Aaron Patterson)
07:40 PM Feature #21140: Add a method to get the address of certain JIT related functions
> I don't think providing the method hurts anything. It's experimental and unstable, so people who build anything wit... maximecb (Maxime Chevalier-Boisvert)
07:36 PM Feature #21140: Add a method to get the address of certain JIT related functions
Eregon (Benoit Daloze) wrote in #note-13:
> Would this API be needed for e.g. a JIT in the FFI gem? (https://railsat...
tenderlovemaking (Aaron Patterson)
07:11 PM Feature #21140: Add a method to get the address of certain JIT related functions
Would this API be needed for e.g. a JIT in the FFI gem? (https://railsatscale.com/2025-02-12-tiny-jits-for-a-faster-f... Eregon (Benoit Daloze)
06:52 PM Feature #21140: Add a method to get the address of certain JIT related functions
> We would fix them forward. That's why we have our daily Ruby-head CI running, so that we can catch these kinds of c... maximecb (Maxime Chevalier-Boisvert)
06:43 PM Feature #21140: Add a method to get the address of certain JIT related functions
maximecb (Maxime Chevalier-Boisvert) wrote in #note-10:
> if 5 years from now we make some CRuby change and 3 gems t...
ufuk (Ufuk Kayserilioglu)
06:30 PM Feature #21140: Add a method to get the address of certain JIT related functions
> I think it can be both a side project as well as a piece of software that millions of people rely on.
I apologize ...
maximecb (Maxime Chevalier-Boisvert)
05:57 PM Feature #21140: Add a method to get the address of certain JIT related functions
maximecb (Maxime Chevalier-Boisvert) wrote in #note-8:
> I'm skeptical of the idea of having third-party JITs as gem...
tenderlovemaking (Aaron Patterson)
03:33 PM Feature #21140: Add a method to get the address of certain JIT related functions
I'm skeptical of the idea of having third-party JITs as gems. This is exposing a ton of internal APIs that were not p... maximecb (Maxime Chevalier-Boisvert)
10:09 PM Revision 0597cbcb (git): Fix crash for special constants in too complex generic ivars
We should skip reference updating for entries in too complex generic ivars
that are special constants. This fixes the...
peterzhu2118 (Peter Zhu)
08:29 PM Revision 27ba268b (git): [DOC] Tweaks for Hash#empty?
burdettelamar (Burdette Lamar)
08:02 PM Revision fd134cf6 (git): [DOC] Tweaks for Hash#each_value
burdettelamar (Burdette Lamar)
05:14 PM Revision f627efe8 (git): [ruby/prism] Fix escape unicode curly inline whitespace
Fixes [Bug #21145]
https://github.com/ruby/prism/commit/be2d845639
kddnewton (Kevin Newton)
04:29 PM Bug #20727: YJIT segmentation fault inside of invalidate_block_version
We are seeing this in 3.3.4 and 3.3.5, but it is coming from `rb_yjit_constant_state_changed`, e.g.:
```
ruby: YJ...
froydnj (Nathan Froyd)
03:04 PM Revision eafcdc15 (git): [DOC] Tweaks for Hash#each_key
burdettelamar (Burdette Lamar)
02:55 PM Bug #21147: [Breaking changes or Bug] DateTime Range#to_a behaves different between 3.3.7 and 3.4.1
Sorry, the exemple above is incorrect.
Pure Ruby reproductible
```ruby
require 'date'
require 'json'
a = ...
jamesst20 (James St-Pierre)
02:40 PM Bug #21147 (Open): [Breaking changes or Bug] DateTime Range#to_a behaves different between 3.3.7 and 3.4.1
``` ruby
a = Time.zone.now.to_date
b = Time.zone.now.to_date
# Ruby 3.3.7
(a..b).to_a
=> [Tue, 18 Feb 2025]
...
jamesst20 (James St-Pierre)
12:09 PM Revision e9ba334f (git): Tweak: Add prefix to non-static function names (#12764)
to avoid conflicts with other functions.
This was pointed out in https://github.com/ruby/ruby/pull/11653#discussion_r...
Misaki Shioi
08:51 AM Bug #20965 (Closed): `it` vs `binding.local_variables`
mame (Yusuke Endoh)
08:51 AM Bug #21049 (Closed): Reconsider handling of the numbered parameters and "it" parameter in `Binding#local_variables`
Fixed by commit:993fd96ce6bb763e08207bb3d53824d5d46d07a4. mame (Yusuke Endoh)
08:49 AM Revision cfca3484 (git): Add the behavior change of Binding#local_variable* to NEWS.md
mame (Yusuke Endoh)
07:23 AM Revision 3a0d00dd (git): Add a test for Binding#local_variable* with numbered parameters and `it`
mame (Yusuke Endoh)
07:23 AM Revision 993fd96c (git): reject numbered parameters from Binding#local_variables
Also, Binding#local_variable_get and #local_variable_set rejects an
access to numbered parameters.
[Bug #20965] [Bug...
mame (Yusuke Endoh)
07:23 AM Revision 6d75599a (git): refactor: make get_local_variable_ptr accept "rb_env_t *"
... instead of "rb_env_t **" because no one uses the updated env. mame (Yusuke Endoh)
03:12 AM Revision 39960cd7 (git): [rubygems/rubygems] Reduce confusion about domains used for testing
Sometimes security reports believe they have found a vulnerability
because they find a domain we don't own being used...
Martin Emde
03:12 AM Revision 507de222 (git): [rubygems/rubygems] Fix Bundler incorrectly downgrading direct dependencies
There's no reason to call `converge_specs` when adding additional
lower bound requirements to prevent downgrades, and...
deivid (David Rodríguez)
03:12 AM Revision 203a570f (git): [rubygems/rubygems] Add additional assertions to spec
To make it consistent with the spec above it.
https://github.com/rubygems/rubygems/commit/9a00bf8db9
deivid (David Rodríguez)
03:12 AM Revision c5cdabc1 (git): [rubygems/rubygems] Don't try to skip requirements to prevent downgrades
These don't really hurt, so I'm not sure why I introduced it.
https://github.com/rubygems/rubygems/commit/85b6b405ac
deivid (David Rodríguez)
03:12 AM Revision c7735415 (git): [rubygems/rubygems] Fix locked gems being upgraded when locked dependencies are incorrect
Resolver had internal logic to prioritize locked versions when sorting
versions, however part of it was not being act...
deivid (David Rodríguez)
03:12 AM Revision 24988169 (git): [rubygems/rubygems] Add intermediate assertion to spec to help debugging
https://github.com/rubygems/rubygems/commit/ffabab65f2 deivid (David Rodríguez)
03:12 AM Revision 592eb02d (git): [rubygems/rubygems] Refactor finding dependency changes
https://github.com/rubygems/rubygems/commit/d8c4754d8f deivid (David Rodríguez)
03:12 AM Revision 63657565 (git): [rubygems/rubygems] Extract a `TheBundle#locked_specs` test helper
https://github.com/rubygems/rubygems/commit/8cbe6573b4 deivid (David Rodríguez)
03:12 AM Revision 533e894c (git): [rubygems/rubygems] Improve processing and categorizing unlock information
https://github.com/rubygems/rubygems/commit/516430c3ec deivid (David Rodríguez)
02:25 AM Bug #21131: IO.copy_stream: yielded string changes value when duped
Thank you for the report. This is definitely a bug. My testing shows it affects all versions of Ruby, at least back t... jeremyevans0 (Jeremy Evans)
02:19 AM Misc #21134: DevMeeting-2025-03-13
* [Bug #21089] Missing methods on enumerators created from Enumerator::product and Enumerator::Chain (jeremyevans0)
...
jeremyevans0 (Jeremy Evans)
02:07 AM Bug #20906 (Closed): Segmentation Fault in compile_keyword_arg
jeremyevans0 (Jeremy Evans)
02:06 AM Bug #20906: Segmentation Fault in compile_keyword_arg
This was fixed in Ruby 3.4 by removing support for the syntax. I don't think there are plans to fix Ruby 3.3 to allo... jeremyevans0 (Jeremy Evans)
01:48 AM Bug #21036 (Closed): Somewhat confusing behaviour between warning "block passed may be ignored", versus the responsible method triggering this warning already being faulty and can never be run successfully due to errors such as "wrong number of arguments" and/or recursive cal
rubyFeedback (robert heiler) wrote:
> Please feel free to close this issue at any moment in time; it may not
> be a...
jeremyevans0 (Jeremy Evans)
12:13 AM Bug #21146: VM_ASSERT(expr) gives bad bug report results when another ractor fails an assertion during printing of report
PR here: https://github.com/ruby/ruby/pull/12770 luke-gru (Luke Gruber)
12:09 AM Revision 36f69d5b (git): [DOC] Tweaks for Hash#dig
burdettelamar (Burdette Lamar)
12:08 AM Revision 266088a8 (git): [DOC] Tweaks for Hash#each_pair
burdettelamar (Burdette Lamar)
12:06 AM Revision 047a05ea (git): [DOC] Tweaks for Hash#delete_if
burdettelamar (Burdette Lamar)

02/17/2025

11:19 PM Bug #21146 (Open): VM_ASSERT(expr) gives bad bug report results when another ractor fails an assertion during printing of report
test.rb:
```ruby
rs = 100.times.map do
Ractor.new do
cnt = rand 3
cnt += 1 if cnt.zero?
sleep cnt...
luke-gru (Luke Gruber)
06:22 PM Feature #21135 (Closed): Feature request: Enumerable.compare_count
kddnewton (Kevin Newton)
06:17 PM Feature #21135: Feature request: Enumerable.compare_count
I had indeed forgotten about Enumerable::Lazy. There is a more general solution, which I am working up. Please close Student (Nathan Zook)
06:22 PM Bug #21145 (Closed): Prism accepts newlines in-between curly unicode escape
Fixed by https://github.com/ruby/ruby/commit/2db365dc83b3bc5e5bc15d93b5cd44b048188361 kddnewton (Kevin Newton)
05:56 PM Bug #21145 (Closed): Prism accepts newlines in-between curly unicode escape
For example:
```ruby
p "\u{
61}"
```
kddnewton (Kevin Newton)
06:12 PM Revision 2db365dc (git): [ruby/prism] Fix escape unicode curly inline whitespace
Fixes [Bug #21145]
https://github.com/ruby/prism/commit/be2d845639
kddnewton (Kevin Newton)
04:10 PM Revision 8324e314 (git): [DOC] Tweaks for Hash#compact! (#12756)
burdettelamar (Burdette Lamar)
03:45 PM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
Right, I think that would be a good question to ask for the next dev meeting, can you add an item there?
I posted ...
Eregon (Benoit Daloze)
02:53 PM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
@eregon Understood.
So then we are back to "clarify or redefine" perhaps?
If the current behavior of `autoload?` an...
fxn (Xavier Noria)
01:39 PM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
My POV is there is no autoloads being unregistered or ignored (the autoload exists until it's resolved, and important... Eregon (Benoit Daloze)
01:20 PM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
@eregon but, if we introduce the concept of autoloads being unregistered or ignored, isn't the current `autoload?` co... fxn (Xavier Noria)
01:15 PM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
FWIW I do think it would make sense to changed `autoload?` to be unaffected by ongoing autoloads/requires as mentione... Eregon (Benoit Daloze)
01:13 PM Misc #21035 (Closed): Clarify or redefine Module#autoload? and Module#const_defined?
Eregon (Benoit Daloze)
12:29 PM Misc #21035: Clarify or redefine Module#autoload? and Module#const_defined?
Hey, I have pending to send examples, but I'd like to suggest that we close this ticket (could followup with examples... fxn (Xavier Noria)
12:46 PM Bug #21144 (Closed): Win32: Use Windows time zone ID as the time zone name if TZ is not set
### Problem
On Windows, the `Time#zone` uses `_tzname` provided by the runtime library.
This is obtained by using...
nobu (Nobuyoshi Nakada)
12:42 PM Misc #21143: Speficy order of execution const_added vs inherited
> For classes/modules not using the class/module keyword (e.g. C = Class.new(parent)), inherited must run first since... fxn (Xavier Noria)
12:18 PM Misc #21143: Speficy order of execution const_added vs inherited
FWIW looking at this stuff I noticed `rb_class_new()` doesn't call `inherited` at all, but `rb_define_class*()` do. Eregon (Benoit Daloze)
12:13 PM Misc #21143: Speficy order of execution const_added vs inherited
For classes/modules not using the `class/module` keyword (e.g. `C = Class.new(parent)`), `inherited` must run first s... Eregon (Benoit Daloze)
07:06 AM Misc #21143 (Open): Speficy order of execution const_added vs inherited
The hooks `const_added` and `inherited` may need to be executed "together".
For example, consider:
```ruby
mod...
fxn (Xavier Noria)
09:27 AM Revision 657bd31c (git): Trivial optimization
- Not call `strlen` at the end of the zone name.
- Use the initialized UTC string.
nobu (Nobuyoshi Nakada)
09:25 AM Revision 64eba7a0 (git): Ignore broken git work directory at creating revision.h [ci skip]
nobu (Nobuyoshi Nakada)
09:08 AM Revision de490a13 (git): Enabled test_gmp_version
hsbt (Hiroshi SHIBATA)
09:08 AM Revision 13c64a8a (git): Pass XINCFLAGS for gmp build with Windows platform
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> hsbt (Hiroshi SHIBATA)
09:08 AM Revision fa5663ea (git): Revert "Temporary removed gmp because vcpkg package is broken."
This reverts commit b56b70a373753fd5c6d1b6df911342c8d0138695. hsbt (Hiroshi SHIBATA)
07:00 AM Revision 929e8131 (git): Update bundled gems list as of 2025-02-16
git[bot]
04:19 AM Revision 7032e2d6 (git): Check programs for CC in the same path
When the path of `CC` contains the target program name, e.g., clang,
the replaced program names were unexpected. Rep...
nobu (Nobuyoshi Nakada)
04:05 AM Bug #21128 (Closed): dir.c defines O_CLOEXEC before it is defined by the system.
Applied in changeset commit:git|c1c7934b63d7682216fed9dd7c9ddff5b72fea89.
----------
[Bug #21128] Include fcntl.h be...
collinfunk (Collin Funk)
04:05 AM Revision c1c7934b (git): [Bug #21128] Include fcntl.h before checking for O_CLOEXEC
On glibc O_CLOEXEC is defined in fcntl.h and not unistd.h so this change
prevents the macro from being redefined.
collinfunk (Collin Funk)
02:04 AM Revision c8f4df4a (git): [rubygems/rubygems] Make Bundler never instantiate development dependencies
Bundler does not really have a concept of "development dependencies",
like RubyGems has. Bundler has the more generic...
deivid (David Rodríguez)
02:04 AM Revision eee9bd1a (git): [ruby/strscan] Fix a bug that scan_until behaves differently with
Regexp and String patterns
(https://github.com/ruby/strscan/pull/138)
Fix https://github.com/ruby/strscan/pull/131
...
naitoh (Jun NAITOH)
12:26 AM Bug #21142 (Open): Lazy enumerator `.each_with_index` ignores `.take(0)` before it
Minimum code to produce problem:
```
class Numbers; def each; 100.times { yield _1 }; end; include Enumerable; end
...
aaronkison (Aaron Kison)
 

Also available in: Atom