Project

General

Profile

Activity

From 10/27/2021 to 11/02/2021

11/02/2021

06:52 PM Revision 4b248e79 (git): string.c: Follow up to ae2359f602bb467ca755eef02d73d361d35eaed7
* Mention `\0`
* Make the example of hash replacement meaningful
mame (Yusuke Endoh)
06:20 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
> we ran into this issue on one of our internal testing applications.
Let me confirm: you are facing this issue whe...
mame (Yusuke Endoh)
03:53 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
If applicable, I suggest to do what we do in Rails: https://github.com/rails/rails/blob/f95c0b7e96eb36bc3efc0c5beffbb... byroot (Jean Boussier)
02:32 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
Yeah, I think it's useful to include the object class and possibly its id, but with the default `#inspect` behavior o... ivoanjo (Ivo Anjo)
12:50 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
I think we've had this report multiple times, it's a trade-off between efficiency and useful information being shown.... Eregon (Benoit Daloze)
12:08 PM Feature #18285 (Closed): NoMethodError#message uses a lot of CPU/is really expensive to call
Hello there! I'm working at Datadog on the ddtrace gem -- https://github.com/DataDog/dd-trace-rb and we ran into this... ivoanjo (Ivo Anjo)
06:05 PM Revision a4f834c4 (git): * 2021-11-03 [ci skip]
git[bot]
06:04 PM Revision ae2359f6 (git): Enhanced RDoc for String (#5060)
Treated:
#slice!
#sub
#sub!
#gsub
#gsub!
burdettelamar (Burdette Lamar)
02:41 PM Revision 8413749e (git): ext/socket/extconf.rb: Fix the chech if if_indextoname is available
The check had not work because "headers" were not passed. mame (Yusuke Endoh)
12:46 PM Bug #18284: Macosx M1
Although we have received several reports that `pod` did crash on M1 Mac (see e.g. #17922, #17988, #18043), I cannot ... xtkoba (Tee KOBAYASHI)
09:32 AM Bug #18284 (Rejected): Macosx M1
crash at pod update
`{"app_name":"ruby","timestamp":"2021-11-02 10:17:47.00 +0100","app_version":"","slice_uuid":"72...
docygrumpy (Bobby Brown)
10:59 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
@mame ah you beat me to it, I use a different approach but I don't know if it's any better than yours: https://github... byroot (Jean Boussier)
10:30 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
I've created a PR: https://github.com/ruby/ruby/pull/5070 mame (Yusuke Endoh)
08:46 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Okay I cloud create a small repro case:
```
class C
end
100000.times { Class.new(C) }
p C.descendants
```...
mame (Yusuke Endoh)
07:46 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Thanks for working this issue. Glad to hear that it reproduces. yahonda (Yasuo Honda)
07:39 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Argh, the message seems just a warning. I could run `bundle exec rake test` and reproduce the issue. Sorry for the no... mame (Yusuke Endoh)
07:25 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Thank you for the information, but neither works. How did you setup ruby and bundler? I just did:
```
git clone h...
mame (Yusuke Endoh)
06:21 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Thanks for taking care of it. In my environment `bundle install` just works fine.
then, how about using `bundle upda...
yahonda (Yasuo Honda)
05:26 AM Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
Thanks for the detailed report. Maybe this is a newbie question of bundler, but `bundle install` failed as follows on... mame (Yusuke Endoh)
03:26 AM Bug #18282 (Closed): Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`
This report was originally reported at Rails https://github.com/rails/rails/issues/43574
then moved to bugs.ruby-lan...
yahonda (Yasuo Honda)
10:17 AM Revision e0915ba6 (git): Fix typos in ChangeLog files [ci skip]
nobu (Nobuyoshi Nakada)
10:17 AM Revision a2024081 (git): Fix typos
nobu (Nobuyoshi Nakada)
10:12 AM Revision c2dcaa73 (git): [rubygems/rubygems] Use OpenSSL constants for error codes.
This fixes the following test error testing against OpenSSL 3.x:
~~~
2) Failure:
TestGemRequest#test_verify_certif...
Vít Ondruch
09:34 AM Revision 83704a28 (git): remove the repeat 'the'
180909 (佳华 王)
09:13 AM Bug #18283 (Rejected): Creating a subclass in Ractor dumps core
```
$ ruby -e 'class C;end; (1..10).map { Ractor.new { 100000.times { Class.new(C) } } }.each {|r| r.take }'
<inter...
mame (Yusuke Endoh)
08:28 AM Revision 905b6aaa (git): test/readline/test_readline.rb: Use TERM=vt100 to run the tests
Readline seems to emit an escape sequence `"\e[?1034h` at an
unpredictable timing when `TERM=xterm` or something.
Thi...
mame (Yusuke Endoh)
02:05 AM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
Hmm, looking at the source code there are those functions that thoughtlessly pass their arguments to `strlen()` witho... shyouhei (Shyouhei Urabe)
12:59 AM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
Hello, I'm the one who wrote the comment in string.h.
- OK to remove `__attribute__((__nonnull__))` to revive `mus...
shyouhei (Shyouhei Urabe)
01:24 AM Revision 38785aa3 (git): Update licenses= documentation
Carlos Palhares
01:24 AM Revision 17f8fd65 (git): Allow custom LicenseRef
Carlos Palhares
01:22 AM Revision b74385e7 (git): Remove SimpleCov at all.
retro (Josef Šimánek)
01:19 AM Revision 4a391672 (git): Removed the related code of `gem server`
hsbt (Hiroshi SHIBATA)

11/01/2021

11:08 PM Bug #18281: Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
Oh also, interesting.. if I `gem install debug` and re-run `gem uninstall -aIx` it works!
```
gem uninstall -aIx
...
zzak (zzak _)
11:05 PM Bug #18281 (Closed): Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
👋 So I'm not sure this is a bug with `debug` or rubygems, but thought I'd start here.
When running `gem uninstall...
zzak (zzak _)
05:14 PM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
IMHO the gem should be fixed so it doesn't call `rb_utf8_str_new_cstr()` with NULL. Eregon (Benoit Daloze)
04:02 PM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
ukolovda (Dmitry Ukolov) wrote in #note-4:
> I'm afraid, we got many errors with other gems, which use clang and giv...
nobu (Nobuyoshi Nakada)
03:04 PM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
That documentation was recently added: https://github.com/ruby/ruby/pull/4815 (hasn't been part of a release yet AFAICT) dentarg (Patrik Ragnarsson)
01:39 PM Feature #18280 (Feedback): Allow rb_utf8_str_new_cstr(NULL)
peterzhu2118 (Peter Zhu)
01:10 PM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
It is documented that the parameter for `rb_utf8_str_new_cstr` (and also for its friends) [must not be a null pointer... xtkoba (Tee KOBAYASHI)
01:08 PM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
Thank you!
I've got this error when test gem `addressable` + `idn-ruby`.
See https://github.com/ukolovda/addressa...
ukolovda (Dmitry Ukolov)
12:58 PM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
Compiling with `-fno-delete-null-pointer-checks` prevents this check from being optimised away. Using the test script... eightbitraptor (Matt V-H)
12:41 PM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
`rb_str_new_cstr` seems to be attributed as `nonnull` since commit:091faca99ca92cb1146b3c4d8ebba67f4822561c. Thus it ... xtkoba (Tee KOBAYASHI)
10:44 AM Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
The SEGV reproduces for me with the following test case:
```ruby
require "fiddle"
include Fiddle
h = dlopen...
xtkoba (Tee KOBAYASHI)
07:06 AM Feature #18280 (Feedback): Allow rb_utf8_str_new_cstr(NULL)
Ruby process crushed.
`
Addressable::URI when parsed from 'http://example.com/%E8'
/home/ukolovda/RubymineProjec...
ukolovda (Dmitry Ukolov)
03:59 PM Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
Dan0042 (Daniel DeLorme) wrote in #note-7:
> It's not uncommon for a proc to have behavior that is independent of `s...
Eregon (Benoit Daloze)
02:14 AM Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
It's not uncommon for a proc to have behavior that is independent of `self`. Let's say:
Ractor.make_shareable...
Dan0042 (Daniel DeLorme)
03:28 PM Revision 1d88eec8 (git): * 2021-11-02 [ci skip]
git[bot]
03:28 PM Revision ed0f326e (git): [rubygems/rubygems] Leave ":" after MANPATH when not set
So that system man pages still work after a gem with man pages overrides
it.
https://github.com/rubygems/rubygems/co...
deivid (David Rodríguez)
02:54 PM Revision 2fa51c70 (git): YJIT: Support kwargs sends with all defaults (#5067)
* YJIT: Support kwargs sends with all defaults
Previously keyword argument methods were only compiled by YJIT when a...
jhawthorn (John Hawthorn)
08:48 AM Revision b474049c (git): [ruby/openssl] x509name: improve docs for X509::Name
Add docs for X509::Name.parse_openssl and X509::Name.parse_rfc2253,
which are currently undocumented despite being wi...
rhenium (Kazuki Yamaguchi)
08:48 AM Revision 1ac7f23b (git): [ruby/openssl] ssl: disallow reading/writing to unstarted SSL socket
OpenSSL::SSL::SSLSocket allowed #read and #write to be called before an
SSL/TLS handshake is completed. They passed u...
rhenium (Kazuki Yamaguchi)
07:32 AM Feature #15667: Introduce malloc_trim(0) in full gc cycles
Wouldn't that be a good feature in combination with GC auto_compaction? First run the auto_compaction against memory ... [email protected] (Bruno Escherl)
07:07 AM Revision f0226f9a (git): Update bundled_gems at 2021-11-01
git[bot]
03:50 AM Revision b93a5f96 (git): bundled_gems: Pull before new commit [ci skip]
nobu (Nobuyoshi Nakada)
02:44 AM Feature #18276: `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
Why not `proc.bind(obj).call` ? It seems a more "proper" API, more composable. You can bind once and then call multip... Dan0042 (Daniel DeLorme)

10/31/2021

05:01 PM Revision 266c90ea (git): * 2021-11-01 [ci skip]
git[bot]
05:01 PM Revision 4e7e0576 (git): [rubygems/rubygems] Memoize materialized specs when requiring `bundler/setup`
Calling `Bundler.definition.specs` will memoize materialized specs.
However, requiring `bundler/setup` will end up ma...
deivid (David Rodríguez)
09:28 AM Bug #18267 (Closed): Argument forwarding requires parenthesis on method definitions
Applied in changeset commit:git|13a9597c7ca83fced5738e9345660ae6aef87eb7.
----------
Argument forwarding definition ...
nobu (Nobuyoshi Nakada)
09:27 AM Revision 13a9597c (git): Argument forwarding definition without parentheses [Bug #18267]
nobu (Nobuyoshi Nakada)
06:16 AM Revision 7da6e9b3 (git): * 2021-10-31 [ci skip]
git[bot]
04:55 AM Revision b7f7117b (git): Rename `in_kwarg` as `in_argdef` as unrelated to keywords
nobu (Nobuyoshi Nakada)
04:49 AM Revision 1b59ad57 (git): Reduce parser stack usage at pattern matching
nobu (Nobuyoshi Nakada)
04:29 AM Revision b1696c87 (git): test_gc.rb: relax criterion
nagachika (Tomoyuki Chikanaga)
03:53 AM Feature #18272 (Third Party's Issue): Please replace unsafe SHA1 with another digest algorithm
nobu (Nobuyoshi Nakada)

10/30/2021

10:13 PM Bug #18277: buffer error (Zlib::BufError) in Zlib::Deflate#deflate when using MJIT
Indeed, it looks related, thanks.
I did a quick google search before but didn't find it.
The advantage of this repr...
Eregon (Benoit Daloze)
07:54 PM Bug #18277: buffer error (Zlib::BufError) in Zlib::Deflate#deflate when using MJIT
I believe it's a duplicate of [Bug #18058] byroot (Jean Boussier)
01:28 PM Bug #18277: buffer error (Zlib::BufError) in Zlib::Deflate#deflate when using MJIT
I also tried with latest master as of today:
`ruby 3.1.0dev (2021-10-30T10:24:41Z master a46c220320) +JIT [x86_64-li...
Eregon (Benoit Daloze)
01:25 PM Bug #18277 (Closed): buffer error (Zlib::BufError) in Zlib::Deflate#deflate when using MJIT
To repro:
```
$ git clone https://github.com/Shopify/yjit-bench.git
$ cd yjit-bench
$ ruby --jit -I./harness benc...
Eregon (Benoit Daloze)
05:00 PM Feature #18279 (Closed): ENV.merge! support multiple arguments as Hash.merge!
I give a useful example for this.
```rb
require 'yaml'
env_files = ['config.yml', 'config.local']
envs = env_fi...
zw963 (Wei Zheng)
04:44 PM Bug #18278 (Third Party's Issue): SegFault on exit from gtk3 app
According to the log, it is very likely to be a problem with gtk3. Could you contact on the author of the gem?
I g...
mame (Yusuke Endoh)
04:14 PM Bug #18278 (Third Party's Issue): SegFault on exit from gtk3 app
I try to implement my gtk3-based app to organize my books/music/etc.
After adding the autocompletion feature the app...
sergzhum (Sergey Zhumatiy)
11:54 AM Revision 5afb947d (git): Bump patchlevel.
nagachika (Tomoyuki Chikanaga)
11:53 AM Revision 519e3bde (git): [ruby/drb] Bump up drb version to 2.0.5
https://github.com/ruby/drb/commit/7edf67654c hsbt (Hiroshi SHIBATA)
11:53 AM Revision f96517ec (git): [ruby/fcntl] Bump up fcntl version to 1.0.1
https://github.com/ruby/fcntl/commit/0bcc0c4518 hsbt (Hiroshi SHIBATA)
11:53 AM Revision e5babb16 (git): Bump up zlib version to 2.0.0
hsbt (Hiroshi SHIBATA)
11:23 AM Revision c9bc91bf (git): Bump patchlevel.
nagachika (Tomoyuki Chikanaga)
11:22 AM Revision 7388a4b7 (git): * 2021-10-30 [ci skip]
git[bot]
11:22 AM Revision 00e89fe3 (git): openssl: import v2.2.1
Bring the local copy of ruby/openssl in sync with the upstream gem
release v2.2.1. The commits happened in the upstre...
rhenium (Kazuki Yamaguchi)
10:24 AM Revision a46c2203 (git): Add `rb_mod_exc_raise` function and replace duplicate code
S_H_ (Shun Hiraoka)
03:26 AM Revision 99dad28b (git): Apply the timeout scale to also separated workers
nobu (Nobuyoshi Nakada)
01:23 AM Revision 1d0ce1a3 (git): [DOC] Fix `TracePoint.trace` format [ci skip]
Signed-off-by: Ulysse Buonomo <[email protected]> ulysse (Ulysse Buonomo)
01:18 AM Revision 4e0747a8 (git): Allow the thread-model to be switched by configure option
This change adds --with-thread=IMPL option to the configure. If not
supplied, default implementation for each platfor...
katei (Yuta Saito)
01:18 AM Revision 8590d61e (git): Select including thread impl file at config time
katei (Yuta Saito)
01:18 AM Revision ccda26ef (git): Split thread-model config into another ac file
This is a first step to allow the thread-model implementation to be
switched by configure's option
katei (Yuta Saito)
01:16 AM Revision 6c812c6f (git): add missing http response code in doc
180909 (佳华 王)
01:16 AM Bug #14743 (Closed): Some links broken in README
Applied in changeset commit:git|2898805535104c330e1e5c64c8065a108f1f2895.
----------
Use rdoc-ref to fix a few links...
jeremyevans (Jeremy Evans)
01:15 AM Revision 28988055 (git): Use rdoc-ref to fix a few links in the README
This may break linking on GitHub, but it's more important for the
links to work in the documentation generated by rdo...
jeremyevans (Jeremy Evans)
12:59 AM Revision 09bdb435 (git): Clarify docs about magic comments placement
Magic comments like `frozen_string_literal` may appear everywhere
within the first comment section while `encoding` h...
splattael (Peter Leitzen)

10/29/2021

09:11 PM Revision f634d1ee (git): [rubygems/rubygems] Better error when installing a git lockfile and git not present
https://github.com/rubygems/rubygems/commit/28f4842196 deivid (David Rodríguez)
08:29 PM Feature #18276: `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
I don't like the idea to alter the semantics of Proc methods just for Ractor though (also it costs extra checks on ev... Eregon (Benoit Daloze)
08:24 PM Feature #18276: `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
jhawthorn (John Hawthorn) wrote in #note-2:
> In Rails we use `obj.instance_exec(&proc_obj)` in a few places. One of ...
Eregon (Benoit Daloze)
08:07 PM Feature #18275 (Rejected): Add an option to define_method to not capture the surrounding environment
vinistock (Vinicius Stock) wrote in #note-3:
> Indeed I haven't thought about using `Ractor.make_shareable` in the pr...
Eregon (Benoit Daloze)
01:21 PM Feature #18275: Add an option to define_method to not capture the surrounding environment
> I can't get your point.
> Methods are unrelated to Ractor.
If we create a method using `define_method`, it only...
vinistock (Vinicius Stock)
09:48 AM Feature #18275: Add an option to define_method to not capture the surrounding environment
Maybe it's orthogonal, but what if `define_method` accepted any object responding to `call`?
e.g.
```
class So...
byroot (Jean Boussier)
09:07 AM Feature #18275: Add an option to define_method to not capture the surrounding environment
vinistock (Vinicius Stock) wrote in #note-3:
> Indeed I haven't thought about using `Ractor.make_shareable` in the p...
nobu (Nobuyoshi Nakada)
07:59 PM Revision a954f273 (git): Cleanup GC.auto_compact spec
* Make the supported check more obvious. Eregon (Benoit Daloze)
07:54 PM Revision 800dad62 (git): Skip GC.auto_compact= spec for platforms not supporting it
* See https://github.com/ruby/spec/pull/891 Eregon (Benoit Daloze)
06:58 PM Revision 2e14fb7d (git): Add comments about send method types (#5059)
maximecb (Maxime Chevalier-Boisvert)
05:22 PM Revision 99c60d4b (git): Get rid of exponential backtracks found by CodeQL
Since these regexps are used at build/installation, they are not
vulnerabilities.
nobu (Nobuyoshi Nakada)
04:08 PM Feature #11919: Passing a module directly
jeremyevans0 (Jeremy Evans) wrote in #note-12:
> @matz pretty much rejected `using do` as well (https://bugs.ruby-lan...
Dan0042 (Daniel DeLorme)
02:27 PM Feature #11919: Passing a module directly
Dan0042 (Daniel DeLorme) wrote in #note-11:
> @jeremyevans0 may I ask why you closed this? Matz has not rejected thi...
jeremyevans0 (Jeremy Evans)
01:02 PM Feature #11919: Passing a module directly
@jeremyevans0 may I ask why you closed this? Matz has not rejected this idea. He only rejected `refine X do` (#14344)... Dan0042 (Daniel DeLorme)
03:58 PM Revision 6cee10d8 (git): * 2021-10-30 [ci skip]
git[bot]
03:58 PM Revision d7279f08 (git): make obj_free return true when it frees an object
Previously obj_free returned true when it could not free a slot because
of a finalizer, and false when it successfull...
eightbitraptor (Matt V-H)
01:17 PM Revision ed8540eb (git): Prefer size pool heap macros over direct access
eightbitraptor (Matt V-H)
12:40 PM Revision 5e52fd4b (git): Preserve the encoding of message from outer local variable
In the case of read-only but refering an unshareable object. nobu (Nobuyoshi Nakada)
09:53 AM Revision ec2e04c9 (git): Preserve the encoding of message from outer local variables
nobu (Nobuyoshi Nakada)
09:53 AM Revision 0ad57158 (git): Remove redundant calls
The ArgumentError should raise in `isolate`. nobu (Nobuyoshi Nakada)
09:00 AM Revision 71b370f6 (git): [rubygems/rubygems] Enforce bundler platform (and default gem) to keep invalid gemspec test compatible with ruby-trunk.
https://github.com/rubygems/rubygems/commit/a77061d4e9 retro (Josef Šimánek)
09:00 AM Revision 9b7afd3c (git): [rubygems/rubygems] Update mirror_probe realword specs to not rely exactly at raised HTTP exception.
- this exception differs across Ruby versions.
https://github.com/rubygems/rubygems/commit/38c6927a5f
retro (Josef Šimánek)
09:00 AM Revision 0029e094 (git): [rubygems/rubygems] Install stringio for standalone spec.
- previously it was required already by net/http, but it is not anymore using ruby-trunk
- https://github.com/ruby/ne...
retro (Josef Šimánek)
09:00 AM Revision b1791664 (git): [rubygems/rubygems] Assert NoMethodError message only partialy in downloader_spec.
- latest ruby adds error_highlight gem introducing backtrace into exception message
https://github.com/rubygems/ruby...
retro (Josef Šimánek)
09:00 AM Revision fd17ae82 (git): [rubygems/rubygems] Lock racc version in platform_spec.
- latest ruby is shipped with racc 1.6 making this spec failing
- this spec is related to platform locking, changing ...
retro (Josef Šimánek)
09:00 AM Revision 17fb785d (git): [rubygems/rubygems] Vendor tsort into rubygems
So that it loads a consistent version of the library and `rubygems` is
never affected by gem activation conflicts rel...
Frederik Dudzik
08:32 AM Revision f45af5f0 (git): Support gemification of tsort
Co-authored-by: Frederik Dudzik <[email protected]>
Co-authored-by: Jacques Chester <jacques.chester@shopif...
Frederik Dudzik
08:22 AM Revision a9be84db (git): [rubygems/rubygems] Add new default gems to setup_spec exempts.
- error_highlight was introduced at https://github.com/ruby/ruby/commit/e94604966572bb43fc887856d54aa54b8e9f7719
or...
retro (Josef Šimánek)
08:13 AM Revision 79f90535 (git): [rubygems/rubygems] Unskip inline spec that can pass now on the latest rubies
https://github.com/rubygems/rubygems/commit/a81d4421b4 deivid (David Rodríguez)
08:13 AM Revision 2a90ad7a (git): [rubygems/rubygems] use Rubocop Lint/Debugger check rather than custom spec
We have a quality spec that check for debugger statements. Rubocop has a
cop that tests for the same thing. As such i...
Frederik Dudzik
02:04 AM Revision 27220b2f (git): Skip CodeQL if only document files changed [ci skip]
nobu (Nobuyoshi Nakada)
01:58 AM Revision ffd8592e (git): Update stdlib version
znz (Kazuhiro NISHIYAMA)
01:57 AM Revision c1228f83 (git): vm_core.h: Avoid unaligned access to ic_serial on 32-bit machine
This caused Bus error on 32 bit Solaris mame (Yusuke Endoh)
01:57 AM Revision 92ad520a (git): Merge macOS CIs to reduce concurrency
On GitHub Actions, the macOS runners seem much more expensive than
Ubuntu, and its limit is the most significant bott...
nobu (Nobuyoshi Nakada)
01:32 AM Revision 96648c50 (git): Mitigate the timeout of tests [ci skip]
* The worker timeouts seem working for test-all.
* The bundled gems have increased.
nobu (Nobuyoshi Nakada)
01:26 AM Feature #18020: Introduce `IO::Buffer` for fiber scheduler.
@matz you said you are positive on this feature. Can you confirm that we can merge this PR? Even we can mark it as ex... ioquatix (Samuel Williams)

10/28/2021

10:01 PM Revision 3e743d31 (git): Cleanup some RDoc (#5050)
Mostly adding blank line before and after code segment, to improve compliance with doc\documentation_guide.rdoc. burdettelamar (Burdette Lamar)
10:01 PM Feature #11256: anonymous block forwarding
Looks like @matz approved this, but it was never committed. I've submitted a pull request for this that is based on ... jeremyevans0 (Jeremy Evans)
09:39 PM Revision 9b751db9 (git): Fix script_lines in loaded iseq as nil
nobu (Nobuyoshi Nakada)
08:11 PM Revision f8bbd608 (git): Enhanced RDoc for Numeric (#4994)
Treats:
#eql?
#<+>
#floor
#ceil
#round
#truncate
#step
burdettelamar (Burdette Lamar)
05:44 PM Feature #18275: Add an option to define_method to not capture the surrounding environment
Regarding the examples, they are over simplified for the sake of understanding. Sure, you wouldn't need `define_metho... vinistock (Vinicius Stock)
11:27 AM Feature #18275: Add an option to define_method to not capture the surrounding environment
In general if `define_method` takes an existing Proc, it should IMHO behave exactly like calling that Proc.
If we do...
Eregon (Benoit Daloze)
12:45 AM Feature #18275: Add an option to define_method to not capture the surrounding environment
Can you tell us why you cannot define your methods using normal `def` statements? As far as I read your proposal the... shyouhei (Shyouhei Urabe)
05:43 PM Revision e53d07f5 (git): Rename ::YJIT to RubyVM::YJIT
Since the YJIT Ruby module is CRuby specific and not meant for general
use, it should live under RubyVM instead of at...
alanwu (Alan Wu)
05:40 PM Revision d8e97169 (git): [rubygems/rubygems] Only delete cached gem when it's corrupted
Rescuing all errors here might end up hiding other errors if the
deletion of the cached gem itself raises an error fo...
deivid (David Rodríguez)
05:00 PM Revision cbf2078a (git): need to mark script_lines
ko1 (Koichi Sasada)
04:57 PM Revision acb2f86c (git): string.c: Add some comments about STR flags
mame (Yusuke Endoh)
04:54 PM Revision c75df796 (git): Update to ruby/spec@21a48d9
Eregon (Benoit Daloze)
03:53 PM Feature #18276: `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
In Rails we use `obj.instance_exec(&proc_obj)` in a few places. One of the downsides `instance_exec` has is that it c... jhawthorn (John Hawthorn)
02:50 PM Feature #18276: `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
I'm in favor of adding this method, and would like to see it support the following:
```ruby
pr = ->(*a, **kw, &bl...
jeremyevans0 (Jeremy Evans)
12:37 PM Feature #18276 (Rejected): `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
`Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
```ruby
proc_obj = proc{|params...| ...}
obj.i...
ko1 (Koichi Sasada)
03:28 PM Revision 3bf36979 (git): * 2021-10-29 [ci skip]
git[bot]
03:22 PM Revision 0a9cbe85 (git): Skip tests if only document files changed
nobu (Nobuyoshi Nakada)
03:01 PM Feature #11919: Passing a module directly
jeremyevans0 thanks for taking up the issue, anyway. sawa (Tsuyoshi Sawada)
02:43 PM Feature #11919 (Rejected): Passing a module directly
Eregon (Benoit Daloze) wrote in #note-8:
> I guess we need to persuade matz then: https://bugs.ruby-lang.org/issues/...
jeremyevans0 (Jeremy Evans)
11:15 AM Feature #11919: Passing a module directly
I guess we need to persuade matz then: https://bugs.ruby-lang.org/issues/14344#note-15 (https://bugs.ruby-lang.org/is... Eregon (Benoit Daloze)
11:07 AM Feature #11919: Passing a module directly
Discussed here, also: #16241
Copying my comment from there:
> I believe that is really a super-good thing. As I'...
zverok (Victor Shepelev)
11:02 AM Feature #11919: Passing a module directly
I'm rather neutral about this.
On one hand, I think `using Module.new {` is clearer that there is a module involved ...
Eregon (Benoit Daloze)
02:33 PM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
chucke (Tiago Cardoso) wrote in #note-12:
> Thx for the reply. Is import_methods a new ruby 3.1 feature?
Yes. See...
jeremyevans0 (Jeremy Evans)
10:47 AM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
Thx for the reply. Is import_methods a new ruby 3.1 feature? chucke (Tiago Cardoso)
01:51 PM Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
After some discussion with @ko1, it seems there are different cases.
Sharing `self` is the only way to preserve the P...
Eregon (Benoit Daloze)
11:39 AM Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
Sorry, I missed to paste some part of the snippet, fixed now. Eregon (Benoit Daloze)
11:36 AM Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
Relevant related discussion: https://bugs.ruby-lang.org/issues/18137#note-2 Eregon (Benoit Daloze)
12:10 PM Feature #18273: Class#subclasses
I took a stab at it: https://github.com/ruby/ruby/pull/5045 byroot (Jean Boussier)
11:31 AM Feature #18273: Class#subclasses
+1 for Class#subclasses, I think it makes sense since we have Class#descendants.
`Class#subclasses` is then also t...
Eregon (Benoit Daloze)
11:22 AM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
IMHO it'd be good to rediscuss this at a dev meeting.
It seems most people agree that `Method#visibility` would be b...
Eregon (Benoit Daloze)
04:42 AM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
jeremyevans0 (Jeremy Evans) wrote in #note-15:
> I've submitted a pull request that implements @matz's idea of `publi...
sawa (Tsuyoshi Sawada)
11:11 AM Feature #12495: Make "private" return the arguments again, for chaining
:+1:
Note there is some inconsistency with e.g. `attr_reader` always returning an array (#6470):
```ruby
class F...
Eregon (Benoit Daloze)
07:45 AM Feature #12495: Make "private" return the arguments again, for chaining
I stumbled several times upon this issue. The semantics as described above are OK, IMHO. It would be nice if the patc... larskanis (Lars Kanis)
09:21 AM Revision d51ba1e1 (git): Add changes Enumerable#each_cons and each_slice in NEWS [ci skip]
osyo (manga osyo)
08:42 AM Revision e76e1d3c (git): Downloader: retry when RFC 2616 noncompliant dates [ci skip]
zlib.net rarely returns the current time in RFC 2616 noncompliant
format in the response header, and the checksum doe...
nobu (Nobuyoshi Nakada)
05:45 AM Bug #18274 (Closed): Time.new initializes the date incorrectly after a leap day with a positive UTC offset
Applied in changeset commit:git|1d666ed50f8b4b3779583381882a0b3edd3cff0e.
----------
Fix leap day with UTC offset [B...
nobu (Nobuyoshi Nakada)
05:45 AM Revision 1d666ed5 (git): Fix leap day with UTC offset [Bug #18274]
`struct vtm::year` is a Ruby integer instance, but not a C integer
type.
nobu (Nobuyoshi Nakada)
05:31 AM Revision 77544caa (git): add `make runirb` rule
it's start irb on built ruby (not installed ruby). ko1 (Koichi Sasada)
04:45 AM Revision efcf18f1 (git): Update TypeProf to 0.20.2
mame (Yusuke Endoh)
04:14 AM Revision 179aa26f (git): Prune stale worktrees before checking out a new pull request [ci skip]
nobu (Nobuyoshi Nakada)
12:22 AM Revision d8444593 (git): Fix a warning
```
../gc.c:2342:45: warning: comparison of integers of different signs: 'short' and 'size_t' (aka 'unsigned long') [...
znz (Kazuhiro NISHIYAMA)
12:13 AM Feature #18272: Please replace unsafe SHA1 with another digest algorithm
+1 to replace unsafe use of SHA-1, if any, to something more secure. That shall be a good thing.
-1 for its removal.
shyouhei (Shyouhei Urabe)
12:07 AM Revision da22e43c (git): Fix a warning
```
../gc.c:2342:25: warning: array subscript is of type 'char' [-Wchar-subscripts]
GC_ASSERT(size_pools[pool_id]...
znz (Kazuhiro NISHIYAMA)

10/27/2021

11:58 PM Revision b74bf8dd (git): Follow up the RString change [ci skip]
Since 46b66eb9e8e6de2d5750591e532310e8f8599d90, already `ary` has
been enclosed in `embed`.
nobu (Nobuyoshi Nakada)
11:35 PM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
I've submitted a pull request that implements @matz's idea of `public?`, `private?`, and `protected?`: https://github... jeremyevans0 (Jeremy Evans)
11:16 PM Feature #11919: Passing a module directly
I think this feature would be useful, and submitted a pull request to implement it: https://github.com/ruby/ruby/pull... jeremyevans0 (Jeremy Evans)
10:50 PM Feature #17380 (Closed): Useful `include/prepend` in `refine`
jeremyevans0 (Jeremy Evans)
08:09 PM Feature #11782 (Closed): String#+@ and String#-@
jeremyevans0 (Jeremy Evans)
07:42 PM Feature #12495 (Open): Make "private" return the arguments again, for chaining
I think it makes sense to modify private/protected/public/module_function to be like `def` and return the receiver. ... jeremyevans0 (Jeremy Evans)
07:40 PM Bug #18274 (Assigned): Time.new initializes the date incorrectly after a leap day with a positive UTC offset
This appears to be caused by commit:bf789af28a3b7108186743f3cb4fd2f649afdd20. Reverting the commit fixes the issue. ... jeremyevans0 (Jeremy Evans)
07:05 PM Bug #18274 (Closed): Time.new initializes the date incorrectly after a leap day with a positive UTC offset
With 3.1.0dev revision 30942c19c0, `Time.new` can initialize the date incorrectly on the day following a leap day. Th... philross (Phil Ross)
07:27 PM Feature #18275 (Assigned): Add an option to define_method to not capture the surrounding environment
Invoking `define_method` will capture the surrounding environment, making sure we have access to anything defined in ... vinistock (Vinicius Stock)
06:05 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
Setting the backport flag, because it is useful to disable some test cases in Fedora package, if needed (and it will ... vo.x (Vit Ondruch)
10:56 AM Bug #16936 (Closed): `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
Applied in changeset commit:git|5086c25f6015558877f85c3f1c014780b08fd3ce.
----------
Properly exclude test cases.
L...
Anonymous
05:00 PM Revision 30942c19 (git): * 2021-10-28 [ci skip]
git[bot]
05:00 PM Revision fdbae385 (git): YJIT: move --yjit-stats at_exit call into Ruby
This change fixes `-v --yjit-stats`. Previously in this situation,
YJIT._print_stats wasn't defined as yjit.rb is not...
alanwu (Alan Wu)
05:00 PM Revision 6875d6d1 (git): Expect multi-line -v output for -DRUBY_DEVEL in tests
On -DRUBY_DEVEL builds, `ruby -v` can print extra info about the last
commit on a separate line, breaking some tests ...
alanwu (Alan Wu)
05:00 PM Revision 0d9913e5 (git): Fix indentation in test
alanwu (Alan Wu)
04:52 PM Feature #12533 (Closed): Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
`Refinement#include` has been deprecated. `Refinement#import_methods` can now be used to handle this use case:
```...
jeremyevans0 (Jeremy Evans)
04:47 PM Feature #12929 (Rejected): ternary should look ahead w/in a block (and not care about newlines)
jeremyevans0 (Jeremy Evans)
04:45 PM Feature #12971 (Closed): (Refactoring) Remove `defined?` checks from observer.rb
jeremyevans0 (Jeremy Evans)
04:33 PM Bug #18268 (Closed): Behavior change when `each_cons` and `break ... if false` are combined in Ruby 3.1
jeremyevans0 (Jeremy Evans)
04:31 PM Bug #18271 (Closed): Regexp inconsistency (repeatable)
jeremyevans0 (Jeremy Evans)
12:52 PM Bug #18271: Regexp inconsistency (repeatable)
`$1` is global variable, `"#{$1}"` is evaluated BEFORE the method call, making a string "whatever was in `$1` at that... zverok (Victor Shepelev)
11:45 AM Bug #18271 (Closed): Regexp inconsistency (repeatable)
han:~/au> irb ... hanHoll (Han Holl)
03:09 PM Feature #18272: Please replace unsafe SHA1 with another digest algorithm
We still support `digest/md5` and `digest/rmd160`, and I doubt those are more secure than SHA-1. If the operating sy... jeremyevans0 (Jeremy Evans)
01:06 PM Feature #18272: Please replace unsafe SHA1 with another digest algorithm
AFAIK SHA-1 is used in Bundler/RubyGems only to hash filepath for gem clones and could be replaced in the future. It ... retro (Josef Šimánek)
12:00 PM Feature #18272 (Third Party's Issue): Please replace unsafe SHA1 with another digest algorithm
## Context
When working on a new version of RHEL (with Ruby 3.0), the requirement is to have a better security (remo...
pvalena (Pavel Valena)
02:57 PM Revision 367884c6 (git): Fix yjit_asm_tests.c as C99 compliant (#5033)
* rb_bug should be variadic
* Prefer ANSI-style prototypes over old K&R-style definitions
* Add missing argument types
nobu (Nobuyoshi Nakada)
02:55 PM Revision a6104b39 (git): YJIT: Support newhash with values (#5029)
* YJIT: Implement newhash with values
* YJIT: Add test of duphash
* Fix compilation on macos/clang
jhawthorn (John Hawthorn)
02:31 PM Feature #16252: Hash#partition should return hashes
FWIW, current usage in gems is consistent with Hash, but I did find one incompatibility in fugit-1.3.3.
actionpack-...
Dan0042 (Daniel DeLorme)
02:07 PM Feature #16252: Hash#partition should return hashes
I think it's ok that we don't have some particular rules for Enumerables to return their own class. Rather than consi... Dan0042 (Daniel DeLorme)
07:03 AM Feature #16252: Hash#partition should return hashes
I am afraid we don't have some particular rules for Enumerables to return their own class:
```ruby
Set[*1..8].selec...
zverok (Victor Shepelev)
01:27 PM Feature #18273 (Closed): Class#subclasses
Ref: https://github.com/rails/rails/pull/43481
Something we forgot to mention in [Feature #14394], is either a par...
byroot (Jean Boussier)
11:02 AM Feature #17351: Deprecate Random::DEFAULT
Just realized, another way to write that roll method (without deprecation) is:
```ruby
def roll rnd = Random
rnd...
Eregon (Benoit Daloze)
10:56 AM Revision 5086c25f (git): Properly exclude test cases.
Lets consider the following scenario:
~~~
irb(#<Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8>):001:0> p suite
O...
Vít Ondruch
07:55 AM Revision 9fc2f537 (git): Sort URLs by issue numbers [ci skip]
znz (Kazuhiro NISHIYAMA)
07:30 AM Feature #18137: A new method to check Proc is isolated or not
I'm afraid that we can define "Isolated Proc".
As I know there are several versions.
1) self
a: self is sharea...
ko1 (Koichi Sasada)
07:15 AM Feature #18137: A new method to check Proc is isolated or not
`Ractor.shareable?(proc_object)` is not enough? ko1 (Koichi Sasada)
07:28 AM Revision 5ff47e0c (git): Check old-style definitions
nobu (Nobuyoshi Nakada)
07:22 AM Revision 219f5415 (git): Update stdlib versions
znz (Kazuhiro NISHIYAMA)
07:13 AM Revision 489e5e3a (git): the core problem is the Proc is not shareable
tagomoris (Satoshi Tagomori)
06:44 AM Revision 9541b3b7 (git): random.c: simplify Random object deallocation
This is a follow-up for commit 265c0022390e ("Do not allocate
ractor-local storage in dfree function during GC", 2021...
rhenium (Kazuki Yamaguchi)
05:47 AM Revision ed5f8eaf (git): [rubygems/rubygems] Don't warn when a lockfile is locked to a dev version
Even if it's newer than the running versions. Dev versions are not
released to rubygems.org, so the warning message s...
deivid (David Rodríguez)
02:29 AM Revision 4c32fcb8 (git): [ruby/error_highlight] Make the formatter mechanism support Ractor
Now the formatter configuration is per Ractor. DefaultFormatter is used
if not set.
DefaultFormatter#message_for is ...
mame (Yusuke Endoh)
01:16 AM Revision 33844f30 (git): Prefer ANSI-style prototypes over old K&R-style definitions
nobu (Nobuyoshi Nakada)
 

Also available in: Atom