Project

General

Profile

Activity

From 07/05/2024 to 07/11/2024

07/11/2024

11:53 PM Bug #20604 (Rejected): Performance regression in C++ extensions due to lack of optimization flags by default since Ruby 2.7
This is NG. Some OSes (if I remember correctly it was Arch when we found this) ship clang and g++ combination. They... shyouhei (Shyouhei Urabe)
11:01 PM Bug #20629 (Closed): Ruby infinite loop when raising+rescuing inside a RUBY_INTERNAL_EVENT_NEWOBJ
> this code assumes it's ok to raise/rescue in the RUBY_INTERNAL_EVENT_NEWOBJ tracepoint as it usually works fine, bu... alanwu (Alan Wu)
11:46 AM Bug #20629 (Closed): Ruby infinite loop when raising+rescuing inside a RUBY_INTERNAL_EVENT_NEWOBJ
### Background
Hey! While working on the [Datadog Ruby Profiler](https://github.com/datadog/dd-trace-rb) I ran int...
ivoanjo (Ivo Anjo)
10:46 PM Misc #20630 (Rejected): Potential optimizations for NODE_CONST compilation
jeremyevans0 (Jeremy Evans)
10:41 PM Misc #20630: Potential optimizations for NODE_CONST compilation
Ah, I figured I was missing something. Thanks for pointing that out.
We can close this in that case. At least it w...
[email protected] (Zack Deveau)
10:32 PM Misc #20630: Potential optimizations for NODE_CONST compilation
I am not an expert, but I don't think you can optimize away constant references just because their value is not being... ufuk (Ufuk Kayserilioglu)
10:21 PM Misc #20630 (Rejected): Potential optimizations for NODE_CONST compilation
I would like to propose two potential optimizations to the way we currently compile `NODE_CONST` nodes in `compile.c`... [email protected] (Zack Deveau)
10:20 PM Bug #20622 (Closed): irb: invalid byte sequence in UTF-8
alanwu (Alan Wu)
09:59 PM Bug #20622: irb: invalid byte sequence in UTF-8
Good advice, thanks. Problem solved by changing the encoding of ~/.inputrc to UTF-8. chmaynard (Craig Maynard)
08:21 PM Feature #20443: Allow Major GC's to be disabled
ko1 (Koichi Sasada) wrote in #note-25:
> On dev-meeting, there is no objection on `GC.config()`.
> Could you write ...
eightbitraptor (Matt V-H)
10:04 AM Feature #20443: Allow Major GC's to be disabled
On dev-meeting, there is no objection on `GC.config()`.
Could you write the more doc of it? For example, returning v...
ko1 (Koichi Sasada)
07:49 PM Revision 6fc83118 (git): Fix Makefile.in for non GNUmake
On OpenBSD the Makefile errors with:
Using $< in a non-suffix rule context is a GNUmake idiom
peterzhu2118 (Peter Zhu)
07:46 PM Revision cfaa3e93 (git): [ruby/prism] Bump typecheck dependencies to fix CI
https://github.com/ruby/prism/commit/c7a4a90ee8 kddnewton (Kevin Newton)
07:46 PM Revision 21b4c149 (git): [ruby/prism] (ruby_parser) Handle bare string in implicit concat
https://github.com/ruby/prism/commit/afc7c9344a kddnewton (Kevin Newton)
07:46 PM Revision 3c3be9c6 (git): [ruby/prism] (ruby_parser) Match match3 nodes for regular expressions
https://github.com/ruby/prism/commit/47cb73ce69 kddnewton (Kevin Newton)
07:46 PM Revision 4c696597 (git): [ruby/prism] (ruby_parser) Reverse associativity of and and or nodes
https://github.com/ruby/prism/commit/073e8ba307 kddnewton (Kevin Newton)
07:43 PM Revision 43aee339 (git): fix `defined?(@ivar)` with Ractors
`defined?(@ivar)` on the non main Ractor has two issues:
1. raising an exception
```ruby
class C
@iv1 = []
def ...
ko1 (Koichi Sasada)
07:18 PM Revision ef563a69 (git): Minor: Fix typo in bug name
This confused me for a few minutes -- the testcase for
https://bugs.ruby-lang.org/issues/14834 was mistyped in the fi...
ivoanjo (Ivo Anjo)
07:17 PM Revision a58e3305 (git): YJIT: remove doc/yjit/yjit_hacking.md (#11153)
Document is 3 years old and out of date maximecb (Maxime Chevalier-Boisvert)
07:01 PM Revision 3fbf9df3 (git): YJIT: increase context cache size to 1024 redux (#11140)
* YJIT: increase context cache size to 1024 redux
* Move context hashing code outside of unsafe block
* Avoid alloc...
maximecb (Maxime Chevalier-Boisvert)
06:25 PM Revision 1f6aeadc (git): [PRISM] Fix Windows 2015 segfault
kddnewton (Kevin Newton)
06:25 PM Revision ac093f5a (git): [PRISM] Fix up shareable constant casting
kddnewton (Kevin Newton)
06:25 PM Revision c1df15c3 (git): [PRISM] Use node ids for error highlight
kddnewton (Kevin Newton)
06:25 PM Revision 0006fb1e (git): [PRISM] Revert incorrectly merged gemfile
kddnewton (Kevin Newton)
06:25 PM Revision be4589df (git): [ruby/prism] Prevent optional block parameter from accepting certain prefixed values
This commit prevents the following unary operators from being accepted
as the value prefix of a block's optional para...
Stan Lo
06:25 PM Revision aa473489 (git): [ruby/prism] Various cleanup for initializers and typechecks
https://github.com/ruby/prism/commit/86cf82794a kddnewton (Kevin Newton)
06:25 PM Revision 2bf9ae3f (git): [ruby/prism] Add node ids to nodes
https://github.com/ruby/prism/commit/bf16ade7f9 kddnewton (Kevin Newton)
06:25 PM Revision 39dcfe26 (git): [ruby/prism] Move Node#type and Node::type documentation
https://github.com/ruby/prism/commit/08a71f6259 kddnewton (Kevin Newton)
06:25 PM Revision 32090e2b (git): [ruby/prism] Add Node#breadth_first_search
https://github.com/ruby/prism/commit/1ffb141199 kddnewton (Kevin Newton)
06:25 PM Revision aca42a24 (git): [ruby/prism] Expose common flags in inspect output
https://github.com/ruby/prism/commit/d0143865c2 kddnewton (Kevin Newton)
06:25 PM Revision 687be43c (git): [ruby/prism] Expose flags on every node type
https://github.com/ruby/prism/commit/9f12a56fd6 kddnewton (Kevin Newton)
06:25 PM Revision ca48fb76 (git): [ruby/prism] Move location to second position for node initializers
https://github.com/ruby/prism/commit/4cc0eda4ca kddnewton (Kevin Newton)
06:25 PM Revision 678dd769 (git): [ruby/prism] Reconfigure error tests
https://github.com/ruby/prism/commit/fb7e1ebb7f kddnewton (Kevin Newton)
05:02 PM Revision c0ad0c3e (git): Update yjit.md, explain how to run a single test with test-all (#11151)
maximecb (Maxime Chevalier-Boisvert)
03:38 PM Revision 9962e395 (git): Make shared GC job in ubuntu.yml use a shared GC
peterzhu2118 (Peter Zhu)
03:38 PM Revision d0dfd963 (git): Remove SHARED_GC job from compilers.yml
It's a duplicate of the one in ubuntu.yml peterzhu2118 (Peter Zhu)
03:25 PM Bug #9115 (Closed): Logger traps all exceptions; breaks Timeout
I merged https://github.com/ruby/logger/pull/37 to fix this issue. jeremyevans0 (Jeremy Evans)
08:15 AM Bug #9115: Logger traps all exceptions; breaks Timeout
Sorry to be late. Because I've been a bit busy lately, so I'll leave this to Jeremy Evans.
sonots (Naotoshi Seo)
03:25 PM Revision c698180e (git): [ruby/logger] Add reraise_write_errors keyword argument to Logger and LogDevice
This allows the user to specify exception classes to treat as regular
exceptions instead of being swallowed. Among o...
jeremyevans (Jeremy Evans)
03:21 PM Bug #20505 (Rejected): Reassigning the block argument in method body keeps old block when calling super with implicit arguments
This was discussed in yesterday's dev meeting, and the decision was made to keep the current behavior: https://github... jeremyevans0 (Jeremy Evans)
03:19 PM Feature #20594: A new String method to append bytes while preserving encoding
I wonder if that's a bug of `bytesplice`.
It's not like e.g. `setbyte` would respect the encoding (it cannot possibl...
Eregon (Benoit Daloze)
12:49 PM Feature #20594: A new String method to append bytes while preserving encoding
> but also that the encoding is ignored
That was my understanding as well, but given that `bytesplice` does poten...
byroot (Jean Boussier)
10:54 AM Feature #20594: A new String method to append bytes while preserving encoding
mame (Yusuke Endoh) wrote in #note-7:
> Existing methods with byte-prefix (String#byteindex, #bytesplite, etc.) mean...
Eregon (Benoit Daloze)
08:45 AM Feature #20594: A new String method to append bytes while preserving encoding
> binary_concat (It should work only when the receiver's encoding is BINARY. Does it fit with @byroot (Jean Boussier)... byroot (Jean Boussier)
08:43 AM Feature #20594: A new String method to append bytes while preserving encoding
Existing methods with byte-prefix (String#byteindex, #bytesplite, etc.) mean that the unit of offset or size is in by... mame (Yusuke Endoh)
05:38 AM Feature #20594: A new String method to append bytes while preserving encoding
Discussed in person in the meeting. I'll think about other names and propose some. byroot (Jean Boussier)
05:18 AM Feature #20594: A new String method to append bytes while preserving encoding
> Since other methods with byte prefixes have the behavior of counting the index in bytes, but this method has nothin... byroot (Jean Boussier)
05:06 AM Feature #20594: A new String method to append bytes while preserving encoding
I agree with having such a method. However, I disagree with the name `byteconcat`. Since other methods with byte pref... matz (Yukihiro Matsumoto)
01:19 PM Feature #20612: Introduce new Epsilon (no-op) GC
matz (Yukihiro Matsumoto) wrote in #note-1:
> We can not read the background of this proposal. Why do you want to hav...
eightbitraptor (Matt V-H)
08:04 AM Feature #20612: Introduce new Epsilon (no-op) GC
We can not read the background of this proposal. Why do you want to have this epsilon GC? Just for the example of the... matz (Yukihiro Matsumoto)
01:09 PM Revision a0469a47 (git): Rename gc/gc_impl.c to gc/default.c
Changing the name makes it clear that this is the default GC in Ruby. peterzhu2118 (Peter Zhu)
01:09 PM Revision e5d12f9c (git): Move gc_impl.c to gc/gc_impl.c
This commit creates a new directory `gc` to put different GC
implementations and moves the default GC from gc_impl.c ...
peterzhu2118 (Peter Zhu)
10:42 AM Bug #20626: `defined?(@ivar)` should return nil when `@iv` can raise on Ractor
AFAIK `defined?(expr)` checks whether the expression is defined, e.g. if it's a variable whether there is such a vari... Eregon (Benoit Daloze)
07:55 AM Bug #20626: `defined?(@ivar)` should return nil when `@iv` can raise on Ractor
On the devmeeting, akr pointed that `@iv = foo unless defined?(@iv)` isn't be supported with Case1's proposal.
So th...
ko1 (Koichi Sasada)
02:40 AM Bug #20626 (Closed): `defined?(@ivar)` should return nil when `@iv` can raise on Ractor
Return `nil` for `defined?(@ivar)` on some cases with Ractor.
## Background
It is not allowed to get instance v...
ko1 (Koichi Sasada)
10:10 AM Feature #20625: Object#chain_of
```ruby
breadcrumbs = Enumerator.produce(parent, &:parent_directory).take_while { !_1.nil? }
hierarchy = Enumerator...
zverok (Victor Shepelev)
08:46 AM Misc #20628 (Closed): DevMeeting-2024-08-01
# The next dev meeting
**Date: 2024/08/01 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
08:46 AM Misc #20574 (Closed): DevMeeting-2024-07-11
mame (Yusuke Endoh)
08:03 AM Revision e1a034cb (git): IBM864 single-byte transcoding (#10518)
Include € euro sign from CCSID 864 bitsweat (Jeremy Daer)
07:52 AM Misc #20407 (Closed): Question about applying encoding modifier to an interpolated Regexp
It seems to be reasonable. Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:51 AM Misc #20407: Question about applying encoding modifier to an interpolated Regexp
Since this feature is not widely used and will not be widely used, how do we keep this as is?
After for a while, thi...
naruse (Yui NARUSE)
07:31 AM Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
k0kubun (Takashi Kokubun) wrote in #note-10:
> Can you test `ruby_3_3` branch (at commit:b13cf49036f0a454063cde25807...
vo.x (Vit Ondruch)
06:59 AM Revision a1f74325 (git): Update bundled gems list as of 2024-07-10
git[bot]
05:39 AM Bug #20593 (Closed): `Kernel#format` emits a `too many arguments for format string` warning when called with a single hash and no key is used
Applied in changeset commit:git|3de0e343e27c4bbb76c3c9fda0d8be4d83807a2d.
----------
Do not warn about extra `format...
byroot (Jean Boussier)
05:36 AM Bug #20593: `Kernel#format` emits a `too many arguments for format string` warning when called with a single hash and no key is used
OK, I accepted.
Matz.
matz (Yukihiro Matsumoto)
05:39 AM Revision 3de0e343 (git): Do not warn about extra `format` argument when passed as keywords
[Bug #20593]
It's fairly common to use `format` to interpolate a number of values
into a user provided strings.
The...
byroot (Jean Boussier)
04:49 AM Revision 72732af4 (git): [ruby/open-uri] document max_redirects option
https://github.com/ruby/open-uri/commit/4a247e5ca1 pineman (João Pinheiro)
04:49 AM Revision e62a0126 (git): [ruby/open-uri] apply default max_redirects
https://github.com/ruby/open-uri/commit/5d29e626bc pineman (João Pinheiro)
03:28 AM Revision e1238a1f (git): Enumerable#all?: Stop optimizing when a given block is not optimizable
This is a follow up to 182822683f86c8f8d63b05765addf5a04d112aa2.
Co-Authored-By: Aaron Patterson <tenderlove@ruby-la...
mame (Yusuke Endoh)
03:14 AM Feature #20627 (Closed): `require` on Ractor should run on the main Ractor
Now `require` on main Ractor is not allowed (raising error) but it is hard, especially for `autoload`.
So let's allo...
ko1 (Koichi Sasada)
03:05 AM Bug #20587: dir.c calls blocking filesystem APIs/system calls while holding the GVL
@ivoanjo Thank you for your analysis. I worked on a pull request that handles most of the system calls you listed: h... jeremyevans0 (Jeremy Evans)
03:03 AM Revision 724d95a7 (git): Bump ruby/setup-ruby from 1.186.0 to 1.187.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.186.0 to 1.187.0.
- [Release notes](https://github...
dependabot[bot]
02:59 AM Bug #20618: ruby uses 1/2 (7 out of 16) cores for 16 ractors
Thanks @alanwu
Please use `RUBY_MAX_CPU` to increase the processors.
ko1 (Koichi Sasada)
02:27 AM Revision 6dc0086d (git): [rubygems/rubygems] fix s3 source configuration issue
https://github.com/rubygems/rubygems/commit/356726bd1a Dmitriy Ivliev
01:56 AM Feature #16482 (Closed): net/http should support TLS connection to proxies
I merged https://github.com/ruby/net-http/pull/55 now. hsbt (Hiroshi SHIBATA)
01:56 AM Revision bc1b4235 (git): [ruby/net-http] implement talking SSL to the proxy too
https://bugs.ruby-lang.org/issues/16482
https://github.com/ruby/net-http/commit/ae2d83f88b
Evgeni Golov
01:51 AM Revision 70bdc0f7 (git): [ruby/net-http] Add ability to configure default settings for new connections
https://github.com/ruby/net-http/commit/fed3dcd0c2 fatkodima (Dima Fatko)
01:22 AM Revision 9f4b45fb (git): [ruby/net-http] test_https.rb - fix test_session_reuse_but_expire
https://github.com/ruby/net-http/commit/5544243c41 MSP-Greg (Greg L)
01:10 AM Revision d605fb54 (git): [ruby/net-http] net/http.rb - derive SSL_IVNAMES from SSL_ATTRIBUTES
https://github.com/ruby/net-http/commit/7191bb923b MSP-Greg (Greg L)
12:23 AM Revision 9a5e3a40 (git): Removed WEBrick and that tests
We can handle uri, time and others without `make test-all` dependencies now. hsbt (Hiroshi SHIBATA)

07/10/2024

11:38 PM Revision bfba96a1 (git): Avoid a hash allocation when keyword splatting empty hash when calling ruby2_keywords method
Treat this similar to keyword splatting nil, using goto ignore.
However, keep previous behavior if the method accepts...
jeremyevans (Jeremy Evans)
11:06 PM Revision 8c69caa4 (git): * append newline at EOF. [ci skip]
git[bot]
11:06 PM Revision 840f7ebf (git): [ruby/net-http] Commented out unfinished chunked test
https://github.com/ruby/net-http/commit/6376592cb4 hsbt (Hiroshi SHIBATA)
11:06 PM Revision 492b505d (git): [ruby/net-http] Removed needless warning
https://github.com/ruby/net-http/commit/d867edc0fe hsbt (Hiroshi SHIBATA)
11:06 PM Revision b11aba50 (git): [ruby/net-http] Split POST test because new dummy server can't handle continuouse POST request
https://github.com/ruby/net-http/commit/54a99b9f0c hsbt (Hiroshi SHIBATA)
11:06 PM Revision e77bc17e (git): [ruby/net-http] Write log after server start, not handling request
https://github.com/ruby/net-http/commit/205bac757a hsbt (Hiroshi SHIBATA)
11:06 PM Revision 64285361 (git): [ruby/net-http] Split test class because TCPServer couldn't accept localhost and 127.0.0.1 both
https://github.com/ruby/net-http/commit/749a1b3197 hsbt (Hiroshi SHIBATA)
11:06 PM Revision 4e6463ad (git): [ruby/net-http] Support chunked data and fixed test failure with multipart/form-data
https://github.com/ruby/net-http/commit/b38c2795a9 hsbt (Hiroshi SHIBATA)
11:06 PM Revision 87a45af1 (git): [ruby/net-http] Removed server-side log test
https://github.com/ruby/net-http/commit/9c16c383ce hsbt (Hiroshi SHIBATA)
11:06 PM Revision 5e6f04ab (git): [ruby/net-http] Fix wrong hostname with test_max_version test
https://github.com/ruby/net-http/commit/f00d198433 hsbt (Hiroshi SHIBATA)
11:06 PM Revision c7eb9ac6 (git): [ruby/net-http] Rewrite WEBrick server with TCPServer and OpenSSL::SSL::SSLServer
https://github.com/ruby/net-http/commit/b01bcf6d7f hsbt (Hiroshi SHIBATA)
09:45 PM Revision 0ee39606 (git): Eliminate array allocations for single splat followed by mutable keywords
For calls such as:
m(*ary, a: 2, **h)
m(*ary, **h, **h, **h)
Where m does not take a positional argument splat,...
jeremyevans (Jeremy Evans)
07:45 PM Revision 48e7112b (git): YJIT: increase context cache size to 1024 (#10983)
* YJIT: increase context cache size to 1024
The other day I ran into a mysterious bug while increasing the
cache siz...
maximecb (Maxime Chevalier-Boisvert)
07:13 PM Bug #20618 (Closed): ruby uses 1/2 (7 out of 16) cores for 16 ractors
I think this is an intended change from #19842. Please correct me if I'm wrong @ko1.
Emphasis mine:
> On the mu...
alanwu (Alan Wu)
06:56 PM Feature #20625 (Open): Object#chain_of
## Motivation
It's often common to traverse a tree/list-like structure in order to get a chain
of elements. This ...
matheusrich (Matheus Richard)
06:28 PM Revision 52a0dfd4 (git): Revert all changes to dln.c, dmydln.c, dln.h for the shared GC
peterzhu2118 (Peter Zhu)
06:28 PM Revision 64988e66 (git): Allow miniruby to load shared GC
Since dln.c is replaced with dmydln.c for miniruby, we cannot load shared
GC for miniruby. This means that many tests...
peterzhu2118 (Peter Zhu)
03:28 PM Feature #20624: Enhance `RubyVM::AbstractSyntaxTree::Node#locations` method and `RubyVM::AbstractSyntaxTree::Location` class
This new API also seems hard-to-use BTW, because `RubyVM::AbstractSyntaxTree::Node#locations` returns an Array of loc... Eregon (Benoit Daloze)
03:19 PM Feature #20624: Enhance `RubyVM::AbstractSyntaxTree::Node#locations` method and `RubyVM::AbstractSyntaxTree::Location` class
What is the motivation to improve this RubyVM API which AFAIK should not be used anymore?
`RubyVM::AbstractSyntaxT...
Eregon (Benoit Daloze)
03:06 PM Feature #20624 (Closed): Enhance `RubyVM::AbstractSyntaxTree::Node#locations` method and `RubyVM::AbstractSyntaxTree::Location` class
# Background
It's revealed that single location information is not enough for some node types.
For example, `Pris...
yui-knk (Kaneko Yuichiro)
03:10 PM Misc #20574: DevMeeting-2024-07-11
* [Feature #20624] Enhance `RubyVM::AbstractSyntaxTree::Node#locations` method and `RubyVM::AbstractSyntaxTree::Locat... yui-knk (Kaneko Yuichiro)
02:51 PM Bug #20623: Unexpected behavior of blocks in Enumerator::Lazy#zip
I tested this against a few versions of Ruby. In 2.7.x the first example returns `[1,2]`. But since 3.0.x it returns ... eileencodes (Eileen Uchitelle)
10:16 AM Bug #20623 (Closed): Unexpected behavior of blocks in Enumerator::Lazy#zip
I've stumbled upon unexpected behaviour of lazy enumerators. My example:
```
[1].cycle.lazy.zip([2].cycle.lazy).m...
esad (Esad Hajdarevic)
01:21 PM Revision 623eecce (git): Use absolute path for shared_gc_dir
peterzhu2118 (Peter Zhu)
08:04 AM Revision 133fec4c (git): [rubygems/rubygems] Fix another strange error when running `bundle add` in frozen mode
If there's a lockfile, but it's out of sync with the Gemfile because a
dependency has been deleted, and frozen mode i...
deivid (David Rodríguez)
08:04 AM Revision 7e612b74 (git): [rubygems/rubygems] Fix strange error when running `bundle add` with frozen mode set
If Gemfile is empty and there's no lockfile (situation after `bundle init`), and
`frozen` is configured, running `bun...
deivid (David Rodríguez)
07:33 AM Bug #20608: Hash#find always allocates each iterated pair
Amazing, thank you! ivoanjo (Ivo Anjo)
04:01 AM Bug #20608 (Closed): Hash#find always allocates each iterated pair
I merged https://github.com/ruby/ruby/pull/11110. mame (Yusuke Endoh)
04:00 AM Revision 18282268 (git): Use rb_block_call2 for some Enumerable methods
Enumerable#all?, #any?, #one?, and #none? do not use yielded arguments
as an Array. So they can use rb_block_call2 to...
mame (Yusuke Endoh)
04:00 AM Revision 114e32b3 (git): Add rb_block_call2, a flexible variant of rb_block_call
This function accepts flags:
RB_NO_KEYWORDS, RB_PASS_KEYWORDS, RB_PASS_CALLED_KEYWORDS:
Works as the same as rb_bloc...
mame (Yusuke Endoh)
03:15 AM Revision 77b12a8a (git): GC_DEBUG is always defined
`#ifdef` is inadequate. shyouhei (Shyouhei Urabe)
03:15 AM Revision c49eda91 (git): rb_source_location_cstr is banned in this file
Raison d'etre du gc_impl.c is to purge any internal constructs and rely
solely on our public APIs. rb_source_location...
shyouhei (Shyouhei Urabe)
03:15 AM Revision 1f15149e (git): rb_gc_obj_slot_size is banned in this file
Raison d'etre du gc_impl.c is to purge any internal constructs and rely
solely on our public APIs. rb_gc_obj_slot_siz...
shyouhei (Shyouhei Urabe)
02:57 AM Revision ef2afe82 (git): Bump ruby/setup-ruby from 1.185.0 to 1.186.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.185.0 to 1.186.0.
- [Release notes](https://github...
dependabot[bot]
02:12 AM Bug #20622: irb: invalid byte sequence in UTF-8
Perhaps your `~/.inputrc` contains non UTF-8 characters. mame (Yusuke Endoh)

07/09/2024

08:32 PM Bug #20622: irb: invalid byte sequence in UTF-8
from /opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/3.3.0/reline/config.rb:172:in `match'
from /opt/homebrew/Cellar/ruby/...
chmaynard (Craig Maynard)
08:28 PM Bug #20622 (Closed): irb: invalid byte sequence in UTF-8
Ruby $ irb
/opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/3.3.0/reline/config.rb:172:in `match': invalid byte sequence in ...
chmaynard (Craig Maynard)
07:31 PM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
Agreed with @alanwu, the docs seems clear, and one would expect this method returns how many bytes are used to repres... Eregon (Benoit Daloze)
01:29 AM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
IMO based on the current wording of the documentation it should always return `sizeof(VALUE)` for fixnums, because VA... alanwu (Alan Wu)
01:17 AM Bug #20614: Integer#size returns incorrect values on 64-bit Windows
You can use RbConfig::SIZEOF to query the size of a C type.
```
% ruby -v -rrbconfig/sizeof -e 'pp RbConfig::SIZE...
akr (Akira Tanaka)
05:22 PM Revision 6f6aff56 (git): Don't shrink array in `ary_make_shared`
This change adds back the assertions removed in #11092 and removes the
call to `ary_shrink_capa` from `ary_make_share...
eileencodes (Eileen Uchitelle)
05:14 PM Revision c1ff8d51 (git): Fix grammar of ruby_shared_gc.m4
peterzhu2118 (Peter Zhu)
04:34 PM Revision 140d8318 (git): [rubygems/rubygems] Fix generic platform gems getting incorrectly removed when locked for a specific platform
If they are already in the lockfile as the most specific variant for a
platform, we shouldn't change that unless expl...
deivid (David Rodríguez)
04:34 PM Revision e6c7a309 (git): [rubygems/rubygems] Refactor selecting specs from a SpecSet
https://github.com/rubygems/rubygems/commit/bcbbff5149 deivid (David Rodríguez)
04:34 PM Revision dd05191b (git): [rubygems/rubygems] Resolve all platforms directly
Instead of having to do a complete pass after resolve.
To do this, we add to the ruby group all the platform specs w...
deivid (David Rodríguez)
04:34 PM Revision 00acc703 (git): [rubygems/rubygems] Don't memoize sorted_spec_names
It's just for debugging and a simple method, so no need.
https://github.com/rubygems/rubygems/commit/3230425a9a
deivid (David Rodríguez)
04:34 PM Revision 086cde16 (git): [rubygems/rubygems] Instantiate `Resolver::SpecGroup` with explicit priority
https://github.com/rubygems/rubygems/commit/e2c1bc1b6c deivid (David Rodríguez)
04:34 PM Revision 5fdfdc30 (git): [rubygems/rubygems] Let resolver consider unique specs from the beginning
It results in more consistent error messages.
https://github.com/rubygems/rubygems/commit/a4b34361cc
deivid (David Rodríguez)
04:34 PM Revision a333e867 (git): [rubygems/rubygems] Fix spec to also pass outside of Linux
https://github.com/rubygems/rubygems/commit/fc8c853345 deivid (David Rodríguez)
03:55 PM Revision 3427a167 (git): retry on cancelling of `getaddrinfo` (#11131)
When the registerred unblock function is called, it should retry
the cancelled blocking function if possible after ch...
ko1 (Koichi Sasada)
02:43 PM Revision 1d97c46b (git): [rubygems/rubygems] Minor Bundler spec improvements
While working on something else I noticed:
* Usage of uppercased "RUBY" and "JAVA" as platforms, when those don't
...
deivid (David Rodríguez)
02:42 PM Revision ac0e0f0c (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.97 to 0.9.98.
- [Release notes](https://github.com/oxid...
dependabot[bot]
01:43 PM Revision 30b9912b (git): [DOC] Doc for Float#ceil (#11125)
burdettelamar (Burdette Lamar)
01:40 PM Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
I added `workflow_dispatch` to `.github/workflows/update_index.yml`.
So it can run by `gh workflow run update_index ...
znz (Kazuhiro NISHIYAMA)
12:14 PM Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
vo.x (Vit Ondruch) wrote in #note-4:
> mame (Yusuke Endoh) wrote in #note-3:
> > I recommend monitoring https://githu...
vo.x (Vit Ondruch)
01:21 PM Bug #20587: dir.c calls blocking filesystem APIs/system calls while holding the GVL
jeremyevans0 (Jeremy Evans) wrote in #note-2:
> @ivoanjo Can you be specific about which places this affects? I exam...
ivoanjo (Ivo Anjo)
12:55 PM Revision ab3fa8de (git): [DOC] Use backticks instead of HTML tags
peterzhu2118 (Peter Zhu)
12:55 PM Revision 5de6d0b3 (git): [DOC] Fix granularity calculation
The granularity is calculated as `10 ** ndigits.abs` rather than
`ndigits.abs * 10`. For example, if `ndigits` is `-2...
peterzhu2118 (Peter Zhu)
12:48 PM Feature #20621 (Open): Check libruby.so hardening by annocheck
As part of #18061, there was implemented annocheck test case. However, the test covers just `ruby` (which is just thi... vo.x (Vit Ondruch)
11:26 AM Revision ad6b2e89 (git): [rubygems/rubygems] Test using latest rubies
https://github.com/rubygems/rubygems/commit/6d6646b8bc deivid (David Rodríguez)
09:09 AM Revision f9004fc8 (git): [rubygems/rubygems] Suppress SSLError warning because it's only for debugging.
http://ci.rvm.jp/logfiles/brlog.trunk.20240709-010435#L1554
https://github.com/rubygems/rubygems/commit/a1a46f413b
hsbt (Hiroshi SHIBATA)
07:38 AM Misc #20574: DevMeeting-2024-07-11
* [Feature #20443] Allow Major GC's to be disabled (eightbitraptor)
* The feature is ready and already accepted.
...
byroot (Jean Boussier)
07:37 AM Bug #20605: PRs with backported fix for https://github.com/ruby/ruby/pull/11036 to Ruby 3.3 and 3.2
Thanks for the help! :) ivoanjo (Ivo Anjo)
07:27 AM Revision e09df574 (git): [ruby/open-uri] Try Windows tests again
https://github.com/ruby/open-uri/commit/50f265ba29 hsbt (Hiroshi SHIBATA)
07:21 AM Revision 5d82abdf (git): Removed duplicate server thread
hsbt (Hiroshi SHIBATA)
07:21 AM Revision e62ac3aa (git): Reapply "Reverts related commits with https://github.com/ruby/open-uri/pull/37"
This reverts commit 02c4f0c89db3689c5272f00c548ca3008120459b. hsbt (Hiroshi SHIBATA)
06:45 AM Bug #20620: singleton_method undefined for module using "extend self"
I don't think this is a bug. It does seem inconsistent, but only because the `all` argument to `singleton_methods` ... jeremyevans0 (Jeremy Evans)
05:47 AM Bug #20620 (Closed): singleton_method undefined for module using "extend self"
Is this a bug? I expected `ExtendSelf.singleton_method(:foo)` to work when `ExtendSelf.singleton_methods` worked and ... dentarg (Patrik Ragnarsson)
06:12 AM Bug #20617: /\pArabic/ character property doesn't match certain Arabic characters
`(\p{In_Arabic}` may not be enough. There are 8 blocks with a name containing 'Arabic'. For details, see e.g. https:/... duerst (Martin Dürst)
04:01 AM Revision 690b5644 (git): Use `File.write` instead of `Kernel#open`
nobu (Nobuyoshi Nakada)
02:16 AM Bug #20619 (Closed): Backport bd583ca645ea348a2894f4227fcb1af650ee8dec to ruby 3.3
commit:bd583ca645ea348a2894f4227fcb1af650ee8dec (https://github.com/ruby/ruby/pull/11037) should be merged. ko1 (Koichi Sasada)

07/08/2024

11:36 PM Feature #20610: Float::INFINITY as IO.select timeout argument
ioquatix (Samuel Williams) wrote in #note-2:
> Please note that `nil` timeout can mean use the default timeout.
>...
akr (Akira Tanaka)
10:04 AM Feature #20610: Float::INFINITY as IO.select timeout argument
There is another issue with accepting Float::INFINITY, it means it needs to be checked explicitly in places where the... Eregon (Benoit Daloze)
09:54 AM Feature #20610: Float::INFINITY as IO.select timeout argument
Regarding the general timeout loop, I would write it like this:
```ruby
# timeout is an optional argument. nil means ...
Eregon (Benoit Daloze)
01:14 AM Feature #20610: Float::INFINITY as IO.select timeout argument
I'm okay with this proposal but I think we should clearly implement:
> If we want to change the timeout of many me...
ioquatix (Samuel Williams)
11:28 PM Revision be1089c8 (git): v3.3.4
k0kubun (Takashi Kokubun)
11:09 PM Bug #20570: Nokey behavior changed since 3.3.
ruby_3_3 commit:17e21d815583ef7d6be03f29e90a219602497626 merged revision(s) commit:fc33559c. k0kubun (Takashi Kokubun)
11:09 PM Bug #20570: Nokey behavior changed since 3.3.
I _think_ I managed to fix the conflict. I'd appreciate a backport PR next time though. k0kubun (Takashi Kokubun)
10:46 PM Bug #20570: Nokey behavior changed since 3.3.
The patch doesn't apply to Ruby 3.3 cleanly. Could anybody file a backport PR to `ruby_3_3` branch? k0kubun (Takashi Kokubun)
11:08 PM Revision 17e21d81 (git): merge revision(s) fc33559c: [Backport #20570]
clear `kw_flag` if given hash is nil
https://bugs.ruby-lang.org/issues/20570 is caused I missed to
c...
k0kubun (Takashi Kokubun)
11:04 PM Bug #20239: Segmentation fault when using Regex on a large String
ruby_3_3 commit:df8a08fb6a1f173a9c25db15fbe390096f39c2ff merged revision(s) commit:75aaeb35b82da26359b9418d2963384d0c... k0kubun (Takashi Kokubun)
11:04 PM Revision df8a08fb (git): merge revision(s) 75aaeb35b82da26359b9418d2963384d0c55839c: [Backport #20239]
[Bug #20239] Fix overflow at down-casting k0kubun (Takashi Kokubun)
11:01 PM Bug #20605: PRs with backported fix for https://github.com/ruby/ruby/pull/11036 to Ruby 3.3 and 3.2
Both PRs have been merged. Thank you! k0kubun (Takashi Kokubun)
10:59 PM Bug #20573: Warning.warn shouldn't be called for disabled warnings
ruby_3_3 commit:a3eb5e5c70eaee12964cdd807b8f19950003141f. k0kubun (Takashi Kokubun)
10:58 PM Bug #20592: Interrupting Addrinfo causes Segmentation fault on alpine
ruby_3_3 commit:9d583dd43a24354e8ae58c089cf091c1243e6e60 merged revision(s) commit:fba8aff7, commit:d8c6e91748871ab22... k0kubun (Takashi Kokubun)
10:58 PM Revision 9d583dd4 (git): merge revision(s) fba8aff7, d8c6e91748871ab2287d7703347847fe18a292d2: [Backport #20592]
[Bug #20592] Fix segfault when sending NULL to freeaddrinfo
On alpine freeaddrinfo does not accept NULL poin...
k0kubun (Takashi Kokubun)
10:57 PM Bug #20598: Corruption of internal encoding string
ruby_3_3 commit:291cc913503475a204c93a53a2f470c8cc6bfca2. k0kubun (Takashi Kokubun)
10:56 PM Bug #20595: Corruption of encoding name string
ruby_3_3 commit:291cc913503475a204c93a53a2f470c8cc6bfca2. k0kubun (Takashi Kokubun)
10:55 PM Bug #20468: Segfault on safe navigation in for target
ruby_3_3 commit:8a2e41d34b135046957e1195a5d4f4967a82a965 merged revision(s) commit:2dd46bb82ffc4dff01d7ea70922f0e407a... k0kubun (Takashi Kokubun)
10:55 PM Revision 8a2e41d3 (git): merge revision(s) 2dd46bb82ffc4dff01d7ea70922f0e407acafb4e: [Backport #20468]
[Bug #20468] Fix safe navigation in `for` variable k0kubun (Takashi Kokubun)
10:54 PM Bug #20585: Size of memory allocated by String.new(:capacity) is different from the specified value
ruby_3_3 commit:d1ffd5ecfa62a049b7c508f30b6912a890de1b32. k0kubun (Takashi Kokubun)
10:52 PM Bug #20581: Ruby 3.3.3 install has missing deps for bundled net-pop gem
ruby_3_3 commit:01762837b7f98934e402c6888e15de32a673b0fd. k0kubun (Takashi Kokubun)
10:42 PM Bug #20562: Categorize `RUBY_FREE_AT_EXIT` warning
ruby_3_3 commit:a40645e115e6cd6328bb302dfc78b16f6ad45938 merged revision(s) commit:01b13886. k0kubun (Takashi Kokubun)
10:42 PM Revision a40645e1 (git): merge revision(s) 01b13886: [Backport #20562]
[Bug #20562] Categorize `RUBY_FREE_AT_EXIT` warning as experimental k0kubun (Takashi Kokubun)
10:40 PM Revision 9a8454ea (git): Fix malformed JSON in macOS CI
k0kubun (Takashi Kokubun)
09:43 PM Revision e500222d (git): fix last commit
`th` is gone. ko1 (Koichi Sasada)
08:57 PM Revision ffc69eec (git): `struct rb_thread_sched_waiting`
Introduce `struct rb_thread_sched_waiting` and `timer_th.waiting`
can contain other than `rb_thread_t`.
ko1 (Koichi Sasada)
08:47 PM Revision a9f6bd02 (git): Add make target shared-gc
Allows building shared GC using `make shared-gc SHARED_GC=gc_impl` peterzhu2118 (Peter Zhu)
08:41 PM Bug #20618 (Closed): ruby uses 1/2 (7 out of 16) cores for 16 ractors
According to `top`, the below code uses 7/16 cores (700%) of my AMD Ryzen 7 5800HS:
```
#!/usr/bin/env ruby
16.t...
skorobogatydmitry (Dmitry Skorobogaty)
08:02 PM Revision 3be9ce3c (git): YJIT: `dump-disasm`: Print comments and bytes in release builds
This change implements a fallback mode for the `--yjit-dump-disasm`
development command-line option to make it usable...
alanwu (Alan Wu)
07:22 PM Feature #20443: Allow Major GC's to be disabled
ko1 (Koichi Sasada) wrote in #note-22:
> > Introduce GC.config, currently with a single key full_mark.
>
> I'm ok...
eightbitraptor (Matt V-H)
06:17 PM Feature #20443: Allow Major GC's to be disabled
> but not sure config or configure or other word? (English issue).
Given `GC.config` returns the current configur...
byroot (Jean Boussier)
05:47 PM Feature #20443: Allow Major GC's to be disabled
> Introduce GC.config, currently with a single key full_mark.
I'm okay to introduce it but not sure `config` or `c...
ko1 (Koichi Sasada)
06:56 PM Bug #20587: dir.c calls blocking filesystem APIs/system calls while holding the GVL
@ivoanjo Can you be specific about which places this affects? I examined all `opendir` calls in `dir.c`:
* Called...
jeremyevans0 (Jeremy Evans)
06:49 PM Bug #20602 (Closed): RangeError: integer 128496650801200 too big to convert to 'int' without YJIT since cdf33ed5f37f9649c482c3ba1d245f0d80ac01ce
jeremyevans0 (Jeremy Evans)
06:43 PM Bug #20602: RangeError: integer 128496650801200 too big to convert to 'int' without YJIT since cdf33ed5f37f9649c482c3ba1d245f0d80ac01ce
I think this is fixed since https://github.com/ruby/ruby/pull/11086 was merged. I haven't seen it on the Rails CI nig... eileencodes (Eileen Uchitelle)
06:44 PM Bug #20616 (Feedback): <jemalloc>: Error in munmap(): Invalid argument
alanwu (Alan Wu)
05:50 PM Bug #20616: <jemalloc>: Error in munmap(): Invalid argument
You could try running with the jemalloc `MALLOC_CONF='abort:true'` environment variable to get a crash when the munma... alanwu (Alan Wu)
02:59 PM Bug #20616 (Feedback): <jemalloc>: Error in munmap(): Invalid argument
Good day!
Description:
I am getting the following error randomly. I run the offending code every 10 minutes and...
damuz91 (David Muñoz)
06:42 PM Bug #20617 (Closed): /\pArabic/ character property doesn't match certain Arabic characters
The "Arabic" property is a "scripts" property, which doesn't include punctuations: https://www.unicode.org/standard/s... alanwu (Alan Wu)
05:06 PM Bug #20617 (Closed): /\pArabic/ character property doesn't match certain Arabic characters
I am not sure this is a bug.
On some occasions I have Arabic text, but the Arabic character property rejects it as...
kytrinyx (Katrina Owen)
06:35 PM Revision a57b4340 (git): Doc fixes
burdettelamar (Burdette Lamar)
06:33 PM Bug #20615 (Closed): [Regexp] Incorrect match result for Regexp including unicode property
jeremyevans0 (Jeremy Evans)
02:47 PM Bug #20615: [Regexp] Incorrect match result for Regexp including unicode property
This regexp pattern is invalid.
Sorry for my mistake.
taichi730 (Taichi Ishitani)
02:34 PM Bug #20615 (Closed): [Regexp] Incorrect match result for Regexp including unicode property
A regex pattern including an unicode property is not matched correctly.
``` ruby
/\A *\z/.match?('') # => true
/...
taichi730 (Taichi Ishitani)
05:13 PM Misc #20574: DevMeeting-2024-07-11
* [Feature #20594] A new String method to append bytes while preserving encoding (byroot)
* When working with bina...
byroot (Jean Boussier)
04:41 PM Misc #20574: DevMeeting-2024-07-11
- [Feature #20612] Introduce new Epsilon (no-op) GC
- Idea taken from [this Java implementation](https://openjdk.or...
eightbitraptor (Matt V-H)
05:06 PM Revision ae6a2d06 (git): [rubygems/rubygems] Fix wrong version is comment
This RubyGems feature is being released as 3.5.15, so we can stop
monkeypatching RubyGems once support for the previo...
deivid (David Rodríguez)
05:06 PM Revision 39826f38 (git): [rubygems/rubygems] Backport binstub race condition fix to Bundler
https://github.com/rubygems/rubygems/commit/b07e46820d deivid (David Rodríguez)
04:13 PM Bug #20604: Performance regression in C++ extensions due to lack of optimization flags by default since Ruby 2.7
This can be reproduced with the following benchmark script:
``` ruby
# frozen_string_literal: true
require 'bu...
ntkme (Natsuki Natsume)
02:20 PM Bug #20611 (Closed): Ruby 3.3: Tempfile#size returns 0 when file is not empty
jeremyevans0 (Jeremy Evans)
06:26 AM Bug #20611: Ruby 3.3: Tempfile#size returns 0 when file is not empty
I just realised now that Tempfile is atually a separate gem. Looking there I can see that the size method is using it... jbw (Jerry W)
06:16 AM Bug #20611: Ruby 3.3: Tempfile#size returns 0 when file is not empty
Sorry there is a double pipe on the tap call of the first code block - that was a mis-paste by me & I'm unable to edi... jbw (Jerry W)
06:06 AM Bug #20611 (Closed): Ruby 3.3: Tempfile#size returns 0 when file is not empty
Hi
I searched to see if this was reported already, or if it was somehow intentional but I'm having an issue with R...
jbw (Jerry W)
01:08 PM Revision 0c61e212 (git): Rename rb_gc_impl_verify_internal_consistency to gc_verify_internal_consistency
It's an internal function so we can drop the rb_gc_impl peterzhu2118 (Peter Zhu)
01:06 PM Revision e148db70 (git): Make rb_gc_impl_verify_internal_consistency static
The function is not used outside of this file. peterzhu2118 (Peter Zhu)
12:11 PM Bug #20614 (Rejected): Integer#size returns incorrect values on 64-bit Windows
According to the ruby/spec, `0.size` should return size of the machine word in bytes, but on x64-mswin64_140 (both re... surusek (Łukasz Sur)
11:48 AM Feature #20613 (Open): Implement shadow stack (part of CET) for coroutines
To fully enable CET, shadow stack needs to be implemented for coroutines. The initial implementation was proposed [he... vo.x (Vit Ondruch)
11:44 AM Feature #20612 (Open): Introduce new Epsilon (no-op) GC
## Summary
[[Github PR 11122]](https://github.com/ruby/ruby/pull/11122)
This ticket proposes the introduction o...
eightbitraptor (Matt V-H)
11:00 AM Revision 02c4f0c8 (git): Reverts related commits with https://github.com/ruby/open-uri/pull/37
It caused Timeout failure with RJIT and chkbuild
http://rubyci.s3.amazonaws.com/debian11/ruby-master/log/20240708T06...
hsbt (Hiroshi SHIBATA)
10:24 AM Feature #19236 (Closed): Allow to create hashes with a specific capacity from Ruby
Applied in changeset commit:git|9594db0cf28d7bc10bfc46142239191a11f1dbbe.
----------
Implement Hash.new(capacity:)
...
byroot (Jean Boussier)
10:24 AM Revision 9594db0c (git): Implement Hash.new(capacity:)
[Feature #19236]
When building a large hash, pre-allocating it with enough
capacity can save many re-hashes and sign...
byroot (Jean Boussier)
08:58 AM Revision bfb8cad7 (git): Expand RJIT timeout to 60min
hsbt (Hiroshi SHIBATA)
08:05 AM Revision a5f40147 (git): Load net-http explicitly for SimpleHTTPProxyServer
hsbt (Hiroshi SHIBATA)
06:18 AM Revision b903d9f0 (git): [ruby/tempfile] typofix
https://github.com/ruby/tempfile/commit/82a74b017e hsbt (Hiroshi SHIBATA)
06:15 AM Revision 4658d652 (git): Load socket explicitly for TCPServer
hsbt (Hiroshi SHIBATA)
06:15 AM Revision 95bf9049 (git): Load OpenSSL on TestOpenURIUtils for with_https
hsbt (Hiroshi SHIBATA)
05:38 AM Revision e4825a51 (git): [rubygems/rubygems] Fix another race condition
We also need to protect prior removal of the binstub, otherwise it can
happen that:
* Process A removes prior binstu...
deivid (David Rodríguez)
05:38 AM Revision d90a930e (git): [rubygems/rubygems] Properly protect writing binstubs with a file lock
There's an issue when multiple processes try to write the same binstub.
The problem is that our file locking mechanis...
deivid (David Rodríguez)
05:38 AM Revision da12d634 (git): [rubygems/rubygems] Scope rescuing `Errno::ENOLCK` to just `File.open`
https://github.com/rubygems/rubygems/commit/2a9d347d29 deivid (David Rodríguez)
05:38 AM Revision 7cf7e7e2 (git): [rubygems/rubygems] Add missing blank line after method documentation
https://github.com/rubygems/rubygems/commit/2df7560ade deivid (David Rodríguez)
05:38 AM Revision 6db1c53f (git): [rubygems/rubygems] Remove unnecessary FileUtils usage
All other `chmod` usages in the file use `File.chmod`, so keep it
consistent.
https://github.com/rubygems/rubygems/c...
deivid (David Rodríguez)
04:53 AM Revision dcc8e542 (git): [ruby/open-uri] Don't use Base64 library
https://github.com/ruby/open-uri/commit/c8c0452d53 hsbt (Hiroshi SHIBATA)
04:53 AM Revision bf898057 (git): [ruby/open-uri] Test with Windows
https://github.com/ruby/open-uri/commit/2606892a43 hsbt (Hiroshi SHIBATA)
04:53 AM Revision 71490d23 (git): [ruby/open-uri] Move certificates under the TestOpenURIUtils
https://github.com/ruby/open-uri/commit/a28c2da5d2 hsbt (Hiroshi SHIBATA)
04:53 AM Revision 3d78e633 (git): [ruby/open-uri] Load stringio with the correct files
https://github.com/ruby/open-uri/commit/cb17a907a2 hsbt (Hiroshi SHIBATA)
04:53 AM Revision 09c52b91 (git): [ruby/open-uri] Removed needless class definition and variables
https://github.com/ruby/open-uri/commit/ab0e916997 hsbt (Hiroshi SHIBATA)
04:53 AM Revision 61e00856 (git): [ruby/open-uri] Don't use URI library
https://github.com/ruby/open-uri/commit/15989970b6 hsbt (Hiroshi SHIBATA)
04:53 AM Revision e6b6c2ba (git): [ruby/open-uri] support CONNECT method for SimpleHTTPProxy
https://github.com/ruby/open-uri/commit/2e36793bd5 hsbt (Hiroshi SHIBATA)
04:53 AM Revision b7829064 (git): [ruby/open-uri] Added SimpleHTTPSServer by TCPServer and OpenSSL
https://github.com/ruby/open-uri/commit/57c80e1576 hsbt (Hiroshi SHIBATA)
04:53 AM Revision debcf108 (git): [ruby/open-uri] Added SimpleHTTPProxyServer by TCPServer
https://github.com/ruby/open-uri/commit/ad47529306 hsbt (Hiroshi SHIBATA)
04:53 AM Revision a574e290 (git): [ruby/open-uri] Extract SimpleHTTPServer and with_http to TestOpenURIUtils module for other tests
https://github.com/ruby/open-uri/commit/489a1e9006 hsbt (Hiroshi SHIBATA)
04:53 AM Revision 7a74dced (git): [ruby/open-uri] Added SimpleHTTPSServer by TCPServer
https://github.com/ruby/open-uri/commit/a2b1ebe465 hsbt (Hiroshi SHIBATA)
04:53 AM Revision a105bf81 (git): [ruby/open-uri] Removed needless setup and teardown, tmpdir variables
https://github.com/ruby/open-uri/commit/b2d7fc4ff3 hsbt (Hiroshi SHIBATA)
04:53 AM Revision 846c45c2 (git): [ruby/open-uri] Extract FTP tests from test_open-uri.rb
https://github.com/ruby/open-uri/commit/324111eb41 hsbt (Hiroshi SHIBATA)
04:53 AM Revision 6fb482d4 (git): [ruby/open-uri] Extract HTTP Proxy tests from test_open-uri.rb
https://github.com/ruby/open-uri/commit/e9e6bd2779 hsbt (Hiroshi SHIBATA)
03:54 AM Revision 6d24bc49 (git): Bump actions/upload-artifact from 4.3.3 to 4.3.4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](ht...
dependabot[bot]
03:15 AM Revision 6ac03098 (git): Bump ruby/setup-ruby from 1.184.0 to 1.185.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.184.0 to 1.185.0.
- [Release notes](https://github...
dependabot[bot]
01:15 AM Revision 8ede84aa (git): Move the file location of launchable.rb
ono-max (Naoto Ono)
01:15 AM Revision 5b789254 (git): Integrate Launchable into make btest
ono-max (Naoto Ono)

07/07/2024

12:37 PM Bug #18061 (Closed): Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
Applied in changeset commit:git|3381c60836ae499899179f454c6bb1dd3b0891ba.
----------
Ensure CFLAGS are passed to pro...
Anonymous
12:37 PM Bug #20601 (Closed): Configuration flags are not properly propagated to assembler
Applied in changeset commit:git|b18701a7ae0a71c339906ef0db4910fb43645b45.
----------
Remove $(ASFLAGS) from build sy...
Anonymous
12:37 PM Revision dface442 (git): Also export CC for dtrace's benefit as well
The CFLAGS might contain flags that only work with the specified CC KJ Tsanaktsidis
11:28 AM Bug #20162: Memory leak when duplicating too complex object
ruby_3_2 commit:c97a632363a170879b9755c5a123e92533908039 merged revision(s) commit:82b57d7bfeefd717c10f7a5a3484aca6b3... nagachika (Tomoyuki Chikanaga)
11:26 AM Bug #20311: Struct.new("A") memory leak?
ruby_3_2 commit:bd5df1693c89d389471d145fc19b487c708912b1 merged revision(s) commit:e626da82eae3d437b84d4f9ead0164d436... nagachika (Tomoyuki Chikanaga)
10:58 AM Misc #20574: DevMeeting-2024-07-11
* [Feature #20610] Float::INFINITY as IO.select timeout argument (akr)
* Float::INFINITY is useful for timeout com...
akr (Akira Tanaka)
10:14 AM Revision 8ec67052 (git): Do not define SHSTK feature for amd64 Context.S
We do not implement CET shadow-stack switching in amd64 Context.S. If
you compile Ruby with `-fcf-protection=full` an...
KJ Tsanaktsidis
10:14 AM Revision 3381c608 (git): Ensure CFLAGS are passed to probes.o generation
The dtrace python script from systemtap on Linux actually looks at the
CFLAGS environment variable when invoking gcc ...
KJ Tsanaktsidis
10:14 AM Revision b940de83 (git): Revert autoconf macros defining RUBY_AARCH64_{BTI|PAC}_ENABLED
This partially reverts https://github.com/ruby/ruby/pull/10944; now that
we decided to pass CFLAGS to $(CC) when asse...
KJ Tsanaktsidis
10:14 AM Revision b18701a7 (git): Remove $(ASFLAGS) from build system and assemble with $(CFLAGS) instead
We already assemble our assembly files using the $(CC) compiler driver,
rather than the actual $(AS) assembler. This ...
KJ Tsanaktsidis
07:46 AM Revision c97a6323 (git): merge revision(s) 82b57d7bfeefd717c10f7a5a3484aca6b3e708a3: [Backport #20162]
Fix memory leak when duplicating too complex object
[Bug #20162]
Creating a ST table then calling s...
nagachika (Tomoyuki Chikanaga)
07:44 AM Revision bd5df169 (git): merge revision(s) e626da82eae3d437b84d4f9ead0164d436b08e1a, f3af5ae7e6c1c096bbfe46d69de825a02b1696cf: [Backport #20311]
Don't pin named structs defined in Ruby
[Bug #20311]
`rb_define_class_under` assumes it's called fr...
nagachika (Tomoyuki Chikanaga)
07:43 AM Bug #19907: Method calls with keyword arguments in eval leaks callcache and callinfo objects
Backporting 1c97abaabae6844c861705fd07f532292dcffa74 into ruby_3_2 branch introduces MJIT test failures (TestMJIT#tes... nagachika (Tomoyuki Chikanaga)
05:51 AM Bug #20145: Memory leak when duplicating identhash
My trial backpoting to ruby_3_2 introduce Segmentation fault. See https://github.com/nagachika/ruby/actions/runs/9824... nagachika (Tomoyuki Chikanaga)
05:24 AM Bug #20228: Memory leak in Regexp timeout
I gave up to make a clean patch for ruby_3_2 branch. Please make PR if you want to backport. nagachika (Tomoyuki Chikanaga)
04:09 AM Revision 087b461c (git): [DOC] Fix typo `with` -> `wish`
cdfzo
02:01 AM Feature #20610: Float::INFINITY as IO.select timeout argument
This is an experimental patch (IO.select only).
akr (Akira Tanaka)
01:26 AM Feature #20610 (Closed): Float::INFINITY as IO.select timeout argument
I propose IO.select accepts Float::INFINITY as a timeout argument.
It behaves the same as nil which means IO.select ...
akr (Akira Tanaka)
01:41 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
I'm really looking forward to this feature being available via a Ruby interface. ❤️ shan (Shannon Skipper)

07/06/2024

05:55 PM Revision d76332e5 (git): Update default gems list at abaa1b913d6ac15ab1cb6c639a9b8b [ci skip]
git[bot]
05:55 PM Revision abaa1b91 (git): [ruby/irb] Bump version to v1.14.0
(https://github.com/ruby/irb/pull/980)
https://github.com/ruby/irb/commit/6a9e129714
st0012 (Stan Lo)
05:32 PM Feature #20609: Nested module namespace misses fallback to top level
This is expected. When you do:
```ruby
module A::B
end
```
Understand that in Ruby, this is a general form o...
jeremyevans0 (Jeremy Evans)
02:10 PM Feature #20609 (Open): Nested module namespace misses fallback to top level

Currently, Ruby falls back to the top-level constants if it cannot find the Module in the local scope. This can cau...
abdullah.arif (Abdullah Arif)
10:07 AM Bug #20606 (Closed): Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
Applied in changeset commit:git|7f1fe5f091db3b05c3970e7b7a7c602922729642.
----------
Raise a TypeError for Thread#th...
jeremyevans (Jeremy Evans)
10:07 AM Revision 7f1fe5f0 (git): Raise a TypeError for Thread#thread_variable{?,_get} for non-symbol
Previously, a TypeError was not raised if there were no thread
variables, because the conversion to symbol was done a...
jeremyevans (Jeremy Evans)
07:20 AM Revision 2a4469ea (git): [Backport #11036 to 3.2] Add explicit compiler fence when pushing frames to ensure safe profiling
**What does this PR do?**
This PR tweaks the `vm_push_frame` function to add an explicit compiler
fence (`atomic_sig...
ivoanjo (Ivo Anjo)
07:19 AM Bug #20305: commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
ruby_3_2 commit:a67b43d99e24dc7c2a9e134a65f28f968fe124c1 merged revision(s) commit:3a04ea2d0379dd8c6623c2d5563e6b4e23... nagachika (Tomoyuki Chikanaga)
07:19 AM Bug #20239: Segmentation fault when using Regex on a large String
ruby_3_2 commit:2b35d80834f14011f7d313f8fac7855dc9949f70 merged revision(s) commit:75aaeb35b82da26359b9418d2963384d0c... nagachika (Tomoyuki Chikanaga)
06:55 AM Revision 2b35d808 (git): merge revision(s) 75aaeb35b82da26359b9418d2963384d0c55839c: [Backport #20239]
[Bug #20239] Fix overflow at down-casting nagachika (Tomoyuki Chikanaga)
06:54 AM Revision a67b43d9 (git): merge revision(s) 3a04ea2d0379dd8c6623c2d5563e6b4e23986fae: [Backport #20305]
[Bug #20305] Fix matching against an incomplete character
When matching against an incomplete character, som...
nagachika (Tomoyuki Chikanaga)
06:36 AM Bug #20288: `rb_fiber_scheduler_close` exceptions are not handled in `rb_fiber_scheduler_set`.
ruby_3_2 commit:89de66dbb0d8454c9d69faa331d6e35f8b315cce merged revision(s) commit:78d9fe69479d32214a52ad7291c3973f1b... nagachika (Tomoyuki Chikanaga)
06:35 AM Bug #20393: `after_fork_ruby` clears all pending interrupts for both parent and child process.
Thanks! ioquatix (Samuel Williams)
06:34 AM Bug #20393: `after_fork_ruby` clears all pending interrupts for both parent and child process.
ruby_3_2 commit:5577e5d396cc8f062833b67d6280db6cc8501e7a merged revision(s) commit:a7ff264477105b5dc0ade6facad4176a1b... nagachika (Tomoyuki Chikanaga)
06:35 AM Bug #20286: TracePoint does not emit `thread_end` event when thread exits with exception
ruby_3_2 commit:89de66dbb0d8454c9d69faa331d6e35f8b315cce merged revision(s) commit:78d9fe69479d32214a52ad7291c3973f1b... nagachika (Tomoyuki Chikanaga)
05:14 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
> So either the metadata should signal just IBT
in the meanwhile I've done this in https://github.com/ruby/ruby/pu...
kjtsanaktsidis (KJ Tsanaktsidis)
04:27 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
I wonder if distributors who want shadow-stack support should just compile Ruby with `--with-coroutine=ucontext` to u... kjtsanaktsidis (KJ Tsanaktsidis)
04:35 AM Revision 89de66db (git): merge revision(s) 78d9fe69479d32214a52ad7291c3973f1b6b7f6f, 04729fe68dceddab045be7324e26c2bb15aa62c7: [Backport #20286] [Backport #20286]
Ensure that exiting thread invokes end-of-life behaviour. (#10039)
Fix exception handling in `rb_fiber_sched...
nagachika (Tomoyuki Chikanaga)
04:26 AM Revision 5577e5d3 (git): merge revision(s) a7ff264477105b5dc0ade6facad4176a1b73df0b: [Backport #20393]
Don't clear pending interrupts in the parent process. (#10365) nagachika (Tomoyuki Chikanaga)
02:24 AM Bug #20413: Enumerator can block fiber scheduler.
Sorry, I accidentally handled a different ticket (#20414).
ruby_3_2 commit:2f8f17e842666abb05ca522d6072c957fab0e12...
nagachika (Tomoyuki Chikanaga)
02:22 AM Bug #20414: `Fiber#raise` should recurse to `resumed_fiber` rather than failing.
Sorry, I accidentally changed a different ticket. nagachika (Tomoyuki Chikanaga)
02:20 AM Bug #20414: `Fiber#raise` should recurse to `resumed_fiber` rather than failing.
ruby_3_2 commit:2f8f17e842666abb05ca522d6072c957fab0e12e merged revision(s) commit:5d1702e01a36e11b183fe29ce10780a9b1... nagachika (Tomoyuki Chikanaga)
02:13 AM Bug #20414: `Fiber#raise` should recurse to `resumed_fiber` rather than failing.
I think this change seems somewhat like a spec change. Could this change potentially reveal latent errors in the appl... nagachika (Tomoyuki Chikanaga)
02:16 AM Revision 2f8f17e8 (git): merge revision(s) 5d1702e01a36e11b183fe29ce10780a9b1a41cf0: [Backport #20414]
Enumerator should use a non-blocking fiber, change `rb_fiber_new` to be non-blocking by default. (#10481) nagachika (Tomoyuki Chikanaga)
02:01 AM Bug #20499: Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0
ruby_3_2 commit:5141d72fde2528721663ddbc0554ac81ddc0656f merged revision(s) commit:1e08a9f0e9058186db18f29efc6458c00f... nagachika (Tomoyuki Chikanaga)
02:01 AM Revision 5141d72f (git): merge revision(s) 1e08a9f0e9058186db18f29efc6458c00f10a856: [Backport #20499]
[Bug #20499] Use Xcode owned tools for Xcode clang
Xcode has its own version tools that may be incompatible ...
nagachika (Tomoyuki Chikanaga)

07/05/2024

10:38 PM Revision e240fc9c (git): [DOC] yjit.md: Markdown fixes for RDoc
It now renders properly on both GitHub and with RDoc's darkfish theme. alanwu (Alan Wu)
06:18 PM Bug #20608 (Assigned): Hash#find always allocates each iterated pair
I have prototyped a patch that delays the array allocation of multiple arguments for `Enumerable#find`, `#any?` etc.
...
mame (Yusuke Endoh)
10:32 AM Bug #20608: Hash#find always allocates each iterated pair
> I personally don't like the idea of manually copying many Enumerable methods into Hash...
It is indeed annoying....
ivoanjo (Ivo Anjo)
10:07 AM Bug #20608: Hash#find always allocates each iterated pair
As you've probably noticed from reading the source, there is no `Hash#find` method. `Enumerable#find` is. It cannot k... mame (Yusuke Endoh)
08:49 AM Bug #20608 (Closed): Hash#find always allocates each iterated pair
Hey there!
Recently I ran into this sharp edge in `Hash#find`:
```ruby
puts RUBY_DESCRIPTION
def allocated_...
ivoanjo (Ivo Anjo)
06:05 PM Revision 3fede665 (git): Update GitHub actions for shared GC
peterzhu2118 (Peter Zhu)
06:05 PM Revision e2ceded2 (git): Change external GC to use directory at configure
This commit changes the external GC API to use `--with-shared-gc=DIR` at
configure time with a directory of the exter...
peterzhu2118 (Peter Zhu)
06:05 PM Revision 8fd2df52 (git): Revert "Load external GC using command line argument"
This reverts commit 8ddb1110c283c5cb59b6582383f36fdbcc43ab19. peterzhu2118 (Peter Zhu)
05:51 PM Revision 32ba86c9 (git): [ruby/irb] Return only commands when completing help command's
argument
(https://github.com/ruby/irb/pull/973)
The command only takes command names as arguments, so we should only...
st0012 (Stan Lo)
05:17 PM Misc #20574: DevMeeting-2024-07-11
* [Bug #20505] Reassigning the block argument in method body keeps old block when calling super with implicit argumen... jeremyevans0 (Jeremy Evans)
04:29 PM Bug #20606: Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
Eregon (Benoit Daloze) wrote in #note-4:
> > I'm not opposed to changing the behavior, but raising an exception when...
jeremyevans0 (Jeremy Evans)
03:13 PM Revision f811f79b (git): Refine macOS CI (#11107)
Update macos runners with latest environments.
* Use macos-14 instead of macos-arm-oss
* Removed macos-11 and added ...
hsbt (Hiroshi SHIBATA)
01:15 PM Revision 1afcaa3e (git): Fix flaky test_stat_heap_all
We only collect GC.stat_heap(nil, stat_heap_all)
once, outside of the loop, but assert_equal could
allocate objects w...
peterzhu2118 (Peter Zhu)
12:20 PM Revision 685a4e5b (git): VM barrier needs to store GC root
On the VM barrier waiting, it needs to store machine context
as a GC root.
Also it needs to wait for barrier synchro...
ko1 (Koichi Sasada)
09:37 AM Revision 2dfaa00e (git): Added macos-13 and removed macos-11
hsbt (Hiroshi SHIBATA)
09:02 AM Revision 88a2a46e (git): [rubygems/rubygems] Restrict generic `arm` to only match 32-bit arm
https://github.com/rubygems/rubygems/commit/14c4c16e96 ntkme (Natsuki Natsume)
03:51 AM Revision cd1ea98b (git): Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.1.0 to 2.2.0.
- [Release notes...
dependabot[bot]
03:10 AM Revision 3b48a5a1 (git): Use macos-14 instead of macos-arm-oss
Unfortunately, we can't use macos-arm-oss with enterprise account hsbt (Hiroshi SHIBATA)
02:24 AM Revision bbb4da78 (git): [rubygems/rubygems] Use preferred add_dependency instead of add_runtime_dependency
https://github.com/rubygems/rubygems/commit/9a08043858 jeromedalbert (Jerome Dalbert)
 

Also available in: Atom