Project

General

Profile

Activity

From 01/19/2023 to 01/25/2023

01/25/2023

11:17 PM Bug #19112: Ractor garbage collection breaks/disables all active tracepoints
Pull request is here if you're interested: https://github.com/ruby/ruby/pull/7184 luke-gru (Luke Gruber)
10:39 PM Bug #19360: Enabling coverage with `-r` option isn't sufficient to intercept top level script.
Thanks @naruse !!! ioquatix (Samuel Williams)
02:29 PM Bug #19360: Enabling coverage with `-r` option isn't sufficient to intercept top level script.
ruby_3_2 fee5b8f263211faef10ed9f3e43c1e8b34548bbd merged revision(s) 2c93c554019ebdc394d3c51c6d925620d3005f84,f5ea43a... naruse (Yui NARUSE)
10:05 PM Bug #19376 (Closed): Ability to read ivars of non-frozen classes/modules across ractors is not thread-safe
hsbt (Hiroshi SHIBATA)
04:41 PM Bug #19376: Ability to read ivars of non-frozen classes/modules across ractors is not thread-safe
Nevermind this is actually safe, I ran into a separate segfault that this example was giving that's unrelated to that... luke-gru (Luke Gruber)
04:30 PM Bug #19376 (Closed): Ability to read ivars of non-frozen classes/modules across ractors is not thread-safe
This segfaults:
```ruby
class C
class << self
attr_accessor :val
end
end
GO = false
rs = 100.time...
luke-gru (Luke Gruber)
08:49 PM Feature #19377 (Rejected): Rename Fiber#storage to Fiber.storage
Justification:
* `#storage`, which pretends to be an instance method, is always available only on `Fiber.current`, w...
zverok (Victor Shepelev)
08:01 PM Bug #19334: Defining many instance variables and accessing them is slow in Ruby 3.2.0
We merged [this PR](https://github.com/ruby/ruby/pull/7183) as a temporary fix. After 50 IV transitions, it falls bac... jemmai (Jemma Issroff)
07:48 PM Revision 78fcc984 (git): Limit maximum number of IVs on a shape
Create SHAPE_MAX_NUM_IVS (currently 50) and limit all shapes to that
number of IVs. When a shape has more than 50 IVs...
jemmai (Jemma Issroff)
03:54 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
> What if we settle for an API and implement and test it first in the debug gem?
The `debug` gem already has a me...
st0012 (Stan Lo)
02:33 PM Bug #19350: Backport the latest stable version of RubyGems/Bundler
ruby_3_2 a22eca82314ae36668d8c1a591ffbbfa8f93147c. naruse (Yui NARUSE)
02:32 PM Revision a22eca82 (git): Merge the latest stable versions of RubyGems and Bundler to Ruby 3.2.x (#7061)
[Bug #19350]
* Merge RubyGems-3.4.2 and Bundler-2.4.2
* Merge RubyGems-3.4.3 and Bundler-2.4.3
* Generate parser-t...
hsbt (Hiroshi SHIBATA)
02:29 PM Bug #19299: YJIT panicked while holding VM lock acquired at ./yjit/src/core.rs:1693. Aborting...
ruby_3_2 97c32b49e2fe4de8b57ce05146e63b2aa64c7a44 merged revision(s) 43ff0c2c488c80aaf83b486d45bcd4a92ebe3848. naruse (Yui NARUSE)
01:25 PM Bug #19374: Issue with Ractor.make_shareable with curried procs
This issue is fixed by https://github.com/ruby/ruby/pull/7182. I will add a test to that PR for this. luke-gru (Luke Gruber)
12:50 PM Feature #16012: Add a (small) test-install suite?
I think this could become part of ruby/spec, and then we'd run ruby/spec on both built and on installed CRuby with ch... Eregon (Benoit Daloze)
12:49 PM Feature #16012: Add a (small) test-install suite?
FYI there is this script to check bin/ files, which could be reused: https://github.com/ruby/ruby-dev-builder/blob/ma... Eregon (Benoit Daloze)
09:11 AM Feature #16012: Add a (small) test-install suite?
I'm considering this request again. I'll add small check into https://github.com/ruby/chkbuild. hsbt (Hiroshi SHIBATA)
12:49 PM Bug #19372: Proc objects are not traversed for shareable check during Ractor.make_shareable(prok)
PR here: https://github.com/ruby/ruby/pull/7182 luke-gru (Luke Gruber)
05:06 AM Bug #19372: Proc objects are not traversed for shareable check during Ractor.make_shareable(prok)
No I don't think so, that change would just make it so that `obj.freeze` has the effect of making `obj` shareable for... luke-gru (Luke Gruber)
09:12 AM Bug #10919 (Third Party's Issue): [gem install] installs multipe platforms
@abaumgaertner Can you file this to https://github.com/rubygems/rubygems? hsbt (Hiroshi SHIBATA)
09:09 AM Feature #13534 (Closed): Checking installation results of default gems
I move this to https://bugs.ruby-lang.org/issues/16012. hsbt (Hiroshi SHIBATA)
08:57 AM Feature #6590 (Third Party's Issue): Dealing with bigdecimal, etc gems in JRuby
We can work bigdecimal for JRuby like
* https://github.com/ruby/psych (psych contained java implementation and pub...
hsbt (Hiroshi SHIBATA)
08:49 AM Bug #18355 (Feedback): require("pathname") within rack application chnages behaviors of Pathname methods, such as absolute?(), when there are two versions of 'pathname' gem installed.
Can you try it with the latest version of RubyGems/Bundler?
You can do it with:
```
$ gem update --system
```
hsbt (Hiroshi SHIBATA)
07:47 AM Revision 5e1e5af2 (git): Support simplecov-0.22.0.
simplecov-0.22.0 no longer support pre-0.18 result format. result data needs
`lines` key for coverage data.
hsbt (Hiroshi SHIBATA)
07:35 AM Bug #19341: Write cache issue with class variables
This breaks CI on ruby_3_2 branch https://github.com/nurse/ruby/commit/ec9a6ae3f6961b0ece1a6fc67ea26033ee91498e naruse (Yui NARUSE)
07:34 AM Revision fee5b8f2 (git): merge revision(s) 2c93c554019ebdc394d3c51c6d925620d3005f84,f5ea43a2e61789357e9c4b374b4bc6756abeae17: [Backport #19360]
Ensure main file has default coverage if required. (#7169)
* Extract common code for coverage setup.
...
naruse (Yui NARUSE)
07:12 AM Feature #19179: Support parsing SCM_CRED(ENTIALS) messages from ancillary messages
Wondering if someone could please have a look? @akr someone suggested you would be the right person? 🙏 kjtsanaktsidis (KJ Tsanaktsidis)
07:09 AM Misc #19357: DevMeeting-2023-02-09
* [Feature #19351] Promote bundled gems at Ruby 3.3
* How about the list of first proposal?
* Do you have opinion...
hsbt (Hiroshi SHIBATA)
05:49 AM Bug #19289: RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
ruby_3_2 4110137fcfd805de03a8f5569c3d6926959b9363 merged revision(s) 6f3aff3961a4c5ce87e05096a1a9dcf1055b7647. naruse (Yui NARUSE)
04:26 AM Revision 4110137f (git): merge revision(s) 6f3aff3961a4c5ce87e05096a1a9dcf1055b7647: [Backport #19289]
[Bug #19289] Retain `ruby_abi_version` function
A few extension libraries, to hide all symbols except for ne...
naruse (Yui NARUSE)
04:25 AM Bug #19348: GVL being released earlier than expected when loading iseqs
ruby_3_2 0090cb82b0bf477c29a659e34cf4427a3b1ceb27 merged revision(s) df6b72b8ff7af16a56fa48f3b4abb1d8850f4d1c. naruse (Yui NARUSE)
03:26 AM Bug #19369 (Assigned): Small corner-case issue that breaks Ractor isolation: change cloned object from another thread
hsbt (Hiroshi SHIBATA)
03:25 AM Bug #19369: Small corner-case issue that breaks Ractor isolation: change cloned object from another thread
I made a patch for this here: https://github.com/luke-gru/ruby/commit/ad760be949c2a35aac71ac0ff8dea4ec3169f589. I'll ... luke-gru (Luke Gruber)
01:52 AM Revision e82cef17 (git): Remove not used argument from tokenize_ident
This has not been used since 5e59be3eddd2ce28610ec8d1b42845cde0080833 yui-knk (Kaneko Yuichiro)
01:23 AM Revision 0090cb82 (git): merge revision(s) df6b72b8ff7af16a56fa48f3b4abb1d8850f4d1c: [Backport #19348]
Avoid checking interrupt when loading iseq
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
...
naruse (Yui NARUSE)
01:00 AM Bug #19320: Crash during compaction while traversing the stack
ruby_3_2 a20061cb1aa34b73bdbdfa7cba6cfc575a05ca38 merged revision(s) 72eb33066fa9e7dacb7470cd140b219abe37667e. naruse (Yui NARUSE)

01/24/2023

09:09 PM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
> I think the implementation issues are solvable but the bigger picture issue of adoption is of course up in the air.... maciej.mensfeld (Maciej Mensfeld)
05:42 PM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
> It has many issues as can be found on this bug tracker and when using it and as the warning says (Also there are ma... luke-gru (Luke Gruber)
11:35 AM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
> Note that Ractor is far from production-ready.
I am well aware. I just provide a justification and since my case...
maciej.mensfeld (Maciej Mensfeld)
11:31 AM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
maciej.mensfeld (Maciej Mensfeld) wrote in #note-4:
> I find this issue important and if mitigated, it would allow m...
Eregon (Benoit Daloze)
04:57 AM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
Here's a simple reproduction showing that the problem is not send/receive:
```ruby
RACTORS = ARGV.first == "racto...
luke-gru (Luke Gruber)
06:34 PM Revision 5eeebd68 (git): Remove function ary_recycle_hash
Freeing the memory of a Hash should be done by the garbage collector
and not by array functions. This could potential...
peterzhu2118 (Peter Zhu)
05:57 PM Bug #19375: File objects are currently shareable, as are other extension objects that shouldn't be.
The issue is with `Ractor.make_shareable`
The same issue occurs with Dir, Tempfile, IO objects, the ENV hash. String...
luke-gru (Luke Gruber)
03:54 PM Bug #19375 (Closed): File objects are currently shareable, as are other extension objects that shouldn't be.
I don't know the internals of file.c but I don't think files are thread-safe. luke-gru (Luke Gruber)
04:50 PM Bug #19373 (Closed): Segmentation fault at 0x00000003000179e8 when running pod install on an M1
jeremyevans0 (Jeremy Evans)
04:39 PM Bug #19373: Segmentation fault at 0x00000003000179e8 when running pod install on an M1
This was resolved by uninstalling homebrew and reinstalling. As well as rebuilding/reinstalling cocoapods :) [email protected] (Jade Thornton)
02:35 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
gsamokovarov (Genadi Samokovarov) wrote in #note-16:
> What if we settle for an API and implement and test it first ...
Eregon (Benoit Daloze)
02:23 PM Feature #19236: Allow to create hashes with a specific capacity from Ruby
If we use `Hash.new(capacity: 4096)` to set the capacity, then `Hash.new({ capacity: 4096 })` should keep the semanti... Eregon (Benoit Daloze)
02:17 PM Feature #19366: Rename/alias Refinedment#refined_class => #refined_module
Agreed, I think it's fine to have both `refined_class` and `refined_module`, much like we have {module,class}_{eval,e... Eregon (Benoit Daloze)
02:00 PM Bug #19354: Issues with arguments validation in IO.read
I think the current error could be acceptable if it's clear IO#read is in the backtrace.
But it's not part of the ba...
Eregon (Benoit Daloze)
12:40 PM Bug #19374 (Closed): Issue with Ractor.make_shareable with curried procs
This works, but shouldn't:
```ruby
class Worker
def start(&blk)
blk = blk.curry # bug in ruby allows shar...
luke-gru (Luke Gruber)
12:30 PM Feature #19326: Please add a better API for passing a Proc to a Ractor
Your new example, I think, is not possible with the current API.
However, there is a bug in Ruby that I just found t...
luke-gru (Luke Gruber)
08:41 AM Revision a20061cb (git): merge revision(s) 72eb33066fa9e7dacb7470cd140b219abe37667e: [Backport #19320]
Fix off-by-one error in rb_vm_each_stack_value
Applying the following patch to test/erb/test_erb.rb and runn...
naruse (Yui NARUSE)
07:36 AM Revision 5a73e131 (git): Add tests for variables in `END` block shared with the toplevel
nobu (Nobuyoshi Nakada)
02:05 AM Bug #19339: Defining ivar on special constants with @ syntax causes segv
ruby_3_2 c0df0a85dec77a09308caddb1e1efd4d38fbf7b8 merged revision(s) ed6fbb79e19bf401db0e85447fee955fd10a25c7. naruse (Yui NARUSE)
01:44 AM Bug #19371 (Assigned): Having Psych 5 installed raises an error during another gem's C-extension installation when parsing YAML
Thanks for your investigation. I got same report at https://github.com/ruby/psych/discussions/607.
hsbt (Hiroshi SHIBATA)
01:41 AM Feature #19370 (Assigned): Anonymous parameters for blocks?
IIRC, matz was negative against it. nobu (Nobuyoshi Nakada)
01:37 AM Bug #19372: Proc objects are not traversed for shareable check during Ractor.make_shareable(prok)
Maybe https://github.com/nobu/ruby/tree/ractor-unshareable-data fixes it? nobu (Nobuyoshi Nakada)
01:35 AM Revision 98081ac7 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.56 to 0.9.58.
- [Release notes](https://github.com/oxid...
dependabot[bot]

01/23/2023

10:14 PM Revision e23e8f4a (git): [rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.56 to 0.9.58.
- [Release notes](https://github.com/oxid...
dependabot[bot]
10:03 PM Bug #19373 (Closed): Segmentation fault at 0x00000003000179e8 when running pod install on an M1
All the logs are in the files.
Context:
I'm trying to run pod install on a react native project that requires a r...
[email protected] (Jade Thornton)
09:35 PM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
I've notified the flori/json people (https://github.com/flori/json/issues/511)
So to update everyone, the dtoa funct...
luke-gru (Luke Gruber)
10:15 AM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
I find this issue important and if mitigated, it would allow me to release production-grade functionalities that woul... maciej.mensfeld (Maciej Mensfeld)
07:24 PM Bug #19372: Proc objects are not traversed for shareable check during Ractor.make_shareable(prok)
A separate but related issue is that the proc objects are not frozen too, so their ivars can be (re)assigned. I don't... luke-gru (Luke Gruber)
07:23 PM Bug #19372 (Closed): Proc objects are not traversed for shareable check during Ractor.make_shareable(prok)
```ruby
class Proc
attr_accessor :obj1
def initialize
@obj1 = Object.new
end
end
p = true.instance...
luke-gru (Luke Gruber)
03:49 PM Bug #19371: Having Psych 5 installed raises an error during another gem's C-extension installation when parsing YAML
I can confirm this issue. We recently experienced it in rack's CI (https://github.com/rack/rack/actions/runs/3955055... jeremyevans0 (Jeremy Evans)
11:15 AM Bug #19371 (Third Party's Issue): Having Psych 5 installed raises an error during another gem's C-extension installation when parsing YAML
## Summary
There's an issue on Ruby versions with Psych 4 installed by default (Ruby 2.6 through 3.1) after installi...
tombruijn (Tom de Bruijn)
10:54 AM Feature #19324: Enumerator.product => Enumerable#product
Just to add a few points:
1. I don't believe "zip with all arguments the same" has really any significant usage: a...
zverok (Victor Shepelev)
12:07 AM Feature #19324: Enumerator.product => Enumerable#product
Thinking about this a bit more, I guess both the "first argument is special" (A) and the "all arguments are the same"... duerst (Martin Dürst)
10:40 AM Revision fe733fb6 (git): svn.ruby-lang.org is already EOL
hsbt (Hiroshi SHIBATA)
10:23 AM Feature #19370 (Closed): Anonymous parameters for blocks?
Just to clarify: are anonymous parameters delegation is planned to support in blocks?
It would be a nice addition...
zverok (Victor Shepelev)
10:22 AM Feature #19362 (Open): #dup on Proc doesn't call initialize_dup
https://github.com/ruby/ruby/pull/7178 nobu (Nobuyoshi Nakada)
10:02 AM Revision 1e2523fa (git): Silence dozens of useless warnings from `ranlib` on macOS [ci skip]
nobu (Nobuyoshi Nakada)
08:06 AM Revision a22ed3e9 (git): Fix homepage url in gemspec
GitHub Pages now hosted on *.github.io unasuke (Yusuke Nakamura)
06:14 AM Revision 4981206b (git): update-coverage needs to build ruby and all C-ext libraries
hsbt (Hiroshi SHIBATA)
05:55 AM Revision d9fd0483 (git): [rubygems/rubygems] blade is hosted under ruby-lang.org now
https://github.com/rubygems/rubygems/commit/00fdef8a41 hsbt (Hiroshi SHIBATA)
04:52 AM Bug #19283: Regex error on ruby 3.2
This case didn't become error after I tested this regex error case with ruby master branch(https://github.com/ruby/ru... Sho (Shohei Nakano)
04:07 AM Revision 5abb2ef1 (git): blade is hosted under ruby-lang.org now
hsbt (Hiroshi SHIBATA)
03:43 AM Bug #19365: Ractors can access non-shareable values through enumerators
Or rather, maybe they should be allowed to be passed but the deep clone logic should change? Not sure. luke-gru (Luke Gruber)
03:41 AM Revision d8751c0a (git): [ruby/cgi] blade is hosted under ruby-lang.org now
https://github.com/ruby/cgi/commit/826ba3140c hsbt (Hiroshi SHIBATA)
02:48 AM Revision 93bb4155 (git): [DOC] Change local method to local variable in assignment docs
Talal Al-Humaidi
02:47 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
byroot (Jean Boussier) wrote in #note-4:
> What would be the timeline?
>
> Deprecate in 3.3 and break in 3.4?
...
mame (Yusuke Endoh)
02:47 AM Bug #18119 (Assigned): Ractor crashes when instantiating classes
hsbt (Hiroshi SHIBATA)
02:46 AM Feature #18919 (Assigned): Ractor: can't share #Method objects
hsbt (Hiroshi SHIBATA)
02:14 AM Bug #19338 (Assigned): Ruby hangs when ouputting warnings inside ractor with VM lock held
hsbt (Hiroshi SHIBATA)
02:13 AM Bug #19364 (Assigned): Issue with tracepoint enable/disable across ractors
hsbt (Hiroshi SHIBATA)
02:10 AM Bug #19369: Small corner-case issue that breaks Ractor isolation: change cloned object from another thread
If you wanted to fix this one way would be to disable thread creation in the current ractor (main in this case) while... luke-gru (Luke Gruber)
01:28 AM Bug #19369 (Assigned): Small corner-case issue that breaks Ractor isolation: change cloned object from another thread
I was looking into how objects are traversed for deep cloning and I came up with a way to break it. I don't think it'... luke-gru (Luke Gruber)
02:07 AM Revision 8fded5f5 (git): [ruby/psych] Fix RestrictedYAMLTree allowing the Symbol class should allow all symbols
Ref: https://github.com/ruby/psych/pull/495
That's how it works for `safe_load`:
```ruby
>> YAML.safe_load(':foo', p...
byroot (Jean Boussier)
12:34 AM Revision d6232108 (git): [DOC] Fix a link [ci skip]
znz (Kazuhiro NISHIYAMA)

01/22/2023

11:28 PM Bug #19365 (Assigned): Ractors can access non-shareable values through enumerators
hsbt (Hiroshi SHIBATA)
02:05 PM Bug #19365 (Closed): Ractors can access non-shareable values through enumerators
I don't think enumerators should be able to be passed to `Ractor.new`
```ruby
obj = Object.new # unshareable valu...
luke-gru (Luke Gruber)
11:26 PM Bug #19368 (Assigned): Small issue with isolated procs and eval
hsbt (Hiroshi SHIBATA)
06:04 PM Bug #19368: Small issue with isolated procs and eval
Hopefully this illustrates this small, weird issue a bit more:
```ruby
fails = 0
a = Object.new # non-shareable valu...
luke-gru (Luke Gruber)
05:40 PM Bug #19368 (Assigned): Small issue with isolated procs and eval
```
a = Object.new # non-shareable
prok = Ractor.current.instance_eval do
Proc.new do
eval('a')
end
end...
luke-gru (Luke Gruber)
09:51 PM Bug #19367 (Assigned): Issue with ractor local storage API
hsbt (Hiroshi SHIBATA)
02:49 PM Bug #19367: Issue with ractor local storage API
PR here: https://github.com/ruby/ruby/pull/7174 luke-gru (Luke Gruber)
02:46 PM Bug #19367 (Closed): Issue with ractor local storage API
In a non-main ractor, you can do Ractor.main[:key] = 'val', but it only affects storage for Ractor.current, not Racto... luke-gru (Luke Gruber)
09:50 PM Feature #19326 (Assigned): Please add a better API for passing a Proc to a Ractor
hsbt (Hiroshi SHIBATA)
07:45 PM Feature #19326: Please add a better API for passing a Proc to a Ractor
New example:
```ruby
class Worker
def initialize(&block)
@block = block
end
def start
block = Ractor....
sdwolfz (Codruț Gușoi)
05:15 PM Bug #19343 (Closed): Integer#ceildiv should respect #coerce
Applied in changeset commit:git|20a85ab6119964d1ff129f9c6676fa2a7b2a2be4.
----------
Fix Integer#ceildiv to respect ...
kyanagi (Kouhei Yanagita)
03:44 PM Misc #13072 (Closed): Current state of date standard library
zverok (Victor Shepelev)
03:43 PM Feature #15527 (Closed): Redesign of timezone object requirements
zverok (Victor Shepelev)
03:38 PM Misc #16464 (Closed): Which core objects should support deconstruct/deconstruct_keys?
zverok (Victor Shepelev)
03:37 PM Misc #19247 (Closed): Ruby 3.2 documentation problems tracker
I did what I could before the release, the other problems can be handled separately through the year. zverok (Victor Shepelev)
03:23 PM Feature #19324: Enumerator.product => Enumerable#product
> I believe quite many people are in favor of `Array.product` and/or `Array.zip`. I wish the implementation/existence... zverok (Victor Shepelev)
02:29 PM Feature #19366 (Closed): Rename/alias Refinedment#refined_class => #refined_module
In #12737, `Refinement#refined_class` is introduced.
As "module" is more generic concept than "class", the name mi...
zverok (Victor Shepelev)
12:03 PM Feature #19362: #dup on Proc doesn't call initialize_dup
> What do you expect as self of `Proc#initialize_dup`?
@nobu "the current proc object", like in any `initialize[.....
zverok (Victor Shepelev)
01:47 AM Feature #19362 (Feedback): #dup on Proc doesn't call initialize_dup
nobu (Nobuyoshi Nakada)
01:47 AM Feature #19362: #dup on Proc doesn't call initialize_dup
While `String.allocate` and `Array.allocate` are defined, `Proc.allocate` is not.
What do you expect as `self` of `Pr...
nobu (Nobuyoshi Nakada)
10:16 AM Feature #15778: Expose an API to pry-open the stack frames in Ruby
What if we settle for an API and implement and test it first in the `debug` gem? The `debug` gem does need/has simila... gsamokovarov (Genadi Samokovarov)
09:53 AM Revision 20a85ab6 (git): Fix Integer#ceildiv to respect #coerce (#7118)
Fixes [Bug #19343] kyanagi (Kouhei Yanagita)
02:32 AM Revision cad09f70 (git): Adjust braces [ci skip]
nobu (Nobuyoshi Nakada)
12:49 AM Revision f5ea43a2 (git): More coverage tests & specs. (#7171)
* Add spec for eval and line coverage.
* Add test for main file coverage.
Samuel Williams

01/21/2023

10:54 PM Bug #19364 (Assigned): Issue with tracepoint enable/disable across ractors
This sometimes segfaults:
```ruby
def test_enable_disable_in_multiple_ractors_with_target
rs = []
100.times d...
luke-gru (Luke Gruber)
09:53 PM Bug #19360 (Closed): Enabling coverage with `-r` option isn't sufficient to intercept top level script.
I've merged this fix. I would like this backported to 3.2 if possible, because it's blocking correct coverage computa... ioquatix (Samuel Williams)
12:02 PM Bug #19360: Enabling coverage with `-r` option isn't sufficient to intercept top level script.
Fixed by https://github.com/ruby/ruby/pull/7169/files ioquatix (Samuel Williams)
11:10 AM Bug #19360 (Closed): Enabling coverage with `-r` option isn't sufficient to intercept top level script.
For some reason, Ruby's coverage library doesn't work when the file is loaded from the command line. In the below exa... ioquatix (Samuel Williams)
09:51 PM Revision 2c93c554 (git): Ensure main file has default coverage if required. (#7169)
* Extract common code for coverage setup. Samuel Williams
09:02 PM Bug #19363: Fix rb_transient_heap_mark: wrong header (T_STRUCT) segfault
Thanks for the report, and for the comprehensive reproduction steps.
Triage note, it seems this issue can happen on ...
alanwu (Alan Wu)
06:53 PM Bug #19363 (Assigned): Fix rb_transient_heap_mark: wrong header (T_STRUCT) segfault
## Overview
Hello. 👋 I'm hitting an issue where my build is constantly failing with a segfault. The following is a...
bkuhlmann (Brooke Kuhlmann)
06:54 PM Bug #19361 (Rejected): String#[Integer] is orders slower for strings with some UTF characters
This is expected. `String#[Integer]` doesn't return a byte but a character, which in UTF-8 may be of variable size, s... byroot (Jean Boussier)
04:36 PM Bug #19361 (Rejected): String#[Integer] is orders slower for strings with some UTF characters
#[] is not only slower compared to itself, but slower compared to #each_char.
seq1
```
# s = '*' * 10e4
s = 'ф'...
vzdor (Vladimir Zdorovenco)
06:19 PM Feature #19326: Please add a better API for passing a Proc to a Ractor
> I thought Ractor.new would only accept literal blocks.
I hope not, passing an arbitrary block helps with buildin...
sdwolfz (Codruț Gușoi)
05:55 PM Feature #19326: Please add a better API for passing a Proc to a Ractor
I'm not sure this behavior is intended, cc @ko1.
I thought `Ractor.new` would only accept literal blocks.
The probl...
Eregon (Benoit Daloze)
07:07 AM Feature #19326: Please add a better API for passing a Proc to a Ractor
OK, I had absolutely no idea you could do that. Thanks for the suggestion! My impressions was `instance_eval` could o... sdwolfz (Codruț Gușoi)
05:04 PM Feature #19362 (Closed): #dup on Proc doesn't call initialize_dup
In #17545, `#dup` had changed to create an instance of the subclass.
It, though, doesn't invoke `initialize_dup` of ...
zverok (Victor Shepelev)
02:16 PM Misc #19359 (Closed): Please close ticket :)
byroot (Jean Boussier)
04:35 AM Misc #19359: Please close ticket :)
Sorry, false alarm :) Stupidly my compilation was silently failing and that's why my printf debugging wasn't working :D luke-gru (Luke Gruber)
01:42 AM Misc #19359 (Closed): Please close ticket :)
I'm not sure why but they aren't being collected. I was looking at the issue https://bugs.ruby-lang.org/issues/19112 ... luke-gru (Luke Gruber)
11:13 AM Revision 3e7fdf29 (git): Windows build instructions documentation. (#6956)
Windows build instructions. Samuel Williams
11:12 AM Revision 5cdf312d (git): Add `doc/distribution.md` to help reduce some of the confusion. (#6856)
Samuel Williams
10:26 AM Revision 418b03c7 (git): tool/leaked-globals: ignore function typedef [ci skip]
nobu (Nobuyoshi Nakada)
12:48 AM Feature #19324: Enumerator.product => Enumerable#product
> I believe quite many people are in favor of Array.product and/or Array.zip.
I personally find this surprising! It ...
ttilberg (Tim Tilberg)

01/20/2023

10:49 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
Outside of error reporting, having this or similar API will also:
- Allow IRB to display richer exception backtrace....
st0012 (Stan Lo)
10:11 PM Revision 06b62cbb (git): Add `offsetof` so we can get the offset of members
I want to get the offset of fields inside structs, but I don't want to
instantiate the struct. I need to embed the o...
tenderlovemaking (Aaron Patterson)
10:09 PM Bug #19112: Ractor garbage collection breaks/disables all active tracepoints
To make sure it's collected:
```ruby
puts RUBY_DESCRIPTION
ractor_id = nil
if ENV['RUN_RACTOR'] == '1'
r = Ractor...
luke-gru (Luke Gruber)
09:51 PM Bug #19112: Ractor garbage collection breaks/disables all active tracepoints
I was just looking into this bug and it's really strange, I initially thought it had to do with single ractor mode vs... luke-gru (Luke Gruber)
09:07 PM Revision 887d2161 (git): YJIT: Avoid BorrowError on GC.compact (#7164)
k0kubun (Takashi Kokubun)
08:58 PM Revision 4e037075 (git): Fix typo in RHASH_ST_CLEAR
We should be setting as.st and not as.ar. peterzhu2118 (Peter Zhu)
06:05 PM Bug #19358 (Closed): Segfault when setting RUBY_GC_HEAP_INIT_SLOTS to a low value
Thank you for reporting this bug and @eightbitraptor for checking that the patch works on 3.1.3. I marked that patch ... peterzhu2118 (Peter Zhu)
05:06 PM Bug #19358: Segfault when setting RUBY_GC_HEAP_INIT_SLOTS to a low value
Can confirm that applying the patch from https://bugs.ruby-lang.org/issues/19284 to the 3.1.3 branch fixes the issue ... eightbitraptor (Matt V-H)
04:08 PM Bug #19358 (Closed): Segfault when setting RUBY_GC_HEAP_INIT_SLOTS to a low value
This bug is similar to #19284
In Ruby 2.7 this works fine
```
docker run --rm -it -e RUBY_GC_HEAP_INIT_SLOTS=...
xfalcox (Rafael Silva)
04:58 PM Feature #19347: Add Dir.fchdir
ko1 (Koichi Sasada) wrote in #note-3:
> At the dev meeting there are 4 ideas:
I considered the first three ideas ...
jeremyevans0 (Jeremy Evans)
06:25 AM Feature #19347: Add Dir.fchdir
At the dev meeting there are 4 ideas:
* 4 ideas
* `Dir.fchdir(int)`
* Proposed
* Consistent to the PO...
ko1 (Koichi Sasada)
04:38 PM Bug #19237 (Closed): Hash default_proc is not thread-safe to lazy-initialize value for a given key
Applied in changeset commit:git|ffd52412ab813854d134dbbc2b60f698fe536487.
----------
Document thread-safety issues w...
jeremyevans (Jeremy Evans)
05:57 AM Bug #19237: Hash default_proc is not thread-safe to lazy-initialize value for a given key
Discussed at the dev meeting. @matz said "The performance penalty is not acceptable. Addition to the documentation lo... mame (Yusuke Endoh)
04:36 PM Revision ffd52412 (git): Document thread-safety issues with Hash default_proc
Fixes [Bug #19237] jeremyevans (Jeremy Evans)
04:11 PM Bug #18666: No rule to make target 'yaml/yaml.h', needed by 'api.o'
______________________________________________ Anonymous
11:48 AM Bug #18666 (Feedback): No rule to make target 'yaml/yaml.h', needed by 'api.o'
@duerst This issue may cause with your environment. hsbt (Hiroshi SHIBATA)
04:06 PM Feature #19326: Please add a better API for passing a Proc to a Ractor
If you want Ractor to be an implementation detail of Worker you could do:
```ruby
class Worker
def initialize(&blo...
luke-gru (Luke Gruber)
04:01 PM Revision 0457e434 (git): Remove unused struct member thgroup->group
eightbitraptor (Matt V-H)
03:57 PM Revision 36fa4f13 (git): YJIT: get rid of unneeded `.into()`
Jimmy Miller
03:30 PM Revision 15328302 (git): In `UNALIGNED_MEMBER_PTR` cast through `void` pointer
Suppress warnings shown even with `-Waddress-of-packed-member`
disabled in gcc 11.
nobu (Nobuyoshi Nakada)
03:30 PM Revision f0f2535c (git): Add `queue_list` and `szqueue_list` macros
nobu (Nobuyoshi Nakada)
01:51 PM Revision 056e7a01 (git): Make all of the references of iseq movable
peterzhu2118 (Peter Zhu)
01:40 PM Revision 76e3d853 (git): [ruby/reline] Add autoindent test for indent after bracket and newline
https://github.com/ruby/reline/commit/3f3da7d0e2 tompng (tomoya ishida)
01:40 PM Revision 4241b3cf (git): [ruby/reline] accept new_indent > cursor_max
https://github.com/ruby/reline/commit/61cc580da4 tompng (tomoya ishida)
01:06 PM Revision 0cc91871 (git): [rubygems/rubygems] Update bundle-exec man page for with_unbundled_env
`with_clean_env` has been deprecated in `with_unbundled_env`. It already generates a deprecation warning when it uses... Josh Nichols
12:41 PM Revision c948a081 (git): Add a NEWS entry for [Feature #19314] [ci skip]
shugo (Shugo Maeda)
11:39 AM Feature #16963 (Closed): Remove English.rb from Ruby 2.8/3.0
I withdraw this proposal. We need to consider another deprecate plan. hsbt (Hiroshi SHIBATA)
11:33 AM Bug #18381: Default vs Bundled gems
I'll document this. hsbt (Hiroshi SHIBATA)
11:33 AM Bug #19337 (Closed): What is the difference between "default" gems and "bundled" gems?
This is duplicated as #18381 hsbt (Hiroshi SHIBATA)
11:00 AM Bug #19354: Issues with arguments validation in IO.read
Yeah, I understand that it's caused by the way how `IO.read` is implemented.
My point is that from the end-user po...
andrykonchin (Andrew Konchin)
06:08 AM Bug #19354 (Feedback): Issues with arguments validation in IO.read
`IO.read` opens the file given as the first argument, then delegates the other arguments to `IO#read` on the instance... nobu (Nobuyoshi Nakada)
10:39 AM Revision 53cd5796 (git): [rubygems/rubygems] Clean test output
The output from the command is mixed in this test, even when
successful.
Use the output as a part of the message on f...
nobu (Nobuyoshi Nakada)
09:02 AM Misc #16671 (Closed): BASERUBY version policy
Applied in changeset commit:git|1edef08ddadf0bd76122f830ef7953cda61c78aa.
----------
Added version policy of BASERUB...
hsbt (Hiroshi SHIBATA)
09:02 AM Revision cce39609 (git): [Feature #19314] Add new arguments of String#bytesplice
bytesplice(index, length, str, str_index, str_length) -> string
bytesplice(range, str, str_range) -> string
In the...
shugo (Shugo Maeda)
08:54 AM Revision 845f6275 (git): OpenSSL, libyaml and zlib is always required to build. see test/test_extlibs.rb
hsbt (Hiroshi SHIBATA)
08:54 AM Revision 231b09f1 (git): Added supported versions to OpenSSL and libyaml
hsbt (Hiroshi SHIBATA)
08:54 AM Revision 1edef08d (git): Added version policy of BASERUBY
[Misc #16671] hsbt (Hiroshi SHIBATA)
08:42 AM Revision 6aa9c845 (git): Separate dependencies section from quick start
hsbt (Hiroshi SHIBATA)
08:42 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
Well, `Hash.new(capacity: 4096)` was definitely my first pick, so this is great news IMO.
> how about deprecating ...
byroot (Jean Boussier)
05:31 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
Discussed at the dev meeting.
@matz said that `Hash.create(capacity: 4096)` is acceptable (unless it conflicts wit...
mame (Yusuke Endoh)
08:38 AM Revision ea10dea6 (git): fixed wrong version of baseruby
hsbt (Hiroshi SHIBATA)
08:14 AM Feature #19314 (Closed): String#bytesplice should support partial copy
Applied in changeset commit:git|373e62248c9dceb660e95f1cf05fa2a4a469cd64.
----------
merge revision(s) f7b72462aa277...
naruse (Yui NARUSE)
08:14 AM Bug #19356 (Closed): Backport f7b72462aa27716370c6bea1f2c240983aca9a55
Applied in changeset commit:git|373e62248c9dceb660e95f1cf05fa2a4a469cd64.
----------
merge revision(s) f7b72462aa277...
naruse (Yui NARUSE)
07:06 AM Bug #19356: Backport f7b72462aa27716370c6bea1f2c240983aca9a55
ruby_3_2 373e62248c9dceb660e95f1cf05fa2a4a469cd64 merged revision(s) f7b72462aa27716370c6bea1f2c240983aca9a55. naruse (Yui NARUSE)
02:28 AM Bug #19356 (Closed): Backport f7b72462aa27716370c6bea1f2c240983aca9a55
Please backport [f7b72462aa27716370c6bea1f2c240983aca9a55](https://github.com/ruby/ruby/commit/f7b72462aa27716370c6be... shugo (Shugo Maeda)
08:13 AM Revision a0626e11 (git): Bundle RBS 2.8.4 (#7159)
soutaro (Soutaro Matsumoto)
08:01 AM Revision c0df0a85 (git): merge revision(s) ed6fbb79e19bf401db0e85447fee955fd10a25c7: [Backport #19339]
Fix crash when defining ivars on special constants
[Bug #19339]
---
test/ruby/test_variable...
naruse (Yui NARUSE)
08:01 AM Bug #19316: YJIT crash in 3.2.0
ruby_3_2 1fb5eb5740d4c4f1fc34a4a50bc0482eac27b545 merged revision(s) aeddc19340c7116d48fac3080553fbb823857d16. naruse (Yui NARUSE)
07:05 AM Revision d80a574a (git): Update bundled gems list at 2023-01-20
git[bot]
06:51 AM Bug #19286 (Closed): What should kwargs' arity be?
Withdrawing the issue. Thank you for your participation in the discussion! matsuda (Akira Matsuda)
05:58 AM Bug #19286: What should kwargs' arity be?
Discussed at the dev meeting. @matz said the current behavior is fair, and @matsuda agreed with that. So keep it as is. mame (Yusuke Endoh)
06:10 AM Misc #19357 (Closed): DevMeeting-2023-02-09
# The next dev meeting
**Date: 2023/02/09 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
06:10 AM Misc #19240 (Closed): DevMeeting-2023-01-19
mame (Yusuke Endoh)
06:02 AM Bug #19293: The new Time.new(String) API is nice... but we still need a stricter version of this
Discussed at the dev meeting. @naruse said "`Time.new("2023")` is 1.9.2 feature. We can’t deprecate on 3.2.1. Need to... mame (Yusuke Endoh)
05:55 AM Bug #18518: NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
Discussed at the dev meeting.
Are there any real-world use cases (other than rubyspec) where you would like to pro...
mame (Yusuke Endoh)
05:41 AM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
Discussed at the dev meeting. @matz is positive about the change and said he would give it a try. The message format ... mame (Yusuke Endoh)
04:37 AM Feature #19245: Strict mode for Array#pack that doesn't silently truncate numbers that are too large for the given directive
Discussed at the dev meeting. We need to determine some detailed behaviors:
* Should `[-1].pack("C", strict: true)...
mame (Yusuke Endoh)
03:24 AM Revision 373e6224 (git): merge revision(s) f7b72462aa27716370c6bea1f2c240983aca9a55: [Backport #19356]
String#bytesplice should return self
In Feature #19314, we concluded that the return value of String#bytespl...
naruse (Yui NARUSE)
02:05 AM Bug #19327: Backport commits 3be2acfafd3b3c6168e2266c7c6561d143d7ae5c and 9726736006b3f74635fd8af05814fe0908e2cf84
ruby_3_2 6a8fcb50210f8414d76968298576e39b9fa82562 merged revision(s) 3be2acfafd3b3c6168e2266c7c6561d143d7ae5c. naruse (Yui NARUSE)
01:18 AM Bug #19341 (Closed): Write cache issue with class variables
Applied in changeset commit:git|f66804e6f78ed4cf81896d2256743a820b05939a.
----------
don't allow setting class varia...
luke-gru (Luke Gruber)

01/19/2023

11:28 PM Bug #15507: Thread#raise is delivered to GC context
❤️ Thank you for fixing this @jeremyevans0 - I was debugging some instances of our Ruby 2.7 app's test suite hanging ... kjtsanaktsidis (KJ Tsanaktsidis)
10:18 PM Feature #19355: Add finer coarsed locking for searching callable method entries
```ruby
MyClass = Object
class MyClass2 < Object;
def call_a_method
[]
end
def call_another_method
{}
...
luke-gru (Luke Gruber)
09:04 PM Feature #19355 (Open): Add finer coarsed locking for searching callable method entries
During multi-ractor mode, unfortunately when calling methods often there's a call to the internal cruby function `cal... luke-gru (Luke Gruber)
10:02 PM Misc #19352 (Closed): Feature #17391 was not such a good idea because now Ruby 3.2 can not install Rails v5 or v6 if they use webpacker.
hsbt (Hiroshi SHIBATA)
06:05 PM Misc #19352: Feature #17391 was not such a good idea because now Ruby 3.2 can not install Rails v5 or v6 if they use webpacker.
I’m not entirely sure, as I have never used a version of Rails that has webpacker (I last used Rails 4.2), so I don’t... austin (Austin Ziegler)
05:37 PM Misc #19352: Feature #17391 was not such a good idea because now Ruby 3.2 can not install Rails v5 or v6 if they use webpacker.
> That said, this is easily monkey patched:
>
> ```ruby
> unless Dir.respond_to?(:exists?)
> class << Dir
> ...
[email protected] (Scott Milella)
07:39 AM Misc #19352: Feature #17391 was not such a good idea because now Ruby 3.2 can not install Rails v5 or v6 if they use webpacker.
Personally, I preferred exists? over exist? but I can live with the change.
"If the file xy.txt exists then ...": if...
aidog (Andi Idogawa)
03:10 AM Misc #19352: Feature #17391 was not such a good idea because now Ruby 3.2 can not install Rails v5 or v6 if they use webpacker.
I do not believe that this should be reversed.
There’s an older post at FastRuby indicating [version compatibility...
austin (Austin Ziegler)
12:57 AM Misc #19352 (Closed): Feature #17391 was not such a good idea because now Ruby 3.2 can not install Rails v5 or v6 if they use webpacker.
Hello,
I tried logging a GitHub issue to Rails to make them aware of this issue but they said they are no longer b...
[email protected] (Scott Milella)
09:26 PM Revision 0949cd71 (git): [ci skip] Add ticket label to test
peterzhu2118 (Peter Zhu)
09:25 PM Revision f66804e6 (git): don't allow setting class variable on module that's frozen [Bug #19341]
luke-gru (Luke Gruber)
09:10 PM Revision bf3940a3 (git): YJIT: Refactor side_exits
Jimmy Miller
08:02 PM Revision 5ce0c13f (git): YJIT: Remove duplicated information in BranchTarget (#7151)
Note: On the new code of yjit/src/core.rs:2178, we no longer leave the state `.block=None` but `.address=Some...`, wh... k0kubun (Takashi Kokubun)
06:58 PM Revision 401aa9dd (git): [ruby/net-http] [DOC] Header doc
(https://github.com/ruby/net-http/pull/104)
https://github.com/ruby/net-http/commit/3308362d9b
burdettelamar (Burdette Lamar)
06:42 PM Revision 762a3d80 (git): Implement splat for cfuncs. Split exit exit cases to better capture where we are exiting (#6929)
YJIT: Implement splat for cfuncs. Split exit cases
This also implements a new check for ruby2keywords as the last
ar...
Jimmy Miller
05:22 PM Revision 8872ebec (git): Fix compilation warnings in thread_sync.c
Fixes the following compilation warnings:
thread_sync.c:908:48: warning: taking address of packed member of `struct ...
peterzhu2118 (Peter Zhu)
04:23 PM Revision 9af84c95 (git): Combine code paths for marking cc
This commit avoids a separate code path for marking and moving the
callcache of the iseq.
peterzhu2118 (Peter Zhu)
04:23 PM Revision 41bf2354 (git): Add rb_gc_mark_and_move and implement on iseq
This commit adds rb_gc_mark_and_move which takes a pointer to an object
and marks it during marking phase and updates...
peterzhu2118 (Peter Zhu)
04:15 PM Misc #19265: please remove rust yjit
It is going to be very hard to maintain 3.1 YJIT long-term. There are significant updates to the CRuby internal objec... noahgibbs (Noah Gibbs)
04:07 PM Misc #19353: Drop gcc <= 6 and clang <= 9
I recently encountered a CI failure when testing against `C++98` due to the lack of variadic macros. `internal/gc.h` ... eightbitraptor (Matt V-H)
08:07 AM Misc #19353: Drop gcc <= 6 and clang <= 9
OpenBSD/sparc64 uses gcc 4.2.1 (last GPLv2 version) as the system compiler. The sparc64 backend for clang is not yet... jeremyevans0 (Jeremy Evans)
07:04 AM Misc #19353 (Closed): Drop gcc <= 6 and clang <= 9
We test those old compilers using Ubuntu bionic. This OS is reaching its EOL.
Making them available would become har...
shyouhei (Shyouhei Urabe)
03:30 PM Bug #19289 (Closed): RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
Applied in changeset commit:git|6f3aff3961a4c5ce87e05096a1a9dcf1055b7647.
----------
[Bug #19289] Retain `ruby_abi_v...
nobu (Nobuyoshi Nakada)
03:26 PM Revision 6f3aff39 (git): [Bug #19289] Retain `ruby_abi_version` function
A few extension libraries, to hide all symbols except for necessary to
load, hardcode the symbols to be exported in s...
nobu (Nobuyoshi Nakada)
03:21 PM Revision 569fbf22 (git): Run `after-update` in the same main make process [ci skip]
nobu (Nobuyoshi Nakada)
03:20 PM Revision f3617800 (git): Fix a typo in BUG message [ci skip]
nobu (Nobuyoshi Nakada)
02:47 PM Revision dcc676a8 (git): ci in iseq can only be object or null
It looks like rb_callinfo in iseq can only be either a Ruby object or
null, since it cannot be allocated on the stack.
peterzhu2118 (Peter Zhu)
02:07 PM Bug #19354 (Feedback): Issues with arguments validation in IO.read
I've noticed a strange error message when `IO.read` is called with additional positional argument:
```ruby
IO.rea...
andrykonchin (Andrew Konchin)
12:52 PM Revision 6a8fcb50 (git): merge revision(s) 3be2acfafd3b3c6168e2266c7c6561d143d7ae5c: [Backport #19327]
Fix re-embedding of strings during compaction
The reference updating code for strings is not re-embedding st...
naruse (Yui NARUSE)
12:50 PM Bug #19319: Crash in rb_str_casemap
ruby_3_2 686b38f83e70b3e1796092c71dd0b7dc2206b118 merged revision(s) d8ef0a98c670449b20436947f5ebbd327ed5ab0d. naruse (Yui NARUSE)
12:17 PM Feature #12698: Method to delete a substring by regex match
I now agree with https://bugs.ruby-lang.org/issues/12698#note-9. This issue can be considered to be along that line. sawa (Tsuyoshi Sawada)
09:14 AM Feature #19314: String#bytesplice should support partial copy
Accepted.
Matz.
matz (Yukihiro Matsumoto)
08:30 AM Feature #19314 (Open): String#bytesplice should support partial copy
shugo (Shugo Maeda)
08:19 AM Feature #19314 (Closed): String#bytesplice should support partial copy
Applied in changeset commit:git|f7b72462aa27716370c6bea1f2c240983aca9a55.
----------
String#bytesplice should return...
shugo (Shugo Maeda)
08:59 AM Feature #13890: Allow a regexp as an argument to 'count', to count more interesting things than single characters
Overlapping can be realized by putting the original regexp within a look-ahead.
```ruby
s = "abcdefghij"
re = /.{3}/...
sawa (Tsuyoshi Sawada)
05:20 AM Feature #13890: Allow a regexp as an argument to 'count', to count more interesting things than single characters
If `str.count(re)` works as `str.scan(re).size` (besides efficiency), it's acceptable. But if someone needs overlappi... matz (Yukihiro Matsumoto)
08:58 AM Feature #19333: Setting (Fiber Local|Thread Local|Fiber Storage) to nil should delete value in order to avoid memory leaks.
Accepted, although we foresee some possible issues. One example is that people may use `nil` as a value when they onl... matz (Yukihiro Matsumoto)
08:13 AM Revision f7b72462 (git): String#bytesplice should return self
In Feature #19314, we concluded that the return value of String#bytesplice
should be changed from the source string t...
shugo (Shugo Maeda)
06:50 AM Revision 98abe4a0 (git): Fix test when Ruby is verbose
The test added in 90a80eb0 fails if Ruby is verbose, it outputs the
following line to stderr:
RUBY_GC_HEAP_INIT_...
peterzhu2118 (Peter Zhu)
06:19 AM Feature #19245: Strict mode for Array#pack that doesn't silently truncate numbers that are too large for the given directive
I don't think it would be default, but adding `strict:` (or any other keyword argument) is OK for me.
Matz.
matz (Yukihiro Matsumoto)
05:12 AM Bug #18658 (Assigned): Need openssl 3 support for Ubuntu 22.04 (Ruby 2.7.x and 3.0.x)
I discussed @usa.
* We want to backport [openssl-3.0.2 gem](https://github.com/ruby/openssl/releases/tag/v3.0.2) int...
hsbt (Hiroshi SHIBATA)
02:59 AM Revision 686b38f8 (git): merge revision(s) d8ef0a98c670449b20436947f5ebbd327ed5ab0d: [Backport #19319]
[Bug #19319] Fix crash in rb_str_casemap
The following code crashes on my machine:
```
GC.s...
naruse (Yui NARUSE)
02:48 AM Bug #19262: Segmentation fault on RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location
ruby_3_2 1a2447ac9925e7794a7c5aa07960ad4de08e6aca merged revision(s) 979dd02e2f0a70f3f30d47c6115780d8fac6147e. naruse (Yui NARUSE)
02:05 AM Revision 1a2447ac (git): merge revision(s) 979dd02e2f0a70f3f30d47c6115780d8fac6147e: [Backport #19262]
Check if the argument is Thread::Backtrace::Location object
[Bug #19262]
---
ast.c ...
naruse (Yui NARUSE)
02:05 AM Bug #19248: TestGCCompact#test_moving_objects_between_size_pools test failure
ruby_3_2 08ae7f64dc52c2b61e451d6e79ebdae73d482677 merged revision(s) 273dca3aed7989120d57f80c789733d4bc870ffe. naruse (Yui NARUSE)
01:52 AM Revision 4b42392f (git): YJIT: Use .as_side_exit() for jumps to counted exits
Fewer cycles running nops when these jumps are not taken. Fixing all
these so when they get copy pasted in the future...
alanwu (Alan Wu)
01:23 AM Revision 4cf1d9b3 (git): YJIT: Set RUST_BACKTRACE=1 on YJIT GitHub Actions (#7152)
k0kubun (Takashi Kokubun)
01:08 AM Feature #19322: Support spawning "private" child processes
Hey @nobu, @eregon - any further thoughts on this?
@nobu - I changed the proposal not to depend on any new platfor...
kjtsanaktsidis (KJ Tsanaktsidis)
01:07 AM Feature #19351 (Assigned): Promote bundled gems at Ruby 3.3
>I believe that for instance strscan is used to parse the Gemfile.lock. Historically Bundler simply vendored the gems... hsbt (Hiroshi SHIBATA)
12:53 AM Feature #19351: Promote bundled gems at Ruby 3.3
I'm OK with gems maintained by me. kou (Kouhei Sutou)
12:31 AM Revision 08ae7f64 (git): merge revision(s) 273dca3aed7989120d57f80c789733d4bc870ffe: [Backport #19248]
Fix undefined behavior in shape.c
Under strict aliasing, writing to the memory location of a different
...
naruse (Yui NARUSE)
12:29 AM Bug #19305: TracePoint#parameters segfaults when certain method creation pattern is used
ruby_3_2 d7fb4629b4058eb86be03760e6b9f1f272e44147 merged revision(s) 837ef8911c638c3e2bdb6af710de7c1fac7b5f90. naruse (Yui NARUSE)
 

Also available in: Atom