Project

General

Profile

Activity

From 11/27/2019 to 12/03/2019

12/03/2019

11:59 PM Misc #16393: DevelopersMeeting20191220Japan
* [Feature #14183] "Real" keyword argument (jeremyevans0)
* Is it OK to merge branch to remove deprecated support for positional hash <-> keyword conversion after 2.7 released?
* [Bug #11022] opening an eigenclass does not change the...
jeremyevans0 (Jeremy Evans)
12:04 PM Misc #16393: DevelopersMeeting20191220Japan
**NOTE: Please follow the comment format strictly!**
I've created a script to automatically create an markdown-style agenda.
https://gist.github.com/mame/b0390509ce1491b43610b9ebb665eb86
We may ignore a comment that violates the...
mame (Yusuke Endoh)
10:40 AM Misc #16393: DevelopersMeeting20191220Japan
* [Bug #6087] How should inherited methods deal with return values of their own subclass? (mame)
* Matz said "We will fix this (to consistently return Arrays) in 3.0." seven years ago. Now is the time. Final confirmation.
mame (Yusuke Endoh)
10:34 AM Misc #16393: DevelopersMeeting20191220Japan
Carry over:
* [Feature #16264] Real "callable instance method" object. .:method to be a first-class thing, instead of Symbol#to_proc trick (zverok)
* This proposal would make sense only if .: would not be reverted (which, to the be...
mame (Yusuke Endoh)
10:33 AM Misc #16393 (Closed): DevelopersMeeting20191220Japan
Please comment on your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of the ticket comments)
*DO NOT* discuss then on thi...
mame (Yusuke Endoh)
11:45 PM Feature #14183: "Real" keyword argument
Shortly after the release of 2.7.0, I would like to merge the branch at https://github.com/jeremyevans/ruby/tree/r3, which fully separates positional and keyword arguments. I've been maintaining this branch for a couple months now and u... jeremyevans0 (Jeremy Evans)
10:02 AM Feature #14183: "Real" keyword argument
I've written a draft of a note about this change in https://github.com/ruby/www.ruby-lang.org/pull/2293. mame (Yusuke Endoh)
11:35 PM Bug #15629 (Closed): super_method fails on binded/unbinded/cloned methods
Applied in changeset commit:git|a91637c516779d9ecee5f323e211f0ed71eb06ad.
----------
Make {Method,UnboundMethod}#super_method handle clone/bind/unbind
This wasn't working previously because the iclass entry wasn't
being copied, and wit...
jeremyevans (Jeremy Evans)
11:35 PM Revision a91637c5 (git): Make {Method,UnboundMethod}#super_method handle clone/bind/unbind
This wasn't working previously because the iclass entry wasn't
being copied, and without an iclass entry, super_method returns
nil.
Fixes [Bug #15629]
jeremyevans (Jeremy Evans)
11:22 PM Revision f9754f0e (git): compile.c: trivial refactoring
Use `for` instead of `while` to make it explicit that it is a traverse
of bytecode.
mame (Yusuke Endoh)
10:44 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
mame (Yusuke Endoh) wrote:
> I think of some options to fix:
> ...
My idea for a hacky workaround: As the correct result is shown when branch coverage is enabled, always run with branch coverage enabled, even if the branch results will...
jeremyevans0 (Jeremy Evans)
10:32 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
Oops, I overlooked this issue. Sorry.
This is a tough problem. The compiler produces the following code:
```
0006 branchunless 13
...
0013 jump 17 (Line 2)
...
0017 putnil (Line 3)
```
The peephole opt...
mame (Yusuke Endoh)
10:05 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
Hello. This thing affects both `return`, `break` and `raise` guard clauses. I want to insist on covering this issue with tests, `test_line_coverage_for_multiple_lines` is too weak. I will try to prepare tests.
Unfortunately this bug w...
puchuu (Andrew Aladjev)
10:38 PM Bug #14119: IPAddr#include? does not seem to support the subnet mask
As ipaddr has been moved to a gem, I have submitted a pull request for this: https://github.com/ruby/ipaddr/pull/22 jeremyevans0 (Jeremy Evans)
09:43 PM Bug #16397 (Closed): Line coverage is broken for until and while after guard clause
Hello. I was working on [ruby gem](https://github.com/andrew-aladev/ruby-zstds) and received a bug with [simplecov](https://github.com/colszowka/simplecov/issues/764). See the following [coverage report](https://codecov.io/gh/andrew-alad... puchuu (Andrew Aladjev)
09:41 PM Feature #13083 (Closed): Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
Applied in changeset commit:git|8852fa876039ed177fd5e867f36177d8a9ff411c.
----------
Revert "Regexp#match{?} with nil raises TypeError as String, Symbol (#1506)"
This reverts commit 2a22a6b2d8465934e75520a7fdcf522d50890caf.
Revert [Fea...
naruse (Yui NARUSE)
01:34 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
It's not my intention to suffer users. Let's cancel the change.
Matz.
matz (Yukihiro Matsumoto)
08:57 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
Eregon (Benoit Daloze) wrote:
> > I believe many of us have got used to the original behavior, that is, methods of a Regexp object work permissively and accept nil, and we know we've migrated many pieces of code from `/re/ =~ nilable` /...
naruse (Yui NARUSE)
09:40 PM Revision 8852fa87 (git): Revert "Regexp#match{?} with nil raises TypeError as String, Symbol (#1506)"
This reverts commit 2a22a6b2d8465934e75520a7fdcf522d50890caf.
Revert [Feature #13083]
naruse (Yui NARUSE)
09:40 PM Revision 08074eb7 (git): Revert "Revert nil error and adding deprecation message"
This reverts commit 452bee3ee8d68059fabd9b1c7a75661b14e3933e. naruse (Yui NARUSE)
09:40 PM Revision a705f647 (git): Revert "Improve warning message"
This reverts commit 31110d820cc1258cbc84b46ecc65b254c7d5529a. naruse (Yui NARUSE)
09:40 PM Revision 34a66b1f (git): Revert "Fix warnings in Regexp#{match,match?} specs"
This reverts commit 782d1b8fb0a039cedef9ad9c94f432dad51901e6. naruse (Yui NARUSE)
09:18 PM Bug #15613 (Closed): Enumerator::Chain#each doesn't relay block signature
Applied in changeset commit:git|a029b54ec716812ade37fef1f857c49f821a8cc8.
----------
Make Enumerator::Chain#each treat lambdas as lambda
Previously, lambdas were converted to procs because of how
rb_block_call works. Switch to rb_func...
jeremyevans (Jeremy Evans)
09:18 PM Revision a029b54e (git): Make Enumerator::Chain#each treat lambdas as lambda
Previously, lambdas were converted to procs because of how
rb_block_call works. Switch to rb_funcall_with_block, which
handles procs as procs and lambdas as lambdas.
Fixes [Bug #15613]
jeremyevans (Jeremy Evans)
03:58 PM Bug #10495 (Closed): Attaching lldb to a program running `sleep` hangs the VM
I tried the process on Ubuntu, but I couldn't reproduce the issue. Maybe it is already fixed? Tentatively closing. Let me know if you still see the issue.
AFAIK there is no committer that daily uses `lldb` for ruby. Contribution i...
mame (Yusuke Endoh)
03:44 PM Bug #10453 (Rejected): NUM2CHR() does not perform additional bounds checks
See #15460. `String#setbyte` has accepted not only 0..255 but also any integers. Once it had been limited only to 0..255, but it caused a compatibility issue, and eventually was reverted.
I don't think that this is a good idea in te...
mame (Yusuke Endoh)
03:38 PM Bug #16394 (Third Party's Issue): libmysqlclient20 5.7.28-0ubuntu0.18.04.4 causes segmentation fault
This happens while loading the mysql2 gem:
```
/opt/chef/embedded/lib/libruby.so.2.3(sigsegv+0x3e) [0x7f4ad936d22e] signal.c:890
/lib/x86_64-linux-gnu/libc.so.6 [0x7f4ad8e58f20]
/lib/x86_64-linux-gnu/libc.so.6 [0x7f4ad8f83d76]
/op...
jeremyevans0 (Jeremy Evans)
10:51 AM Bug #16394: libmysqlclient20 5.7.28-0ubuntu0.18.04.4 causes segmentation fault
duthmanek (Tim Dithmer) wrote:
> OS: Ubuntu 18.04
> ...
Gem Versions:
mysql (2.9.1)
mysql2 (0.5.2)
duthmanek (Tim Dithmer)
10:49 AM Bug #16394 (Third Party's Issue): libmysqlclient20 5.7.28-0ubuntu0.18.04.4 causes segmentation fault
OS: Ubuntu 18.04
Update from libmysqlclient20 to 5.7.28-0ubuntu0.18.04.4 causes segmentation fault while using mysql- and mysql2-gem.
Stacktrace is in attached log
duthmanek (Tim Dithmer)
03:32 PM Bug #11055 (Closed): autoload resets private_constant
Applied in changeset commit:git|47c97e1e843159c3c4d57f8c5e22daea57c3ffe1.
----------
Do not lose existing constant visibility when autoloading
This copies the private/deprecate constant visibility across the
autoload. It still is back...
jeremyevans (Jeremy Evans)
03:31 PM Revision 47c97e1e (git): Do not lose existing constant visibility when autoloading
This copies the private/deprecate constant visibility across the
autoload. It still is backwards compatible with setting the
private/deprecate constant visibility in the autoloaded file.
However, if you explicitly set public constant in...
jeremyevans (Jeremy Evans)
03:28 PM Bug #13688 (Closed): Thread overflow hangs ruby (not responding ^C)
Applied in changeset commit:git|5c2c3966851ed074eb468ad36d8d75e53b8eab6c.
----------
Check interrupts before starting thread
Fixes a hang when Thread.new calls Thread.new in a loop.
Fixes [Bug #13688]
jeremyevans (Jeremy Evans)
03:27 PM Revision b96d559c (git): * 2019-12-04 [ci skip]
git[bot]
03:27 PM Revision 5c2c3966 (git): Check interrupts before starting thread
Fixes a hang when Thread.new calls Thread.new in a loop.
Fixes [Bug #13688]
jeremyevans (Jeremy Evans)
03:25 PM Bug #10250 (Rejected): User-Agent HTTP header not being set on CONNECT requests
I think that this is not a bug, but a request for a feature to set HTTP headers for a proxy server instead of endpoint.
My survey:
* golang has a dedicated API, ProxyConnectHeader, to specify HTTP headers for a proxy server: https:...
mame (Yusuke Endoh)
03:09 PM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
PR https://github.com/ruby/ruby/pull/2718 shows this issue, and also properly updates MSYS2/MinGW gcc. MSP-Greg (Greg L)
01:52 PM Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
shyouhei (Shyouhei Urabe) wrote:
> Hello. It is definitely a good idea to enhance our CI. But that alone does not improve the code quality. We need someone to fix issues.
> ...
Hello. I agree with it.
Someone, do you have any ide...
jaruga (Jun Aruga)
01:26 PM Bug #16395: .any? and .all? methods, flawed.
> The dynamics of the script is simple, no explanations needed, look for yourselves:
I do not think that this can be a useful issue description because there may be
secondary aspect to consider for when requesting changes, including ...
shevegen (Robert A. Heiler)
12:21 PM Bug #16395 (Rejected): .any? and .all? methods, flawed.
@Hanmac is right.
```
ary = [1, 2, 3, 4, 5]
result = ary.any? {|n| p n; n == 3 } #=> 1, 2, 3
p result #=> true
result = ary.all? {|n| p n; n != 3 } #=> 1, 2, 3
p result #=> false
```
You may want to use `each` instead of ...
mame (Yusuke Endoh)
12:10 PM Bug #16395: .any? and .all? methods, flawed.
your problem is that `.any?` and `.all?` wants a value returned for the block which is truly or falsely
puts returns nil which is falsely, in the second example count += 1 returns an integer which is truly
EDIT: it looks like yo...
Hanmac (Hans Mackowiak)
12:01 PM Bug #16395 (Rejected): .any? and .all? methods, flawed.
The dynamics of the script is simple, no explanations needed, look for yourselves:
``` ruby
# 100E1 312A3 8B64 282F C4A B28F
result = '99E2E403100E1A685A63312A308B6478282F2B2C4A34B28F7E'
virus = ['100E1',...
stiuna (Juan Gregorio)
01:03 PM Misc #16396 (Open): What is the reason for this behaviour of Find.find?
When I have a script at `D:\Downloads\Ruby 2.5.3\rbL\comp\codeShort.rb` with few other files in the same folder, the following searches only the folder where the `.rb` script is located:
``` ruby
Find.find('D:')
```
When I have a...
stiuna (Juan Gregorio)
10:50 AM Revision 7f2cd2ae (git): fix typo
kosaki (Motohiro KOSAKI)
08:56 AM Revision a1f98cd4 (git): vm_args.c: make the keyword deprecation message helpful
```
$ ./miniruby -e 'def foo(kw: 1); end; h = {kw: 1}; foo(h)'
-e:1: warning: The last argument is used as the keyword parameter
-e:1: warning: for `foo' defined here; maybe ** should be added to the call?
```
mame (Yusuke Endoh)
08:27 AM Bug #5577: test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
いまmacOSで試してみましたが、特に刺さるようなことはありませんでした。閉じておきます。 mame (Yusuke Endoh)
08:26 AM Bug #5577 (Closed): test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
Applied in changeset commit:git|409e4ab740de3852c3667217bcf41b55040f638f.
----------
tool/lib/test/unit/parallel.rb: fail explicitly when failing to get io
`(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined meth...
mame (Yusuke Endoh)
08:26 AM Revision 409e4ab7 (git): tool/lib/test/unit/parallel.rb: fail explicitly when failing to get io
`(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined method `write' for nil:NilClass" due to lack of stdout.
This change makes it explicit. [Bug #5577]
mame (Yusuke Endoh)
05:51 AM Revision e42d9d8d (git): Fixed the inverted condition
nobu (Nobuyoshi Nakada)
05:46 AM Revision 9165fcdf (git): Wrap statements in AS_IF properly
nobu (Nobuyoshi Nakada)
05:40 AM Feature #16374: Object#nullify to provide scalars with the effect similar to Enumerable#reject
I think I've proposed `Object#not` (and `Object#!`) for this purpose. nobu (Nobuyoshi Nakada)
05:16 AM Feature #16374: Object#nullify to provide scalars with the effect similar to Enumerable#reject
IMO, `[1, 2].nullify(&:empty?)&.then(&:join)` is just cryptic.
BTW, why do you write `&.then(&:join)`? I'm afraid you have been corrupted by `&:sym`.
mame (Yusuke Endoh)
04:25 AM Bug #16392 (Closed): test-all failure Windows - TestEncoding#test_nonascii_library_path
ruby-loco build failed, so ran the test locally using runner.rb. Failed on both of the below builds. The new test is valid, but the fix in 14a17063a1 doesn't seem to be working...
```
ruby 2.7.0dev (2019-12-02T23:51:50Z master 14a1...
MSP-Greg (Greg L)
04:02 AM Revision 027e847c (git): Fix auto-indent behavior correctly
aycabta (aycabta .)
01:16 AM Bug #16382 (Closed): SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
Applied in changeset commit:git|14a17063a11a01d518b4bbaf0eb967330aec3984.
----------
Fixed stack overflow [Bug #16382]
Get rid of infinite recursion in expanding a load path to the real
path while loading a transcoder.
nobu (Nobuyoshi Nakada)
12:36 AM Bug #16389 (Rejected): Unexpected tINTEGER in conditional expression
mame (Yusuke Endoh)
12:14 AM Bug #16389 (Closed): Unexpected tINTEGER in conditional expression
You need to parenthesize the argument 15.
```
foo unless (@bar&.nil? && @baz&.>(15))
```
I don't think that your expectation is wrong, but due to parser limitation, we cannot place a non-parenthesized method call as an argument o...
mame (Yusuke Endoh)

12/02/2019

11:51 PM Revision 14a17063 (git): Fixed stack overflow [Bug #16382]
Get rid of infinite recursion in expanding a load path to the real
path while loading a transcoder.
nobu (Nobuyoshi Nakada)
11:02 PM Revision 8bddf1bc (git): mjit.c: fix a mismatch of malloc'ed type
Coverity Scan found this issue. mame (Yusuke Endoh)
09:20 PM Feature #12928: Use socket conect_timeout in net stdlib for open_timeout
It looks like we can now use the `resolv_timeout` `Socket.tcp` option that was recently added by https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisions/0e9d56f5e73ed2fd8e7c858fdea7b7d5b905bb64.
The only complication w...
dylants (Dylan Thacker-Smith)
08:23 PM Revision 424ad9a4 (git): Make more attempts to check for the precision of Process.times
* Process.clock_getres specs use 10_000 but that's quite slow for
the Process.times spec.
Eregon (Benoit Daloze)
06:33 PM Bug #16391 (Closed): Dir.pwd, Dir[] pathname case inconsistency
Directory globbing case sensitivity is os-dependent
(https://ruby-doc.org/core-2.6.5/Dir.html, glob,
"Case sensitivity depends on your system");
On Windows 10, directory globbing is case insensitive,
and may return glob matches that ...
dbuck (Dave Buck)
04:41 PM Revision c688487f (git): * 2019-12-03 [ci skip]
git[bot]
04:39 PM Revision a9256013 (git): Support incremental search by last determined word
In the incremental search by C-r, search word is saved when it's determined. In
the next incremental search by C-r, if a user presses C-r again with the empty
search word, the determined previous search word is used to search.
aycabta (aycabta .)
04:39 PM Revision bce38f70 (git): The C-r in vi command mode is also incremental search
aycabta (aycabta .)
04:37 PM Bug #16390 (Third Party's Issue): Crash report for ruby2.6.4p104
This crash happens inside the pg gem. It's either caused by the pg gem, libpq (PostgreSQL), or one of the internal Mac OS libraries listed.
```
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6e865b1d]
/usr/lib/syste...
jeremyevans0 (Jeremy Evans)
04:21 PM Bug #16390 (Third Party's Issue): Crash report for ruby2.6.4p104
Hello, Ruby 2.6.4 just crashed for me while using [the apartment gem](https://github.com/influitive/apartment) to switch postgres search paths in Rails.
Attached is the console output in `crash-console-output.txt`, as well as the cras...
codinganarchy (Matthew Tanous)
03:55 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
Eregon (Benoit Daloze) wrote:
> The `*rest` parameter will not splat either, or it would delegate arguments incorrectly.
Thanks! Finally I can see some meaning behind the madness. Normally I would expect `proc{ |*a| }.call([1,2])` to...
Dan0042 (Daniel DeLorme)
03:44 PM Bug #16385 (Third Party's Issue): Segmentation fault when running a rails app with puma
This crash happens inside the pg gem. It's either caused by the pg gem, libpq (PostgreSQL), or one of the internal Mac OS libraries listed.
```
3 libsystem_platform.dylib 0x00007fff64d62b1d _sigtramp + 29
4 libdispatc...
jeremyevans0 (Jeremy Evans)
01:30 PM Bug #16385 (Third Party's Issue): Segmentation fault when running a rails app with puma
got a new machine and after reinstalling a dev env, i cannot run locally a functional rails app
seems to be linked to puma since the app can be booted and the database can be accessed from the rails console.
If somebody more competen...
itkin (nicolas paon)
03:33 PM Bug #16389 (Rejected): Unexpected tINTEGER in conditional expression
I'm not sure that this is a bug, or simply an unexpected result of operator precedence, but I am seeing a result that appears to me to be an issue.
When putting a conditional expression after a command call using `unless`, I am seeing...
codinganarchy (Matthew Tanous)
08:17 AM Revision a47d6c25 (git): Fix random failure on getusage-missing environments
`* 1e6` makes a spurious result about floating point number's precision.
```
irb(main)[01:0]> 16.028
=> 16.028
irb(main)[02:0]> (16.028 * 1e6)
=> 16027999.999999998
```
k0kubun (Takashi Kokubun)
07:25 AM Revision 1a88adcd (git): Fix Leaked file descriptor in test/did_you_mean
https://github.com/ruby/ruby/commit/de74d2c3b0005048a2c4433bde68b9be10c86f01/checks?check_suite_id=336910877#step:19:131
```
Leaked file descriptor: NameErrorExtensionTest#test_correctable_error_objects_are_dumpable: 7 : #<File:test_name...
znz (Kazuhiro NISHIYAMA)
07:23 AM Revision 185f7608 (git): Debug random failure of ruby-spec on ci.rvm.jp
k0kubun (Takashi Kokubun)
05:15 AM Revision 9afaf139 (git): Revert "builtin_binary.inc needs miniruby itself for RubyVM.each_builtin"
This reverts commit 2615030c521afc822c66a7e139ccba3d2365ab56,
which doesn't work when cross compiling, except for mingw.
nobu (Nobuyoshi Nakada)
05:03 AM Revision 2615030c (git): builtin_binary.inc needs miniruby itself for RubyVM.each_builtin
nobu (Nobuyoshi Nakada)
04:20 AM Revision a7b9f085 (git): Disable _FORTIFY_SOURCE on mingw for now
It causes a link error due to some `__*_chk` functions on mingw. nobu (Nobuyoshi Nakada)
04:17 AM Revision b1c92363 (git): Wait for the main thread to start reading by Queue
Otherwise, the written data to pty before the reading started may
be just lost.
nobu (Nobuyoshi Nakada)
01:32 AM Revision de74d2c3 (git): Simplify variable declaration by C99
k0kubun (Takashi Kokubun)
12:41 AM Bug #15460: Behaviour of String#setbyte changed
On the 2.6 branch, this causes a declaration-after-statement warning. nobu (Nobuyoshi Nakada)

12/01/2019

11:13 PM Feature #16255: Make `monitor.rb` built-in
> The latest google-cloud-pubsub breaks too because new_cond comes before initialization:
Rails encountered the same issue(related to https://github.com/rails/rails/pull/37822).
The error and backtrace of in this case are as follow...
y-yagi (Yuji Yaginuma)
10:53 AM Feature #16255: Make `monitor.rb` built-in
Could you share the error and backtrace in both of these cases? Eregon (Benoit Daloze)
08:35 AM Feature #16255: Make `monitor.rb` built-in
The latest `google-cloud-pubsub` breaks too because `new_cond` comes before initialization: https://github.com/googleapis/google-cloud-ruby/blob/google-cloud-pubsub/v1.1.2/google-cloud-pubsub/lib/google/cloud/pubsub/async_publisher.rb#L9... qnighy (Masaki Hara)
05:20 AM Feature #16255: Make `monitor.rb` built-in
This change breaks the library that extends `Monitor` class.
For example, Rails has such class and it breaks in Ruby 2.7.
https://github.com/rails/rails/blob/461aae05f194f775e6367be9add4dda37746bd5c/activesupport/lib/active_support/c...
y-yagi (Yuji Yaginuma)
07:18 PM Revision 103b0412 (git): Support incremental search again by C-r in incremental search
aycabta (aycabta .)
06:53 PM Revision b3ea0980 (git): Check MJIT support in one place
to fix test failure on trunk-no-mjit
https://gist.github.com/ko1/32ab982ffd7555988818773c08f97123
k0kubun (Takashi Kokubun)
06:51 PM Revision 6bc8b4d8 (git): Skip --jit-debug= test on mswin
it fails like
https://ci.appveyor.com/project/ruby/ruby/builds/29235837/job/v0apdjj4qx8afars
k0kubun (Takashi Kokubun)
06:30 PM Revision c7f05310 (git): Process Backspace key in incremental search correctly
aycabta (aycabta .)
06:09 PM Revision e15b0313 (git): Search history to back in the middle of histories
aycabta (aycabta .)
04:34 PM Revision 4d7a6d04 (git): Avoid unnecessary tzset() call
Akatsuki reported ENV['TZ'] = 'UTC' improved 7x-8x faster on following code.
t = Time.now; 100000.times { Time.new(2019) }; Time.now - t
https://hackerslab.aktsk.jp/2019/12/01/141551
commit 4bc1669127(reduce tzset) dramatically improved...
kosaki (Motohiro KOSAKI)
03:05 PM Revision 43811cc3 (git): * 2019-12-02 [ci skip]
git[bot]
03:03 PM Revision 7f0d5170 (git): Remove obsolete code
aycabta (aycabta .)
02:54 PM Revision 8cb3f29a (git): The ed_search_prev_history should always search to backward
aycabta (aycabta .)
02:54 PM Revision f1cfc7da (git): Reline::HISTORY can take Range object
aycabta (aycabta .)
01:11 PM Revision 617a3735 (git): Update to ruby/spec@dcf4955
Eregon (Benoit Daloze)
01:11 PM Revision 60d362b0 (git): Update to ruby/mspec@aa28e95
Eregon (Benoit Daloze)
12:55 PM Revision ab516e26 (git): [ruby/spec] Fix failures with LC_ALL=C
https://github.com/ruby/spec/commit/51047687c0
https://github.com/ruby/spec/commit/2b87b467cc
nobu (Nobuyoshi Nakada)
11:26 AM Revision 4e03a729 (git): Constified mjit_init
nobu (Nobuyoshi Nakada)
11:13 AM Feature #9602: Logic with `Enumerable#grep`
I agree with sawa's opinion. `Enumerable#grep` and other methods using `===` internally should accept more than one arguments, following `when` conditions.
Yukihiro Matsumoto wrote:
> We should use #select for more complex filtering...
msnm (Masahiro Nomoto)
10:29 AM Revision cb760f36 (git): Constified
nobu (Nobuyoshi Nakada)
10:00 AM Revision 91af5542 (git): Fix a mistake excluding NULL in the end
k0kubun (Takashi Kokubun)
09:35 AM Revision 8a677a6e (git): Workaround missing strndup on Windows
https://ci.appveyor.com/project/ruby/ruby/builds/29230976/job/c910t37313edb97k k0kubun (Takashi Kokubun)
09:25 AM Revision 3e2753ad (git): Use build dir for testing --jit-debug
to fix failure like https://github.com/ruby/ruby/runs/327745536 k0kubun (Takashi Kokubun)
08:58 AM Revision a19d625e (git): Allow specifying arbitrary MJIT flags by --jit-debug
This is a secret feature for me. It's only for testing and any behavior
with this flag override is unsupported.
I needed this because I sometimes want to add debug options but do not
want to disable optimizations, for using Linux perf.
k0kubun (Takashi Kokubun)
08:43 AM Feature #15563: #dig that throws an exception if a key doesn't exist
matz (Yukihiro Matsumoto) wrote:
> I am against `dig!` for this purpose. When we have two versions of a method (`foo` and `foo!`), the bang version should be more dangerous than the non-bang version. `dig!` is not the case.
> ...
I thi...
amcaplan (Ariel Caplan)
08:40 AM Feature #16095 (Rejected): 2 Features: remove (simplify) 'new' keyword and Property Shorthand
One of the requests is a duplicate of an already rejected request. nobu (Nobuyoshi Nakada)
07:58 AM Feature #16095: 2 Features: remove (simplify) 'new' keyword and Property Shorthand
Please, do not mix requests for multiple unrelated features in one feature request. It makes it impossible to properly address them. For example, what should happen with this feature request if one feature gets accepted and one gets reje... jwmittag (Jörg W Mittag)
05:38 AM Revision bdc62dfc (git): Fixed type of an index variable
nobu (Nobuyoshi Nakada)
04:26 AM Revision 9914d6e9 (git): Relax test strictness for error message from KeyError
yuki24 (Yuki Nishijima)
03:29 AM Revision cc7455dd (git): Relax test requirements for DYM's verbose formatter
yuki24 (Yuki Nishijima)
03:24 AM Revision 56faa13a (git): remove spaces to pass a test.
23d7f4c5e1ce164e78d77de694dccc0c41f6de3d breaks a test which expect
to match error message. To avoid this failure, use #strip for expect
and actual results.
ko1 (Koichi Sasada)
02:08 AM Revision 23d7f4c5 (git): * remove trailing spaces. [ci skip]
git[bot]
02:08 AM Revision 0fef5266 (git): Do not call 'gem "did_you_mean"' for now
This will slow down the time that the +require+ method takes to load DYM,
but this has caused a build failure in a certain situation:
https://ci.appveyor.com/project/ruby/ruby/builds/29214253/job/r9u9c8p95tnlftt3#L24965
which is repo...
yuki24 (Yuki Nishijima)
02:08 AM Revision 171803d5 (git): Promote did_you_mean to default gem
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become d... Kevin Deisz

11/30/2019

11:23 PM Revision a2fc6a51 (git): [ruby/fileutils] Fix test failure under ruby 2.4
`Exception#full_message` is only defined on ruby 2.5.0 and above.
https://github.com/ruby/fileutils/commit/a8968f41ed
deivid (David Rodríguez)
11:22 PM Revision fa0f3eff (git): [ruby/fileutils] Fix error printing test failure
`exception_details` is not defined anywhere.
This commit fixes the following test crash in ruby 2.4
```
Error: test_assert_output_lines(TestFileUtils): NoMethodError: undefined method `exception_details' for #<TestFileUtils:0x00005556e...
deivid (David Rodríguez)
09:29 PM Revision 5b1f7f26 (git): Skip if getrusage is not supported
1243255c3a36433041012b6107a5ac48658a0895 broke ci.rvm.jp tests like
http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2445098.
253232c028a5565dbeecc05fab5e81b35ab58bcc works only if getrusage is supported.
k0kubun (Takashi Kokubun)
08:26 PM Revision 1243255c (git): Update to ruby/spec@4eec3dc
Eregon (Benoit Daloze)
08:26 PM Revision ab834527 (git): Update to ruby/mspec@a401f63
Eregon (Benoit Daloze)
05:34 PM Feature #16294: Make MatchData frozen and forbid MatchData.allocate
@nobu Thanks for the change! I'll adapt the specs. Eregon (Benoit Daloze)
05:18 PM Bug #16192 (Closed): ENV.update hash values ignored when block given
Applied in changeset commit:git|5e0479f26afe1505afd9014ea96a206a88845828.
----------
ENV.update should not call block on existing keys
[Bug #16192]
nobu (Nobuyoshi Nakada)
05:18 PM Bug #16192: ENV.update hash values ignored when block given
This is a clear bug, I'll merge @nobu's patch.
There are already specs for this from https://github.com/ruby/spec/pull/714, which I'll synchronize to MRI soon.
Eregon (Benoit Daloze)
05:18 PM Revision 93a51241 (git): * 2019-12-01 [ci skip]
git[bot]
05:18 PM Revision 5e0479f2 (git): ENV.update should not call block on existing keys
[Bug #16192] nobu (Nobuyoshi Nakada)
09:28 AM Feature #16379: Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
jeremyevans0 (Jeremy Evans) wrote:
> In regards to `pass_keywords`, this wouldn't even be a backport, this would be a brand new feature, as `pass_keywords` isn't implemented in the master branch.
It would be a new method in Ruby 2.7,...
Eregon (Benoit Daloze)
02:26 AM Feature #16379: Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
I'm against backporting features (not just this particular feature) to already released ruby versions. For one, not everyone runs on the latest tiny release, and having different feature sets in tiny versions is likely to lead to user c... jeremyevans0 (Jeremy Evans)
09:27 AM Feature #16131: Remove $SAFE, taint and trust
I released the new versions: fileutils, webrick, date, dbm, etc, gdbm, stringio, zlib.
@kou rexml, rss, fiddle, strscan
@nobu io-console
Can you release the new versions contained to drop taint support? and Can you import upstrea...
hsbt (Hiroshi SHIBATA)
09:21 AM Revision b94d0609 (git): [ruby/zlib] Bump version to 1.1.0
https://github.com/ruby/zlib/commit/5af77c1ee8 hsbt (Hiroshi SHIBATA)
09:14 AM Revision 7ebcee6b (git): [ruby/gdbm] Bump version to 2.1.0
https://github.com/ruby/gdbm/commit/ffb2b063a3 hsbt (Hiroshi SHIBATA)
09:11 AM Revision 56567c76 (git): [ruby/etc] Bump version to 1.1.0
https://github.com/ruby/etc/commit/78987ce56a hsbt (Hiroshi SHIBATA)
09:09 AM Revision 08c866d5 (git): [ruby/fileutils] Bump version to 1.4.1
https://github.com/ruby/fileutils/commit/da15e3ce06 hsbt (Hiroshi SHIBATA)
09:01 AM Revision 06b9b78e (git): [ruby/dbm] Bump version to 1.1.0
https://github.com/ruby/dbm/commit/163078359d hsbt (Hiroshi SHIBATA)
08:58 AM Revision 32e54795 (git): Revert "[ruby/fileutils] Fix #install with "X" mode option"
This reverts commit eab88d20eaa925d5e61a2a65820a099b46ccf3f8.
The some CI was broken with this.
hsbt (Hiroshi SHIBATA)
08:52 AM Revision 5e9f0864 (git): [ruby/webrick] Check the feature by itself, instead of the version number
https://github.com/ruby/webrick/commit/79d7922de9 nobu (Nobuyoshi Nakada)
08:50 AM Revision a98632d5 (git): [ruby/webrick] Enabled chunked encoding if Transfer-Encoding: chunked header is set
Patch from Leonard Garvey.
Fixes Ruby Bug 9986.
https://github.com/ruby/webrick/commit/8cff7f3995
jeremyevans (Jeremy Evans)
08:49 AM Revision edfbffb2 (git): [ruby/webrick] Bump version to 1.6.0
https://github.com/ruby/webrick/commit/c5635fa5e2 hsbt (Hiroshi SHIBATA)
08:48 AM Revision c75100d0 (git): [ruby/webrick] Allow WEBrick::HTTPServlet::CGIHandler :CGIInterpreter option to be array
This way you don't need to escape each entry.
Implements Ruby Feature 15170.
https://github.com/ruby/webrick/commit/d8086e600c
jeremyevans (Jeremy Evans)
08:47 AM Revision f7cf5416 (git): [ruby/webrick] Document HTTPResponse#body callable option
https://github.com/ruby/webrick/commit/d51836d03d zverok (Victor Shepelev)
08:36 AM Revision ea4272d0 (git): [ruby/fileutils] Bump version to 1.4.0
https://github.com/ruby/fileutils/commit/f92145b10b hsbt (Hiroshi SHIBATA)
08:32 AM Revision 3b9e1c0b (git): Move gemspec of fileutils under the toplevel of lib directory.
hsbt (Hiroshi SHIBATA)
08:31 AM Revision eab88d20 (git): [ruby/fileutils] Fix #install with "X" mode option
`FileUtils#install` methed raises an unexpected `TypeError`, when
called with `mode:` option which has `"X"`.
```
$ ruby -rfileutils -e 'FileUtils.install("tmp/a", "tmp/b", mode: "o+X")'
/opt/local/lib/ruby/2.7.0/fileutils.rb:942:in `di...
nobu (Nobuyoshi Nakada)
08:31 AM Revision aab74fc9 (git): [ruby/fileutils] Added `test_install_mode_option`
https://github.com/ruby/fileutils/commit/bb10efe104 nobu (Nobuyoshi Nakada)
08:30 AM Revision 0a7d26be (git): [ruby/fileutils] Remove version.rb
Loading separate version.rb unnecessary increases every start-up
time. In the other hand, the gemspec file is parsed only when
building the gem file.
https://github.com/ruby/fileutils/commit/8359cf7cce
nobu (Nobuyoshi Nakada)
07:44 AM Revision c064018a (git): Make extract-gems only if test_task is check
znz (Kazuhiro NISHIYAMA)
07:44 AM Revision bb3542cc (git): Add update-gems before extract-gems
(windows.yml used `nmake up`) znz (Kazuhiro NISHIYAMA)
07:44 AM Revision 2eb4afb1 (git): Add extract-gems to GitHub Actions CI
znz (Kazuhiro NISHIYAMA)
07:29 AM Revision cf145928 (git): [ruby/readline-ext] Prepare to gem release
https://github.com/ruby/readline-ext/commit/e5b969215a hsbt (Hiroshi SHIBATA)
07:15 AM Bug #16384 (Assigned): Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
hsbt (Hiroshi SHIBATA)
06:18 AM Bug #16384 (Closed): Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
Due to `each_builtin` existing only in miniruby, Ruby 2.7 cannot be built when configured for cross-compilation.
## Environment
```
$ ruby -v
ruby 2.7.0preview3 (2019-11-23 master b563439274) [x86_64-linux]
$ lsb_release -a
No ...
qnighy (Masaki Hara)
06:54 AM Revision 856f9990 (git): [ruby/forwardable] Bump version to 1.3.0
https://github.com/ruby/forwardable/commit/e56f0f83c6 hsbt (Hiroshi SHIBATA)
06:53 AM Revision 9fa0166a (git): [ruby/forwardable] Fix keyword argument separation warnings on Ruby 2.7+
Do so in a way that is also compatible with previous versions.
https://github.com/ruby/forwardable/commit/b2dd340988
jeremyevans (Jeremy Evans)
06:39 AM Revision af4b3f16 (git): [ruby/stringio] Bump version to 0.1.0
https://github.com/ruby/stringio/commit/4c1e267e1a hsbt (Hiroshi SHIBATA)
06:38 AM Revision 990025cf (git): [ruby/stringio] RbConfig::LIMITS only provide after Ruby 2.5
https://github.com/ruby/stringio/commit/1fed3aacd3 hsbt (Hiroshi SHIBATA)
05:48 AM Revision e764dff3 (git): [ruby/date] Bump version to 3.0.0
https://github.com/ruby/date/commit/202b2dad93 hsbt (Hiroshi SHIBATA)
05:48 AM Revision 80705e2c (git): Add to support the single commit for sync_default_gems.rb
hsbt (Hiroshi SHIBATA)
04:06 AM Misc #16262 (Closed): DevelopersMeeting20191128Japan
The meeting has been already ended. I'll create a new ticket DevelopersMeeting20191220Japan later. mame (Yusuke Endoh)
03:17 AM Bug #16383 (Closed): TracePoint does not report calls to attribute reader methods
TracePoint does not report calls to attribute reader methods (e.g. methods defined using `attr_accessor` or `attr_reader`.)
**Code sample to demonstrate:**
```ruby
class Person
attr_accessor :first_name
attr_accessor :last_n...
AndyMaleh (Andy Maleh)
02:28 AM Bug #16382: SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
2.6.5 seems to be working fine:
```
~/GitHub/ruby/did_you_mean/テスト$ ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin18]
~/GitHub/ruby/did_you_mean/テスト$ echo "puts 'ok'" > a.rb
~/GitHub/ruby/did_you_mean/テスト$ LC_AL...
yuki24 (Yuki Nishijima)
02:13 AM Bug #16382 (Closed): SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
## Steps to reproduce
```
~/GitHub/ruby/did_you_mean/テスト$ LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb
Traceback (most recent call last):
2: from <internal:gem_prelude>:5:in `<internal:gem_prelude>'
1: from /Users/yuki/.rb...
yuki24 (Yuki Nishijima)
02:20 AM Revision f8cc05de (git): Use @eof variable for ReidlineInputMethod#eof?
"IRB::InputMethod#eof?" requires eof status each user input but
"ReidlineInputMethod#eof?" used "Reline.eof?" what is singleton data.
"ReidlineInputMethod#eof?" is changed to use the result of user input.
aycabta (aycabta .)

11/29/2019

11:00 PM Revision 0b1b2f24 (git): Remove e2mmap from sync_default_gems.rb
hsbt (Hiroshi SHIBATA)
11:00 PM Revision c50d30f6 (git): Simplified ErrDimensionMismatch class
hsbt (Hiroshi SHIBATA)
11:00 PM Revision 2f66c443 (git): Support argument for ErrNotRegular
hsbt (Hiroshi SHIBATA)
11:00 PM Revision 0c59bfae (git): Also replace E2MM to standard exception class
hsbt (Hiroshi SHIBATA)
11:00 PM Revision 0950ef9a (git): Remove e2mmap entries from docs
hsbt (Hiroshi SHIBATA)
11:00 PM Revision c1059e99 (git): Support existence usecase for the custom exception classes
hsbt (Hiroshi SHIBATA)
11:00 PM Revision 5044260d (git): replace raise method from e2mmap on Scalar class
hsbt (Hiroshi SHIBATA)
11:00 PM Revision 9b950310 (git): raise method accepts 3 argument with exception class
hsbt (Hiroshi SHIBATA)
11:00 PM Revision f47f2076 (git): Retire to maintain e2mmap on ruby core
hsbt (Hiroshi SHIBATA)
11:00 PM Revision 04511b99 (git): Remove re-define embedded error classes and extract argument on custom error classes
hsbt (Hiroshi SHIBATA)
11:00 PM Revision d82c541a (git): Use simple exception classes instead of e2mmap
hsbt (Hiroshi SHIBATA)
06:32 PM Revision 0c273b22 (git): Supress class variable overtaken warning when original modules are the same
This issue was exposed by recent commits to better support including
refined modules.
jeremyevans (Jeremy Evans)
04:38 PM Feature #16381: Accept resolv_timeout in Net::HTTP
On second thought, I'm not thrilled about adding a new config option like this.
I think name resolution is logically part of opening a socket, so I would expect a `Net::OpenTimeout` if name resolution takes longer than the specified amo...
alanwu (Alan Wu)
01:33 PM Feature #16381 (Open): Accept resolv_timeout in Net::HTTP
This is a follow-up to https://bugs.ruby-lang.org/issues/15553 and a successor of https://github.com/ruby/ruby/pull/1806 (the credit to Carl Hörberg).
Unlike https://github.com/ruby/ruby/pull/1806, this patch introduces a separate `re...
kirs (Kir Shatrov)
03:21 PM Revision 8a1f313e (git): * 2019-11-30 [ci skip]
git[bot]
03:15 PM Revision d1ef4fd0 (git): Make single line pattern matching void expression
Instead of returning `nil`, raise a syntax error if its value is
used. [Feature #16355]
nobu (Nobuyoshi Nakada)
08:51 AM Bug #16366: .count on endless range causes infinite loop
I introduce general solution.
Notes:
* there are no "(1..).count" test. can anyone write it?
* My fix can introduce additional problems because it increases interrupt points. Please report us if you find a problem on your app.
* ...
ko1 (Koichi Sasada)
08:48 AM Bug #16366 (Closed): .count on endless range causes infinite loop
Applied in changeset commit:git|36da0b3da1aed77e0dffb3f54038f01ff574972b.
----------
check interrupts at each frame pop timing.
Asynchronous events such as signal trap, finalization timing,
thread switching and so on are managed by "in...
ko1 (Koichi Sasada)
08:47 AM Revision 36da0b3d (git): check interrupts at each frame pop timing.
Asynchronous events such as signal trap, finalization timing,
thread switching and so on are managed by "interrupt_flag".
Ruby's threads check this flag periodically and if a thread
does not check this flag, above events doesn't happen.
...
ko1 (Koichi Sasada)
08:38 AM Revision c4686b92 (git): Revert "Treat :@1, :@@1, @1, and @@1 correctly to check termination"
This reverts commit 5e275dd2af4d9d24cdb1cfc0f232f348dae9c2cd.
...The @1 type numberd parameter is reverted from Ruby syntax.
aycabta (aycabta .)
08:35 AM Revision bbbe481d (git): Add SECURITY.md [ci skip]
for https://github.com/ruby/ruby/security/policy znz (Kazuhiro NISHIYAMA)
08:32 AM Feature #16289 (Closed): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Applied in changeset commit:git|191ce5344ec42c91571f8f47c85be9138262b1c7.
----------
Reduce duplicated warnings for the change of Ruby 3 keyword arguments
By this change, the following code prints only one warning.
```
def foo(**opt);...
mame (Yusuke Endoh)
08:12 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Matz accepted this with #16345. I'll commit it soon. mame (Yusuke Endoh)
08:32 AM Revision 191ce534 (git): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
By this change, the following code prints only one warning.
```
def foo(**opt); end
100.times { foo({kw:1}) }
```
A global variable `st_table *caller_to_callees` is a map from caller to
a set of callee methods. It remembers that a war...
mame (Yusuke Endoh)
08:07 AM Feature #16364 (Closed): Top-level ruby2_keywords
Applied in changeset commit:git|3a87826d0c3dd4c42e327e0cd4fb0806d898497f.
----------
vm_method.c: add top-level ruby2_keywords
This is a top-level version of Module#ruby2_keywords.
It can be used for functions (top-level methods) that ...
mame (Yusuke Endoh)
07:51 AM Revision 3a87826d (git): vm_method.c: add top-level ruby2_keywords
This is a top-level version of Module#ruby2_keywords.
It can be used for functions (top-level methods) that delegates
arguments. [Feature #16364]
mame (Yusuke Endoh)
02:25 AM Revision 5ad32d55 (git): `LoadError` is not a subclass of `StandardError`
nobu (Nobuyoshi Nakada)
02:21 AM Revision f83bebdf (git): Skip useless test
`JSONGeneratorTest#test_remove_const_seg` is meaningful only for
the extension library version, but nonsense for pure ruby version.
nobu (Nobuyoshi Nakada)
02:17 AM Revision ba1cb388 (git): Fixed the position in NEWS [Feature #16348]
[ci skip] nobu (Nobuyoshi Nakada)
02:09 AM Revision a593186a (git): Nmake needs `VPATH`
nobu (Nobuyoshi Nakada)
01:46 AM Feature #16345: Don't emit deprecation warnings by default.
Matz,
We already have `RUBYOPT=-W0` so no change is needed here for a global suppression. Maybe add `RUBYOPT=--no-deprecation` or something like that.
The question is about the default here:
1. Should default be "warn once pe...
sam.saffron (Sam Saffron)
01:16 AM Revision 98006cea (git): Add dependency on bundled yaml.h when using
nobu (Nobuyoshi Nakada)

11/28/2019

08:40 PM Bug #16380 (Third Party's Issue): OSX Segmentation fault at 0x0000000106e67698 / illegal hardware instruction rake install_latest
This error occurs in Oracle Instant Client:
```
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6968cb1d]
/Users/rok/instantclient_18_1/libclntshcore.dylib.18.1(sltsqKeyDestructorInt+0x68) [0x1065864b8]
/Users/rok/i...
jeremyevans0 (Jeremy Evans)
05:19 PM Bug #16380: OSX Segmentation fault at 0x0000000106e67698 / illegal hardware instruction rake install_latest
I don't see anything obvious in the crash logs.
As a shot in the dark, could you ask the people that have these troubles to run `gem pristine $gem_name` on all the gems they use? `gem pristine --all` works too, but might take longer.
I...
alanwu (Alan Wu)
05:09 PM Bug #16380 (Third Party's Issue): OSX Segmentation fault at 0x0000000106e67698 / illegal hardware instruction rake install_latest
Since a while we have across our team 4 or 5 developers who run often into "Segmentation fault" on OSX machines when running a rake script.
Problem:
We start the rake task and sometimes it stops with a **Segmentation fault**.
Envi...
tiv (tilman voelker)
06:24 PM Revision 6b460a79 (git): export func for MJIT
ko1 (Koichi Sasada)
06:22 PM Revision f38b6d19 (git): Revert "export for MJIT"
This reverts commit 2e6f1cf8b264f4c8499c4e5f18bf662fdade04ff. ko1 (Koichi Sasada)
06:22 PM Revision e4e41840 (git): Revert "* remove trailing spaces. [ci skip]"
This reverts commit 27d0d7c0d39076d4bbacd3c3f3864322699db7b4. ko1 (Koichi Sasada)
06:18 PM Revision 27d0d7c0 (git): * remove trailing spaces. [ci skip]
git[bot]
06:17 PM Revision 2e6f1cf8 (git): export for MJIT
ko1 (Koichi Sasada)
06:11 PM Revision e5705c35 (git): * 2019-11-29 [ci skip]
git[bot]
06:11 PM Revision d104ebf2 (git): * remove trailing spaces. [ci skip]
git[bot]
06:11 PM Revision dd723771 (git): fastpath for ivar read of FL_EXIVAR objects.
vm_getivar() provides fastpath for T_OBJECT by caching an index
of ivar. This patch also provides fastpath for FL_EXIVAR objects.
FL_EXIVAR objects have an each ivar array and index can be cached
as T_OBJECT. To access this ivar array, g...
ko1 (Koichi Sasada)
04:30 PM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
duerst (Martin Dürst) wrote:
> I personally think that we should be restrictive in adding new methods to `Symbol`. Otherwise, this very quickly becomes a slippery slope, and the distinction between `Symbol` and `String` becomes less and...
naruse (Yui NARUSE)
02:50 PM Feature #16348 (Closed): Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
Applied in changeset commit:git|b5fbefbf2c14742f6d46ecdf3ce712062dfb1d0a.
----------
Added Symbol#start_with? and Symbol#end_with? method. [Feature #16348]
naruse (Yui NARUSE)
09:38 AM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
there is also `symbol[string]` which can be used as replace for Symbol#include? Hanmac (Hans Mackowiak)
09:08 AM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
I am OK with adding `start_with?` and `end_with?`.
I am a bit reluctant with adding `include?` since Symbol does not include any character. Persuade me further if you really need `Symbol#include?`.
Matz.
matz (Yukihiro Matsumoto)
02:49 PM Revision b5fbefbf (git): Added Symbol#start_with? and Symbol#end_with? method. [Feature #16348]
naruse (Yui NARUSE)
02:49 PM Revision 76871dea (git): Use more template feature of w.r-l.o
naruse (Yui NARUSE)
12:45 PM Revision 0b453e2a (git): Get rid of inadvertent label [ci skip]
nobu (Nobuyoshi Nakada)
12:31 PM Revision 2fa3b456 (git): Merged common statements [Bug #16242]
nobu (Nobuyoshi Nakada)
10:57 AM Revision f0a5a07f (git): Removed unused variable [Bug #16242]
nobu (Nobuyoshi Nakada)
10:57 AM Bug #13446 (Closed): refinements with prepend for module has strange behavior
Applied in changeset commit:git|a0579f3606561a74e323f6193b9504c06845236c.
----------
Make prepending a refined module after inclusion not break refinements
After the previous commit, this was still broken. The reason it
was broken is t...
jeremyevans (Jeremy Evans)
10:57 AM Bug #16242 (Closed): Refinements method call to failed
Applied in changeset commit:git|5069c5f5214ce68df8b3954321ad9114c5368dc3.
----------
Honor refinements for modules that prepend other modules
This previously did not work, and the reason it did not work is
that:
1) Refining a module o...
jeremyevans (Jeremy Evans)
10:57 AM Revision a0579f36 (git): Make prepending a refined module after inclusion not break refinements
After the previous commit, this was still broken. The reason it
was broken is that a refined module that hasn't been prepended to
yet keeps the refined methods in the module's method table. When
prepending, the module's method table is m...
jeremyevans (Jeremy Evans)
10:57 AM Revision 5069c5f5 (git): Honor refinements for modules that prepend other modules
This previously did not work, and the reason it did not work is
that:
1) Refining a module or class that prepends other modules places
the refinements in the class itself and not the origin iclass.
2) Inclusion of a module that prep...
jeremyevans (Jeremy Evans)
10:30 AM Feature #16378: Support leading arguments together with ...
matz (Yukihiro Matsumoto) wrote:
> I know trailing `...` can be very useful from C experience. But the primary purpose of Ruby `...` is method delegation. We are not going to extend the role of `...` in the language (at least for now).
...
Eregon (Benoit Daloze)
04:56 AM Feature #16378 (Rejected): Support leading arguments together with ...
I know trailing `...` can be very useful from C experience. But the primary purpose of Ruby `...` is method delegation. We are not going to extend the role of `...` in the language (at least for now).
Matz.
matz (Yukihiro Matsumoto)
10:15 AM Misc #16262: DevelopersMeeting20191128Japan
* [Feature #16379] Backporting ... to Ruby 2.4 - 2.6 and pass_keywords (eregon)
* I'd like to have the opinion of the core team on this.
Eregon (Benoit Daloze)
06:40 AM Misc #16262: DevelopersMeeting20191128Japan
* [Feature #16377] Regexp literals should be frozen (byroot)
* Previous discussion in [Feature #16345]
* Regexp literals always return the same mutable object, it can cause state to leak.
byroot (Jean Boussier)
10:14 AM Feature #16379 (Closed): Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
I've heard quite a few people saying that backporting `...` to Ruby 2.4-2.6 would be a good way to do migration for keyword arguments.
In fact, if we have `...` in Ruby 2.4+, I think `...` could be the way to do 90%+ of delegation in a ...
Eregon (Benoit Daloze)
08:40 AM Feature #16122: Data: simple immutable value object
I like the idea of helpers in https://bugs.ruby-lang.org/issues/16122#note-18.
We need to discuss further the combination of attributes (immutable, enumerable, etc.)
Matz.
matz (Yukihiro Matsumoto)
08:23 AM Feature #4539: Array#zip_with
* The name `zip_with` is too confusing with `zip`. We need a new name.
* The behavior can be described by the combination of `zip` and `map`.
* I am not sure how much we need this behavior (yet).
Matz.
matz (Yukihiro Matsumoto)
08:15 AM Feature #16261 (Rejected): Enumerable#each_splat and Enumerator#splat
As far as I understand, the code with the proposal `[1, 2, 3].zip([4, 5, 6]).each_tuple.map(&:+)` can be written as following with numbered parameters:
```ruby
[1, 2, 3].zip([4, 5, 6]).map{_1 + _2}
```
which is quite plain and sh...
matz (Yukihiro Matsumoto)
06:24 AM Feature #16261: Enumerable#each_splat and Enumerator#splat
I agree this feature would be a nice addition.
Actually I had exactly the same idea, presented at Rails Developer Meetup 2019: https://www.slideshare.net/akinorimushaevolution-of-enumerator (Japanese)
There's a subtle difference be...
knu (Akinori MUSHA)
07:43 AM Feature #16142: Implement code_range in Proc and Method
Note: this is not a final decision:
* Having a method to retrieve the endpoint of a method/proc is OK for me.
* The name of the method should **not** be `code_range`, because the name is confusing.
* Making the return value as a speci...
matz (Yukihiro Matsumoto)
04:46 AM Feature #16142: Implement code_range in Proc and Method
> Maybe we could change #source_location to return a `SourceLocation` and have `SourceLocation#to_a` so `file, line = proc.source_location` would still work?
I've spent some time thinking about this.
I wanted to understand why we h...
ioquatix (Samuel Williams)
07:01 AM Feature #16363: Promote did_you_mean to default gem
Accepted. Go ahead.
Matz.
matz (Yukihiro Matsumoto)
06:37 AM Feature #16377: Regexp literals should be frozen
Apparently it's a duplicate of https://bugs.ruby-lang.org/issues/8948 byroot (Jean Boussier)
06:32 AM Revision 4325f080 (git): Add require "irb" to test/irb/test_completion.rb
aycabta (aycabta .)
06:28 AM Bug #16366: .count on endless range causes infinite loop
`Enumerable#count` should aware of interrupts. Besides this case, `#count` should return `Infinity` (we may need to define `Range#count`).
Matz.
matz (Yukihiro Matsumoto)
06:22 AM Revision 7d75e94e (git): Fix regexp to complete complex literal
IRB completion logic always needed exponential notation for complex literal
such as 3e6i but it's bug. I fixed to support complex literal without
exponential notation such as 3i.
aycabta (aycabta .)
05:44 AM Feature #16345: Don't emit deprecation warnings by default.
By default, it should emit (deprecation) warnings. It's a good idea to have an environment variable option to suppress deprecation warnings.
Matz.
matz (Yukihiro Matsumoto)
05:22 AM Feature #16260: Symbol#to_proc behaves like lambda, but doesn't aknowledge it
https://github.com/ruby/ruby/pull/2708 nobu (Nobuyoshi Nakada)
04:51 AM Feature #16355 (Closed): Raise NoMatchingPatternError when `expr in pat` doesn't match
Applied in changeset commit:git|8b4ee5d6ba92a385eedc9235ce0a2d5618deecf0.
----------
Raise `NoMatchingPatternError` when expr `in` pat doesn't match
* `expr in pattern` should raise `NoMatchingError` when unmatched
* `expr in pattern` ...
nobu (Nobuyoshi Nakada)
04:25 AM Feature #16355: Raise NoMatchingPatternError when `expr in pat` doesn't match
I accept this proposal for two reasons:
* as OP described, returning boolean values from `in` pattern matching masks match failure. This can cause serious problems.
* By this change, we cannot use `in` pattern matching in `if` conditio...
matz (Yukihiro Matsumoto)
04:47 AM Revision 8b4ee5d6 (git): Raise `NoMatchingPatternError` when expr `in` pat doesn't match
* `expr in pattern` should raise `NoMatchingError` when unmatched
* `expr in pattern` should return `nil`. (this is unspecified, but
this feature is experimental, at all)
[Feature #16355]
nobu (Nobuyoshi Nakada)
04:24 AM Revision 18953416 (git): Fix documentation of `MonitorMixin#new_cond` [ci skip] (#2707)
Since https://github.com/ruby/ruby/pull/2576,
`new_cond` uses the Monitor object, not the receiver.
y-yagi (Yuji Yaginuma)
04:19 AM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
It seems OK as the original proposal is same as the current behavior. nobu (Nobuyoshi Nakada)
04:14 AM Feature #16364: Top-level ruby2_keywords
Accepted.
Matz.
matz (Yukihiro Matsumoto)
01:53 AM Revision c6880264 (git): Suppress strict-aliasing warning by x86_64-w64-mingw32-gcc 7.4.0
nobu (Nobuyoshi Nakada)
12:32 AM Revision abe8fb49 (git): Delete newline when C-k on emacs mode at EOL
aycabta (aycabta .)

11/27/2019

11:34 PM Feature #16345: Don't emit deprecation warnings by default.
The above also shows we should avoid multiple calls to rb_warn* for a single logical warning.
E.g., `warning: The last argument is used as the keyword parameter` and `warning: for method defined here` should be part of a single (multi-l...
Eregon (Benoit Daloze)
11:30 PM Feature #16345: Don't emit deprecation warnings by default.
It's actually only 130 unique warnings:
```
$ wc -l run.txt
2439 run.txt
$ grep -v 'Setting up parallel test mode - starting' run.txt > run2.txt
$ wc -l run2.txt
2408 run2.txt
$ cat run2.txt | sort | uniq | wc -l
130
```
This ...
Eregon (Benoit Daloze)
11:13 PM Feature #16345: Don't emit deprecation warnings by default.
I tried Jeremy's patch results are here of running Discourse `bin/turbo_rspec` it runs our test suite using 16 threads on my computer.
2440 warning for every test run, suffice to say at Discourse we will absolutely turn warnings of...
sam.saffron (Sam Saffron)
10:54 PM Feature #16345: Don't emit deprecation warnings by default.
jeremyevans0 (Jeremy Evans) wrote:
> > However there are several situations that
> ...
Of course, we can enable deprecation warnings for
pry and other test libraries.
akr (Akira Tanaka)
08:29 PM Feature #16345: Don't emit deprecation warnings by default.
sam.saffron (Sam Saffron) wrote:
> Even with @Eregon's proposed patch running our test suite with warnings is unusable cause of pages of:
Do you mean @mame's PR from #16289, that is https://github.com/ruby/ruby/pull/2458 ?
Could ...
Eregon (Benoit Daloze)
06:20 PM Feature #16345: Don't emit deprecation warnings by default.
sam.saffron (Sam Saffron) wrote:
> I agree 100% with akr here.
> ...
Note that the vast majority of the warnings listed are not keyword argument separation warnings, they are safe level and String#match? warnings. I think the patch yo...
jeremyevans0 (Jeremy Evans)
02:01 PM Feature #16345: Don't emit deprecation warnings by default.
When we consider the default verbosity of warnings, we should care about the "audience" of the warnings.
In the previous developers' meeting, the default warnings should target server operators (such as a SRE team) as a primary audien...
mame (Yusuke Endoh)
07:20 AM Feature #16345: Don't emit deprecation warnings by default.
I agree 100% with akr here.
Even with @Eregon's proposed patch running our test suite with warnings is unusable cause of pages of:
```
/home/sam/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/ffi-1.10.0/lib/ffi/pointer.rb:97:...
sam.saffron (Sam Saffron)
11:26 PM Revision 7769975c (git): Remove two removed constants
aycabta (aycabta .)
11:19 PM Revision 2d0a1a18 (git): Fix ghost method line no
aycabta (aycabta .)
11:13 PM Revision f9debf34 (git): Update documentation for ruby2_keywords [ci skip]
jeremyevans (Jeremy Evans)
08:32 PM Revision 416cccc6 (git): Drop windows-2016 on GitHub Actions
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners#windows-server-2016
> Note: The Windows Server 2016 virtual environment will be removed on December 3, 2019.
znz (Kazuhiro NISHIYAMA)
06:05 PM Feature #16260: Symbol#to_proc behaves like lambda, but doesn't aknowledge it
I think we should just return true for `lambda?`.
Proc has extra confusing behavior, e.g., #16166.
Eregon (Benoit Daloze)
06:03 PM Revision cdcaf041 (git): * 2019-11-28 [ci skip]
git[bot]
06:03 PM Revision 299a1361 (git): Don't modify rest array when using ruby2_keywords
Previously, the rest array was modified, but it turns out that is
not necessary. Not modifying the rest array fixes cases when the
rest array is used more than once.
jeremyevans (Jeremy Evans)
05:55 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
@sawa wrote this in the dev-meeting ticket:
> Unintended arity. This must be fixed in an earlier stage before Ruby 3.
I think matz conclusion is all behavior shown in this bug so far is intended, except for `*foo, **bar`.
@Dan0042...
Eregon (Benoit Daloze)
05:42 PM Feature #16142: Implement code_range in Proc and Method
Maybe we could change #source_location to return a `SourceLocation` and have `SourceLocation#to_a` so `file, line = proc.source_location` would still work? Eregon (Benoit Daloze)
04:57 PM Feature #16378: Support leading arguments together with ...
Also I believe `...` could be a good way to do delegation in all versions for lexical cases (the majority):
```ruby
# Could be some constant in a gem
ARGS = RUBY_VERSION < "2.7" ? "*args, &block" : "..."
class_eval <<RUBY
def meth...
Eregon (Benoit Daloze)
04:50 PM Feature #16378 (Closed): Support leading arguments together with ...
I think this is very important, otherwise `...` can be used only very rarely.
For instance, `method_missing` typically want to access the method name like:
```ruby
def method_missing(name, ...)
if name.to_s.end_with?('?')
se...
Eregon (Benoit Daloze)
04:51 PM Feature #16253: Shorthand "forward everything" syntax
I filed #16378 for supporting leading arguments with `...`. Eregon (Benoit Daloze)
04:45 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
@mame's measurements:
```ruby
def req(x)
x
end
hash = {a: 1}
arr = [hash]
100000000.times { req(*arr) }
```
gives
```
$ time ./miniruby.check bench.rb
real 0m5.726s
user 0m5.689s
sys 0m0.025s
$ time ./miniruby.nocheck b...
Eregon (Benoit Daloze)
04:19 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> ...
After discussion with you and @mame , it appears my benchmarking was flawed and the performance difference is closer to your measurements.
> Your original diff...
jeremyevans0 (Jeremy Evans)
03:59 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
jeremyevans0 (Jeremy Evans) wrote:
> Do all non-`ruby2_keywords` tests still pass with that? If so, what are the benchmark results with the patch?
Yes, all specs pass and test-all has just 2 expected failures:
```
1) Failure:
T...
Eregon (Benoit Daloze)
03:49 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
jeremyevans0 (Jeremy Evans) wrote:
> There are a ton of other changes in 2.7 that could affect performance besides `ruby2_keywords`.
Any specific guess?
> ...
Your original diff kept quite a lot more complicated code in `setup_par...
Eregon (Benoit Daloze)
03:38 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
Eregon (Benoit Daloze) wrote:
> https://github.com/ruby/ruby/compare/master...eregon:no-ruby2_keywords is a more extensive removal of `ruby2_keywords`, although not complete yet.
> ...
With that change applied I could see a slowdown of...
Eregon (Benoit Daloze)
04:10 PM Feature #16375: Right size regular expression compile buffers for literal regexes and on Regexp#freeze
shevegen (Robert A. Heiler) wrote:
> > Would any further incremental work towards this be considered worthwhile from a
> ...
Yes this isn't focused on speed, but more so on being careful with auxiliary memory buffers and inferring wher...
methodmissing (Lourens Naudé)
02:43 AM Feature #16375: Right size regular expression compile buffers for literal regexes and on Regexp#freeze
> Would any further incremental work towards this be considered worthwhile from a
> ...
I can not answer for the ruby-core team, or anyone else, but matz has the motto of
3x3 for ruby 3.0 which is destined for next year.
Some time a...
shevegen (Robert A. Heiler)
01:01 AM Feature #16375 (Closed): Right size regular expression compile buffers for literal regexes and on Regexp#freeze
References PR https://github.com/ruby/ruby/pull/2696
As a continuation of [type specific resize on freeze implementations of String and Array](https://bugs.ruby-lang.org/issues/16291) and looking into the `Regexp` type I found these m...
methodmissing (Lourens Naudé)
03:38 PM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
Attached is a patch that adds `Zlib::GzipReader.each_file` will which handle multiple concatenated gzip streams in the same file, similar to common tools that operate on `.gz` files. `Zlib::GzipReader.each_file` yields one `Zlib::GzipRe... jeremyevans0 (Jeremy Evans)
03:25 PM Feature #16364: Top-level ruby2_keywords
I'm in favor of adding top level `ruby2_keywords`. jeremyevans0 (Jeremy Evans)
01:42 PM Feature #16364: Top-level ruby2_keywords
Makes sense to me, and agreed it's going to be a lot less confusing with it.
I'm not particularly for `ruby2_keywords` in general, but if we have `Module#ruby2_keywords` then I agree `main.ruby2_keywords` makes sense.
Eregon (Benoit Daloze)
02:02 PM Feature #16372 (Rejected): Allow pattern matching to bind instance variables
Extending pattern variables to non-local variables would make pattern-matching more complex and confusing. I reject the idea (at least for now). There might be a chance to make pinned variables (`^a`) to pinned expression in the future.
...
matz (Yukihiro Matsumoto)
05:15 AM Feature #16372: Allow pattern matching to bind instance variables
shevegen (Robert A. Heiler) wrote:
> If I understood you correctly then the suggestion is to allow both local and
> ...
Yes, correct. And people might want to use @@variables and $variables too (I rarely use them, though) .
jnchito (Junichi Ito)
01:55 PM Feature #16370: Pattern matching with variable assignment (the priority of `in` operator)
We have discussed about in-line pattern matching and made a decision that it should cause an exception instead of returning false. So this issue will disappear.
We might need to talk about the precedence for e.g. `a = n in 99 rescue n...
matz (Yukihiro Matsumoto)
12:49 PM Misc #16262: DevelopersMeeting20191128Japan
Ugh, forgot one
* [Misc #16260] Symbol#to_proc behaves like lambda, but doesn't aknowledge it *(the title says it all)*
zverok (Victor Shepelev)
11:58 AM Misc #16262: DevelopersMeeting20191128Japan
* [Feature #15605] json library needs more frequent releases
* Should we bump the json version to 2.2.1?
hsbt (Hiroshi SHIBATA)
01:06 AM Misc #16262: DevelopersMeeting20191128Japan
* [Misc #16375] Right size regular expression compile buffers for literal regexes and on Regexp#freeze (lourens)
* Builds on Misc #16291 , I think there's potential to apply this pattern to other types at hooks outlined at the end of ...
methodmissing (Lourens Naudé)
12:38 PM Revision 6f27fa4f (git): prefer class_serial over m_tbl
Decades ago, among all the data that a class has, its method
table was no doubt the most frequently accessed data. Previous
data structures were based on that assumption.
Today that is no longer true. The most frequently accessed fiel...
shyouhei (Shyouhei Urabe)
11:43 AM Feature #15605 (Assigned): json library needs more frequent releases
I submit the backport changes from ruby core to flori/json at https://github.com/flori/json/pull/388
We need to bump version to ruby repository like 2.2.1 because the same version of flori/json and ruby core confuse ruby users.
I h...
hsbt (Hiroshi SHIBATA)
11:43 AM Feature #16377 (Closed): Regexp literals should be frozen
The following script:
```ruby
def mutate
re = /foo/
state = re.instance_variable_get(:@state)
re.instance_variable_set(:@state, state.to_i + 1)
state
end
3.times do
p mutate
end
```
Output this:
```
nil
1...
byroot (Jean Boussier)
05:32 AM Feature #16373: RDoc for some of the Kernel methods cannot be found in Kernel module
I'd like to share the context. `ri` is not the true problem to me.
I'm working to import the RDoc documentation to RBS files. (https://github.com/ruby/ruby-signature/pull/84) I believe having documentations in RBS makes sense, at leas...
soutaro (Soutaro Matsumoto)
03:47 AM Bug #16376 (Closed): Stack-buffer-overflow in renumber_by_map in regcomp.c
I found this bug in ruby regex engine. I also reported this issue to Onigmo(https://github.com/k-takata/Onigmo/issues/144).
I reported this to [email protected], but there has been no reply for more than 2 weeks. So I decide to rep...
manhndd (Mạnh Nguyễn Đức)
03:06 AM Bug #16371: Inconsistent usage of Double splat operator
matz, the following is the current behaviors. Do you mean which should be fixed?
(1) 2.7, via variable
```
b = {"b" => "b"}; p({x: "x", **b}) #=> current behavior: {:x=>"x", "b"=>"b"}
```
(2) 2.6, via variable
```
b = {"b...
mame (Yusuke Endoh)
01:35 AM Bug #16371: Inconsistent usage of Double splat operator
I think this inconsistency is a bug. Double splat in hash expressions needs to work as interpolation.
Matz.
matz (Yukihiro Matsumoto)
 

Also available in: Atom