Project

General

Profile

Activity

From 10/19/2024 to 10/25/2024

10/25/2024

10:05 PM Bug #20816 (Assigned): Potential regression in Ruby 3.3.x (compared with 3.1 and 3.2) regarding fast syscalls and multi-threading.
Ok I'm sorry in advance if this is not really a regression (maybe it's the cost to pay for other improvements) but it... adrienjarthon (Adrien Jarthon)
07:36 PM Revision 990a5382 (git): Remove useless freelist unlock/lock in gc_ref_update
peterzhu2118 (Peter Zhu)
02:52 PM Revision 05f894ab (git): [DOC] Tweaks for Array#uniq! (#11950)
burdettelamar (Burdette Lamar)
02:41 PM Feature #20805: Allow Ractor#send from a signal trap Proc
It works if you make `shutdown_ractor` a constant:
```ruby
p Process.pid
SHUTDOWN_RACTOR = Ractor.new do
Ra...
alanwu (Alan Wu)
02:40 PM Misc #20013: Travis CI status
We enabled Travis CI again (enabling the allow_failures) by the PR <https://github.com/ruby/ruby/pull/11948> solving ... jaruga (Jun Aruga)
02:32 PM Feature #20815: Fetch for nested hash
```ruby
data => user: {profile: {name:}}
p name #=> "Alice"
data => user: {profile: {age:}} #=> NoMatchingPatter...
nobu (Nobuyoshi Nakada)
01:46 PM Feature #20815: Fetch for nested hash
I think this might have been suggested in the past as `deep_fetch`. Could it be `dig!` maybe? matheusrich (Matheus Richard)
11:48 AM Feature #20815 (Closed): Fetch for nested hash
I propose adding a `fetch_nested` method to Ruby’s Hash class, allowing developers to fetch values deeply nested with... dmytrostrukov (Dmytro Strukov)
02:26 PM Misc #20814 (Feedback): iseq optimizations on constant condition
Because of the dynamic feature of Ruby, the optimization on ISeq is very limited.
For instance, elimination of unrea...
nobu (Nobuyoshi Nakada)
11:20 AM Misc #20814 (Feedback): iseq optimizations on constant condition
ruby 3.4-preview2 seems optimizes out some stuff when building iseq and this may lead to user unexpected behavior whe... hurricup (Alexandr Evstigneev)
01:32 PM Revision 5c1e4327 (git): Remove rb_ary_new for parser
rb_ary_new function was not used by the parser and could be removed. S_H_ (Shun Hiraoka)
01:26 PM Revision d278d352 (git): Introduce inline_primary rule
Introduce inline_primary rule to merge the same BNF pattern S_H_ (Shun Hiraoka)
11:52 AM Revision 9c8c140d (git): Avoid dangling pointer on cygwin
fd0 (Daisuke Fujimura)
07:39 AM Revision f1e92363 (git): [ruby/reline] Add completion_append_character test
(https://github.com/ruby/reline/pull/773)
https://github.com/ruby/reline/commit/5f5a0aa78c
tompng (tomoya ishida)
07:12 AM Revision 10e0ebc7 (git): [ruby/rdoc] Remove details markers in HTML documents
`summary {list-style: none;}` still does not work in Safari 18.
https://github.com/ruby/rdoc/commit/c6a0a6a0d5
nobu (Nobuyoshi Nakada)
05:25 AM Misc #20810 (Closed): Re-enable s390x CI Builds on Master Branch in Travis CI
Travis CI including the s390x was reenabled on the ruby/ruby master branch by the above PR.
jaruga (Jun Aruga)
05:05 AM Revision 0d7f7460 (git): .travis.yml: Skip document only commit and merge for bot
Co-authored-by: Nobuyoshi Nakada <[email protected]> nobu (Nobuyoshi Nakada)
05:05 AM Revision d089826c (git): .travis.yml: Drop arm32-linux case.
In the Arm64 Ubuntu jammy (22.04) instance in Travis, we saw the following
error related to the `setarch` failing to ...
Jun Aruga
05:05 AM Revision e6ddbf18 (git): [Misc #20810] Reenable Travis CI.
There was a report that the Travis CI's long-term infra issue was addressed by
the Travis team on the Ruby Bug ticket...
nobu (Nobuyoshi Nakada)

10/24/2024

11:12 PM Bug #20804 (Closed): Stop reserving stack ahead-of-time in on Linux
Applied in changeset commit:git|dcf3add96bd6e117435c568e78be59bb7ecad701.
----------
Delete reserve_stack code
This...
kjtsanaktsidis (KJ Tsanaktsidis)
09:25 PM Revision 2b985456 (git): [DOC] Tweaks for Array#union
burdettelamar (Burdette Lamar)
09:23 PM Revision 2078ba19 (git): [DOC] Tweaks for Array#transpose
burdettelamar (Burdette Lamar)
09:07 PM Bug #20813 (Open): Segfault in rgengc_check_relation/RVALUE_WB_UNPROTECTED
We're seeing this segfault consistently crop up in CI on Ruby 3.3.5 (details below). I'm working on getting a core du... davidcornu (David Cornu)
04:36 PM Revision 979e447d (git): [ruby/reline] nonprinting_start and nonprinting_end should be
removed
(https://github.com/ruby/reline/pull/771)
https://github.com/ruby/reline/commit/e36441652a
tompng (tomoya ishida)
04:17 PM Misc #20810: Re-enable s390x CI Builds on Master Branch in Travis CI
I sent the following PR to reenable Travis CI including s390x on the rury/ruby master branch.
https://github.com/rub...
jaruga (Jun Aruga)
03:03 AM Misc #20810: Re-enable s390x CI Builds on Master Branch in Travis CI
On ruby_3_2, recently all the Travis-CI pipelines are dropped.
https://github.com/ruby/ruby/commit/4873bbd6cc25311fb...
nagachika (Tomoyuki Chikanaga)
03:08 PM Revision 1634280e (git): Fix shared GC with -DRUBY_DEBUG
RUBY_DEBUG enables ractor assertions, which sets up some space at the
end of each RVALUE to store the associated ract...
eightbitraptor (Matt V-H)
03:08 PM Revision 84ec0653 (git): Fix shared-gc build task
include CPPFLAGS, and the correct CFLAGS eightbitraptor (Matt V-H)
02:16 PM Misc #20013: Travis CI status
I received the following email from Travis support on 19th October.
> Could you please try to trigger a build once...
jaruga (Jun Aruga)
02:12 PM Revision 78378cae (git): append completion_append_character only when continous completion is … (#764)
* append completion_append_character only when continous completion is not possible
* refactoring
* remove debug puts
Wu
01:45 PM Revision c1ca331c (git): Fix potential issue in wmap_cmp for dead entries
wmap_cmp will always return true for dead entries since dead entries have
a Qundef value. When the keys have a hash c...
peterzhu2118 (Peter Zhu)
01:26 PM Feature #20812 (Closed): Proposal for Safe Include Method in Ruby
jeremyevans0 (Jeremy Evans)
01:19 PM Feature #20812: Proposal for Safe Include Method in Ruby
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> rogerconsul (Roger Consul) wrote:
> > The current `include?` method...
rogerconsul (Roger Consul)
01:10 PM Feature #20812: Proposal for Safe Include Method in Ruby
rogerconsul (Roger Consul) wrote:
> The current `include?` method raises an error when passed `nil` as an argument.
...
jeremyevans0 (Jeremy Evans)
12:57 PM Feature #20812 (Closed): Proposal for Safe Include Method in Ruby
# Proposal for Safe Include Method in Ruby
## Description
Add a new method `include_safe?` to Ruby's `Enumerabl...
rogerconsul (Roger Consul)
11:33 AM Feature #15381: Let double splat call `to_h` implicitly
Regarding `**@`, I'm not a big fan because `**` on the caller side is very much syntax a bit like a keyword, and it h... Eregon (Benoit Daloze)
10:30 AM Revision 4755d28f (git): [ruby/zlib] Reduce `ensure` nesting
https://github.com/ruby/zlib/commit/5a02eac37f nobu (Nobuyoshi Nakada)
10:18 AM Revision ae67325d (git): [ruby/zlib] Tell gcc-14 that `Qnil` is not passed to `gzfile_calc_crc`
Suppress false positive warnings due to a bug in gcc-14 optimizer.
https://github.com/ruby/zlib/commit/eb1cf426c2
nobu (Nobuyoshi Nakada)
10:12 AM Feature #20811: `warning: in a**b, b may be too big` is really helpful?
Agreed it should just compute it.
It should still be interruptible by Ctrl+C though, but it probably already is.
Eregon (Benoit Daloze)
07:40 AM Feature #20811: `warning: in a**b, b may be too big` is really helpful?
Agreed. Either Ruby can't do it and should raise some sort of error, or just do it even if it uses gigabytes of memor... byroot (Jean Boussier)
07:25 AM Feature #20811 (Closed): `warning: in a**b, b may be too big` is really helpful?
I tried to calculate the largest prime number recently discovered. However, it did not work. I was a bit disappointed... mame (Yusuke Endoh)
02:47 AM Revision 4df0038d (git): Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.c...
dependabot[bot]
12:55 AM Revision a24cb8ac (git): [rubygems/rubygems] [SpecFetcher tests] Use >3 character long fake gem name.
https://github.com/rubygems/rubygems/commit/ce06b8f0d9 Ellen Marie Dash
12:55 AM Revision 5549dd2c (git): [rubygems/rubygems] [SpecFetcher] Change < to <= like it should be.
https://github.com/rubygems/rubygems/commit/3d5135e69b Ellen Marie Dash
12:29 AM Revision 0b3d518e (git): [ruby/error_highlight] Rename the `ErrorHighlight::DefaultFormatter` setting to `max_snippet_width` for clarity
https://github.com/ruby/error_highlight/commit/e13cbd4335 karreiro (Guilherme Carreiro)

10/23/2024

10:36 PM Revision 60c0c324 (git): [ruby/rdoc] Red-based darkfish color scheme
(https://github.com/ruby/rdoc/pull/1191)
* Cleanup rdoc.css
* Use red as the highlight color
* Use the same red as...
st0012 (Stan Lo)
08:03 PM Revision 60d84354 (git): [rubygems/rubygems] [SpecFetcher] Avoid unneeded string allocation.
https://github.com/rubygems/rubygems/commit/1024505d8e Ellen Marie Dash
08:03 PM Revision ab7c800e (git): [rubygems/rubygems] [SpecFetcher] Bail before calling available_specs()
https://github.com/rubygems/rubygems/commit/0719921af4 Ellen Marie Dash
08:03 PM Revision 0f5941a5 (git): [rubygems/rubygems] Replace .map{...}.compact with .filter_map {...}
https://github.com/rubygems/rubygems/commit/18c4ea7d00 Ellen Marie Dash
08:03 PM Revision 65fd8606 (git): [rubygems/rubygems] Add another bail-early condition to suggest_gems_from_name(), with test.
https://github.com/rubygems/rubygems/commit/7bb7c0ac2d Ellen Marie Dash
08:03 PM Revision ff749d99 (git): [rubygems/rubygems] Optimize when suggest_gems_from_name finds an exact match.
https://github.com/rubygems/rubygems/commit/6c67298584 Ellen Marie Dash
08:03 PM Revision fe66eee1 (git): [rubygems/rubygems] Document suggest_gems_from_name()
https://github.com/rubygems/rubygems/commit/8f9983cc21 Ellen Marie Dash
08:03 PM Revision 35f0b7c8 (git): [rubygems/rubygems] [suggest_gems_from_name] Bail early if the value is guaranteed to be rejected.
https://github.com/rubygems/rubygems/commit/56262a9384 Ellen Marie Dash
05:18 PM Revision 5460d5b1 (git): Move error handling for GC.stat_heap to gc.c
peterzhu2118 (Peter Zhu)
05:18 PM Revision d3aaca97 (git): Make rb_gc_impl_stat_heap return a VALUE instead of size_t
peterzhu2118 (Peter Zhu)
05:18 PM Revision c0b50d05 (git): Move error handling for GC.stat to gc.c
peterzhu2118 (Peter Zhu)
05:18 PM Revision 9dea0fae (git): Make rb_gc_impl_stat return a VALUE instead of size_t
peterzhu2118 (Peter Zhu)
05:18 PM Revision c2af84b2 (git): Move error handling for GC.latest_gc_info to gc.c
peterzhu2118 (Peter Zhu)
04:17 PM Misc #20810 (Feedback): Re-enable s390x CI Builds on Master Branch in Travis CI
k0kubun (Takashi Kokubun)
04:16 PM Misc #20810: Re-enable s390x CI Builds on Master Branch in Travis CI
> However, the s390x builds are successfully running on other branches( ruby_3_3, ruby_3_2) on Travis CI, which were ... k0kubun (Takashi Kokubun)
01:08 PM Misc #20810 (Closed): Re-enable s390x CI Builds on Master Branch in Travis CI
Description: Currently, the Travis CI has been temporarily disabled on the master branch via Pr(https://github.com/ru... mayur.jadhav (Mayur Jadhav)
02:20 PM Revision 8e509380 (git): YJIT: Make PendingBranch::set_target `must_use` [ci skip]
alanwu (Alan Wu)
02:17 PM Revision cb661d7d (git): YJIT: Check when gen_branch() fails
We got some core dumps in the wild where a PendingBranch had everything
as None, leading to a panic unwrapping in Pen...
alanwu (Alan Wu)
02:06 PM Bug #20803 (Closed): Windows intermittent spec failure - ObjectSpace.memsize_of(:abc)
byroot (Jean Boussier)
01:00 PM Bug #20803: Windows intermittent spec failure - ObjectSpace.memsize_of(:abc)
https://github.com/ruby/ruby/pull/11942 byroot (Jean Boussier)
12:56 PM Bug #20803: Windows intermittent spec failure - ObjectSpace.memsize_of(:abc)
I've seen this sort of failures happen in the past, the root cause generally is that there is another test that runs ... byroot (Jean Boussier)
02:04 PM Revision a6c4a842 (git): Harden the ObjectSpace.memsize_of spec
[Bug #20803]
`abc` is used a lot across the ruby spec suite, if another test runs before
this spec is loaded and cre...
byroot (Jean Boussier)
02:02 PM Revision 68131387 (git): CI: Test with gcc-14 on macOS
nobu (Nobuyoshi Nakada)
02:02 PM Revision baae3657 (git): Extract common code as a function
nobu (Nobuyoshi Nakada)
02:02 PM Revision 7d1011d3 (git): Fix false warning by gcc 14 for aarch64
gcc 14 for aarch64 with `-O3` may emit a false positive warning for a
pointer access of `RB_BUILTIN_TYPE` called from...
nobu (Nobuyoshi Nakada)
02:02 PM Revision 47f6ba34 (git): Check if -pipe option works
With `-pipe` option, gcc of Homebrew on macOS results in a mysterious
error.
```
$ command -v gcc-14
/opt/homebrew/b...
nobu (Nobuyoshi Nakada)
01:53 PM Revision 1e59fa2b (git): YJIT: Count compiled_branch_count when branch is finalized [ci skip]
alanwu (Alan Wu)
11:16 AM Revision 438d36eb (git): [rubygems/rubygems] Print a proper error when there's a previous empty installation path with bad permissions
https://github.com/rubygems/rubygems/commit/07e7f0bf5e deivid (David Rodríguez)
08:53 AM Revision f2380081 (git): [rubygems/rubygems] Improve Bundler errors when trying to install to a protected folder in macOS
### Before
```
$ GEM_HOME=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/ bundle
Fet...
deivid (David Rodríguez)
08:53 AM Revision 055ed5f5 (git): [rubygems/rubygems] Improve `Bundler::GenericSystemCall` error message
https://github.com/rubygems/rubygems/commit/ccd7e084a8 deivid (David Rodríguez)
08:53 AM Revision cc29d737 (git): [rubygems/rubygems] Consistently use `:create` action when creating directories
It gives better errors.
https://github.com/rubygems/rubygems/commit/bedae080ef
deivid (David Rodríguez)
08:53 AM Revision 88b969cd (git): [rubygems/rubygems] Fix out of date spec description
https://github.com/rubygems/rubygems/commit/71fd896041 deivid (David Rodríguez)
08:52 AM Revision b843d4ee (git): [rubygems/rubygems] Fix running `bundler` (with a final `r`) in a `bundle exec` context
https://github.com/rubygems/rubygems/commit/ad95a1dfaa deivid (David Rodríguez)
08:52 AM Revision 4790ecc8 (git): [rubygems/rubygems] Do what the comment says, it's simpler
https://github.com/rubygems/rubygems/commit/0511d2c08d deivid (David Rodríguez)
08:52 AM Revision ffd51926 (git): [rubygems/rubygems] Remove the need for some bundler monkeypatches
https://github.com/rubygems/rubygems/commit/f530f8686d deivid (David Rodríguez)
08:52 AM Revision ad853544 (git): Clarify bundler inline’s `install` parameter
jeromedalbert (Jerome Dalbert)
07:57 AM Feature #15381: Let double splat call `to_h` implicitly
> I think that would be awesome. If I do `other_method(**model)` and that model is representable as a hash, passing i... zverok (Victor Shepelev)
04:07 AM Revision 19747c1c (git): [ruby/ipaddr] Drop support for Ruby 2.3
https://github.com/ruby/ipaddr/commit/4685fca13d Taketo Takashima
03:31 AM Revision 0de8b533 (git): Bump github/codeql-action from 3.26.13 to 3.27.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.13 to 3.27.0.
- [Release notes](https...
dependabot[bot]
03:03 AM Bug #20807: String#gsub fails when called from string subclass with a block passed
Regexp.last_match and other regexp-related pseudo globals do not work across more than one stack frame. Since you ove... Dan0042 (Daniel DeLorme)
02:48 AM Revision 25adcddc (git): Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/act...
dependabot[bot]
12:58 AM Revision e9ba6c2e (git): [ruby/error_highlight] Adjust truncation, add opt-out mechanism, rename methods, and prepare error highlighting to render on extremely small screens
https://github.com/ruby/error_highlight/commit/c565340958 karreiro (Guilherme Carreiro)
12:58 AM Revision e7c9dfb3 (git): [ruby/error_highlight] Handle very long lines with errors in the middle of the line
https://github.com/ruby/error_highlight/commit/0657bc1afa karreiro (Guilherme Carreiro)
12:58 AM Revision 5aa8b9e3 (git): [ruby/error_highlight] Handle very long lines
https://github.com/ruby/error_highlight/commit/383490a4b4 karreiro (Guilherme Carreiro)

10/22/2024

11:02 PM Bug #20767 (Closed): VM_ASSERT fails on clear_method_entry_by_id_in_class() under a specific situation
commit:a838f980f599d95ccf344157f7074e997af31f48 should have fixed this issue. alanwu (Alan Wu)
09:19 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
Though this is just a bug report, it's my first contribution to Ruby Core.
I'm excited to know some new words such a...
tikkss (Tsutomu Katsube)
12:18 AM Bug #20796 (Closed): Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
Great to hear, thank *you* very much. mame (Yusuke Endoh)
08:32 PM Revision b39b998a (git): [rubygems/rubygems] Remove patches for old TruffleRuby versions
https://github.com/rubygems/rubygems/commit/264c61eb8e deivid (David Rodríguez)
08:20 PM Feature #15381: Let double splat call `to_h` implicitly
> There are certainly backwards compatibility issues from changing `**` from calling `to_hash` to `to_h`.
What kin...
Dan0042 (Daniel DeLorme)
07:58 PM Feature #15381: Let double splat call `to_h` implicitly
There are certainly backwards compatibility issues from changing `**` from calling `to_hash` to `to_h`. I'm sympathe... jeremyevans0 (Jeremy Evans)
07:32 PM Feature #15381: Let double splat call `to_h` implicitly
> I don’t think it can be treated as “explicitly”
The `**` is right there in the code, written out caller-side, yo...
Dan0042 (Daniel DeLorme)
06:37 PM Feature #15381: Let double splat call `to_h` implicitly
> `{}.merge(**obj)` => obj is explicitly splatted but conversion is done via #to_hash instead of #to_h. It makes no s... zverok (Victor Shepelev)
06:10 PM Feature #15381: Let double splat call `to_h` implicitly
`to_{t}` methods are for explicit type conversion, and `to_{type}` methods are for implicit type conversion.
`{}.m...
Dan0042 (Daniel DeLorme)
06:12 AM Feature #15381: Let double splat call `to_h` implicitly
I believe that the general agreement is that short `to_{t}` methods (`to_s`, `to_i`, `to_h`, `to_a`) have a semantics... zverok (Victor Shepelev)
07:20 PM Revision da82b84b (git): [DOC] Tweaks for Array#inspect (#11935)
burdettelamar (Burdette Lamar)
07:11 PM Revision 00af6a3f (git): [DOC] Tweaks for Array#to_h
burdettelamar (Burdette Lamar)
06:01 PM Revision 0f3723c6 (git): Rewrite Numeric#dup and Numeric#+@ in Ruby (#11933)
k0kubun (Takashi Kokubun)
04:36 PM Revision 9cbf2f5f (git): [DOC] Tweaks for Array#take_while (#11930)
burdettelamar (Burdette Lamar)
04:35 PM Revision c837ae85 (git): [DOC] Tweaks for Array#take (#11929)
burdettelamar (Burdette Lamar)
03:30 PM Revision b41c65b5 (git): YJIT: Implement specialization for no-op `{Kernel,Numeric}#dup`
Type information in the context for no additional work!
This is the `if (special_object_p(obj)) return obj;` path in...
alanwu (Alan Wu)
03:24 PM Revision 3a327e1c (git): [DOC] Tweaks for Array#to_a
burdettelamar (Burdette Lamar)
02:43 PM Revision e288604e (git): [ruby/reline] Use IO's encoding instead of Encoding.default_external
(https://github.com/ruby/reline/pull/765)
* use IO's encoding
* refactoring
* remove unused encoding params
* (fo...
Wu
10:57 AM Bug #20809 (Open): Ripper fails to parse/tokenize nested heredocs within embexpr
In this example, Ripper wrongly concats `"s333\n"` and `"s4444"`.
~~~ruby
require 'ripper'
code1 = '<<HEREDOC1
...
tompng (tomoya ishida)
09:04 AM Revision 54065f3b (git): [rubygems/rubygems] Cleanup some specs after recent support drop
https://github.com/rubygems/rubygems/commit/9548aa6766 deivid (David Rodríguez)
08:42 AM Revision 7b16eb8c (git): [rubygems/rubygems] Change one `bundle check` spec to not touch the network
https://github.com/rubygems/rubygems/commit/f4d31c0a97 deivid (David Rodríguez)
06:30 AM Bug #20693 (Closed): Dir.tmpdir should perform a real access check before warning about writability
Merged in 7d254e4a2e16dd6275452a2a67b0fcd600cdc990 kjtsanaktsidis (KJ Tsanaktsidis)
06:27 AM Revision dcf3add9 (git): Delete reserve_stack code
This code was working around a bug in the Linux kernel. It was
previously possible for the kernel to place heap pages...
kjtsanaktsidis (KJ Tsanaktsidis)
04:17 AM Revision 7d254e4a (git): Perform an actual access check in Dir.tmpdir for writability
At the moment, this code is looking at the stat output to determine if a
temp directory can be written to. However, j...
KJ Tsanaktsidis
01:51 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
Yes, thank you for the fix. natton (Tien Truong)
12:12 AM Bug #20808: Data#pretty_print doesn't handle private or remove attribute readers
The code in question is written by @osyo and committed by @nobu. Just FYI. mame (Yusuke Endoh)

10/21/2024

09:30 PM Feature #15381: Let double splat call `to_h` implicitly
Eregon (Benoit Daloze) wrote in #note-4:
> Should `**` call `to_h` rather than `to_hash`, similar to `*` calling `to_...
sanjioh (Fabio Sangiovanni)
09:22 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
Thank you very much!
I have confirmed a83c91dd7a addresses the issue on Intel mac:
```console
$ ruby -v
ruby ...
tikkss (Tsutomu Katsube)
09:28 AM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
I don't have an access to Intel mac, but I think https://github.com/ruby/ruby/pull/11519 has indeed an off-by-one bug... mame (Yusuke Endoh)
06:15 PM Bug #20808: Data#pretty_print doesn't handle private or remove attribute readers
cc @akr , as maintainer of PP perhaps you have an opinion on how this sort of issue should be handled? byroot (Jean Boussier)
04:49 PM Bug #20808: Data#pretty_print doesn't handle private or remove attribute readers
> Struct and Data both assume all member readers are public:
Actually I misread. The `Struct` one uses `Struct#[]`...
byroot (Jean Boussier)
04:45 PM Bug #20808: Data#pretty_print doesn't handle private or remove attribute readers
The `pp` implementation for `Struct` and `Data` both assume all member readers are public:
```ruby
class Struct ...
byroot (Jean Boussier)
04:43 PM Bug #20808: Data#pretty_print doesn't handle private or remove attribute readers
So the problem isn't with `inspect`, as it only reproduce in `irb`.
It's coming from `pretty_inspect`:
```
>> ...
byroot (Jean Boussier)
04:24 PM Bug #20808 (Closed): Data#pretty_print doesn't handle private or remove attribute readers
Given the next code:
```
Dog = Data.define(:name) do
def inspect
"Hello!"
end
private
attr_reade...
maicolben (Maicol Bentancor)
04:48 PM Revision 5131fb5d (git): Don't clear out flags in rb_gc_obj_free
If there's a crash after rb_gc_obj_free, it's hard to debug because the
flags have been cleared out already.
peterzhu2118 (Peter Zhu)
04:12 PM Revision 20c5a3e1 (git): YJIT: Rename method substitution functions and improve docs (+1) (#11919)
* YJIT: Fill in commented-out assertion
* YJIT: Rename yjit_reg_method() and add links in docs
alanwu (Alan Wu)
03:45 PM Misc #20806: Redmine ML forwarding seems to be broken (likely since Oct 15)
Thanks. Good news is that it seems that the queue has been preserved 👍 vo.x (Vit Ondruch)
09:39 AM Misc #20806 (Closed): Redmine ML forwarding seems to be broken (likely since Oct 15)
I fixed this at https://github.com/ruby/b.r-l.o/commit/c1c82dc1bd3bd26982cfeaaf56c0a87684ada8d2
`good_job` is not ...
hsbt (Hiroshi SHIBATA)
08:52 AM Misc #20806 (Assigned): Redmine ML forwarding seems to be broken (likely since Oct 15)
I'm investigating now. hsbt (Hiroshi SHIBATA)
07:35 AM Misc #20806 (Closed): Redmine ML forwarding seems to be broken (likely since Oct 15)
I am subscribed to ruby-core ML and it seems that Redmine have not forwarded any notification there since ~Oct 15. Co... vo.x (Vit Ondruch)
03:41 PM Revision c4b6ce36 (git): Merge syntax-suggest-2.0.1
hsbt (Hiroshi SHIBATA)
03:18 PM Bug #19268 (Closed): Mingw64 Build Failure
jeremyevans0 (Jeremy Evans)
03:12 PM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
natton (Tien Truong) wrote in #note-9:
> Is there a way to backport this fix to Ruby version 3.1 and 3.2
Ruby 3.2...
jeremyevans0 (Jeremy Evans)
03:00 PM Revision 6588bbfa (git): Fix wmap_compact from potentially corrupting ST table
Since we hash by the address of the key in the WeakMap, we cannot change
the key in the same entry because deleting t...
peterzhu2118 (Peter Zhu)
03:00 PM Revision ef059707 (git): [DOC] Fix indentation of comment in wmap_compact_table_i
peterzhu2118 (Peter Zhu)
11:40 AM Revision a83c91dd (git): Fix an off-by-one error of own memrchr implementation
and make it support `search_len == 0`, just for the case
Ref [Bug #20796]
mame (Yusuke Endoh)
11:07 AM Bug #20807 (Open): String#gsub fails when called from string subclass with a block passed
When `String#gsub` is called from a string subclass with a block, `Regexp.last_match` is nil, but passed block is exe... koilanetroc (Oleg Tolmashov)
10:52 AM Feature #20792: String#with_encoding(encoding)
Right.
But if it is valid in that encoding, wouldn't you always or almost always then want the String (or a copy of ...
Eregon (Benoit Daloze)
10:34 AM Feature #20205 (Closed): Enable `frozen_string_literal` by default
I merged https://github.com/ruby/ruby/pull/11893 which I believe addresses https://bugs.ruby-lang.org/issues/20205#no... byroot (Jean Boussier)
10:05 AM Feature #20205: Enable `frozen_string_literal` by default
hartator (Julien Khaleghy) wrote in #note-55:
> If the main point is to avoid some kind of bugs, the reverse is also...
pdfrod (Pedro Rodrigues)
10:33 AM Revision 257f78fb (git): Show where mutated chilled strings were allocated
[Feature #20205]
The warning now suggests running with --debug-frozen-string-literal:
```
test.rb:3: warning: liter...
etienne (Étienne Barrié)
10:09 AM Bug #20804: Stop reserving stack ahead-of-time in on Linux
Yes, that’s exactly right. I will go ahead and delete this code then. Thank you! kjtsanaktsidis (KJ Tsanaktsidis)
09:52 AM Bug #20804: Stop reserving stack ahead-of-time in on Linux
In short, you are saying that the issue is supposed to have been fixed since Linux 4.13, right? Then I don't see a pr... mame (Yusuke Endoh)
10:06 AM Bug #20693: Dir.tmpdir should perform a real access check before warning about writability
OK. Thank you. akr (Akira Tanaka)
09:01 AM Bug #20800: Don't place `ruby` executable into `/usr/libexec/x86_64-linux/bin`
vo.x (Vit Ondruch) wrote in #note-2:
> the path should likely be `/usr/libexec/x86_64-linux/ruby`
Just to clarify...
vo.x (Vit Ondruch)
07:30 AM Bug #20800: Don't place `ruby` executable into `/usr/libexec/x86_64-linux/bin`
> but using --enable-multiarch when not multiarch seems like a misuse of the feature.
I don't disagree. If I had oth...
vo.x (Vit Ondruch)
06:50 AM Feature #20805 (Feedback): Allow Ractor#send from a signal trap Proc
It was surfaced in https://bugs.ruby-lang.org/issues/18139 that Ractor is designed to "unexpected interruption free" ... kirs (Kir Shatrov)

10/20/2024

03:19 PM Bug #19383: Time.now.zone encoding for German display language in Windows is incorrect
There is another remaining locale related issue.
ref: https://bugs.ruby-lang.org/issues/20774
As an alternative s...
YO4 (Yoshinao Muramatsu)
11:17 AM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
> This PR seems relevant, and fits in the (rather large) preview1/preview2 window: https://github.com/ruby/ruby/pull/... tikkss (Tsutomu Katsube)
10:33 AM Revision 75ef89ca (git): Remove unused or wrong conversions
The GMT offset and zone fields are not used in calculating the week
number, and `zone` in `struct vtm` is a `VALUE` a...
nobu (Nobuyoshi Nakada)
10:26 AM Revision d21b614b (git): [DOC] Improve `Socket::tcp` with Happy Eyeballs Version 2
With the introduction of Happy Eyeballs Version 2 to `Socket::tcp`, the following areas have been mainly enhanced:
-...
Misaki Shioi
09:55 AM Bug #20804 (Closed): Stop reserving stack ahead-of-time in on Linux
In Linux, the main thread generally only gets a small stack mapped in initially. As the application attempts to use m... kjtsanaktsidis (KJ Tsanaktsidis)
09:38 AM Bug #20693: Dir.tmpdir should perform a real access check before warning about writability
Sorry it took me so long to get back to you @akr . I've added a short comment about this - if you're OK with it I wil... kjtsanaktsidis (KJ Tsanaktsidis)
08:48 AM Bug #20500: Non-system directories are not searched when checking for jemalloc headers and libs, and building `enc`
ruby_3_2 commit:e55b1af2573eb21db57a06e5509f9868f288b583, commit:2fbae07c42f40ea43b4822e278cc92fb2415cb61, commit:f70... nagachika (Tomoyuki Chikanaga)
06:18 AM Revision fe17697a (git): [ruby/irb] Improve history test's encoding setting
(https://github.com/ruby/irb/pull/1022)
* improve history test's encoding setting
* fix missing locale error for ci...
Go
05:21 AM Bug #19268: Mingw64 Build Failure
Actually this now works without change on latest version of mingw64 make. This issue can be closed. cfis (Charlie Savage)
03:56 AM Bug #19268: Mingw64 Build Failure
Still a issue in Ruby 3.3.x
One thing I forgot to mention in the original report, the file with the issue is:
r...
cfis (Charlie Savage)
05:21 AM Revision e55b1af2 (git): merge revision(s) ce20367a0e2f1fcfabebf3b6bea732fc71fa79f7: [Backport #20500]
Define `incflags` also on mswin nagachika (Tomoyuki Chikanaga)
05:19 AM Revision 2fbae07c (git): merge revision(s) bcb3247072e6973d0f6b50ca5fed238d5824bd28: [Backport #20500]
[Bug #19778] Pass additional include options to INCFLAGS in common.mk nagachika (Tomoyuki Chikanaga)
04:56 AM Revision f70e3254 (git): merge revision(s) 5fa6ba9568e87e43e08a4daeba1572254c589fb1: [Backport #20500]
[Bug #20500] Search non-default directories for jemalloc
Co-Authored-by: lish82 (Hiroki Katagiri)
nagachika (Tomoyuki Chikanaga)

10/19/2024

06:31 PM Bug #20314: Simultaneous Timeout expires may raise an exception after the block
Ref: https://github.com/ruby/ruby/pull/10851 Eregon (Benoit Daloze)
01:00 PM Revision 1c653cab (git): Update default gems list at b101ca598ef7a0b7c81efe673fea52 [ci skip]
git[bot]
12:59 PM Revision b101ca59 (git): [ruby/ipaddr] Bump the version to 1.2.7
https://github.com/ruby/ipaddr/commit/b44d2a1173 Akinori MUSHA
12:56 PM Revision bfc586b2 (git): [ruby/ipaddr] Use string interpolation instead of format()
https://github.com/ruby/ipaddr/commit/1f41cd7320 Akinori MUSHA
 

Also available in: Atom