Project

General

Profile

Activity

From 03/11/2020 to 03/17/2020

03/17/2020

07:10 PM Revision f4fc81fe (git): * 2020-03-18 [ci skip]
git[bot]
07:09 PM Revision d2c41b1b (git): Reduce allocations for keyword argument hashes
Previously, passing a keyword splat to a method always allocated
a hash on the caller side, and accepting arbitrary k...
jeremyevans (Jeremy Evans)
07:09 PM Revision ac04b778 (git): Make {**{}} return unfrozen empty hash
Previously, method call keyword splats and hash keyword splats
were compiled exactly the same. This is because parse...
jeremyevans (Jeremy Evans)
05:11 PM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
Pull request 2954 was merged early today, so I was able to work on this. I submitted https://github.com/ruby/ruby/pu... jeremyevans0 (Jeremy Evans)
12:41 PM Misc #16693: DevelopersMeeting20200410Japan
* [Feature #16428] Add `Array#uniq?`, `Enumerable#uniq?` (greggzst)
* it seems to be an easier solution to check d...
greggzst (Grzegorz Jakubiak)
10:47 AM Revision 3325194a (git): Get rid of bogus warning by VC
```
c:\projects\ruby\mjit_worker.c(1219) : warning C4090: 'function' : different 'const' qualifiers
```
It seems con...
nobu (Nobuyoshi Nakada)
10:46 AM Revision 165e4572 (git): Check if `freeze` option is given
nobu (Nobuyoshi Nakada)
10:37 AM Revision e609fd58 (git): * 2020-03-17 [ci skip]
git[bot]
10:37 AM Revision 290d6086 (git): support builtin for Kernel#clone
S_H_ (Shun Hiraoka)

03/16/2020

08:33 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
Thanks for explaining your thoughts in details.
> The last reason is the migration path. Currently (some) Rails co...
Eregon (Benoit Daloze)
05:45 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
Benoit, thank you for your efforts on this issue. Too bad about the result but it was worth the shot. Considering mat... Dan0042 (Daniel DeLorme)
02:58 AM Feature #16463 (Closed): Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
matz (Yukihiro Matsumoto)
02:58 AM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
I have investigated this proposal for a long time and concluded we cannot accept the proposal.
The first reason is...
matz (Yukihiro Matsumoto)
04:37 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
Posting here in case it gets lost. This issue is unrelated to #16689.
I have a patch for this issue at https://githu...
alanwu (Alan Wu)
04:36 AM Bug #16682 (Assigned): Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
mame (Yusuke Endoh)
04:32 PM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
I'll work on implementing this after https://github.com/ruby/ruby/pull/2954 is merged or closed, as I don't want to c... jeremyevans0 (Jeremy Evans)
04:16 AM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
I accept the proposal. As @jeremyevans0 stated, it's slightly backward-incompatible but trivial.
Matz.
matz (Yukihiro Matsumoto)
04:29 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
jeremyevans0 (Jeremy Evans) wrote in #note-19:
> Eregon (Benoit Daloze) wrote in #note-18:
> > @jeremyevans0 Could ...
jeremyevans0 (Jeremy Evans)
02:59 PM Misc #16693 (Closed): DevelopersMeeting20200410Japan
# The next dev meeting
**Date: 2020/04/10 13:00-17:00**
Place/Sign-up/Agenda/Log: https://docs.google.com/documen...
mame (Yusuke Endoh)
02:58 PM Misc #16661 (Closed): DevelopersMeeting20200316Japan
mame (Yusuke Endoh)
02:38 PM Bug #12671 (Closed): Hash#to_proc result is not a lambda, but enforces arity
Applied in changeset commit:git|d514ba8e17106c6d159c3902ac5456d6269731f8.
----------
`Proc` made by `Hash#to_proc` s...
mame (Yusuke Endoh)
01:45 PM Bug #12671: Hash#to_proc result is not a lambda, but enforces arity
This ticket was briefly discussed at today's dev meeting, and matz said that the result of Hash#to_proc should be a l... mame (Yusuke Endoh)
02:38 PM Revision d514ba8e (git): `Proc` made by `Hash#to_proc` should be a lambda [Bug #12671]
Like `Symbol#to_proc` (f0b815dc670b61eba1daaa67a8613ac431d32b16) mame (Yusuke Endoh)
02:30 PM Revision 304538e6 (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
02:17 PM Bug #12706 (Closed): Hash#each yields inconsistent number of args
Applied in changeset commit:git|47141797bed55eb10932c9a722a5132f50d4f3d8.
----------
hash.c: Do not use the fast pat...
mame (Yusuke Endoh)
08:30 AM Bug #12706: Hash#each yields inconsistent number of args
It was caused by the optimization introduced in 2.1. It should check if a block is a lambda before making optimizatio... matz (Yukihiro Matsumoto)
02:17 PM Revision 47141797 (git): hash.c: Do not use the fast path (rb_yield_values) for lambda blocks
As a semantics, Hash#each yields a 2-element array (pairs of keys and
values). So, `{ a: 1 }.each(&->(k, v) { })` sh...
mame (Yusuke Endoh)
01:07 PM Bug #16689: [BUG] try to mark T_NONE object
I tested the patch against our CI and can confirm it does fix the problem. byroot (Jean Boussier)
10:28 AM Revision 4be2a891 (git): The upstream repository of bundler was changed rubygems/rubygems now.
https://github.com/rubygems/rubygems/pull/3166 hsbt (Hiroshi SHIBATA)
09:07 AM Bug #16692: net/http SNI not RFC 6066 compliant & wrong certificate hit
Seems [https://github.com/ruby/ruby/commit/54072e329cab7207fba133caba4fc12b45add8f9](this 2.7 patch) fix the problem.... aeris (Nicolas Vinot)
08:56 AM Bug #12547: Remove ONIG_UNICODE_VERSION_... in enc/unicode/case-folding.rb, casefold.h
These macros are to ensure that Unicode data files and the header/source files are for the same version.
You won't s...
nobu (Nobuyoshi Nakada)
08:49 AM Bug #12392 (Closed): configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
Applied in changeset commit:git|8a6ba10f9dd456cf54de800203cf04bbe42271fb.
----------
Do not make disabled directorie...
nobu (Nobuyoshi Nakada)
08:29 AM Bug #12780: BigDecimal#round returns different types depending on argument
`#round` with the argument less than 1 (`n < 1`) should return `Integer` value.
Matz.
matz (Yukihiro Matsumoto)
08:26 AM Revision 8a6ba10f (git): Do not make disabled directories at installation [Bug #12392]
nobu (Nobuyoshi Nakada)
08:12 AM Bug #12666 (Feedback): Fatal error: glibc detected an invalid stdio handle
Sorry for a late reply, but I think we have touched this area since you reported. Does this still happen? shyouhei (Shyouhei Urabe)
08:10 AM Bug #12551 (Open): Exception accessing file with long path on windows
As Python can do it, we know it is theoretically possible. But the priority is low for us, core developers. If someon... matz (Yukihiro Matsumoto)
08:08 AM Bug #12599 (Rejected): For CLang, increase inline-threshold to get 7%-10% speedup of optcarrot
Af I wrote above, inlining should be handled in fine grained way. naruse (Yui NARUSE)
08:02 AM Bug #12548 (Closed): Rounding modes inconsistency between round versus sprintf
It is inconsistent but fixing either way could cause problems. I vote for keeping as it is.
Matz.
matz (Yukihiro Matsumoto)
07:40 AM Bug #12368 (Rejected): default encoding of Integer#chr
ユースケースが失念されたってことで一旦閉じることに。 mame (Yusuke Endoh)
04:49 AM Bug #16466 (Closed): `*args -> *args` delegation should be warned when the last hash has a `ruby2_keywords` flag
For the sake of consistency and completeness, this is required, but this makes warn-hunting (especially for Rails cor... matz (Yukihiro Matsumoto)
04:37 AM Bug #16497 (Assigned): StringIO#internal_encoding is broken (more severely in 2.7)
nobu (Nobuyoshi Nakada)
02:06 AM Revision 0f2f07a9 (git): Adjusted indents [ci skip]
nobu (Nobuyoshi Nakada)
02:01 AM Revision ad10760b (git): proc.c: Remove non-sense /* fall through */
mame (Yusuke Endoh)

03/15/2020

11:04 PM Bug #16692 (Closed): net/http SNI not RFC 6066 compliant & wrong certificate hit
Hi,
Currently, net/http set the SNI to the address you want to connect to.
https://github.com/ruby/ruby/blob/mast...
aeris (Nicolas Vinot)
10:12 PM Bug #16689 (Closed): [BUG] try to mark T_NONE object
Applied in changeset commit:git|713dc619f5372a645b66bef9dacee217c4101cb4.
----------
Add missing write barrier for H...
alanwu (Alan Wu)
10:12 PM Revision 4ea83569 (git): * 2020-03-16 [ci skip]
git[bot]
10:11 PM Revision 713dc619 (git): Add missing write barrier for Hash#transform_values{,!}
21994b7fd686f263544fcac1616ecf3189fb78b3 removed the write barrier that
was present in rb_hash_aset(). Re-insert it t...
alanwu (Alan Wu)
09:15 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
Eregon (Benoit Daloze) wrote in #note-18:
> @jeremyevans0 Could you take a look for the 2.7 backport?
Sure, I'll ...
jeremyevans0 (Jeremy Evans)
04:09 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
@jeremyevans0 Could you take a look for the 2.7 backport? Eregon (Benoit Daloze)
12:04 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
```
1) Failure:
PPTestModule::PPCycleTest#test_hash [/Users/naruse/work/ruby_2_7/test/test_pp.rb:133]:
<"{0=>{.....
naruse (Yui NARUSE)
05:27 PM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
@naruse one of my two "weird" cases is not fixed yet:
```ruby
def test(io)
str = io.read
[io.external_encod...
zverok (Victor Shepelev)
01:07 PM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
ruby_2_7 47b08728cf3d0441a3da4dc1dcdd578817b0e036. naruse (Yui NARUSE)
09:44 AM Bug #16497 (Closed): StringIO#internal_encoding is broken (more severely in 2.7)
Applied in changeset commit:git|e257c08f2ec27e2d66cdfa7e2415deb492522e22.
----------
[ruby/stringio] StringIO#initia...
byroot (Jean Boussier)
05:20 PM Feature #12919 (Rejected): Net::FTP does not have a default open_timeout
Looks not a bug. And there is no discussion from OP for three years. Closing the ticket. mame (Yusuke Endoh)
04:43 PM Bug #12564 (Closed): Sometimes test_settracefunc.rb segfaults in exec_hooks_body (vm_trace.c)
I'm monitoring rubyci results about one year, but I have not seen this error. I guess this is fixed. If you still s... mame (Yusuke Endoh)
03:37 PM Feature #16665: Add an Array#except_index method
alex_golubenko (Alex Golubenko) wrote in #note-10:
> I also heard from developers, that they faced tricky challenges...
Dan0042 (Daniel DeLorme)
01:21 PM Revision f14409c9 (git): Enclosed version constant
nobu (Nobuyoshi Nakada)
01:15 PM Revision 1ad9b231 (git): Added guard against [Bug #16497]
nobu (Nobuyoshi Nakada)
01:13 PM Revision a8ced388 (git): [ruby/stringio] Bump version to 0.1.1
https://github.com/ruby/stringio/commit/05d75e5e66 nobu (Nobuyoshi Nakada)
11:53 AM Revision 47b08728 (git): [ruby/stringio] StringIO#initialize default to the source string encoding
[Bug #16497]
https://github.com/ruby/stringio/commit/4958a5ccab
(cherry picked from commit e257c08f2ec27e2d66cdfa7e2...
byroot (Jean Boussier)
11:52 AM Revision 3efbd527 (git): Do not autosplat when calling proc with empty keyword splat
With the removal of the splatted argument when using an empty
keyword splat, the autosplat code considered an empty k...
jeremyevans (Jeremy Evans)
11:45 AM Bug #16560: Proc autosplats first argument if called with one argument and empty keyword splat
ruby_2_7 e74d2a42b274844ed020ed121ee2f11c626c5fec. naruse (Yui NARUSE)
10:35 AM Revision c858a10c (git): * 2020-03-15 [ci skip]
git[bot]
10:35 AM Revision a36ead3f (git): Prevent unloading methods used in root_fiber while calling another Fiber (#2939)
Fixing SEGVs like:
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2744905
http://ci.rvm.jp/results/trunk-mji...
k0kubun (Takashi Kokubun)
10:35 AM Revision 17e925b9 (git): Avoid infinite loop on --jit-wait
(cherry picked from commit a8dcab723316997d9e01c89d6df969edce75bdca) k0kubun (Takashi Kokubun)
10:35 AM Revision c6944377 (git): Fix SimpleDelegator respond_to? regression
In 2.6, SimpleDelegator would always use the target `respond_to?`
In 2.7.0 it doesn't if the target does not inherit...
byroot (Jean Boussier)
10:35 AM Revision d07a6dc1 (git): delegate.rb: fixed keyword arguments in DelegateClass
`Delegator.delegating_block` should delegate keyword arguments
separately. [ruby-core:96949]
(cherry picked from co...
nobu (Nobuyoshi Nakada)
10:35 AM Revision e70d52b0 (git): Make ruby2_keywords methods correctly handle **{} optimization
Previously, this code:
ruby2_keywords def foo(*a) a.last end
foo(**{})
Returned an empty frozen hash. However,...
jeremyevans (Jeremy Evans)
10:35 AM Bug #16606: SimpleDelegator no longer call respond_to? on the delegated object if it's a BasicObject
ruby_2_7 771a5b1a0cbf69531060330340a000704be71239. naruse (Yui NARUSE)
10:30 AM Bug #16664: Backport request: MJIT unloads methods used in a main thread when calling a Fiber
ruby_2_7 f915d4ff33450975cc3a7a70d0dc4dd2bf4cfed1. naruse (Yui NARUSE)
09:43 AM Revision e257c08f (git): [ruby/stringio] StringIO#initialize default to the source string encoding
[Bug #16497]
https://github.com/ruby/stringio/commit/4958a5ccab
byroot (Jean Boussier)
09:25 AM Revision d79890cb (git): Avoid doubly showing debug counters
when RubyVM.show_debug_counters is explicitly called.
According to the original description in 70fd099220446e39bb80e...
k0kubun (Takashi Kokubun)
07:24 AM Revision f6a54e6e (git): Add debug counter for unload_units
changing add_iseq_to_process's debug counter name as well for comparison k0kubun (Takashi Kokubun)
04:59 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
The most confusing part of the current behaviour is that (it superficially looks like) the precedence relation betwee... sawa (Tsuyoshi Sawada)
03:02 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
@matz,
I find your statement a bit confusing. You vote for "keeping precedence" but the entire point of this bug repo...
Dan0042 (Daniel DeLorme)
04:13 AM Revision 67fbc122 (git): Resurrect test_jit_debug.rb
Revert "Temporarily drop test_jit_debug.rb"
This reverts commit 5437d7c879585fbdb0c294298eb76cc563e01c69.
Skipped s...
k0kubun (Takashi Kokubun)
04:02 AM Revision 6e405b26 (git): Use a human-readable funcname with --jit-debug
for perf output like:
Samples: 100K of event 'cycles:ppp', Event count (approx.): 1007750000
Children Self C...
k0kubun (Takashi Kokubun)
03:51 AM Revision deb1c7b9 (git): Revert "Use a human-readable funcname with --jit-debug"
This reverts commit cecebf55c476ae936f3e880477dfb62149143c46.
debugging test failure...
k0kubun (Takashi Kokubun)
03:43 AM Revision 71f6f46b (git): * 2020-03-15 [ci skip]
git[bot]
03:42 AM Revision cecebf55 (git): Use a human-readable funcname with --jit-debug
for perf output like:
Samples: 100K of event 'cycles:ppp', Event count (approx.): 1007750000
Children Self C...
k0kubun (Takashi Kokubun)

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)
 

Also available in: Atom