Project

General

Profile

Activity

From 09/14/2021 to 09/20/2021

09/20/2021

11:19 PM Revision 046f1bf4 (git): Enhanced RDoc for Enumerable#inject (#4876)
burdettelamar (Burdette Lamar)
06:41 PM Revision 736eb30e (git): Enhanced RDoc for Range (#4870)
Introductory material revised. burdettelamar (Burdette Lamar)
06:41 PM Revision 53bee753 (git): * 2021-09-21 [ci skip]
git[bot]
06:40 PM Revision 2a9876a8 (git): Enhance documentation on GC.stat (#4843)
jemmai (Jemma Issroff)
04:55 PM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
This is a frequently seen use case. I use code like this:
```ruby
%w(abcde fg hi jkl mn).group_by(&:size).min # => [...
sawa (Tsuyoshi Sawada)
03:25 PM Feature #18181 (Open): Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
PR is https://github.com/ruby/ruby/pull/4874
I propose `Enumerable#min_with_value`, `max_with_value` and `minmax_w...
kyanagi (Kouhei Yanagita)
02:08 PM Bug #18177: An error occurs when running RSpec with Ruby 3.1.0-dev
I have confirmed that the issue has been resolved that was raising `ArgumentError` when running RSpec. Thanks a lot f... koic (Koichi ITO)
06:25 AM Bug #18177 (Closed): An error occurs when running RSpec with Ruby 3.1.0-dev
Applied in changeset commit:git|2e3d43e5775799d1b4d6672a3a18b3fc5777c52b.
----------
Allow to include uninitialized ...
nobu (Nobuyoshi Nakada)
01:36 PM Bug #18180 (Closed): opt_newarray_min/max instructions ignore refined methods
```
$ ./miniruby -ve 'module M; refine Array do; def max; :max; end; def min; :min; end; end; end; using M; p [1 + 0...
wanabe (_ wanabe)
01:01 PM Revision 9770bf23 (git): Fix malloc_increase is not correctly calculated
Commit 123eeb1c1a904923754ce65148dbef045b56e083 added incremental GC
which moved resetting malloc_increase, oldmalloc...
Peter Zhu
12:52 PM Misc #18175: Propose Jean Boussier (@byroot) as a core committer
Congrats Jean!
Petrik
p8 (Petrik de Heus)
11:16 AM Revision b61064b8 (git): Add gvl and fiber assertions to scheduler interface to catch invalid usage.
Samuel Williams
10:07 AM Revision cb843456 (git): Add alternative optional hook for `scheduler_close` to allow public usage of close.
Samuel Williams
10:07 AM Revision 4730a1e0 (git): Don't describe C function that does not exist in prior versions.
Samuel Williams
06:48 AM Feature #18179: Add Math methods to Numeric
I support this. `x.sqrt` is indeed more object-oriented that `Math.sqrt x`. In an earlier discussion, it was pointed ... duerst (Martin Dürst)
04:09 AM Feature #18179 (Open): Add Math methods to Numeric
Hi, I wanted to get thoughts on adding class methods from `Math` as instance methods on `Numeric`.
```ruby
x.sqrt...
ankane (Andrew Kane)
06:30 AM Revision 649c87bd (git): Add C interface spec.
Samuel Williams
06:30 AM Revision 88ba5fe5 (git): Expose `rb_fiber_raise` and tidy up the internal implementation.
Samuel Williams
06:23 AM Revision 2e3d43e5 (git): Allow to include uninitialized modules [Bug #18177]
The module that is about to be included is considered initialized. nobu (Nobuyoshi Nakada)

09/19/2021

03:15 PM Revision d2d54903 (git): * 2021-09-20 [ci skip]
git[bot]
03:15 PM Revision 576b2e64 (git): MINGW-UCRT: Set CONFIG['arch'] and RUBY_PLATFORM to "x64-mingw-ucrt"
This allows easy differentiation between ABI incompatible platforms like MSWIN64 and MSVCRT-based MINGW32.
This also ...
Lars Kanis
03:15 PM Revision 52cc54ce (git): CI: Enable MINGW-UCRT build and test in github actions
This enables a temporary branch on ruby/setup-ruby and MSP-Greg/setup-ruby-pkgs for UCRT-capable action setup.
They s...
Lars Kanis
03:15 PM Revision 70cefcfa (git): Adjust test to set+get big values on all platforms and add MINGW-UCRT
Previously the test verified on MSWIN that huge values can not be stored in environment variables but that they can o... Lars Kanis
03:15 PM Revision e32fe3ce (git): MINGW: _WIN64 is not defined on i386-mingw32 + ucrt.
xtkoba (Tee KOBAYASHI)
03:15 PM Revision 637d7288 (git): MINGW: More permissive pattern matching for coroutine
Pattern matching for target_os in configure script should be permissive if we consider suffixing something onto "ming... xtkoba (Tee KOBAYASHI)
03:15 PM Revision 8bda5128 (git): MINGW: set rb_cv_msvcrt=ucrt and RT_VER=140 when UCRT is used
xtkoba (Tee KOBAYASHI)
03:15 PM Revision 4705ebd9 (git): MINGW: Fix build error on Windows UCRT
xtkoba (Tee KOBAYASHI)
02:08 PM Bug #18177: An error occurs when running RSpec with Ruby 3.1.0-dev
Maybe, like this?
```ruby
m = Class.new(Module) {def initialize_copy(other);end}.new.dup
Class.new.include(m)
```
nobu (Nobuyoshi Nakada)
01:36 PM Bug #18177: An error occurs when running RSpec with Ruby 3.1.0-dev
As I'm not sure where the uninitialized module came from, can't make a simple test code.
Does this fix it?
```d...
nobu (Nobuyoshi Nakada)
12:16 AM Bug #18177: An error occurs when running RSpec with Ruby 3.1.0-dev
Rails CI against Ruby master is also affected by this commit. https://github.com/ruby/ruby/pull/4858/commits/178ee1e8... yahonda (Yasuo Honda)
01:39 PM Revision c0a892a7 (git): Fix a typo [Bug #17048]
nobu (Nobuyoshi Nakada)
10:51 AM Bug #18161: [BACKPORT] b8386f7f7f6d7a7d76481e02d389d0f5211f0f2c
backported into ruby_2_7 at ac7c2754c004cdb3618738e315d2e2cb5f68a3a8 usa (Usaku NAKAMURA)
10:43 AM Revision ac7c2754 (git): merge revision(s) b8386f7f7f6d7a7d76481e02d389d0f5211f0f2c [Backport #18161]
Prepend DebugSystem to VCS class only
And revert 24e5f1c982966c379220b1bbb26b4e0320180fa1, pepending to
Kern...
U.Nakamura
08:17 AM Revision d531f12e (git): Enable shallow clone on appveyor
https://www.appveyor.com/docs/how-to/repository-shallow-clone/ nobu (Nobuyoshi Nakada)
07:27 AM Revision 70624ae4 (git): Extract hook macro for attributes
nobu (Nobuyoshi Nakada)
12:37 AM Revision 162ad65f (git): Revert "Do not load file with same realpath twice when requiring"
This reverts commit ddb85c5d2bdf75a83eb163856508691a7436b446.
This commit causes unexpected warnings in TestTranscod...
jeremyevans (Jeremy Evans)

09/18/2021

06:51 PM Bug #17882: bootstraptest/test_ractor.rb:224 segfaults on Cygwin
This no longer happens as of commit:4cc44bd819, though not bisected. Thanks. xtkoba (Tee KOBAYASHI)
04:08 PM Bug #17885 (Closed): require_relative and require should be compatible with each other when symlinked files are used
Applied in changeset commit:git|ddb85c5d2bdf75a83eb163856508691a7436b446.
----------
Do not load file with same real...
jeremyevans (Jeremy Evans)
04:05 PM Revision f9fd04ff (git): * 2021-09-19 [ci skip]
git[bot]
04:05 PM Revision ddb85c5d (git): Do not load file with same realpath twice when requiring
This fixes issues with paths being loaded twice in certain cases
when symlinks are used.
It took me multiple attempt...
jeremyevans (Jeremy Evans)
02:21 PM Misc #18175: Propose Jean Boussier (@byroot) as a core committer
Accepted.
Matz.
matz (Yukihiro Matsumoto)
01:45 PM Bug #18141: Marshal load with proc yield objects before they are fully initialized
I made a followup patch: https://github.com/ruby/ruby/pull/4866
It now handle similar bugs with `Array`, `Hash` an...
byroot (Jean Boussier)
07:34 AM Bug #18141: Marshal load with proc yield objects before they are fully initialized
Hello byroot,
Thank you for the investigation about the issue. Yes, the patch with only the bug fix is very helpful ...
nagachika (Tomoyuki Chikanaga)
12:53 PM Bug #18178 (Closed): RubyVM::AST.of(method_defined_in_C) Segmentation fault
Applied in changeset commit:git|ed9d9cee76ee941c504ccea33c70c0eb5d825813.
----------
ast.c: AST.of checks if a given...
mame (Yusuke Endoh)
10:05 AM Bug #18178 (Closed): RubyVM::AST.of(method_defined_in_C) Segmentation fault
`RubyVM::AbstractSyntaxTree.of` segfault when it receives a method defined in C.
```console
$ ruby -ve 'RubyVM:...
pocke (Masataka Kuwabara)
12:52 PM Revision 1b300789 (git): ast.c: AST.of against C method should return nil (as Ruby 2.6--3.0)
mame (Yusuke Endoh)
12:28 PM Revision ed9d9cee (git): ast.c: AST.of checks if a given method object is defined in C
[Bug #18178] mame (Yusuke Endoh)
12:27 PM Revision 1c07c982 (git): Enhanced RDoc for Range (#4847)
Treated:
#to_s
#inspect
#===
#include?
#cover?
#count
burdettelamar (Burdette Lamar)
09:04 AM Revision 593cc4ca (git): * 2021-09-18 [ci skip]
git[bot]
09:03 AM Revision ec4ecb6d (git): Include the invalid value in invalid_utc_offset error
nobu (Nobuyoshi Nakada)
07:52 AM Bug #18160: IndexError raised from MatchData#{offset,begin,end} does not keep the encoding of the argument
ruby_3_0 3e61556191ea7e6586ffb995f03e6d2631ec6fb0 merged revision(s) 99d8c4832a7133ca52578d015e3ddcfd94820f4a. nagachika (Tomoyuki Chikanaga)
07:51 AM Bug #17756: StringScanner#charpos makes segmentation fault when target.byteslice returns non string value
ruby_3_0 7b55ff21b52e818819b698326f80158643175645 merged revision(s) 564ccd095a9d7fbe869031dbf666d61dadfdcb03. nagachika (Tomoyuki Chikanaga)
07:51 AM Bug #17661: IO#each will segfault when if file is closed inside an `each_byte` block
ruby_3_0 e6e25b794d8db52e1df85a02f28846ad7eb82d49 merged revision(s) 13939d61b4b69bd109c5f41303c79868d639fa44. nagachika (Tomoyuki Chikanaga)
07:51 AM Bug #17735: `Hash#transform_keys!` drops non evaluated keys
Additionally backported bb84c75001f1bf13b4b2a12db8f4420e76a3ea03 into ruby_3_0 at 98ac62de5cb03efec0fb32684c61c0d4df6... nagachika (Tomoyuki Chikanaga)
07:23 AM Revision 98ac62de (git): merge revision(s) bb84c75001f1bf13b4b2a12db8f4420e76a3ea03: [Backport #17735]
Revert "Force recycle intermediate collection in Hash#transform_keys!
[Bug #17735]"
This reverts co...
nagachika (Tomoyuki Chikanaga)
07:15 AM Bug #18161: [BACKPORT] b8386f7f7f6d7a7d76481e02d389d0f5211f0f2c
b8386f7f7f6d7a7d76481e02d389d0f5211f0f2c was already backported into ruby_3_0 branch at 80c180df769016d58663218de2687... nagachika (Tomoyuki Chikanaga)
07:13 AM Revision 3e615561 (git): merge revision(s) 99d8c4832a7133ca52578d015e3ddcfd94820f4a: [Backport #18160]
Preserve the encoding of the argument in IndexError [Bug #18160]
---
re.c | 20 ...
nagachika (Tomoyuki Chikanaga)
07:11 AM Revision 7b55ff21 (git): merge revision(s) 564ccd095a9d7fbe869031dbf666d61dadfdcb03: [Backport #17756]
[ruby/strscan] Fix segmentation fault of `StringScanner#charpos` when
`String#byteslice` returns non string ...
nagachika (Tomoyuki Chikanaga)
07:07 AM Revision e6e25b79 (git): merge revision(s) 13939d61b4b69bd109c5f41303c79868d639fa44: [Backport #17661]
Check if closed after each yield [Bug #17661]
---
io.c | 4 +++-
test/ruby...
nagachika (Tomoyuki Chikanaga)
04:48 AM Bug #18177 (Closed): An error occurs when running RSpec with Ruby 3.1.0-dev
## Reproduction context
The following code causes an `ArgumentError` error when using Ruby 3.1.0-dev.
```ruby
...
koic (Koichi ITO)
02:48 AM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
Dan0042 (Daniel DeLorme) wrote in #note-10:
> If I understand correctly, you mean that it's hard/impossible to test ...
hsbt (Hiroshi SHIBATA)
12:22 AM Feature #18151: Incorrect Resolv result when DNS server is unreachable
The current behavior seems to be expected (the code explicitly rescues the internal ResolvError), so I would consider... jeremyevans0 (Jeremy Evans)

09/17/2021

09:51 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
> We want to make sure there's no (or very low) overhead for correct programs. So possibly load dead_end code only wh... schneems (Richard Schneeman)
08:59 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
Some additional comments during the meeting:
- We want to make sure there's no (or very low) overhead for correct ...
duerst (Martin Dürst)
01:35 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
> ko1 (Koichi Sasada) and knu (Akinori MUSHA) were concerned about whether the heuristic algorithm was mature enough.... schneems (Richard Schneeman)
07:33 PM Bug #18158: Pathname#each_entry without block does not return Enumerator
I've submitted a pull request to have `Pathname#each_entry` return Enumerator: https://github.com/ruby/pathname/pull/10 jeremyevans0 (Jeremy Evans)
02:51 PM Feature #18148: Marshal.load freeze option
I implemented a patch https://github.com/ruby/ruby/pull/4859
NB: it does include some extra fixes for https://bugs...
byroot (Jean Boussier)
02:44 PM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
hsbt (Hiroshi SHIBATA) wrote in #note-9:
> Because you are not develop CRuby. We need to test EVERY commits of CRuby...
Dan0042 (Daniel DeLorme)
12:06 AM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
>Why not make the changes to the gem itself and be certain that all changes are already in the canonical repository?
...
hsbt (Hiroshi SHIBATA)
02:19 PM Bug #18141: Marshal load with proc yield objects before they are fully initialized
So while working on https://bugs.ruby-lang.org/issues/18148, I discovered that many other types of objects are impact... byroot (Jean Boussier)
11:46 AM Revision b45fe48f (git): [rubygems/rubygems] Trigger install command by default on remove
Closes https://github.com/rubygems/rubygems/issues/4889
https://github.com/rubygems/rubygems/commit/2b1754479c
Jose Galisteo
10:07 AM Bug #17048 (Closed): Calling initialize_copy on live modules leads to crashes
Applied in changeset commit:git|178ee1e801acb33d13b3e8a630f6ca4926c68fbc.
----------
Already initialized modules can...
nobu (Nobuyoshi Nakada)
09:48 AM Bug #17429: Prohibit include/prepend in refinement modules
shugo (Shugo Maeda) wrote in #note-31:
> mame (Yusuke Endoh) wrote in #note-30:
> > BTW, the change seems to add a ...
shugo (Shugo Maeda)
02:57 AM Bug #17429: Prohibit include/prepend in refinement modules
mame (Yusuke Endoh) wrote in #note-30:
> BTW, the change seems to add a top-level new constant `::Refinement`. I'm n...
shugo (Shugo Maeda)
08:07 AM Misc #18174: DevelopersMeeting20211021Japan
* [Feature #18176] Make Coverage suspendable (mame)
* I'd like to add `Coverage.suspend` and `Coverage.resume`. Any...
mame (Yusuke Endoh)
08:04 AM Bug #18170: Exception#inspect should not include newlines
Created a PR: https://github.com/ruby/ruby/pull/4857
As expected, I had to modify some tests. Is this acceptable?
mame (Yusuke Endoh)
07:14 AM Misc #18175: Propose Jean Boussier (@byroot) as a core committer
+2 mame (Yusuke Endoh)
03:17 AM Misc #18175: Propose Jean Boussier (@byroot) as a core committer
+1 k0kubun (Takashi Kokubun)
06:41 AM Feature #18176 (Closed): Make Coverage suspendable
I'd like to add `Coverage.suspend`, `Coverage.resume`, and some methods.
## Synopsis
```
1: # target.rb
2: ...
mame (Yusuke Endoh)
06:09 AM Bug #14479 (Rejected): Exceptions raised from a :call tracepoint can sometimes be "rescued" inside the method
I want to reject this issue because of the following reasons:
* TracePoint block shouldn't raise an exception. Tra...
ko1 (Koichi Sasada)
02:14 AM Revision fd918d1a (git): Removed Module.allocate [Bug #17048]
nobu (Nobuyoshi Nakada)
02:14 AM Revision 178ee1e8 (git): Already initialized modules cannot be replaced [Bug #17048]
nobu (Nobuyoshi Nakada)
01:27 AM Revision 8f41c791 (git): Add spec for MatchData#match and MatchData#match_length [Feature #18172]
nobu (Nobuyoshi Nakada)
01:03 AM Revision 5a048829 (git): Add WB_PROTECTED to mutexes
mutex_mark is (basically) NULL, so we don't have any references to mark.
This means we should safely be able to mark ...
jhawthorn (John Hawthorn)
12:29 AM Feature #18172: MatchData#sublen to return the length of a substring
`match_ary_aref` may return an `Array` of substrings when `idx` is a `Range`. nobu (Nobuyoshi Nakada)

09/16/2021

11:54 PM Revision 34d6720f (git): Prohibit test method redefinition
nobu (Nobuyoshi Nakada)
11:39 PM Revision 8450b6a9 (git): * 2021-09-17 [ci skip]
git[bot]
11:38 PM Revision 475a4651 (git): [Feature #18172] Fix duplicate test name
nobu (Nobuyoshi Nakada)
09:00 PM Bug #17048: Calling initialize_copy on live modules leads to crashes
Here a repro that that always crashes for me on cbbda3e:
```ruby
mod = Module.new { define_method(:foo) {:first} ...
alanwu (Alan Wu)
04:03 PM Bug #17048: Calling initialize_copy on live modules leads to crashes
nobu (Nobuyoshi Nakada) wrote in #note-16:
> As far as I tested it with `master` slightly, it didn't reproduce.
> D...
jeremyevans0 (Jeremy Evans)
07:18 AM Bug #17048: Calling initialize_copy on live modules leads to crashes
As far as I tested it with `master` slightly, it didn't reproduce.
Does it still happen, and how occational?
nobu (Nobuyoshi Nakada)
05:30 PM Misc #18175 (Closed): Propose Jean Boussier (@byroot) as a core committer
Hi,
I would like to propose adding Jean Boussier (@byroot) as a committer. For years Jean has been doing great wor...
tenderlovemaking (Aaron Patterson)
04:28 PM Bug #17568 (Feedback): Thread.handle_interrupt is per-Thread but should probably be per-Fiber
jeremyevans0 (Jeremy Evans)
02:20 PM Bug #17568: Thread.handle_interrupt is per-Thread but should probably be per-Fiber
ko1 (Koichi Sasada) wrote in #note-2:
> mame-san also proposed `Fiber.handle_interrupt` for fiber local handler to s...
mame (Yusuke Endoh)
07:12 AM Bug #17568: Thread.handle_interrupt is per-Thread but should probably be per-Fiber
I understand some case it is confusing, but if Fiber is used to represent the data structure like Enumerator, Thread-... ko1 (Koichi Sasada)
04:02 PM Feature #18172: MatchData#sublen to return the length of a substring
nobu (Nobuyoshi Nakada) wrote in #note-4:
> Hanmac (Hans Mackowiak) wrote in #note-3:
> > @nobu, isn't your `MatchD...
Hanmac (Hans Mackowiak)
02:28 PM Feature #18172: MatchData#sublen to return the length of a substring
Hanmac (Hans Mackowiak) wrote in #note-3:
> @nobu, isn't your `MatchData#match` the same as `MatchData#[]` ?
Similar...
nobu (Nobuyoshi Nakada)
01:36 PM Feature #18172: MatchData#sublen to return the length of a substring
@nobu, isn't your `MatchData#match` the same as `MatchData#[]` ? Hanmac (Hans Mackowiak)
12:16 PM Feature #18172 (Closed): MatchData#sublen to return the length of a substring
Applied in changeset commit:git|09d724e6f846b4e53e8571d41ca7d3055d732d9f.
----------
[Feature #18172] Add MatchData#...
nobu (Nobuyoshi Nakada)
09:04 AM Feature #18172: MatchData#sublen to return the length of a substring
In Ruby C source code, we use names like `sublen` but Ruby methods tend to be fully spelled. So I propose `MatchData#... matz (Yukihiro Matsumoto)
07:34 AM Feature #18172 (Closed): MatchData#sublen to return the length of a substring
There are many code taking the length of a substring matched by `Regexp`.
For instance, in rdoc/markup/attribute_man...
nobu (Nobuyoshi Nakada)
03:26 PM Misc #18174 (Closed): DevelopersMeeting20211021Japan
# The next dev meeting
**Date: 2021/10/21 13:00-17:00 +09:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/...
mame (Yusuke Endoh)
03:25 PM Misc #18122 (Closed): DevelopersMeeting20210916Japan
mame (Yusuke Endoh)
03:14 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
In today's dev meeting, we discussed this. Basically, no one was opposed to the concept. But some concerns were discu... mame (Yusuke Endoh)
02:50 PM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
> We should backport this changes to the upstream repo in github.
Why not make the changes to the gem itself and b...
headius (Charles Nutter)
12:09 PM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
We are sorry to confuse about the versioning policy for the default gems in our transition phase.
I only maintain th...
hsbt (Hiroshi SHIBATA)
03:37 AM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
An alternative might be to check out the repositories at a specific tag and copy them in place, rather than going to ... headius (Charles Nutter)
03:36 AM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
I am available to help make this happen or describe how we are doing it in JRuby. The short description is just that ... headius (Charles Nutter)
02:49 PM Revision cbbda3e6 (git): Adjust indent in string.c [ci skip]
nobu (Nobuyoshi Nakada)
02:15 PM Feature #18136: take_while_after
@mame
> In other words, your use case examples looked not so frequent to make it built-in.
Soooo... Let me summ...
zverok (Victor Shepelev)
01:59 PM Feature #18136: take_while_after
zverok (Victor Shepelev) wrote in #note-11:
> > The listed use cases are not so clearly convincing. For the Example ...
mame (Yusuke Endoh)
01:26 PM Feature #18136: take_while_after
Then what about `take_till`?
```ruby
Enumerator.produce(Date.today, &:succ).take_till(&:monday?).each { schedule_...
nobu (Nobuyoshi Nakada)
12:15 PM Feature #18136: take_while_after
@knu
> feels to me like `drop_after`
Hmm, this actually sounds like a good name.
> I want to see use cases wi...
zverok (Victor Shepelev)
05:41 AM Feature #18136: take_while_after
In the dev meeting, we discussed this proposal in more than a hour, and reached no conclusion.
* The listed use ca...
mame (Yusuke Endoh)
04:56 AM Feature #18136: take_while_after
I want to see use cases without `lazy`. If typical uses cases you could think of were always with `lazy`, then a laz... knu (Akinori MUSHA)
04:29 AM Feature #18136: take_while_after
This behavior of `take_upto` feels to me like `drop_after`. 🤔 knu (Akinori MUSHA)
02:18 AM Feature #18136: take_while_after
ufuk (Ufuk Kayserilioglu) wrote in #note-5:
> I don't want to detract from the content of the proposal, nor do I wan...
Dan0042 (Daniel DeLorme)
02:11 PM Feature #18148: Marshal.load freeze option
> Could you please create a patch for your proposal?
That was my intent, it might take me a couple days though.
byroot (Jean Boussier)
02:04 PM Feature #18148 (Assigned): Marshal.load freeze option
@nobu created a ticket #18171 for `Hash#compare_by_identity` issue. It is not so related to this issue, anyway.
@b...
mame (Yusuke Endoh)
05:14 AM Feature #18148: Marshal.load freeze option
Seems reasonable. Accepted.
@nobu might have concerns regarding `Hash#compare_by_identity`.
Matz.
matz (Yukihiro Matsumoto)
02:11 PM Bug #17429: Prohibit include/prepend in refinement modules
BTW, the change seems to add a top-level new constant `::Refinement`. I'm not against the addition, but unsure about ... mame (Yusuke Endoh)
02:09 PM Bug #17429: Prohibit include/prepend in refinement modules
In today's dev meeting, matz accepted the concept, but wanted to take some time to consider the name `import`. mame (Yusuke Endoh)
10:55 AM Revision aa3d8388 (git): NEWS for [Feature #18172] [ci skip]
nobu (Nobuyoshi Nakada)
10:55 AM Revision f2cb6288 (git): [Feature #18172] Add MatchData#match_length
The method to return the length of the matched substring
corresponding to the given argument.
nobu (Nobuyoshi Nakada)
10:55 AM Revision 09d724e6 (git): [Feature #18172] Add MatchData#match
The method to return the single matched substring corresponding to
the given argument.
nobu (Nobuyoshi Nakada)
10:43 AM Bug #18173 (Closed): The feature in `$LOADED_FEATURES` is loaded again
Applied in changeset commit:git|ddb32e66160ab50849419ef7c7ac584913b79c34.
----------
[Bug #18173] Update loaded_feat...
nobu (Nobuyoshi Nakada)
09:47 AM Bug #18173 (Closed): The feature in `$LOADED_FEATURES` is loaded again
In general, the feature name registered in `$LOADED_FEATURES` (e.g. "enumerator.so", "thread.rb", and so on) is expec... nobu (Nobuyoshi Nakada)
10:16 AM Bug #18170: Exception#inspect should not include newlines
Thanks @mame. ioquatix (Samuel Williams)
08:42 AM Bug #18170 (Assigned): Exception#inspect should not include newlines
Matz said "give it a try". I'll create a PR mame (Yusuke Endoh)
02:34 AM Bug #18170 (Closed): Exception#inspect should not include newlines
Is this intentional?
```
p StandardError.new("foo\nbar")
#=>
# #<StandardError: foo
# bar>
```
I expect `#...
mame (Yusuke Endoh)
09:48 AM Revision ddb32e66 (git): [Bug #18173] Update loaded_features_index
If $LOADED_FEATURES is changed in the just required file, also the
index table needs to be updated before loaded_feat...
nobu (Nobuyoshi Nakada)
09:22 AM Feature #14579: Hash value omission
...Which is that `{ symbol: }` verbosely means `{ symbol: binding.local_variable_defined?(:symbol) ? binding.local_va... knu (Akinori MUSHA)
06:10 AM Feature #14579 (Closed): Hash value omission
Matz accepted the current behavior at [DevelopersMeeting20210916Japan](https://bugs.ruby-lang.org/issues/18122) shugo (Shugo Maeda)
01:41 AM Feature #14579: Hash value omission
matz (Yukihiro Matsumoto) wrote in #note-16:
> I assumed the value should be a local variable.
I also assumed the...
Dan0042 (Daniel DeLorme)
08:31 AM Revision 5f1385be (git): Add a newline [ci skip]
shugo (Shugo Maeda)
08:29 AM Revision 81fd91ab (git): Add details of Hash value ommission [ci skip]
shugo (Shugo Maeda)
07:21 AM Feature #18127: Ractor-local version of Singleton
OK, accepted.
Matz.
matz (Yukihiro Matsumoto)
05:16 AM Bug #15027 (Rejected): When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
The methods may be overridden in the subclass. The assumption in this report seems to be too much.
Rejected.
Matz.
matz (Yukihiro Matsumoto)
05:13 AM Bug #18171 (Closed): `Marshal` ignores `Hash#compare_by_identity`
Is this a bug?
```ruby
h = {}.compare_by_identity
h["a"+"1"] = "1"
h["a"+"1"] = "2"
p h ...
nobu (Nobuyoshi Nakada)
05:02 AM Feature #18143 (Rejected): Add a new method to change GC.stress only in the given block such as GC.with_stress(flag) {...}
I reject this proposal, for several reasons:
* it's very easy to implement the method using existing `GC.stress` a...
matz (Yukihiro Matsumoto)
04:21 AM Revision 68bd5626 (git): Remove unneeded ruby_reset_leap_second_info function declaration (#4824)
S_H_ (Shun Hiraoka)
01:17 AM Feature #17295: Feature: Create a directory and file with Pathname#touch
In the end I agree that `touch` is enough and `ensure_parent_dir_exists` is unnecessary (even with a shorter name). E... Dan0042 (Daniel DeLorme)

09/15/2021

11:01 PM Bug #18169 (Assigned): Local copies of gemified libraries are being released out of sync with their gems
hsbt (Hiroshi SHIBATA)
07:48 PM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
I am unable to edit the description, but I wanted to make clear that the two proposed solutions are mutually exclusiv... headius (Charles Nutter)
07:41 PM Bug #18169 (Closed): Local copies of gemified libraries are being released out of sync with their gems
The CRuby codebase includes a number of libraries that have been gemified, more and more with each release. Unfortuna... headius (Charles Nutter)
08:51 PM Revision 745287d4 (git): Enhanced RDoc for Range#minmax (#4846)
burdettelamar (Burdette Lamar)
08:00 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
I've made a draft PR with a working spike of getting this into Ruby. https://github.com/ruby/ruby/pull/4845 it should... schneems (Richard Schneeman)
07:48 PM Revision e967740d (git): Enhanced RDoc for Range#max (#4844)
burdettelamar (Burdette Lamar)
07:24 PM Feature #17295: Feature: Create a directory and file with Pathname#touch
> Shouldn't this method take keyword arguments that FileUtils.touch accepts?
I looked into it. Of the existing p...
schneems (Richard Schneeman)
06:37 PM Revision 67e3727d (git): * 2021-09-16 [ci skip]
git[bot]
06:37 PM Revision 97374c7e (git): Enhanced RDoc for Range#min (#4842)
burdettelamar (Burdette Lamar)
06:22 PM Feature #10982 (Closed): Clarify location of NoMethod error
ko1 (Koichi Sasada)
02:18 PM Feature #10982: Clarify location of NoMethod error
We can close this due to addition of error_highlight in ruby https://github.com/ruby/ruby/tree/db51bcada408f8b0b93a11... schneems (Richard Schneeman)
01:59 PM Revision db51bcad (git): Fix total_freed_objects for invalidated pages
When the object is moved back into the T_MOVED, the flags of the T_MOVED
is not copied, so the FL_FROM_FREELIST flag ...
Peter Zhu
01:00 PM Revision a65ac2d6 (git): Don't overwrite free_slots count during sweeping
gc_compact_finish may invalidate pages, which may move objects from this
page to other pages, which updates the free_...
Peter Zhu
01:00 PM Revision e624d0d2 (git): Update the free_slots count of the original page
When invalidating a page during compaction, the free_slots count should
be updated for the page of the object and not...
Peter Zhu
10:08 AM Feature #14579: Hash value omission
duerst (Martin Dürst) wrote in #note-27:
> I don't think using `if` as the name of a local variable is a good idea, ...
shugo (Shugo Maeda)
10:00 AM Feature #14579: Hash value omission
@duerst
> I don't think using `if` as the name of a local variable is a good idea,
It is good (and widely used,...
zverok (Victor Shepelev)
09:27 AM Feature #14579: Hash value omission
shugo (Shugo Maeda) wrote in #note-26:
> duerst (Martin Dürst) wrote in #note-25:
> Technically speaking, `send(:...
duerst (Martin Dürst)
08:54 AM Feature #14579: Hash value omission
duerst (Martin Dürst) wrote in #note-25:
> Ah, so `{if:}` means something close to `{if: local_variable_get(:if)}` a...
shugo (Shugo Maeda)
07:18 AM Feature #14579: Hash value omission
shugo (Shugo Maeda) wrote in #note-24:
> I meant that keywords are allowed as local variable or method names.
> F...
duerst (Martin Dürst)
06:40 AM Feature #14579: Hash value omission
shugo (Shugo Maeda) wrote in #note-22:
> except that keywords are allowed.
I meant that keywords are allowed as l...
shugo (Shugo Maeda)
06:20 AM Feature #14579: Hash value omission
Note that constants are also allowed:
```ruby
X = 1
p(X:) #=> {:X=>1}
```
shugo (Shugo Maeda)
06:13 AM Feature #14579 (Assigned): Hash value omission
matz (Yukihiro Matsumoto) wrote in #note-16:
> I assumed the value should be a local variable. The merged patch call...
shugo (Shugo Maeda)
07:55 AM Revision 92ac1721 (git): [ruby/racc] gemspec: Link to https in homepage [ci skip]
https://github.com/ruby/racc/commit/96075f7720 olleolleolle (Olle Jonsson)
07:32 AM Feature #18037: Update Unicode data to Unicode Version 14.0.0
The release of Unicode Version 14.0.0 has officially been announced today, see
https://home.unicode.org/announcing-t...
duerst (Martin Dürst)
07:20 AM Revision 645acf57 (git): [ruby/racc] Prefer __dir__ over File.dirname(__FILE__)
https://github.com/ruby/racc/commit/c49df40658 Olle Jonsson
07:11 AM Revision fae0f248 (git): Add test cases for constants and keywords
shugo (Shugo Maeda)
05:29 AM Feature #18168 (Open): Add ActiveSupport deep_transform_values to Ruby
I think since transform_values is a part of Ruby, it makes sense to support the nested version of transform values maximus242 (Philip Solobay)
05:16 AM Revision a27c274f (git): [DOC] Fix broken links [ci skip]
* As the "doc/" prefix is specified by the `--page-dir` option,
remove from the rdoc references.
* Refer to the ori...
nobu (Nobuyoshi Nakada)
12:25 AM Revision 63ab2fed (git): include/ruby/atomic.h: add doxygen
Must not be a bad idea to improve documents. [ci skip] shyouhei (Shyouhei Urabe)
12:25 AM Revision 789232f9 (git): template/Doxyfile.tmpl: modernise
applied doxygen -g for Doxygen 1.9.3. shyouhei (Shyouhei Urabe)

09/14/2021

11:52 PM Revision f650ca75 (git): [ruby/racc] Rename helper to case
hsbt (Hiroshi SHIBATA)
11:49 PM Revision 845ab32a (git): [ruby/racc] Ignored loading CoreAssertions in test case
https://github.com/ruby/racc/commit/1f8b05b298 hsbt (Hiroshi SHIBATA)
11:49 PM Revision 8f6b42e0 (git): [ruby/logger] Ignored loading CoreAssertions in test runner
https://github.com/ruby/logger/commit/2fd5401ad6 hsbt (Hiroshi SHIBATA)
11:49 PM Revision f77f9b93 (git): [ruby/logger] gemspec: Drop unused "executables" configuration
This gem exposes 0 executables.
https://github.com/ruby/logger/commit/fbd9315393
olleolleolle (Olle Jonsson)
11:11 PM Revision b8c3a84b (git): Refactor and Using RBOOL macro
S_H_ (Shun Hiraoka)
11:05 PM Bug #18141 (Closed): Marshal load with proc yield objects before they are fully initialized
nobu (Nobuyoshi Nakada)
11:00 PM Revision 89242279 (git): Marshal.load: do not call the proc until strings have their encoding
Ref: https://bugs.ruby-lang.org/issues/18141 byroot (Jean Boussier)
10:56 PM Feature #18020: Introduce `IO::Buffer` for fiber scheduler.
+1 that being said, I have no problem with augmenting IO::Buffer to map into a memory view interface.
``` ruby
f...
dsisnero (Dominic Sisneros)
10:51 PM Revision a0357acf (git): Enhanced RDoc for Range (#4839)
Treated:
#size
#to_a
#each
#begin
#end
#first
#last
burdettelamar (Burdette Lamar)
09:46 PM Bug #18167 (Closed): JSON.load doesn't symbolize names
@Hanmac is correct. I think you also need to manually set `create_additions: false`, otherwise, an ArgumentError is ... jeremyevans0 (Jeremy Evans)
01:47 PM Bug #18167: JSON.load doesn't symbolize names
The Problem lies in the documentation of the load method:
``
JSON.load(source, proc = nil, options = {}) -> object
...
Hanmac (Hans Mackowiak)
01:03 PM Bug #18167 (Closed): JSON.load doesn't symbolize names
As per the documentation the JSON#load method should accept _**and use**_ the same parsing options as the JSON#parse... yann.gouverneur (Yann Gouverneur)
09:15 PM Bug #18166 (Closed): Windows Ripper test-all failures? bison package?
nobu (Nobuyoshi Nakada)
02:26 PM Bug #18166: Windows Ripper test-all failures? bison package?
Fixed by @nobu in [fa05697e4832](https://github.com/ruby/ruby/commit/fa05697e4832), both ruby-loco mingw & mswin also... MSP-Greg (Greg L)
06:09 AM Bug #18166: Windows Ripper test-all failures? bison package?
FYI, it is known that Bison 3.8.1 breaks build of the latest "still" release of LibreOffice (7.1.6.2): https://bugs.g... xtkoba (Tee KOBAYASHI)
03:58 AM Bug #18166 (Closed): Windows Ripper test-all failures? bison package?
Windows builds recently failed, and it's odd. The bison package did change from 3.7.6 to 3.8.1... MSP-Greg (Greg L)
09:08 PM Revision aa18f645 (git): * 2021-09-15 [ci skip]
git[bot]
09:08 PM Revision 1af5a0c5 (git): Bsearch doc for Array and Range (#4838)
This PR creates doc/bsearch.rdoc to provide common documentation for bsearch in Array and Range. burdettelamar (Burdette Lamar)
03:37 PM Bug #18165: resolv: IPv6 link local addresses do not accept dash as a valid zone_id character
jeremyevans0 (Jeremy Evans) wrote in #note-3:
> This issue should be fixed by https://github.com/ruby/resolv/pull/2,...
kanashiro (Lucas Kanashiro)
02:52 PM Bug #18165: resolv: IPv6 link local addresses do not accept dash as a valid zone_id character
This issue should be fixed by https://github.com/ruby/resolv/pull/2, which is still waiting for review. jeremyevans0 (Jeremy Evans)
07:00 AM Bug #18165 (Assigned): resolv: IPv6 link local addresses do not accept dash as a valid zone_id character
mame (Yusuke Endoh)
02:55 PM Bug #18164 (Closed): Segfault after spawn when using modified ENV
Applied in changeset commit:git|57d315c937e79199af2b77f21f5eecaca85ffac8.
----------
Handle overwriting Object::ENV ...
jeremyevans (Jeremy Evans)
02:55 PM Revision 57d315c9 (git): Handle overwriting Object::ENV in spawn
Instead of looking for Object::ENV (which can be overwritten),
directly look for the envtbl variable. As that is sta...
jeremyevans (Jeremy Evans)
01:28 PM Revision 616d6717 (git): [ruby/reline] Remove unused using method
follow #347
https://github.com/ruby/reline/commit/37453a83a3
ima1zumi (Mari Imaizumi)
10:24 AM Bug #17735: `Hash#transform_keys!` drops non evaluated keys
522d4cd32f7727886f4fcbc28ed29c08d361ee20 was reverted at bb84c75001f1bf13b4b2a12db8f4420e76a3ea03. Should I backport ... nagachika (Tomoyuki Chikanaga)
09:51 AM Revision fa05697e (git): Use `%printer` directive for Bison 3.8
nobu (Nobuyoshi Nakada)
07:04 AM Revision 6031f426 (git): Update bundled_gems at 2021-09-14
git[bot]
06:48 AM Feature #18148: Marshal.load freeze option
> When freeze:true is specified, only returned value from proc will be frozen?
It could be either really, but I th...
byroot (Jean Boussier)
04:42 AM Feature #18148: Marshal.load freeze option
`Marshal.load()` accepts `proc` which can manipulate the loaded object:
```ruby
str = Marshal.dump(["a", 1, 10 **...
ko1 (Koichi Sasada)
04:41 AM Feature #18148: Marshal.load freeze option
It would be helpful for us if you cloud add a simple code example for a feature proposal.
```ruby=
dump = Marshal...
mame (Yusuke Endoh)
06:42 AM Misc #18122: DevelopersMeeting20210916Japan
shyouhei (Shyouhei Urabe) wrote in #note-11:
> mame (Yusuke Endoh) wrote in #note-10:
> > @shyouhei @hsbt please fo...
mame (Yusuke Endoh)
04:11 AM Misc #18122: DevelopersMeeting20210916Japan
mame (Yusuke Endoh) wrote in #note-10:
> @shyouhei @hsbt please follow the comment format. My dev-meeting setup scri...
shyouhei (Shyouhei Urabe)
03:50 AM Misc #18122: DevelopersMeeting20210916Japan
@shyouhei @hsbt please follow the comment format. My dev-meeting setup script ignores your topics. mame (Yusuke Endoh)
06:24 AM Feature #17295: Feature: Create a directory and file with Pathname#touch
Shouldn't this method take keyword arguments that FileUtils.touch accepts? knu (Akinori MUSHA)
06:22 AM Revision 3fd85313 (git): Remove uneeded initialize local variable (#4818)
S_H_ (Shun Hiraoka)
05:58 AM Revision 692dfc50 (git): Refactor vm_yield function
S_H_ (Shun Hiraoka)
05:53 AM Revision bb84c750 (git): Revert "Force recycle intermediate collection in Hash#transform_keys! [Bug #17735]"
This reverts commit 522d4cd32f7727886f4fcbc28ed29c08d361ee20. kachick (Kenichi Kamiya)
05:45 AM Feature #18127: Ractor-local version of Singleton
The advantage of this `RactorLocalSingleton` is, if a library uses singleton library and it is okay to make an instan... ko1 (Koichi Sasada)
05:44 AM Feature #18127: Ractor-local version of Singleton
code: https://github.com/ruby/singleton/pull/4/files
ko1 (Koichi Sasada)
05:39 AM Bug #11182 (Closed): Refinement with alias causes strange behavior
ko1 agreed to keep the current behavior, so I close this issue.
shugo (Shugo Maeda)
 

Also available in: Atom