Project

General

Profile

Activity

From 03/08/2020 to 03/14/2020

03/14/2020

11:46 AM Misc #16661: DevelopersMeeting20200316Japan
Sorry to miss the deadline as well, I only noticed now the update on #16463 since there was no comment there. Eregon (Benoit Daloze)
11:46 AM Misc #16661: DevelopersMeeting20200316Japan
* [Bug #16466] `*args -> *args` delegation should be warned when the last hash has a `ruby2_keywords` flag (eregon)
...
Eregon (Benoit Daloze)
11:43 AM Bug #16466: `*args -> *args` delegation should be warned when the last hash has a `ruby2_keywords` flag
What about this ticket?
Such code will simply break in Ruby 3 if we don't warn so I don't think there is much of a c...
Eregon (Benoit Daloze)
11:32 AM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
From the [meeting log](https://docs.google.com/document/d/1IqCMl27w7KYeCpke6-dCfPV3TLfP2ObnDDw5TNOelsc):
Discussio...
Eregon (Benoit Daloze)
11:27 AM Revision b3fabedc (git): * 2020-03-14 [ci skip]
git[bot]
11:24 AM Bug #16642: Splatted empty hash literal produces frozen hash object
ruby_2_7 commit:7804720c631d309b2f19457e703ecfb47a59589f. naruse (Yui NARUSE)
11:21 AM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
What's the failure? Eregon (Benoit Daloze)
06:39 AM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
Just merging 28d31ead34baff1c4abc0d7d902ef4bc1d576fb2 into ruby_2_7 causes test failure naruse (Yui NARUSE)
11:19 AM Bug #16619: Error message of "x = return 1" is doubled
ruby_2_7 eabf35a5d298c68f45dc600477fc586d7b868788. naruse (Yui NARUSE)
11:18 AM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
ruby_2_7 0d24fb774d84d4a99454ce10fd343da00049a588. naruse (Yui NARUSE)
11:08 AM Bug #13724: make install does not install bundled gems
Fixed by https://github.com/ruby/ruby/pull/2951 Eregon (Benoit Daloze)
09:17 AM Revision 66619455 (git): * 2020-03-14 [ci skip]
git[bot]
09:16 AM Revision 459670d4 (git): Fix bundled gems installation on a fresh clone
deivid (David Rodríguez)
09:16 AM Revision 956e220a (git): Use new `prepare-gems` target when possible
deivid (David Rodríguez)
07:32 AM Revision e7555d46 (git): Drop MinGW build from AppVeyor
in favor of #2791
(cherry picked from commit b00418732c89ce42c1c4cef57d08344659fbdd2b)
k0kubun (Takashi Kokubun)
07:15 AM Revision 0d24fb77 (git): Don't display singleton class in Method#inspect unless method defined there
Previously, if an object has a singleton class, and you call
Object#method on the object, the resulting string would ...
jeremyevans (Jeremy Evans)
07:12 AM Revision eabf35a5 (git): Fixed duplicated warning
As `command_rhs` is always a "value expression", `command_asgn`
does not need the same check. [Bug #16619]
(cherry p...
nobu (Nobuyoshi Nakada)
07:01 AM Bug #16649: Object with [] method doesn't work as String#encode's fallback
ruby_2_7 fa48a26d886d86469a0075d91d152252e9fc0c8c. naruse (Yui NARUSE)
07:00 AM Revision fa48a26d (git): Fixed symbol misused as ID
`rb_funcallv_public` and `rb_respond_to` require an `ID`, not a
`Symbol`. [Bug #16649]
(cherry picked from commit 8...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #16689: [BUG] try to mark T_NONE object
I bisected it to this commit:
```
commit 21994b7fd686f263544fcac1616ecf3189fb78b3
Avoid rehashing keys in transform_...
alanwu (Alan Wu)

03/13/2020

08:26 PM Feature #16665: Add an Array#except_index method
Dan0042 (Daniel DeLorme) wrote in #note-9:
> That implementation would return an empty array for `[true,nil,nil].exc...
alex_golubenko (Alex Golubenko)
02:30 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
ruby_2_7 e85d49e4a91a3ca007468a23d8568f7f886e7e5b. naruse (Yui NARUSE)
02:28 PM Bug #16639: ARGF.each_line(chomp: true) cannot call without warning
ruby_2_7 3e7e1b965b06f3c843972d7e2f6e3d040374d67f. naruse (Yui NARUSE)
02:27 PM Revision 3e7e1b96 (git): Pass keyword arguments to IOs properly [Bug #16639]
(cherry picked from commit 041c2932e336b509b0ddc1fdbd9f160bce8d4893) nobu (Nobuyoshi Nakada)
02:27 PM Bug #16689: [BUG] try to mark T_NONE object
The repro also crashes on a [recent master](https://github.com/ruby/ruby/commit/de15a26e9e297c9cc3171b1d40ef7776ca583... alanwu (Alan Wu)
02:26 PM Bug #16634: DRb remote method call with keyword argument occurs warning message of deprecated on Ruby 2.7.0, and fails on Ruby 2.8.0dev
ruby_2_7 2339be74e737b4c5f5330f845af2e7db0c7450e1. naruse (Yui NARUSE)
02:26 PM Bug #16607: retried require does not raise Exception even if a library has SyntaxError
ruby_2_7 c7e0ce67430b5e312eb626a2c2f4b6a810b3b68b. naruse (Yui NARUSE)
02:26 PM Bug #16681: Backport commit related libffi url
ruby_2_7 6a2d779027818eda418c9118f700b36816e833a5. naruse (Yui NARUSE)
02:26 PM Bug #16509: puts from a thread seem to be missing linefeed when run in ruby 2.7.0 console
ruby_2_7 60d98fad86da1ada204c53789431ac0f5f3390ff. naruse (Yui NARUSE)
02:09 PM Misc #16661: DevelopersMeeting20200316Japan
Sorry for adding tickets past the deadline, but I believe these 3 bugs warrant being addressed in the upcoming 2.7.1 ... byroot (Jean Boussier)
02:08 PM Misc #16661: DevelopersMeeting20200316Japan
* [Bug #16689] [BUG] try to mark T_NONE object (byroot)
* Cause Ruby to crash when the heap gets past a certain si...
byroot (Jean Boussier)
01:38 PM Revision 2339be74 (git): lib/drb/drb.rb: Use ruby2_keywords for keyword separation
[Bug #16634]
(cherry picked from commit fb472ca7adbaceb35aae1b3a6b948720ffc9eb53)
mame (Yusuke Endoh)
01:34 PM Revision c7e0ce67 (git): Add the loaded feature after no exception raised
Retrying after rescued `require` should try to load the same
library again. [Bug #16607]
(cherry picked from commit...
nobu (Nobuyoshi Nakada)
01:31 PM Revision 7518b4e9 (git): fix the order of definition
naruse (Yui NARUSE)
01:27 PM Revision de15a26e (git): tool/redmine-backporter.rb: fix typo
naruse (Yui NARUSE)
01:23 PM Revision fcaa00e5 (git): Use osuosl instead of GitHub releases
Because the package provided by GitHub releases is different from sourceware.
(cherry picked from commit 47a1872cd8b...
hsbt (Hiroshi SHIBATA)
01:23 PM Revision 6a2d7790 (git): Switch to download libffi source package to github releases from sourceware.org
[Bug #16681]
(cherry picked from commit 86022167461dc90b70164e2bb23316959bbfd6ba)
hsbt (Hiroshi SHIBATA)
01:10 PM Revision 60d98fad (git): [ruby/io-console] Set `OPOST` when `intr` is true
To enable implementation-defined output processing, for the
compatibility with readline. [Bug #16509]
https://bugs....
nobu (Nobuyoshi Nakada)
01:08 PM Revision 9f504bb4 (git): Separate objspace argument for rb_gc_disable and rb_gc_enable
(cherry picked from commit aeaf0dc55595b8a5bfdd92007fb85ef13855c632) nobu (Nobuyoshi Nakada)
12:53 PM Bug #16596: racc does not install grammar.en.rdoc
ruby_2_7 047dfbdf69e1a300109c729c66b6a761032402dd. naruse (Yui NARUSE)
12:53 PM Revision 047dfbdf (git): Skip empty directories to install [Bug #16596]
(cherry picked from commit 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d) nobu (Nobuyoshi Nakada)
12:51 PM Revision 5bdbee96 (git): Squashed commit of the following: [Backport #16516]
commit c98c492578d898dc07a04b8240d8d5b1508ffafa
Author: Nobuyoshi Nakada <[email protected]>
Date: Fri Jan 17 16:5...
naruse (Yui NARUSE)
12:51 PM Revision a9284ecb (git): Disable GC until VM objects get initialized [Bug #16616]
nobu (Nobuyoshi Nakada)
12:51 PM Revision 215eb86a (git): Increase the frozen_strings table initial size
It was set to 1000 in a4a2b9be7a55bb61d17cf9673ed0d2a93bb52d31.
However on ruby-2.7.0p0, there are much more than 1k...
byroot (Jean Boussier)
12:48 PM Bug #16516: [BACKPORT] AST locations with numbered parameter
ruby_2_7 d5c84cf9769101eb14e379330e5b211a568bf020. naruse (Yui NARUSE)
12:40 PM Bug #16514: Documentation mistake for method syntax (splat/array parameter)
ruby_2_7 3c93ed59773ca547239850d16f06451afbb0aeec. naruse (Yui NARUSE)
12:38 PM Bug #16616: Large RUBY_THREAD_VM_STACK_SIZE causes segmentation fault
ruby_2_7 1ead0268811c230897f32c5dbf58511000e8d6c6. naruse (Yui NARUSE)
12:32 PM Revision 8a54630a (git): * 2020-03-13 [ci skip]
git[bot]
12:31 PM Revision 3c93ed59 (git): Update documentation for Array/Hash Argument section of methods.rdoc
[Bug #16514] adamisom (Adam Isom)
12:27 PM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
ruby_2_7 9820f9ee0aaccd78e6e0489e8915d3925c6ee97c. naruse (Yui NARUSE)
12:27 PM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
ruby_2_7 a930174d798b58ee10493bf192d277ffe08518a7. naruse (Yui NARUSE)
12:26 PM Bug #16624: Backport de3883e7823c89ce90d7661ef5bb3b7eb60968db
ruby_2_7 95ab9cd8f453099d7649dc0e0eec55ea891340f5 [Backport #16624]. naruse (Yui NARUSE)
12:24 PM Bug #16598: Backport af899503 to ruby_2_7
ruby_2_7 716e05b82338d75452e86c999ae3e5874a642ecd [Backport #16598]. naruse (Yui NARUSE)
12:23 PM Bug #16406: `(lambda_proc << normal_proc).lambda?` should return false
ruby_2_7 52bb32d6b71365cb24273de3eed5a712206815f3 [Backport #16406]. naruse (Yui NARUSE)
12:16 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
ruby_2_7 8e8841f6bf58031a1fe5b0dbacb5a1fb442102df. naruse (Yui NARUSE)
09:19 AM Bug #16677 (Closed): Negative integer powered (**) to a float number results in a complex
I vote for keeping precedence, for compatibility's sake. All other things (e.g. consistency between languages) are tr... matz (Yukihiro Matsumoto)
06:34 AM Revision 88f4ebac (git): Update and extract for each gem
nobu (Nobuyoshi Nakada)
05:51 AM Revision 0cd7be99 (git): Avoid referring to an old value of realloc
OpenBSD RubyCI has failed with SEGV since 4bcd5981e80d3e1852c8723741a0069779464128.
https://rubyci.org/logs/rubyci.s3...
k0kubun (Takashi Kokubun)
05:23 AM Revision 43e18c68 (git): Mark all cc_entries associated to compiled_iseq
k0kubun (Takashi Kokubun)
05:21 AM Revision 8562bfd1 (git): Move code to mark jit_unit's cc_entries to mjit.c
k0kubun (Takashi Kokubun)
04:34 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
wolframalpha.com
```
-2**4 =
-16
```
```
-2^4 =
-16
```
sawa (Tsuyoshi Sawada)
01:43 AM Revision a90117c8 (git): Skip test_abort_tls with --jit-wait for now
Perhaps the server blocks for an unexpectedly long time by waiting for
JIT. As it's usually passing, I don't think it...
k0kubun (Takashi Kokubun)

03/12/2020

11:36 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
Dan0042 (Daniel DeLorme) wrote in #note-14:
> But a quick search in gems shows things like `Time.at(-2**63)` where i...
mame (Yusuke Endoh)
06:04 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
In math exponentation is expressed as superscript; there's no exponentation "operator" per se, afaik. So `-2²` is `-(... Dan0042 (Daniel DeLorme)
06:30 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
As far as I know there is no strictly correct math rule for evaluating `-2 ** 2.2` to `-(2 ** 2.2)` or `(-2) ** 2.2`.... Anonymous
01:14 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
> I also expect `(-2) ** 2.2` rather than `-(2 ** 2.2)`.
Sorry, I reversed each of them. I expect the current beh...
mrkn (Kenta Murata)
12:50 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
I also expect `(-2) ** 2.2` rather than `-(2 ** 2.2)`.
How you think, @matz?
mrkn (Kenta Murata)
10:45 PM Revision 00dc8c02 (git): Correctly detect whether strict alignment is needed on OpenBSD
From Stefan Sperling <[email protected]> jeremyevans (Jeremy Evans)
03:27 PM Revision 768bd6e5 (git): * 2020-03-13 [ci skip]
git[bot]
03:27 PM Revision 46f4cfb1 (git): `update-gems` should wait for `update-bundled_gems`
nobu (Nobuyoshi Nakada)
01:58 PM Revision 289bdb64 (git): Add prepare-gems to download and extract bundled gems
nobu (Nobuyoshi Nakada)
01:03 PM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
I have a potential fix for this issue: https://github.com/ruby/ruby/pull/2960
byroot (Jean Boussier)
10:17 AM Revision de10631d (git): Add workaround for test-bundler failure
https://github.com/ruby/actions/runs/500526558?check_suite_focus=true#step:16:127
```
Failures:
1) Bundler.setup w...
znz (Kazuhiro NISHIYAMA)
08:26 AM Revision 83e9d6b3 (git): Pass keyword argument by RB_PASS_KEYWORDS
To pass `false` as `freeze:` keyword argument, `kw_splat` argument
should be true. Also `rb_keyword_given_p()` shoul...
nobu (Nobuyoshi Nakada)
06:33 AM Revision 74c398b8 (git): * 2020-03-12 [ci skip]
git[bot]
06:30 AM Revision c6633f21 (git): Update some syslog tests to absurb the format change of FreeBSD syslog
FreeBSD
```
$ ruby -rsyslog -e 'Syslog.open("rubyspec", Syslog::LOG_PERROR) {|s| s.log(Syslog::LOG_ALERT, "Hello") }...
mame (Yusuke Endoh)
12:38 AM Misc #16661: DevelopersMeeting20200316Japan
It seems there is a few tickets, so I'll show the current guild progress and spec.
I'll prepare something to discuss...
ko1 (Koichi Sasada)

03/11/2020

11:47 PM Feature #16688: Allow #to_path object as argument to system()
+1, this would be useful and the lack of it caused a few bugs when moving some code to using `Pathname`. Eregon (Benoit Daloze)
08:29 PM Feature #16688: Allow #to_path object as argument to system()
I do not have a strong opinion either way; I myself sort of just use `Dir[]`
rather than `Pathname` (I just love `Dir...
shevegen (Robert A. Heiler)
05:38 PM Feature #16688: Allow #to_path object as argument to system()
I don't know the downsides, just that `Pathname#to_str` was specifically _removed_ 10 years ago: #1970
So I imagine ...
Dan0042 (Daniel DeLorme)
05:01 PM Feature #16688: Allow #to_path object as argument to system()
I always wondered, why `Pathname` doesn't define `to_str`?.. It seems to be a perfectly suitable option: implicit con... zverok (Victor Shepelev)
03:23 PM Feature #16688 (Open): Allow #to_path object as argument to system()
I often work with Pathname objects, but when passing them to a system command I find it a bit tedious that they have ... Dan0042 (Daniel DeLorme)
10:02 PM Bug #16690: [BUG] Set of sets: containing set no longer believes member set is a member after mutating its member set
That's explained in the documentation of the class: https://ruby-doc.org/stdlib-2.7.0/libdoc/set/rdoc/Set.html
> S...
byroot (Jean Boussier)
08:10 PM Bug #16690 (Rejected): [BUG] Set of sets: containing set no longer believes member set is a member after mutating its member set
Please correct me if I'm wrong but I expected that when mutating a member set of a containing set, that that mutated ... keithyjohnson (Keith Johnson)
04:27 PM Bug #16682 (Closed): Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
jeremyevans0 (Jeremy Evans)
04:16 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
I now think the TracePoint issue is a red herring, I figured a way to reproduce what I think is the underlying root c... byroot (Jean Boussier)
10:36 AM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
So I just tried your patch, it does indeed fix my reproduction script, however It doesn't fix the other crashes I rep... byroot (Jean Boussier)
01:05 AM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
It looks like [0c2d81da](https://github.com/ruby/ruby/commit/0c2d81dada88b5a3946c3162187df4223bfe6b4f) introduced thi... alanwu (Alan Wu)
04:05 PM Bug #16689 (Closed): [BUG] try to mark T_NONE object
This kinds of superseeds https://bugs.ruby-lang.org/issues/16682. I'm now able to trigger what I believe to be the tr... byroot (Jean Boussier)
01:27 PM Bug #16687 (Closed): Ripper.slice FrozenError in ruby 2.5
Trying the example from the Ripper.slice documentation:
```ruby
require 'ripper'
p Ripper.slice('def m(a) nil en...
Dan0042 (Daniel DeLorme)
10:47 AM Feature #16684: Use the word "to" instead of "from" in backtrace
I'm negative, I think `to` doesn't read well in this context.
They are still stack entries, coming *from* some file,...
Eregon (Benoit Daloze)
01:01 AM Feature #16684: Use the word "to" instead of "from" in backtrace
I do not necessarily have a strong preference between "to" and "from". I am not a
native english speaker either; may...
shevegen (Robert A. Heiler)
09:13 AM Revision f020d340 (git): parse.y: hoisted out new_nil_at
new_nil_at: create NEW_NIL node with zero-width location. nobu (Nobuyoshi Nakada)
09:13 AM Revision 276859e0 (git): parse.y: unified kwrest and no-kwrest
nobu (Nobuyoshi Nakada)
07:59 AM Revision da4b97a0 (git): Pin and inline cme in JIT-ed method calls
```
$ benchmark-driver benchmark.yml -v --rbenv 'before --jit;after --jit' --repeat-count=12 --output=all
before --ji...
k0kubun (Takashi Kokubun)
07:43 AM Revision e89ebdcb (git): Fix typos (#2958)
* Fix a typo
* Fix typos in st.[ch]
k_takata (Ken Takata)
06:29 AM Revision 9511b4c8 (git): Optimize away call data refs in JIT-ed method calls
According to ko1, `cd->cc != cc` was for GC.compact guard.
As we pin cc by rb_gc_mark(), we don't need the check.
``...
k0kubun (Takashi Kokubun)
05:36 AM Revision da694875 (git): Fix an example committed to a wrong place [ci skip]
k0kubun (Takashi Kokubun)
05:29 AM Revision de4999ef (git): Try to correct grammer of the NEWS entry [ci skip]
k0kubun (Takashi Kokubun)
05:26 AM Feature #16686 (Closed): Let Net::HTTP.get take request headers
Applied in changeset commit:git|e0512b29aa47d4b79a27b0c0356bf47ec9b4e072.
----------
Let Net::HTTP.get take request ...
k0kubun (Takashi Kokubun)
04:57 AM Feature #16686 (Closed): Let Net::HTTP.get take request headers
When we need to write a script requesting an HTTP API with GET method which requires authentication by a request head... k0kubun (Takashi Kokubun)
05:26 AM Revision e0512b29 (git): Let Net::HTTP.get take request headers (#2957)
* Let Net::HTTP.get take request headers
* Add more test cases for no header usages
* Add examples with request hea...
k0kubun (Takashi Kokubun)
02:09 AM Feature #3647: Array#sample(n, replace=false)
https://github.com/ruby/ruby/pull/2956 nobu (Nobuyoshi Nakada)

03/10/2020

09:41 PM Bug #16685 (Closed): IRB auto indent does not work for single-line method definitions
IRB auto indent does not work correctly for single line method definitions within a class. It ends up like this:
`...
sawa (Tsuyoshi Sawada)
08:20 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
Yeah, it looks like we've just got some very sloppy code as I dig into it more. lamont (Lamont Granquist)
08:20 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
So I've built a new ruby with that dumb patch:
```
diff --git a/vm_trace.c b/vm_trace.c
index 9a604814c6..dd5a44...
byroot (Jean Boussier)
04:41 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
> A cleaner workaround (and yes I agree this doesn't fix the segfault) would be to define a finalizer on the tracepoi... byroot (Jean Boussier)
04:32 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
byroot (Jean Boussier) wrote in #note-6:
> ko1 (Koichi Sasada) wrote in #note-5:
> > how about to disable this TP?
...
methodmissing (Lourens Naudé)
04:14 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
ko1 (Koichi Sasada) wrote in #note-5:
> how about to disable this TP?
`at_exit { tracepoint.disable }` indeed pre...
byroot (Jean Boussier)
03:29 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
how about to disable this TP? ko1 (Koichi Sasada)
05:55 PM Bug #16669 (Closed): Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
Applied in changeset commit:git|2943ff9d4441485a18773aa745bab7f47767dde2.
----------
fix bug on method cache invalid...
ko1 (Koichi Sasada)
05:55 PM Revision 12009fb3 (git): * 2020-03-11 [ci skip]
git[bot]
05:55 PM Revision d05455d0 (git): fix type cast
ko1 (Koichi Sasada)
05:50 PM Revision 2943ff9d (git): fix bug on method cache invalidation.
To invalidate cached method entry, existing method entry (ment)
is marked as invalidated and replace with copied ment...
ko1 (Koichi Sasada)
05:50 PM Revision ec78b8b6 (git): show method entry with iseq details
ko1 (Koichi Sasada)
05:50 PM Revision d9135743 (git): add debug method RubyVM::mtbl2 (disabled)
ko1 (Koichi Sasada)
04:00 PM Feature #16684 (Open): Use the word "to" instead of "from" in backtrace
The most-recent-call-last order of backtrace introduced by #8661:
```ruby
def a; raise end
def b; a end
def c; ...
sawa (Tsuyoshi Sawada)
03:53 PM Feature #16597: missing poll()
Additional patches:
- Do no throw exception form poll() because it can tell the user which exact descriptor is bad ...
michals (Michal Suchánek)
01:20 PM Revision bf9abc47 (git): Use URL instead of relative path
znz (Kazuhiro NISHIYAMA)
01:18 PM Revision 21039d9c (git): Add link to ../benchmark/README.md from make_cheatsheet [ci skip]
znz (Kazuhiro NISHIYAMA)
12:47 PM Revision 2fd779fc (git): Added version guard for OpenSSL::Config
nobu (Nobuyoshi Nakada)
11:41 AM Revision 617e7ee0 (git): r66845 introduced mixed declarations and code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:18 AM Feature #3647: Array#sample(n, replace=false)
`Array#repeated_combination`, `Array#repeated_permutation` が既にあり、本件はこれと類似した内容なので、一貫性の観点から `Array#repeated_sample` という... sawa (Tsuyoshi Sawada)
04:58 AM Feature #3647: Array#sample(n, replace=false)
https://github.com/ruby/ruby/pull/2955
The option name is `replace` for now.
nobu (Nobuyoshi Nakada)
08:41 AM Revision e4a26cd4 (git): openssl: sync with upstream repository
Import current master (2c43241dc0ed) of ruby/openssl.git.
Below are the commits that were made since the last batch ...
rhenium (Kazuki Yamaguchi)
08:41 AM Revision 61cfd6da (git): tool/sync_default_gems.rb: update paths for openssl
Now ruby/openssl has a different directory structure. The test suite is
moved from /test/test_* to /test/openssl/test_*.
rhenium (Kazuki Yamaguchi)
08:41 AM Revision 28f3e038 (git): digest: do not depend on ext/openssl/deprecation.rb
ext/openssl/deprecation.rb has been removed in ext/openssl upstream[1].
It was originally introduced to detect and p...
rhenium (Kazuki Yamaguchi)
08:33 AM Revision aa3a7d6d (git): Remove an unnecessary TODO comment
Fixing https://github.com/ruby/ruby/blob/4bcd5981e80d3e1852c8723741a0069779464128/mjit.c#L338
should be the right sol...
k0kubun (Takashi Kokubun)
07:53 AM Revision 4bcd5981 (git): Capture inlined iseq's cc entries in root iseq's
jit_unit to avoid marking wrong cc entries when inlined iseq is compiled
multiple times, resolving the TODO added by ...
k0kubun (Takashi Kokubun)
05:39 AM Revision 4015f27a (git): Drop direct Slack notification from CIs
All Slack alerts have been migrated to a bot made by mame-san k0kubun (Takashi Kokubun)
03:57 AM Revision bba2b709 (git): RDoc markdown parser needs explicit code block or more indents [ci skip]
nobu (Nobuyoshi Nakada)
03:43 AM Revision 384feb6c (git): Added link to the ticket [ci skip]
nobu (Nobuyoshi Nakada)
02:43 AM Bug #13962 (Closed): Change http://unicode.org to https
Resolved at https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/544ebc669b6b15c730d21053cc1b2f61... hsbt (Hiroshi SHIBATA)

03/09/2020

11:47 PM Bug #16683 (Closed): Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
lamont (Lamont Granquist) wrote in #note-2:
> on ruby 2.6.5 this is the behavior of File.realpath when fed a string ...
jeremyevans0 (Jeremy Evans)
11:39 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
Hmm, I was trying to update the body of the bug report with that.
Turns out that File.open was a large wild goose ...
lamont (Lamont Granquist)
11:37 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
on ruby 2.6.5 this is the behavior of File.realpath when fed a string with invalid bytes:
```
[2] pry(main)> File...
lamont (Lamont Granquist)
08:21 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
I can't recreate this failure on OpenBSD with 2.7.0 or the master branch, with or without a UTF-8 locale:
```
$ r...
jeremyevans0 (Jeremy Evans)
07:49 PM Bug #16683 (Closed): Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8

Real simple repro case:
```
[1] pry(main)> fp = File.open("/tmp/chef-test-\xFDmlaut", "w+")
Errno::EILSEQ: Ill...
lamont (Lamont Granquist)
06:34 PM Misc #16661: DevelopersMeeting20200316Japan
* [Bug #16677] Negative integer powered (**) to a float number results in a complex (alanwu)
* Currently `-2 ** 2` ...
alanwu (Alan Wu)
04:06 PM Misc #16661: DevelopersMeeting20200316Japan
* [Bug #16175] Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false) (jeremyevans0)
* Do we ...
jeremyevans0 (Jeremy Evans)
04:49 PM Bug #4436: FileUtils verbose mode prints output to stderr
I've submitted a pull request upstream for this: https://github.com/ruby/fileutils/pull/49 jeremyevans0 (Jeremy Evans)
03:53 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
So apparently the TracePoint instance type is set to `T_NONE`. So I presume it means it was collected? byroot (Jean Boussier)
12:58 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
> fails the type check, exception is raised, which allocs a String for the message.
Yep, the `allocation during ga...
byroot (Jean Boussier)
12:50 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
The tracepoint instance appears to not be of type TypedData anymore, fails the type check, exception is raised, which... methodmissing (Lourens Naudé)
12:29 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
I patched my ruby to print the exception message before it tries to allocate, and ran it a few times:
```
.wrong ...
byroot (Jean Boussier)
11:27 AM Bug #16682 (Closed): Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
```
[BUG] object allocation during garbage collection phase
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-d...
byroot (Jean Boussier)
03:13 PM Revision 62d82b6d (git): * 2020-03-10 [ci skip]
git[bot]
03:11 PM Revision 9034cbd3 (git): Update NEWS for autosplatting change [ci skip]
jeremyevans (Jeremy Evans)
02:57 PM Bug #15608 (Closed): What should be the correct output for Method#inspect with singleton methods?
jeremyevans0 (Jeremy Evans)
02:57 PM Revision e02bd0e7 (git): Don't display singleton class in Method#inspect unless method defined there
Previously, if an object has a singleton class, and you call
Object#method on the object, the resulting string would ...
jeremyevans (Jeremy Evans)
02:39 PM Feature #16615: Group style access scope for macros
Maybe a more concrete example would be helpful:
```ruby
def defc
define_method(:c){ }
end
class Foo
priva...
Dan0042 (Daniel DeLorme)
02:16 PM Bug #16044 (Closed): Float::ROUNDS (FLT_ROUNDS) should not be a constant.
jeremyevans0 (Jeremy Evans)
02:06 PM Misc #16678: Array#values_at has unintuitive behavior when supplied a range starting with negative index
Negative indices have always meant "offset from the end" in ruby. So if you take a negative index and add the size of... Dan0042 (Daniel DeLorme)
01:39 PM Revision ecef163c (git): Remove Float::ROUNDS
Fixes [Bug #16044] jeremyevans (Jeremy Evans)
01:31 PM Feature #16665: Add an Array#except_index method
That implementation would return an empty array for `[true,nil,nil].except_index(0)`
Probably something a bit more l...
Dan0042 (Daniel DeLorme)
01:28 PM Revision d019cac0 (git): Clarify Time::at documentation for in: argument
zverok (Victor Shepelev)
05:34 AM Revision d8fcc676 (git): Skip test_06_timeout for --jit-wait CI
This test has been too unstable on trunk-mjit-wait
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2782206
k0kubun (Takashi Kokubun)
04:39 AM Revision 544ebc66 (git): Use https for downloading Unicode data.
Retry with 90de118a75921a08497b41de2950971073b3c924
[Bug #13962][ruby-core:83074]
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16166 (Closed): Remove exceptional treatment of *foo when it is the sole block parameter
jeremyevans0 (Jeremy Evans)
12:55 AM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
I've rebased the pull request (https://github.com/ruby/ruby/pull/2502) on current master. Assuming it passes CI, I p... jeremyevans0 (Jeremy Evans)
03:49 AM Revision f4394bbc (git): Do not autosplat when calling procs that accept rest and keywords
When providing a single array to a block that takes a splat, pass the
array as one argument of the splat instead of a...
jeremyevans (Jeremy Evans)
12:47 AM Revision 040cfc89 (git): Do not set USE_FFI_CLOSURE_ALLOC=1 in fiddle on OpenBSD
On OpenBSD, USE_FFI_CLOSURE_ALLOC was always set to 0 previously. In
633a1f15d8228236094ddee12e4e169d655ec49e, the co...
jeremyevans (Jeremy Evans)

03/08/2020

05:57 PM Revision fe3514ae (git): * 2020-03-09 [ci skip]
git[bot]
05:53 PM Revision dff69bb4 (git): Cast properly for shift operand
`(int) << RHASH_LEV_SHIFT` can be negative integer. ko1 (Koichi Sasada)
12:20 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
It seems rather unexpected that `-2 ** 2.2` is parsed as `-(2 ** 2.2)`, I would expect `(-2) ** 2.2` as well. Eregon (Benoit Daloze)
08:39 AM Revision daa04c55 (git): Word array instead of splitting
nobu (Nobuyoshi Nakada)
08:38 AM Revision 2b7409a2 (git): Specify explicit separator not to be affected by $;
nobu (Nobuyoshi Nakada)
01:48 AM Bug #16681: Backport commit related libffi url
ruby_2_6 r67842 merged revision(s) 86022167461dc90b70164e2bb23316959bbfd6ba,47a1872cd8b901b8aab6dedce7fa3807c97d290d. nagachika (Tomoyuki Chikanaga)
01:48 AM Revision 981e83d2 (git): merge revision(s) 86022167461dc90b70164e2bb23316959bbfd6ba,47a1872cd8b901b8aab6dedce7fa3807c97d290d: [Backport #16681]
Switch to download libffi source package to github releases from
sourceware.org
Use osuosl instead...
nagachika (Tomoyuki Chikanaga)
01:19 AM Revision 53efe632 (git): * 2020-03-08 [ci skip]
git[bot]
01:18 AM Revision 2b6ec768 (git): Fix rbinstall bugs (#2930)
* Fix incorrect calls to `Gem.ensure_gem_subdirectories`
This method doesn't take keyword args.
* Remove stuff no l...
deivid (David Rodríguez)
 

Also available in: Atom