Project

General

Profile

Activity

From 06/04/2022 to 06/10/2022

06/10/2022

09:48 PM Revision 52da90ac (git): Make method id explicit in rb_exec_recursive_outer
Previously, because opt_aref and opt_aset don't push a frame, when they
would call rb_hash to determine the hash valu...
jhawthorn (John Hawthorn)
09:48 PM Revision f4747958 (git): Add mid argument to exec_recursive
jhawthorn (John Hawthorn)
09:41 PM Revision 44b3daa0 (git): [ruby/fileutils] Enhanced RDoc (https://github.com/ruby/fileutils/pull/83)
Treats ::chmod_R and ::chown.
https://github.com/ruby/fileutils/commit/df4ac84bef
burdettelamar (Burdette Lamar)
09:11 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
I 100% agree. I think we should aim to get it into a preview and ideally get another preview release. If people have ... schneems (Richard Schneeman)
09:44 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
schneems (Richard Schneeman) wrote in #note-19:
> It's maybe worth asking as well, how confident is Ruby core that...
duerst (Martin Dürst)
08:47 PM Revision fc484be5 (git): Add assertion for embedded to embedded ivar copy
jemmai (Jemma Issroff)
05:52 PM Revision 9ed9cc98 (git): Add tests for a variety of string-subclass operations (#5999)
This way YJIT has to match CRuby for each of them.
Remove unused string_p() Rust function
Noah Gibbs
04:29 PM Revision 46333f59 (git): * 2022-06-11 [ci skip]
git[bot]
04:29 PM Revision e777ac91 (git): Don't return a value from jit_guard_known_klass. We never return anything but true at this point and we don't usually check the returned value. (#6000)
Noah Gibbs
03:46 PM Bug #18768: Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
mame (Yusuke Endoh) wrote in #note-8:
> @jeremyevans0 Thank you for your explanation, I understand. The keyword name...
jeremyevans0 (Jeremy Evans)
09:39 AM Bug #18768: Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
@jeremyevans0 Thank you for your explanation, I understand. The keyword name "chomp" might be a bit confusing. mame (Yusuke Endoh)
02:56 PM Revision 1e528e8c (git): small fix on `setup_debug_log()`
* print `ruby_debug_log_mode` at first.
* show filters when `ruby_debug_log_mode` is not "disabled".
ko1 (Koichi Sasada)
02:12 PM Revision c54f4264 (git): Remove duplicated rb_yjit_get_stats (#5997)
`rb_yjit_get_stats` is defined twice in yjit.c, it only needs to be
defined once.
Eileen M. Uchitelle
12:11 PM Feature #11164: Garbage collector in Ruby 2.2 provokes unexpected CoW
That seems to be exactly what https://github.com/ko1/nakayoshi_fork solves anyway. byroot (Jean Boussier)
10:15 AM Feature #11164 (Rejected): Garbage collector in Ruby 2.2 provokes unexpected CoW
This ticket raised GC's efficiency issue. As far as I read, it was not a regression. I consider that this is not a bu... mame (Yusuke Endoh)
10:58 AM Bug #18771 (Closed): IO.foreach/.readlines ignores the 4th positional argument
Applied in changeset commit:git|27eb36596a65d6bca44b4420ca6526175bf1b431.
----------
Stop ignoring 4th positional ar...
jeremyevans (Jeremy Evans)
09:55 AM Bug #10213 (Feedback): bundled gems ignored by make install
Maybe because of time, I cannot understand what is a problem. What do you mean "ignored"?
A bundled gem has been u...
mame (Yusuke Endoh)
07:33 AM Bug #18801 (Rejected): Dead YARV instructions produced when `branchif` is used
I believe this is not a bug. The current YARV compiler is a product of trial and error, and we know that sometimes it... mame (Yusuke Endoh)
07:24 AM Bug #18050 (Closed): Cannot build ruby-2.7.4 on NetBSD
According to the OP, there is the same issue in Ruby 3.0 and the same fix works for Ruby 3.0. Continue to discuss it ... mame (Yusuke Endoh)
07:19 AM Bug #17843 (Closed): Ruby on Rails error[BUG] Segmentation fault at 0x0000000000000110 ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin15] (#42110)
I found two bug reports in other projects that have a similar stack trace:
https://github.com/lastpass/lastpass-cl...
mame (Yusuke Endoh)
06:31 AM Bug #16277 (Closed): UNIXServer#listen fails with Errno::EADDRINUSE error under Windows 10 / WSL Ubuntu 18.04
I tried the script on Windows 11 / WSL2 Ubuntu 22.04, but couldn't repro the issue. I guess WSL2 solved the issue. Pl... mame (Yusuke Endoh)
06:15 AM Bug #10584 (Rejected): String.valid_encoding?, String.ascii_only? fails to account for BOM.
For the third and forth examples, you can use `BOM|UTF-8` encoding.
```
$ ruby -e 'p File.read("utf-8-with-bom-fi...
mame (Yusuke Endoh)
05:39 AM Bug #9921 (Feedback): gmtime_r, win32.h, and <string>
Does this still reproduce? mame (Yusuke Endoh)
05:23 AM Bug #9431 (Rejected): In windows ruby IO.write returns count of bytes without count of CR character
I believe this is a spec of Windows. Ruby's IO interface is based on C's stdio, and I confirmed that `fwrite("Hello\n... mame (Yusuke Endoh)
02:24 AM Feature #16495: Inconsistent quotes in error messages
The more pervasive Markdown becomes, the more annoying this quoting style becomes. ioquatix (Samuel Williams)
01:10 AM Revision e75cb61d (git): Fix nested bmethod TracePoint and memory leak
df317151a5b4e0c5a30fcc321a9dc6abad63f7ed removed the code to free
rb_hook_list_t, so repeated targeting of the same b...
alanwu (Alan Wu)

06/09/2022

11:17 PM Revision cedc36ec (git): Remove a leftover require
I thought about using it in 2931957d6ff16b5c095f6e8095384c98130133ad
once and then ended up not using it.
k0kubun (Takashi Kokubun)
09:59 PM Revision e69e47f8 (git): Fix exit locations test (#5995)
I originally added the check for
RubyVM::YJIT.trace_exit_locations_enabled? to fix errors when these
tests run withou...
Eileen M. Uchitelle
08:03 PM Revision c2468fd8 (git): [ruby/fileutils] Enhanced RDoc (https://github.com/ruby/fileutils/pull/82)
Treats ::chmod; adds Pathname usage to ::install.
https://github.com/ruby/fileutils/commit/9db4cb129c
burdettelamar (Burdette Lamar)
07:13 PM Feature #18183: make SecureRandom.choose public
In case we really can't agree on the name.
I reimplement the functionality as an independent class on a GitHub's G...
midnight (Sarun R)
06:48 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
Thanks you for the patch. I am not the best to review the C code but I have looked at it. Notably the test seems to i... schneems (Richard Schneeman)
01:59 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
A draft of `SyntaxError#detailed_message`.
https://github.com/nobu/ruby/tree/syntax_error-detail
nobu (Nobuyoshi Nakada)
06:40 PM Revision adcfd696 (git): [DOC] Fix markup for `String` (#5984)
* Add missing space for `String#start_with?`.
* Add missing pluses for `String#tr` and
`Methods for Converting to N...
Alexander Ilyin
04:59 PM Revision 473ee328 (git): Add ability to trace exit locations in yjit (#5970)
When running with `--yjit-stats` turned on, yjit can inform the user
what the most common exits are. While this is us...
Eileen M. Uchitelle
04:46 PM Bug #17810 (Closed): addr2line.c: Some symbol names missing in C backtrace with Clang/LLVM
Applied in changeset commit:git|940c8b093de1d903b67b7d80cc33f698a5debf1c.
----------
Skip `NULL` values from `dladdr...
xtkoba (Tee KOBAYASHI)
04:46 PM Bug #18170 (Closed): Exception#inspect should not include newlines
Applied in changeset commit:git|9d927204e7b86eb00bfd07a060a6383139edf741.
----------
error.c: Let Exception#inspect ...
mame (Yusuke Endoh)
03:22 PM Revision 1b5828f9 (git): * 2022-06-10 [ci skip]
git[bot]
03:22 PM Revision 27eb3659 (git): Stop ignoring 4th positional argument to IO.#{foreach,readlines}
Fixes [Bug #18771] jeremyevans (Jeremy Evans)
03:20 PM Bug #18768: Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
mame (Yusuke Endoh) wrote in #note-6:
> I have no strong opinion about this issue and am never against Jeremy's chan...
jeremyevans0 (Jeremy Evans)
10:16 AM Bug #18768: Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
I have no strong opinion about this issue and am never against Jeremy's change, but I'm just curious. I thought that ... mame (Yusuke Endoh)
02:42 PM Feature #18822: Ruby lack a proper method to percent-encode strings for URIs (RFC 3986)
This looks good to me and I think it's a good addition.
In the past, I've referred to this operation as "URI.encode_...
ioquatix (Samuel Williams)
10:10 AM Feature #18822: Ruby lack a proper method to percent-encode strings for URIs (RFC 3986)
Proposed implementation: https://github.com/ruby/cgi/pull/26 byroot (Jean Boussier)
09:42 AM Feature #18822: Ruby lack a proper method to percent-encode strings for URIs (RFC 3986)
I forgot to mention that we'd need the decode method as well. byroot (Jean Boussier)
09:12 AM Feature #18822 (Closed): Ruby lack a proper method to percent-encode strings for URIs (RFC 3986)
### Context
There are two fairly similar encoding methods that are often confused.
`application/x-www-form-url...
byroot (Jean Boussier)
11:43 AM Revision 940c8b09 (git): Skip `NULL` values from `dladdr(3)`
Fixes [Bug #17810] xtkoba (Tee KOBAYASHI)
10:33 AM Bug #18729 (Open): Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
mame (Yusuke Endoh) wrote in #note-17:
> @matz changed his mind: https://bugs.ruby-lang.org/issues/18435#note-11
> ...
Eregon (Benoit Daloze)
09:35 AM Bug #18729 (Rejected): Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
mame (Yusuke Endoh) wrote in #note-6:
> @ko1 proposed the following, and @matz approved this at the dev meeting.
> ...
mame (Yusuke Endoh)
10:23 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
I believe the only way that makes sense here is to remove "ZSUPER methods" altogether.
Other Ruby implementations do...
Eregon (Benoit Daloze)
09:58 AM Revision 4e21b19a (git): [ruby/timeout] Keep a private reference to `Process.clock_gettime`
`timeout 0.3.0` broke our test suite because we have some
tests that stubs `Process.clock_gettime` making it return
a...
byroot (Jean Boussier)
09:48 AM Bug #18767 (Rejected): IO.foreach hangs up when passes limit=0
I believe this is not a bug. I don't think the current behavior is very useful, but I don't think it is so problemati... mame (Yusuke Endoh)
09:28 AM Bug #18643 (Closed): test-bundler failed on ruby_3_1 CI
This issue already resolved. znz (Kazuhiro NISHIYAMA)
09:25 AM Bug #18590 (Closed): String#downcase and CAPITAL LETTER I WITH DOT ABOVE
Fixed at commit:bda4d91f0599a8e2d278bc13660a5576d4ced353 mame (Yusuke Endoh)
09:21 AM Revision bda4d91f (git): doc/case_mapping.rdoc: Fix references for case mapping
The chart (https://www.unicode.org/charts/case) that is currently
referred seems to be wrong.
Also, use the "latest"...
mame (Yusuke Endoh)
09:19 AM Bug #18081 (Feedback): addr2line.c: Wrong section for `DW_AT_ranges`
@xtkoba I'm not familiar with DWARF. Could you show a reference to justify your change, for example the section of th... mame (Yusuke Endoh)
09:14 AM Feature #16597: missing poll()
Is there some change of getting the poll() semantic available in ruby? michals (Michal Suchánek)
09:13 AM Bug #18121 (Feedback): addr2line.c: Endianness
@xtkoba What platform did you use to test your patch? mame (Yusuke Endoh)
09:11 AM Bug #18123 (Feedback): addr2line.c: Define `SHF_COMPRESSED`
@xtkoba Can you give me an example of a specific environment where this would be an actual problem? I can't verify this. mame (Yusuke Endoh)
08:59 AM Bug #17813 (Closed): rb_funcall() may reset the latest socket error unexpectedlly since Ruby 3.0.0
This ticket was created to confirm whether this is a bug of Ruby (https://github.com/ruby/fiddle/issues/72#issuecomme... mame (Yusuke Endoh)
08:40 AM Bug #17656: Improper functions shown in C level backtrace information
I could reproduce it with clang 12.
Could you explaiun the rationale of `traces[i] = (void *)(((uintptr_t)traces[i...
mame (Yusuke Endoh)
07:48 AM Bug #17656 (Feedback): Improper functions shown in C level backtrace information
I couldn't reproduce the issue on AWS Graviton2 instance. Could you elaborate how to reproduce the issue?
```
$ u...
mame (Yusuke Endoh)
07:24 AM Feature #18821: Expose Pattern Matching interfaces in core classes
I'll write a bit more on this later in longer form, but I do believe we have a very interesting and amusingly very Ru... baweaver (Brandon Weaver)
04:58 AM Feature #18821: Expose Pattern Matching interfaces in core classes
I have opened one PR against CSV: https://github.com/ruby/ruby/pull/5994
I have noted the potential precedent this...
baweaver (Brandon Weaver)
03:41 AM Feature #18821: Expose Pattern Matching interfaces in core classes
matz (Yukihiro Matsumoto) wrote in #note-2:
> I agree with part of the proposal. Set and OpenStruct do not have orde...
baweaver (Brandon Weaver)
03:30 AM Feature #18821: Expose Pattern Matching interfaces in core classes
I agree with part of the proposal. Set and OpenStruct do not have order of elements, so it's not suitable for convert... matz (Yukihiro Matsumoto)
06:51 AM Bug #16143 (Feedback): BOM UTF-8 is not removed after rewind
I think this issue can be easily worked around by using `IO#set_encoding_by_bom` which was introduced by #15210.
`...
mame (Yusuke Endoh)
06:12 AM Bug #14607 (Assigned): Fix use of the rb_profile_frames start parameter
I assume that "additional calculation" means the code `if (start > 0) { start--; continue; }`, but the "additional ca... mame (Yusuke Endoh)
05:39 AM Revision 90b240d1 (git): Fix MJIT's ISEQ_BODY macro usage at 5f10bd634fb
k0kubun (Takashi Kokubun)
05:33 AM Bug #14434 (Feedback): IO#reopen fails after EPIPE
I asked @nobu about the current status of this ticket, and he said "the current behavior is definitely a bug, but I a... mame (Yusuke Endoh)
04:19 AM Revision 2931957d (git): MJIT: Ignore existence of .bundle.dSYM on macOS
We could fix it, but removing files in the directory recursively is
tedious in C and --mjit-debug is not a concern fo...
k0kubun (Takashi Kokubun)
12:35 AM Revision 67a9845a (git): Fix compile error
```
compiling ../debug.c
../debug.c:452:1: error: conflicting types for 'ruby_debug_log_filter'
ruby_debug_log_filter...
znz (Kazuhiro NISHIYAMA)

06/08/2022

08:38 PM Revision 9b7208fc (git): [ruby/fileutils] [DOC] Enhanced RDoc (https://github.com/ruby/fileutils/pull/81)
https://github.com/ruby/fileutils/commit/b9d5a79e38 burdettelamar (Burdette Lamar)
07:23 PM Bug #18820: on aarch64/Android/Termux/Ubuntu jammy server, ALL versions before Ruby 3.1.x don't compile!
the 2.5.x build-failure was due to all warnings being converted to errors, and some screwy casting ( between types ).... libweirdness (Antryg Revok)
05:00 AM Bug #18820 (Closed): on aarch64/Android/Termux/Ubuntu jammy server, ALL versions before Ruby 3.1.x don't compile!
hsbt (Hiroshi SHIBATA)
04:50 AM Bug #18820 (Closed): on aarch64/Android/Termux/Ubuntu jammy server, ALL versions before Ruby 3.1.x don't compile!
btw, this is a frustrating bug-reporting system to report a bug in?
so if I've reported it in the wrong place,
just...
libweirdness (Antryg Revok)
05:49 PM Revision da883af4 (git): MJIT: Directly compile .c to .so (#5987)
I'm planning to redesign the MJIT worker pipeline, and this allows you to simplify the implementation and let it run ... k0kubun (Takashi Kokubun)
04:51 PM Revision 5a4f997b (git): func: and file: prefix for `RUBY_DEBUG_LOG_FILTER`
`RUBY_DEBUG_LOG_FILTER` specified only function names but this
patch also check file names for each log events.
If yo...
ko1 (Koichi Sasada)
04:09 PM Revision 8d573363 (git): Fix major GC thrashing
Only growth heaps are allowed to start major GCs. Before this patch,
growth heaps are defined as size pools that free...
peterzhu2118 (Peter Zhu)
03:53 PM Bug #18748 (Closed): Range#cover? returns true for beginless range of different type
Fixed by commit:c5475f42694eff35465c3332e0182c0611ca5918 (I messed up the bug reference in the commit message). jeremyevans0 (Jeremy Evans)
03:44 PM Bug #15644 (Closed): ThreadsWait problems with Thread#report_on_exception
jeremyevans0 (Jeremy Evans)
03:40 PM Bug #17349 (Closed): Rake での並行実行における正規表現マッチングの異常
jeremyevans0 (Jeremy Evans)
03:38 PM Bug #18079 (Closed): [PATCH] make error for MinGW with Clang/LLVM + LLD
jeremyevans0 (Jeremy Evans)
03:38 PM Bug #18123: addr2line.c: Define `SHF_COMPRESSED`
I added a pull request for this patch and the patches for #18121 and #18081: https://github.com/ruby/ruby/pull/4957 jeremyevans0 (Jeremy Evans)
03:34 PM Bug #18657: IRB raises exception when stdout is a pipe
irb pull request for this issue: https://github.com/ruby/irb/pull/353 jeremyevans0 (Jeremy Evans)
03:26 PM Revision 08a6ec34 (git): * 2022-06-09 [ci skip]
git[bot]
03:25 PM Revision d1b6c8a1 (git): Fix compilation error when USE_RVARGC=0
force_major_gc_count was not defined when USE_RVARGC=0. peterzhu2118 (Peter Zhu)
02:03 PM Revision fafe6818 (git): Add key force_major_gc_count to GC.stat_heap
force_major_gc_count is the number of times the size pool forced major
GC to run.
peterzhu2118 (Peter Zhu)
12:35 PM Revision a07acbe4 (git): [ruby/fileutils] File trees (https://github.com/ruby/fileutils/pull/80)
Adds a note about file tree examples.
https://github.com/ruby/fileutils/commit/65ac65067a
burdettelamar (Burdette Lamar)
08:49 AM Revision 6a6531d3 (git): Update "Reporting Issues" link in the README
This link is broken. Alexander Ilyin
08:25 AM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
I opened a PR with this patch. Happy to try fixing it a different way but this at least stops the crash. https://gith... kjtsanaktsidis (KJ Tsanaktsidis)
08:25 AM Bug #18796: GC compaction gets stuck on Mac OS when a debugger is attached
I opened a PR with this patch: https://github.com/ruby/ruby/pull/5991 kjtsanaktsidis (KJ Tsanaktsidis)
08:24 AM Bug #18795: Verbose GC debug output with -DRGENGC_DEBUG=5 causes a crash
I opened a pull request with this patch: https://github.com/ruby/ruby/pull/5992 kjtsanaktsidis (KJ Tsanaktsidis)
07:28 AM Feature #18821: Expose Pattern Matching interfaces in core classes
I think it's a good idea to create a pull request in each repository.
https://github.com/ruby/set
https://github....
znz (Kazuhiro NISHIYAMA)
06:07 AM Feature #18821 (Closed): Expose Pattern Matching interfaces in core classes
## Problem Statement
Pattern matching is an exceptionally powerful feature in modern versions of Ruby, but it has ...
baweaver (Brandon Weaver)
04:30 AM Revision 790825db (git): Update the help message on /benchmark
I wanted to point out there's --output=all. k0kubun (Takashi Kokubun)
03:35 AM Bug #8677 (Closed): $LOAD_PATH did not encoded into the "internal encoding"
I'm unsure the precise procedure to reproduce the issue, but I couldn't repro it in any way. Maybe fixed by #18191? F... mame (Yusuke Endoh)
02:55 AM Revision ccfbcc73 (git): [DOC] RDoc now accepts other than magic numbers at `rb_attr`
nobu (Nobuyoshi Nakada)
12:27 AM Bug #18170: Exception#inspect should not include newlines
Thanks for your investigating and patches.
This looks like a great improvement.
Test frameworks should probably...
ioquatix (Samuel Williams)

06/07/2022

08:19 PM Bug #18170: Exception#inspect should not include newlines
Sorry that the `#inspect` call actually came from the `ruby/debug`'s [own patch](https://github.com/ruby/debug/blob/m... st0012 (Stan Lo)
09:58 AM Bug #18170: Exception#inspect should not include newlines
Can you show where a change to `#inspect` will impact this code? ioquatix (Samuel Williams)
09:25 AM Bug #18170: Exception#inspect should not include newlines
I think this change will affect many users' tests because test frameworks generally use exceptions for assertion mess... st0012 (Stan Lo)
06:15 PM Revision bf4684d9 (git): Remove duplicated prototype in header file
rb_imemo_new is defined again later in the file. peterzhu2118 (Peter Zhu)
06:07 PM Feature #18819 (Closed): Moving Strings between size pools
[Github PR](https://github.com/ruby/ruby/pull/5986)
## Motivation
Using GC Compaction we can move objects aroun...
eightbitraptor (Matt V-H)
04:15 PM Revision 19c6aaca (git): thread_pthread.c: trigger THREAD_EVENT_READY when going throuhg the fast path.
byroot (Jean Boussier)
03:21 PM Revision bdc6e991 (git): * 2022-06-08 [ci skip]
git[bot]
03:20 PM Revision 1598c945 (git): Add special-case code for the String unary plus operator (#5982)
Noah Gibbs
02:23 PM Bug #18816: Ractor segfaulting MacOS 12.4 (aarch64 / M1 processor)
I've tried to isolate the problem with a few attempts:
First guess was that something GC related (cleaning up some...
brodock (Gabriel Mazetto)
02:17 PM Bug #18816: Ractor segfaulting MacOS 12.4 (aarch64 / M1 processor)
I get the same segfault, but not as consistent as Gabriel. I had to first do a normal request in the browser before r... tombruijn (Tom de Bruijn)
02:18 PM Revision deff9e26 (git): [rubygems/rubygems] Remove unnecessary string concatenation
https://github.com/rubygems/rubygems/commit/81ccb3ab89 djberg96 (Daniel Berger)
01:56 PM Revision c4bf24ee (git): Remove while loop over heap_prepare
Having a while loop over `heap_prepare` makes the GC logic difficult to
understand (it is difficult to understand whe...
peterzhu2118 (Peter Zhu)
01:47 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
Here is a minimal reproducer to see the property-note test failure. The `./configure --enable-shared --with-gcc="gcc ... jaruga (Jun Aruga)
12:04 PM Revision f50432fb (git): [rubygems/rubygems] Relax performance spec limit
https://github.com/rubygems/rubygems/commit/eab417d0ce deivid (David Rodríguez)
11:19 AM Revision b1e6e58c (git): Refactor TestThreadInstrumentation to investigate CI flakiness
`test_thread_instrumentation_fork_safe` has been failing occasionaly
on Ubuntu and Arch. At this stage we're not sure...
byroot (Jean Boussier)
08:40 AM Revision f075be3d (git): [ruby/error_highlight] Use Exception#detailed_message instead of overriding #message (https://github.com/ruby/error_highlight/pull/24)
See https://bugs.ruby-lang.org/issues/18564.
Ref: https://github.com/ruby/did_you_mean/pull/177
https://github.com/r...
mame (Yusuke Endoh)
07:18 AM Bug #18811: PTY I/O not working on AIX 7.x
mame (Yusuke Endoh) wrote in #note-2:
>
> This is my impression, but the maintenance state of AIX is not good. The...
hspem (Per-Erik Martin)
06:24 AM Revision 11b9dd8c (git): Manually merged https://github.com/ruby/did_you_mean/pull/177
hsbt (Hiroshi SHIBATA)
06:12 AM Bug #18781: MJIT tests failing with Ubuntu focal with gcc-11 and some flags
> I sent the PR, https://github.com/ruby/ruby/pull/5938 .
The PR was merged.
> Then -Wl,-z,now is not logged in...
jaruga (Jun Aruga)
05:51 AM Bug #18781 (Closed): MJIT tests failing with Ubuntu focal with gcc-11 and some flags
Applied in changeset commit:git|cfcf33f1270f78c5fb928d7a0927e6be02ec8900.
----------
.github/workflows/compilers.yml...
Anonymous
05:51 AM Bug #18294 (Closed): error when parsing regexp comment
Applied in changeset commit:git|ec3542229b29ec93062e9d90e877ea29d3c19472.
----------
Ignore invalid escapes in regex...
jeremyevans (Jeremy Evans)
05:51 AM Bug #18624 (Closed): `const_source_location` returns [false, 0] when autoload is defined for the constant
Applied in changeset commit:git|c85d1cda86d75ee2c3f7b42f22c543409cb5a186.
----------
Fix Module#const_source_locatio...
jeremyevans (Jeremy Evans)
05:51 AM Feature #12655 (Closed): Accessing the method visibility
Applied in changeset commit:git|7cda7fbbdc14f4262afaa94cdeb5a5987f1eb01a.
----------
Add Module#undefined_instance_m...
jeremyevans (Jeremy Evans)
02:52 AM Revision b9f03095 (git): Revert "error.c: Let Exception#inspect inspect its message"
This reverts commit 9d927204e7b86eb00bfd07a060a6383139edf741. mame (Yusuke Endoh)
02:44 AM Revision 082c2d1b (git): [ruby/rdoc] [DOC] Undocument internal constants [ci skip]
https://github.com/ruby/rdoc/commit/6d7bf24bb8 nobu (Nobuyoshi Nakada)
02:07 AM Revision 9d927204 (git): error.c: Let Exception#inspect inspect its message
... only when the message string has a newline.
`p StandardError.new("foo\nbar")` now prints `#<StandardError: "foo\...
mame (Yusuke Endoh)
01:42 AM Revision dbfb3b19 (git): [ruby/rdoc] Allow boolean arguments to `rb_attr` and `rb_define_attr`
Currently only literal `0` and `1` are accepted as `read`/`write`
flags.
This patch allows other boolean arguments, C...
nobu (Nobuyoshi Nakada)

06/06/2022

10:25 PM Revision cfcf33f1 (git): .github/workflows/compilers.yml: annocheck: Fix a linker flag to pass MJIT tests.
Set the linker flag `-Wl,-z,now` properly.
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
Fixes [Bug #18781]
Jun Aruga
08:50 PM Revision ec354222 (git): Ignore invalid escapes in regexp comments
Invalid escapes are handled at multiple levels. The first level
is in parse.y, so skip invalid unicode escape checks...
jeremyevans (Jeremy Evans)
06:31 PM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
There might be a good reason we don't want to do this (or want to do it differently). But I can confirm that marking... nevans (Nicholas Evans)
04:40 PM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
Aha! Thanks, that makes perfect sense. And it does indeed fix it. I knew this toy scheduler wasn't *good*, and my o... nevans (Nicholas Evans)
05:18 AM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
@ko1 I saw this problem because fiber is not retained while waiting, because we have waiting threads but not waiting ... ioquatix (Samuel Williams)
05:17 AM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
Unfortunately Mutex, Queue and probably other objects don't take a reference to the waiting fiber, so your fiber is b... ioquatix (Samuel Williams)
06:17 PM Misc #18803: DevMeeting-2022-06-16
* [Feature #18788] Support passing Regexp options as String to Regexp.new (jeremyevans0)
* Do we want to add suppo...
jeremyevans0 (Jeremy Evans)
06:12 PM Revision c85d1cda (git): Fix Module#const_source_location for autoload constants with direct requires
If an autoload exists for a constant, but the path for the autoload
was required, const_source_location would return ...
jeremyevans (Jeremy Evans)
05:47 PM Revision 653e517e (git): Use bindgen to import Ruby constants wherever possible. (#5943)
Constants that can't be imported via bindgen should have
a comment saying why not.
Noah Gibbs
05:38 PM Feature #18183: make SecureRandom.choose public
One option would be to extend `Random::Formatter#alphanumeric` to have an optional "alphabet":
```ruby
def alphan...
austin (Austin Ziegler)
04:45 PM Feature #18183: make SecureRandom.choose public
My bad for not searching the old topics.
In this module, (most of) the method name describes the output, not the p...
midnight (Sarun R)
05:38 AM Feature #18183: make SecureRandom.choose public
I don't think `SecureRandom.random_string(args, len)` describes the behavior, neither.
Matz.
matz (Yukihiro Matsumoto)
04:01 AM Feature #18183: make SecureRandom.choose public
@matz The OP proposed `random_string`. What do you think about it? mame (Yusuke Endoh)
03:40 AM Feature #18183: make SecureRandom.choose public
My bad. args.sample(random: SecureRandom) is not a replacement for SecureRandom.choose(*args,len).
But still, choose...
matz (Yukihiro Matsumoto)
03:28 AM Feature #18183 (Rejected): make SecureRandom.choose public
`SecureRandom.choose(*args)` is not intuitive from my POV. Use `args.sample(random: SecureRandom)`.
Matz.
matz (Yukihiro Matsumoto)
05:38 PM Bug #18770 (Open): Inconsistent behavior of IO/StringIO's each methods when called with nil as a separator, limit and chomp: true
jeremyevans0 (Jeremy Evans)
05:38 PM Bug #18768 (Open): Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
jeremyevans0 (Jeremy Evans)
04:59 PM Revision c5475f42 (git): Fix Range#cover? returning true for beginless ranges of different types
Previously `(2..).cover?("2"..)` was false, but
`(..2).cover?(.."2")` was true. This changes it so both are false,
t...
jeremyevans (Jeremy Evans)
04:57 PM Revision 7cda7fbb (git): Add Module#undefined_instance_methods
Implements [Feature #12655]
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
jeremyevans (Jeremy Evans)
03:37 PM Revision b737998d (git): [ruby/fileutils] [DOC] Enhanced RDoc for FileUtils (https://github.com/ruby/fileutils/pull/78)
Treats:
::rm
::rm_f
::rm_r
::rm_rf
::remove_entry_secure
https://github.com/ruby/fileutils/commi...
burdettelamar (Burdette Lamar)
03:07 PM Revision f2f8c0b3 (git): * 2022-06-07 [ci skip]
git[bot]
03:06 PM Revision 6fc16e74 (git): [ruby/open-uri] [DOC] Fix markup for `URI.open`
* Add missing slash.
https://github.com/ruby/open-uri/commit/40023e63da
Alexander Ilyin
12:19 PM Revision 66a9e452 (git): [ruby/rdoc] Use runnable command as DUMMY_PAGER
https://github.com/ruby/rdoc/commit/fec1ab2e41 nobu (Nobuyoshi Nakada)
09:36 AM Revision ba383188 (git): [rubygems/rubygems] Unify loading `Gem::Requirement`
It was being explicitly required from `Gem::Specification` but also a
strange autoload was set for it at `Gem::Versio...
deivid (David Rodríguez)
09:19 AM Revision f4173ff2 (git): debug is the bundled gems, not default gems
hsbt (Hiroshi SHIBATA)
09:13 AM Revision 4bc7cef8 (git): [ruby/cgi] jruby support
https://github.com/ruby/cgi/commit/93326fb622 Pavel Rosický
03:52 AM Revision 5d014bcb (git): Use `sleep 0.5` for tests of GVL instrumentation API
The tests fail randomly on some platforms.
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20220605T213004Z.fa...
mame (Yusuke Endoh)
03:22 AM Feature #18817 (Rejected): SecureRandom::choose is not being exposed
"choose" is named just for an internal API. We need another good name if we make it public. Continue to discuss in #1... mame (Yusuke Endoh)
03:00 AM Revision 52678296 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
02:40 AM Revision 93555e01 (git): * 2022-06-06 [ci skip]
git[bot]
02:30 AM Revision a56a7119 (git): Remove useless assignment always overridden
nobu (Nobuyoshi Nakada)
02:30 AM Revision d8790ecd (git): Export RbConfig::CONFIG["COROUTINE_TYPE"]
THREAD_MODEL is exported already, so this matches that. Exporting this
is simpler than inspecting configure_args and...
nevans (Nicholas Evans)
12:41 AM Bug #18790: cannot load such file -- digest (LoadError)
There is a similar issue with Red Hat Enterprise Linux 8. To install `libyaml-devel` package, it needs 'codeready-bui... yahonda (Yasuo Honda)

06/05/2022

09:39 PM Bug #18818 (Assigned): Thread waitq does not retain referenced objects, can lead to use after free.
The attached script (and/or others like it) can cause SEGV in 3.0, 3.1, and master. It has always behaved as expecte... nevans (Nicholas Evans)
10:17 AM Feature #18817 (Rejected): SecureRandom::choose is not being exposed
I read through [the doc of `SecureRandom`](https://ruby-doc.org/stdlib-3.1.2/libdoc/securerandom/rdoc/SecureRandom.ht... midnight (Sarun R)
06:18 AM Revision 5ce0be02 (git): * 2022-06-05 [ci skip]
git[bot]
05:21 AM Revision ed2dd172 (git): Use RBOOL
nobu (Nobuyoshi Nakada)
04:58 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
schneems (Richard Schneeman) wrote in #note-16:
> I am worried about the memory implications for enabling this by de...
nobu (Nobuyoshi Nakada)
01:17 AM Bug #18816 (Closed): Ractor segfaulting MacOS 12.4 (aarch64 / M1 processor)
Reproduction server:
```
require 'socket'
# Set based on CPU count
CONCURRENCY = 8
server = TCPServer.new(...
brodock (Gabriel Mazetto)

06/04/2022

11:32 AM Revision 5460675b (git): [ruby/rdoc] Use command array form of `IO.popen` always
So that an exception raises by non-existent command, not via shell.
https://github.com/ruby/rdoc/commit/fd94dce69d
nobu (Nobuyoshi Nakada)
07:53 AM Revision 2e6aee6e (git): [ruby/rdoc] Make all documents at the top level `extra_rdoc_files` [ci skip]
https://github.com/ruby/rdoc/commit/6b1a011243 nobu (Nobuyoshi Nakada)
07:42 AM Revision 9a7be959 (git): [ruby/rdoc] Remove `RDoc::RI::Driver#in_path?`
https://github.com/ruby/rdoc/commit/83051403d6 nobu (Nobuyoshi Nakada)
07:42 AM Revision d4c7e4d5 (git): [ruby/rdoc] Enable pager tests
https://github.com/ruby/rdoc/commit/ce63794fde nobu (Nobuyoshi Nakada)
07:42 AM Revision 323acd26 (git): [ruby/rdoc] Stop checking if pager command found
`IO.popen` does that job.
https://github.com/ruby/rdoc/commit/3bbbc5ac84
nobu (Nobuyoshi Nakada)
07:40 AM Revision 76479de1 (git): [ruby/rdoc] Remove never used win32console
https://github.com/ruby/rdoc/commit/47a1aef447 nobu (Nobuyoshi Nakada)
01:58 AM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
matz (Yukihiro Matsumoto) wrote in #note-24:
> When investigating #18435, I realized the visibility of a method is n...
jeremyevans0 (Jeremy Evans)
 

Also available in: Atom