Project

General

Profile

Activity

From 04/08/2019 to 04/14/2019

04/14/2019

09:11 PM Bug #15766: Crash in 2.4, 2.5 involving at_exit
Using a recent build (`ruby 2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]`), the code ran fine, or just like 2.6. I haven't checked on 2.4.
Using the current RubyInstaller release (`ruby 2.5.3p105 (2018-10-18 revision 65156) [x...
MSP-Greg (Greg L)
03:17 PM Bug #15766 (Closed): Crash in 2.4, 2.5 involving at_exit
Hello,
I've written a piece of code which reproducibly triggers a crash in some versions of Ruby (2.4 and 2.5, but not 2.2, 2.3 nor 2.6).
As this involves Minitest, I've started by filing a bug report on GitHub:
https://github...
christian.boos@free.fr (Christian Boos)
09:01 PM Revision e3b6c7c7 (git): Import CSV 3.0.8
This includes performance improvements and backward incompatibility
fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
03:25 PM Revision fb96811d (git): Drop obsoleted debugging output [ci skip]
I confirmed that it's working now in
https://dev.azure.com/rubylang/ruby/_build/results?buildId=396&view=logs&jobId=8c5967c9-8e3a-5773-c80c-34c55d5c3051
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67559 b2dd03c8-39d4-4d8f-98ff-823...
k0kubun (Takashi Kokubun)
03:13 PM Revision ad9c5c5d (git): * 2019-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 17b606d8 (git): Fix broken variable propagation on Azure
It looks like the old definition was not working as intended...
https://dev.azure.com/rubylang/ruby/_build/results?buildId=394
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:50 PM Bug #15515 (Closed): OpenStruct raising NoMethodError instead of ArgumentError
Merged. Thank you for your contribution! marcandre (Marc-Andre Lafortune)
01:47 PM Revision 816c5323 (git): OpenStruct: improve error message when passing wrong number of arguments.
Patch by Lisa Ugray (issue #15515)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
01:42 PM Revision 1119bb47 (git): Debug bundled-gems allow_failures
it seems not working in
https://dev.azure.com/rubylang/ruby/_build/results?buildId=392
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:29 PM Revision ead870d7 (git): Do not require Ruby 2.4 for baseruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
01:10 PM Revision b041cf55 (git): Fix missing debug counter name
r67550 introduced the typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:49 PM Revision 009a0a38 (git): Avoid crash on logging GC-ed ISeq
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
12:40 PM Revision e45c9a40 (git): Do not execute MJIT copy job when ISeq is GC-ed
I assumed that ISeq is never GC-ed by `in_jit` + `mjit_mark` on copy job
ISeq, but unfortunately I found SEGV on `mjit_copy_job_handler` in which
iseq->body was somehow Qnil. And it seems to be fixed by disabling the
job when `mjit_free_...
k0kubun (Takashi Kokubun)
12:25 PM Revision 12225347 (git): Share optimization cancel handlers
$ benchmark-driver benchmark.yml --rbenv='before --jit;after --jit' -v --output=all --repeat-count=12
before --jit: ruby 2.7.0dev (2019-04-14 trunk 67549) +JIT [x86_64-linux]
after --jit: ruby 2.7.0dev (2019-04-14 trunk 67549) +JIT [x86_...
k0kubun (Takashi Kokubun)
09:31 AM Revision 04ac63fe (git): Prefer uintptr_t over ptrdiff_t for i686
as debugged in PR
[close https://github.com/ruby/ruby/pull/2130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:53 AM Revision c5570cf9 (git): Detect send-compatible opt insns automatically
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
08:33 AM Revision b75bb06e (git): Allow falling back to non-inlined opt_send_without_block
for opt_aref with inline cache to minimize the possibility of JIT cancel.
Also opt_aset and opt_mod are added for the targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:12 AM Revision 18b51482 (git): Add debug counter for MJIT stale_units
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:10 AM Revision f7035dd3 (git): Do not reset non-increment-only counters
to prevernt underflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
06:57 AM Revision 5ce28c06 (git): Add RubyVM.reset_debug_counters when RB_DEBUG_COUNTER
is defined. It's 0 by default and so it dissappears on actual build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
06:52 AM Revision 57f9a700 (git): Add more debug print for random CI failure on osx Travis
see r67347
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
06:05 AM Revision 3ac518f9 (git): Enabled to some bundler examples again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:03 AM Revision 2e8b9aba (git): Skip to failing examples on ruby core repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:02 AM Revision 59fa1232 (git): Added rspec dependency for bundler examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:01 AM Revision 68ddd4d3 (git): Merge Bundler 2.1.0.pre.1 as developed version from upstream.
https://github.com/bundler/bundler/commit/a53709556b95a914e874b22ed2116a46b0528852
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:52 AM Revision d636809c (git): Revert "Try to set false explicitly"
This reverts commit a1b5d20068a9b1859b383b249e510cd33d196e4a.
Revert "Revert "Skip recompiling tests on i686 Linux""
This reverts commit 7b88a9207b97b94bc3c3be35084c742296f4aff2.
Revert "Simplify matrix for debugging"
This reverts co...
k0kubun (Takashi Kokubun)
05:48 AM Revision a1b5d200 (git): Try to set false explicitly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:48 AM Revision 7b88a920 (git): Revert "Skip recompiling tests on i686 Linux"
This reverts commit 19513c88d5f923abb7f226520192aef9f3fcc1c7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
05:48 AM Revision e85d6c5c (git): Simplify matrix for debugging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:40 AM Revision 661cefc5 (git): Fix typo in platform matcher
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:26 AM Revision fa13bb1a (git): Unify comment styles across MJIT sources
I'm writing `//` comments in newer MJIT code after C99 enablement
(because I write 1-line comments more often than multi-line comments
and `//` requires fewer chars on 1-line) and then they are mixed
with `/* */` now.
For consistency a...
k0kubun (Takashi Kokubun)
05:26 AM Revision 19513c88 (git): Skip recompiling tests on i686 Linux
somehow they are filing like
https://travis-ci.org/ruby/ruby/jobs/519830085
but they are not so fatal.
Let me just skip them for now and fix tests afterwards.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67532 b2dd03c8-39d4-4d8f-9...
k0kubun (Takashi Kokubun)
04:52 AM Revision d6d8fc24 (git): * 2019-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:52 AM Revision 9b6b4674 (git): Recompile JIT-ed code without optimization
based on inline cache when JIT cancel happens by that.
This feature was in the original MJIT implementation by Vladimir, but on
merging MJIT to Ruby it was removed for simplification. This commit adds
the functionality again for the fol...
k0kubun (Takashi Kokubun)
01:12 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
Hi all,
I asked Matz and we fixed dev-meeting schedule:
* 12:00-13:20 door open. I (ko1) will be there with bento-lunch.
* 13:20-13:30 opening
* 13:30-14:00 (1) keyword arguments progress report (mame)
* 14:00-14:30 (2) static c...
ko1 (Koichi Sasada)

04/13/2019

10:18 PM Revision 13718651 (git): merge revision(s) 66720:
separate downloading of Unicode property files and auxiliary files
Separate downloading of Unicode property files in ucd and in ucd/auxiliary.
This is needed because we need information from separate index.html files
...
naruse (Yui NARUSE)
10:04 PM Revision f020dffd (git): merge revision(s) 66737,66738,67413,67445,67446,67447,67448,67450,67451,67454:
add logic to handle Unicode beta period file names
In downloader.rb, add logic to handle file names of the form
UnicodeData-12.0.0d6.txt. To find the right file, we download
the index of the directory. Then we do...
naruse (Yui NARUSE)
03:14 PM Revision d6387f70 (git): merge revision(s) 66745,67397,67398,67399,67400,67409,67410,67411,67412,67425,67426,67473,67474: [Backport #15742]
Bump version to date-2.0.0.
I forgot to change it when Ruby 2.6.0 was released.
date_parse.c: extract Japanese era initials
* expand tabs.
date_parse.c: removed 'r' which is not in JIS X 0301 yet
...
naruse (Yui NARUSE)
03:01 PM Bug #15740: Backport Unicode Version 12.1.0 and other Japanese new era issues to Ruby 2.6
ruby_2_6 r67525 merged revision(s) 67439,67441,67453,67476. naruse (Yui NARUSE)
12:55 PM Bug #15740 (Closed): Backport Unicode Version 12.1.0 and other Japanese new era issues to Ruby 2.6
naruse (Yui NARUSE)
03:01 PM Revision d8cac330 (git): * 2019-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 69ec3936 (git): merge revision(s) 67439,67441,67453,67476: [Backport #15740]
change lib/unicode_normalize/tables.rb to single item per line to make diffs shorter
* template/unicode_norm_gen.tmpl: Change formatting of output to produce only a
single item (or range) for each line to make future d...
naruse (Yui NARUSE)
02:10 PM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
* [Feature #14912] Introduce pattern matching syntax
* I'd like to introduce latest specification, discuss about the details.
ktsj (Kazuki Tsujimoto)
09:46 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
[Bug #15764] Whitespace and control characters should not be permitted in tokens
(This can and should be easily fixed, but I'd like Matz to give it a check.)
duerst (Martin Dürst)
10:14 AM Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> I'm not sure what led you to this statement, as the feature does work with lambdas and methods:
> ...
Hmm, not obvious from description in the accepted feature request. By recent 2.7.0-dev implement...
dunrix (Damon Unrix)
10:09 AM Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> I'm not sure what led you to this statement, as the feature does work with lambdas and methods:
Well, only with `define_method` methods, not `def` methods, which are the huge majority:
```ruby
...
Eregon (Benoit Daloze)
08:08 AM Misc #15723: Reconsider numbered parameters
dunrix (Damon Unrix) wrote:
> Existing solution for example breaks rule of the general approach, as it only works with (anonymous)blocks and procs, not with lambdas and methods which are strict in arguments. It only adds to fragmentatio...
jeremyevans0 (Jeremy Evans)
04:44 AM Misc #15723: Reconsider numbered parameters
Don't you think it may be just the high time stop throwing yet-another of *half-baked hacks* and cease work on implementation & release of the #4475 feature, until other and more mature solution is found ?
It seems the whole concept o...
dunrix (Damon Unrix)
09:51 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
I also think this is a bug. I have changed the category accordingly.
I think we should restrict the characters usable in identifiers to some reasonable ranges. I agree that we mainly want to focus on ASCII programs, but we should do a...
duerst (Martin Dürst)
06:18 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
I am not sure this is a bug, though. If it is a valid Unicode token then it should
work, so the behaviour would seem correct to me. Actually sawa made a similar comment
on SO - he is very active on the ruby bug tracker here too. :-)
...
shevegen (Robert A. Heiler)
07:33 AM Bug #15760: OpenSSL::BN.new(nil, 2) dumps core
ruby_2_6 r67524 merged revision(s) 67497,67498. naruse (Yui NARUSE)
07:33 AM Revision c5f1c9e2 (git): merge revision(s) 67497,67498: [Backport #15760]
ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV
OpenSSL::BN.new(nil, 2) dumped core.
[ruby-core:92231] [Bug #15760]
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@6752...
naruse (Yui NARUSE)
06:55 AM Revision 088df9c8 (git): Revert "GET_CFP and ec->cfp are different"
This reverts commit 30f71f4768e0babc60f5be6ca235d2c40268bc27.
I've also overlooked we're doing RESTORE_REGS()...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
06:27 AM Revision 30f71f47 (git): GET_CFP and ec->cfp are different
When reviewing r66565, I overlooked that `GET_ISEQ()` and `GET_EP()` are
NOT `ec->cfp->iseq` and `ec->cfp->ep` but `reg_cfp->iseq` and
`reg_cfp->ep`.
`vm_push_frame` updates `ec->cfp` and in this case we want to check the
callee's cfp a...
k0kubun (Takashi Kokubun)
06:03 AM Bug #15762 (Closed): Error compiling OpenSSL on Cygwin
nobu (Nobuyoshi Nakada) wrote:
> No error occurred, maybe OpenSSL headers have changed since the previous build?
> ...
I'm not sure why, but this seems to have worked. Thanks a lot!
duerst (Martin Dürst)
05:19 AM Bug #15670: Ripper treats :"sym" as xstring
This change broke a library preval https://github.com/kddeisz/preval/issues/1, and potentially also breaks other libraries that uses Ripper. Since this is an incompatible change for Ripper.sexp, I guess backport requires a loud changelog... ujihisa (Tatsuhiro Ujihisa)
12:56 AM Revision e7f7aa87 (git): * 2019-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:56 AM Revision a73dae4c (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:56 AM Revision d3da5fbd (git): Proc.new: change deprecation warning for clarity (issue #15539)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
12:46 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
I came across this thread now, because I've noticed that sprintf's behavior has actually changed in Ruby 2.4 too, just... not the same way as round's did...
```
> echo "n = [5.005, 5.015, 5.025]; puts 'round: ' + n.map { |x| x.round(...
mackuba (Kuba Suder)

04/12/2019

10:42 PM Bug #15515: OpenStruct raising NoMethodError instead of ArgumentError
Sorry I missed this.
I'm positive on this patch and will commit it shortly unless there's any objection.
marcandre (Marc-Andre Lafortune)
10:38 PM Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> The behavior changes if `foo` is a local variable:
> ...
Good catch, I forgot about that case.
Indeed, that's confusing.
This case can be worked around with parentheses if there is a local variab...
Eregon (Benoit Daloze)
09:11 PM Misc #15723: Reconsider numbered parameters
Eregon (Benoit Daloze) wrote:
> headius (Charles Nutter) wrote:
> ...
The behavior changes if `foo` is a local variable:
```ruby
foo = 1
proc{foo &1}.call
# => 1
proc{foo & 1}.call
# => 1
```
This proposal has the followin...
jeremyevans0 (Jeremy Evans)
08:29 PM Misc #15723: Reconsider numbered parameters
headius (Charles Nutter) wrote:
> Conflicts with bitwise AND, doesn't it?
No, binary operators already care about spacing to clarify which one it is, and this syntax "conflict" already exists anyway:
~~~ ruby
irb(main):001:0> cl...
Eregon (Benoit Daloze)
08:10 PM Misc #15723: Reconsider numbered parameters
> Another idea for syntax, already mentioned in https://bugs.ruby-lang.org/issues/4475#note-12 : &1, &2, etc.
Conflicts with bitwise AND, doesn't it?
```ruby
foo &1
```
Is it `foo() & 1` or `foo(&1)`?
headius (Charles Nutter)
08:08 PM Misc #15723: Reconsider numbered parameters
Another idea for syntax, already mentioned in https://bugs.ruby-lang.org/issues/4475#note-12 : &1, &2, etc.
`&` associates much better with blocks than `@`: `map(&:name)`, `foo(&block)`, etc.
In fact, I think many previous suggestion...
Eregon (Benoit Daloze)
07:12 PM Misc #15723: Reconsider numbered parameters
Oh, another simplication... if user code in 2.7+ attempts to read `_1` before writing it in a block, that can be an indication that it's expected to be an argument offset. If it's assigned first it's just a normal local variable. headius (Charles Nutter)
07:11 PM Misc #15723: Reconsider numbered parameters
What about using `_1`, `_2`? These are value variable names that could be reserved for argument offsets. This would mimic some golfed block code like `{|_| ...}` (though I know there's some debate about whether `@1` should map to `|x|` o... headius (Charles Nutter)
03:34 PM Feature #14183: "Real" keyword argument
mame (Yusuke Endoh) wrote:
> However, akr and I think that "2.7 is completely compatible with 2.6 except warnings" approach is not good enough. We need to provide a migration path that allows users to rewrite their code for 3.0 gradual...
jeremyevans0 (Jeremy Evans)
01:52 PM Feature #14183: "Real" keyword argument
@jeremyevans0,
You registered this ticket for pre-RubyKaigi [Misc#15459]. Do you have an idea how to discuss the issue?
@ko1 is now creating an agenda, and maybe 30 minutes will be allotted to this issue. The agenda is not decide...
mame (Yusuke Endoh)
08:26 AM Feature #14183: "Real" keyword argument
Jeremy, thank you for working on this issue.
> I believe the expected behavior in Ruby 2.7 is to warn but return the same results as Ruby 2.6 in all three cases, is that correct?
I had intended the incompatibility, as I said in "Mi...
mame (Yusuke Endoh)
02:32 PM Revision 95a82766 (git): * 2019-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:32 PM Revision 39b04bc6 (git): [DOC] Add `ifnone` example to `find` documentation [ci skip]
[Fix GH-2110]
From: OKURA Masafumi <masafumi.o1988@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
09:59 AM Bug #15708: Implicit numbered argument decomposes an array
jeremyevans0 (Jeremy Evans) wrote:
> Attached is a patch that will turn off destructuring if the only implicit block variable is `@1`:
```diff
- args->nd_ainfo->rest_arg = excessed_comma;
+ if (max_numparam > 1) {
+ args->nd_a...
nobu (Nobuyoshi Nakada)
04:17 AM Feature #15765: [PATCH] Module#name without global constant search
This is for #11119 and #15625. alanwu (Alan Wu)
04:12 AM Feature #15765 (Closed): [PATCH] Module#name without global constant search
Hello!
The current implementation of `Module#name` is known for having sub-optimal performance when it comes to anonymous modules. (see #11119 and #15625)
I have put together a reimplementation of `Module#name`, which works by eagerl...
alanwu (Alan Wu)
01:13 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
* new built-in class/method definition features in Ruby and C (will be talked at RubyKaigi 2019, my talk) (ko1)
ko1 (Koichi Sasada)

04/11/2019

11:16 PM Bug #15300: rb_frame_method_id_and_class deprecated in 2.6
I just noticed that Rice works perfectly under Ruby 2.6.2! Thank you so much. paddor (Patrik Wenger)
09:42 PM Bug #15708: Implicit numbered argument decomposes an array
Attached is a patch that will turn off destructuring if the only implicit block variable is `@1`:
```ruby
# equivalent to proc{|x| x}
proc{@1}.call([1,2])
# => [1, 2]
# equivalent to proc{|_,x| x}
proc{@2}.call([1,2])
# => 2
...
jeremyevans0 (Jeremy Evans)
08:59 PM Bug #15764 (Assigned): Whitespace and control characters should not be permitted in tokens
As of Ruby 2.5.1p57, it appears that all valid Unicode code-points above 128 are permitted in tokens. This includes whitespace and control characters.
This was demonstrated here: https://gist.github.com/qrohlf/7045823
I have attach...
BatmanAoD (Kyle Strand)
03:17 PM Bug #15360: "ThreadError: deadlock; recursive locking" error when recursive lock shouldn't be possible
`git bisect` shows the problem occurs frequently since r58604.
But I don't know it can occur before the commit.
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/trunk/revisions/66489/entry/thread_sync.c#L267
`do_mutex_lock(...
wanabe (_ wanabe)
12:09 PM Bug #15755: [BUG] Unnormalized Fixnum value on Enumerator::ArithmeticSequence#hash.to_s on Windows
ruby_2_6 r67516 merged revision(s) 67466. naruse (Yui NARUSE)
12:09 PM Revision cb915c94 (git): merge revision(s) 67466: [Backport #15755]
enumerator.c: force hash values fixable
* enumerator.c (arith_seq_hash): force hash values fixable on
LLP64 environment. [ruby-core:92190] [Bug #15755]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67...
naruse (Yui NARUSE)
12:09 PM Bug #15756: [BUG] Unnormalized Fixnum value on Method#hash.to_s on Windows
ruby_2_6 r67515 merged revision(s) 67467. naruse (Yui NARUSE)
12:09 PM Revision 03e35744 (git): merge revision(s) 67467: [Backport #15756]
range.c: force hash values fixable
* range.c (method_hash): force hash values fixable on LLP64
environment. [ruby-core:92191] [Bug #15756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67515 b2dd03c8-...
naruse (Yui NARUSE)
12:09 PM Bug #15757: [BUG] Unnormalized Fixnum value on Range#hash.to_s on Windows
ruby_2_6 r67514 merged revision(s) 67468. naruse (Yui NARUSE)
12:08 PM Revision 42acabf1 (git): merge revision(s) 67468: [Backport #15757]
range.c: force hash values fixable
* range.c (range_hash): force hash values fixable on LLP64
environment. [ruby-core:92194] [Bug #15757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67514 b2dd03c8-3...
naruse (Yui NARUSE)
10:36 AM Revision 6f866fd9 (git): * 2019-04-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:36 AM Revision 02534365 (git): Get rid of a magic number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:36 AM Revision 47c82df2 (git): Share the exception local ID table
[Fix GH-2115]
From: Lourens Naudé <lourens@bearmetal.eu>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:33 AM Misc #15723: Reconsider numbered parameters
I very much like the feature itself, esp. for one liners you can come up with on a pry prompt. What I very much dislike though is the use of `@` which is a glorious hack if there is any since currently `@` tokenizably resolves to 'instan... lloeki (Loic Nageleisen)
07:04 AM Bug #15761: File::Statfs documentation still exists on ruby-doc.org/core-trunk/
Sorry, I didn't notice it's not official.
I'll report to them.
I didn't know docs.ruby-lang.org is a thing, it never shows up in Google search, maybe it needs some SEO.
Thanks for the reply!
![](https://i.imgur.com/nqn7QBk.png)
albb0920 (Albert Song)
06:53 AM Bug #15746: 11 test cases run failed
nobu (Nobuyoshi Nakada) wrote:
> Run with `make test-all` or test/runner.rb:
> ...
Thanks!
sandy-lcq (sandy li)
05:11 AM Bug #15763: Segmentation fault in timeout.rb / sleep
This might be the same issue as:
* https://bugs.ruby-lang.org/issues/15490
* https://bugs.ruby-lang.org/issues/15639
* https://github.com/hanami/hanami/issues/993
The common points are:
* macOS (darwin17 or 18)
* uses multipl...
mame (Yusuke Endoh)
01:37 AM Bug #15763: Segmentation fault in timeout.rb / sleep
Additionally, the issue does not seem to happen on every build. If I rebuild the same version of ruby, the issue may go away. (until another few rebuilds) stan-envato (Stan Pitucha)
12:26 AM Bug #15763 (Third Party's Issue): Segmentation fault in timeout.rb / sleep
I'm running into crashes on both ruby 2.6.1 and 2.6.2 (2.5.x is all good).
I'm on OSX / mojave with ruby installed via rbenv / ruby-build. Confirmed on two different machines.
The crash happens through the parallel gem, but it happen...
stan-envato (Stan Pitucha)

04/10/2019

10:39 PM Bug #15761: File::Statfs documentation still exists on ruby-doc.org/core-trunk/
http://documenting-ruby.org is dead project.
Can you report ruby-doc.org administrator? Its website is not an official document resource.
hsbt (Hiroshi SHIBATA)
03:57 PM Bug #15761 (Third Party's Issue): File::Statfs documentation still exists on ruby-doc.org/core-trunk/
Please report at http://documenting-ruby.org. nobu (Nobuyoshi Nakada)
12:44 PM Bug #15761: File::Statfs documentation still exists on ruby-doc.org/core-trunk/
Agree that it is confusing.
In my opinion, if it were easily possible so, it would be best to have only one
central repository including the documentation, e. g. something like
doc.ruby-lang.org or a sub-page like that.
As it is ...
shevegen (Robert A. Heiler)
10:44 AM Bug #15761 (Third Party's Issue): File::Statfs documentation still exists on ruby-doc.org/core-trunk/
Hi
I found File::Statfs still exists in core-trunk web documentation.
But this feature no longer exists.
http://ruby-doc.org/core-trunk/File/Statfs.html
Google search leads me to this page, which is a bit confusing.
albb0920 (Albert Song)
06:17 PM Bug #15360: "ThreadError: deadlock; recursive locking" error when recursive lock shouldn't be possible
Is there a plan to fix this? We have been noticing this bug occasionally in production. Anonymous
04:24 PM Bug #15762: Error compiling OpenSSL on Cygwin
No error occurred, maybe OpenSSL headers have changed since the previous build?
Could you try `make -C ext/openssl clean`?
nobu (Nobuyoshi Nakada)
11:00 AM Bug #15762 (Closed): Error compiling OpenSSL on Cygwin
This is an error that only showed up today. I have been able to compile without problems on Cygwin until very recently. The only file recently changed in ext/openssl seems to be:
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/op...
duerst (Martin Dürst)
02:56 PM Revision cf781b08 (git): Set a meaningful name to all Azure jobs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
02:47 PM Revision 34af0603 (git): Try uncommenting deb-src
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
02:42 PM Revision 724bc97d (git): Debug latest sources.list on Azure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
02:34 PM Revision 1d955861 (git): Try removing apt update
trying to fix
https://dev.azure.com/rubylang/ruby/_build/results?buildId=363
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:57 PM Revision 82632d4c (git): ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV
OpenSSL::BN.new(nil, 2) dumped core.
[ruby-core:92231] [Bug #15760]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:43 PM Revision 54b93ef1 (git): compile.c: name a hidden local variable as a predefined ID
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:43 PM Revision b9e52ef8 (git): Adjusted styles
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:43 PM Revision d8442c43 (git): parse.y: fix fatal messages
* parse.y (rb_parser_fatal): fix "parser" in the message which was
replaced accidentally. it is not the argument name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:43 PM Revision c84bdda4 (git): timev.h: dummy definition for TAGS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:16 AM Revision 37994bc5 (git): * 2019-04-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:16 AM Revision 481481b8 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:15 AM Revision 25c1fd3b (git): Reverting all commits from r67479 to r67496 because of CI failures
Because hard to specify commits related to r67479 only.
So please commit again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
08:03 AM Bug #15760 (Closed): OpenSSL::BN.new(nil, 2) dumps core
Applied in changeset trunk|r67497.
----------
ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV
OpenSSL::BN.new(nil, 2) dumped core.
[ruby-core:92231] [Bug #15760]
mame (Yusuke Endoh)
07:56 AM Bug #15760 (Closed): OpenSSL::BN.new(nil, 2) dumps core
ext/openssl/ossl_bn.c
```
221 if (!BN_bin2bn((unsigned char *)StringValuePtr(str), RSTRING_LENINT(str), bn)) {
222 ossl_raise(eBNError, NULL);
223 }
224 break;
```
This code depends on t...
mame (Yusuke Endoh)
08:03 AM Revision 0cc2ffbc (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:03 AM Revision 83fc324d (git): ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV
OpenSSL::BN.new(nil, 2) dumped core.
[ruby-core:92231] [Bug #15760]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:18 AM Revision 91db3b6c (git): compile.c: name a hidden local variable as a predefined ID
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:44 AM Revision b8e3a4bd (git): id_table.c: use NULL as ID* instead of Qundef
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:44 AM Revision 33721b4d (git): vm_method.c: fix a warning
* vm_method.c (rb_add_method_iseq): use rb_method_iseq_t, as
rb_method_definition_set refers, with a cast to suppress a
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:44 AM Revision 5ae753df (git): Adjusted styles
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:35 AM Feature #15759 (Third Party's Issue): Support Rust/Cargo in Gem::Ext::Builder
Ruby includes rubygems, but this is imported, see e.g. https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67415. So improvements to rubygems should be proposed and discussed upstreams. duerst (Martin Dürst)
05:32 AM Feature #15759: Support Rust/Cargo in Gem::Ext::Builder
I can not speak for the ruby core team; it may be best to actually ask matz directly,
but let's ignore this for the moment. I think, viewed objectively, there would be no
reason to avoid/ignore Rust. Ruby's primary internal focus is on...
shevegen (Robert A. Heiler)
02:37 AM Feature #15759: Support Rust/Cargo in Gem::Ext::Builder
### Notable Gems using Rust
1. https://github.com/danielpclark/faster_path
2. https://github.com/ianks/fast_woothee -- shameless plug
3. https://github.com/tildeio/helix -- a framework for building Rust extensions
4. https://github...
ianks (Ian Ker-Seymer)
02:31 AM Feature #15759 (Third Party's Issue): Support Rust/Cargo in Gem::Ext::Builder
Over the past few years, Rust has proven to be an incredibly stable and accessible option for those wishing to write native extensions for Ruby. Rust is particularly well-suited for Ruby for a few reasons:
1. Integration is straight-...
ianks (Ian Ker-Seymer)
05:12 AM Revision cc02df32 (git): parse.y: fix fatal messages
* parse.y (rb_parser_fatal): fix "parser" in the message which was
replaced accidentally. it is not the argument name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:34 AM Revision e86bf9a4 (git): timev.h: dummy definition for TAGS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:18 AM Revision 9e448d2f (git): compile.c: cast iseqs to suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/09/2019

11:48 PM Revision d099eabb (git): Set a write barrier between iseq and mark objects
ISeq pins references in the mark array during compile, so it manually
marks references in the mark_ary. This was causing write barrier
misses, so we need to add a write barrier when pushing on the mark
array.
git-svn-id: svn+ssh://ci.r...
tenderlovemaking (Aaron Patterson)
11:35 PM Feature #15594 (Closed): [PATCH] net/imap: support SNI
Applied in changeset trunk|r67488.
----------
Support SNI
This fixes connecting using TLS 1.3 to imap.gmail.com
[Fix GH-2077] [Feature #15594]
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
shugo (Shugo Maeda)
11:27 PM Feature #15594: [PATCH] net/imap: support SNI
Here's a possible workaround:
```ruby
require 'net/protocol'
class Net::Protocol
module ForceSNI
def ssl_socket_connect(*)
@sock.hostname = @host if @sock.respond_to? :hostname=
super
end
end
pre...
knu (Akinori MUSHA)
10:57 PM Feature #15594: [PATCH] net/imap: support SNI
Maybe POP3 & SMTP need this too. knu (Akinori MUSHA)
10:47 PM Feature #15594: [PATCH] net/imap: support SNI
I think this is necessary for the library to be able to connect to the Gmail server which now requires SNI. knu (Akinori MUSHA)
11:35 PM Revision e553d94f (git): Support SNI
This fixes connecting using TLS 1.3 to imap.gmail.com
[Fix GH-2077] [Feature #15594]
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
11:23 PM Revision 73f891f1 (git): fix RMoved definition location
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:23 PM Revision 70cd493b (git): Don't fail the build if we can't get objects to move
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:03 PM Revision e900bba9 (git): Pin weakmap references
Weak map references can't move because the st_table needs their address
as a key. But, we also need to remove T_NONE from the map so they
aren't reused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67485 b2dd03c8-39d4-4d8f-98ff-82...
tenderlovemaking (Aaron Patterson)
09:40 PM Revision b84b8adc (git): Just a check to see what is breaking in CI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
09:13 PM Revision e385c159 (git): Add error globals to mark list so they don't move
JSON gem is referencing constants defined in Ruby then keeping a
reference as a global. We need to register these globals so they stay
pinned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:47 PM Revision 41f5237e (git): Try to make compaction more likely
This commit tries to make compaction more likely by allocating some
objects and then throwing them away
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:32 PM Feature #15626 (Closed): Manual Compaction for MRI's GC (`GC.compact`)
Applied in changeset trunk|r67479.
----------
Adding `GC.compact` and compacting GC support.
This commit adds the new method `GC.compact` and compacting GC support.
Please see this issue for caveats:
https://bugs.ruby-lang.org/issue...
tenderlovemaking (Aaron Patterson)
12:56 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
Hi,
Here are some statistics I gathered. I'll present a few more at RubyKaigi using our application.
https://gist.github.com/tenderlove/99112e9fcc85d9c6c7d9d0ea40063fc6
tenderlovemaking (Aaron Patterson)
08:32 PM Revision ca9733dc (git): * 2019-04-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:32 PM Revision 2d912017 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:32 PM Revision 3ef4db15 (git): Adding `GC.compact` and compacting GC support.
This commit adds the new method `GC.compact` and compacting GC support.
Please see this issue for caveats:
https://bugs.ruby-lang.org/issues/15626
[Feature #15626]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67479 b2dd03c8-39d...
tenderlovemaking (Aaron Patterson)
07:45 PM Bug #15708: Implicit numbered argument decomposes an array
FWIW, the replies on my tweet above is some good sign that very few Rubyists expect this behavior and it breaks the basics assumptions of how the feature can be used. Eregon (Benoit Daloze)
07:41 PM Bug #15708: Implicit numbered argument decomposes an array
For some reason, a reply on the tracker seems to have been lost, or removed.
I think it is highly relevant, so I'll quote it here:
sholden (Scott Holden) wrote:
> This is definitely not the behavior I would expect. In everything tha...
Eregon (Benoit Daloze)
03:18 PM Bug #15708: Implicit numbered argument decomposes an array
This is what happens when one syntactic sugar(*) collides with another.
(*) `a.map { |x,| x }` being a shorthand for `a.map { |(x)| x }` , and sometimes not, depending on the runtime values.
Neither of these are good, IMO (one for ...
dgutov (Dmitry Gutov)
01:08 PM Revision c09e35d7 (git): NEWS: [DOC] markup hyphens [ci skip]
* NEWS: [DOC] markup command line options, not to convert
successive hyphens to an en-dash unintentionally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 PM Revision ed958ef3 (git): NEWS: [DOC] fold lines [ci skip]
* NEWS: [DOC] fold lines not to make the BTS refereces wrong
links, without a backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:54 AM Bug #15746: 11 test cases run failed
Run with `make test-all` or test/runner.rb:
```
$ make test-all TESTS=test_extlibs.rb TESTOPTS=-v
../src/revision.h unchanged
Run options: "--ruby=./miniruby -I../src/lib -I. -I.ext/common ../src/tool/runruby.rb --extout=.ext -- ...
nobu (Nobuyoshi Nakada)
09:49 AM Bug #15746: 11 test cases run failed
nobu (Nobuyoshi Nakada) wrote:
> Run these tests under the build tree.
Hi,
I don't think this is problem where I run the test. Can you explain more? Thanks.
Besides, I run the test on target since cross compile.
1. for error l...
sandy-lcq (sandy li)
09:41 AM Revision a2429de6 (git): mention support for Unicode Version 12.1.0 (issue #15195) in NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
07:39 AM Misc #15723: Reconsider numbered parameters
Marc, okay, I agree with you. But if not in the form of `&:first` or `&:last`, I still frequently see the methods `first` and `last` used in blocks, and I see that those can be accessed as `_.first`, `_.last` according to your proposal, ... sawa (Tsuyoshi Sawada)
03:20 AM Feature #14183: "Real" keyword argument
I have updated my branch (https://github.com/jeremyevans/ruby/commits/keyword-argument-separation) to restore backwards compatibility for methods using keyword arguments when calling with a final positional hash with mixed Symbol and non... jeremyevans0 (Jeremy Evans)
01:27 AM Feature #15742 (Closed): Add Date#jisx0301 support new Japanese era
Applied in changeset trunk|r67474.
----------
date: support for Reiwa, new Japanese era
[Feature #15742]
nobu (Nobuyoshi Nakada)
01:27 AM Revision 49255fd7 (git): * 2019-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:27 AM Revision 320c98b4 (git): date: support for Reiwa, new Japanese era
[Feature #15742]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:27 AM Revision 63e66f08 (git): date_core.c: [DOC] Heisei will be assumed if no-era [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/08/2019

11:26 PM Feature #15742: Add Date#jisx0301 support new Japanese era
akr (Akira Tanaka) wrote:
> > Maybe, we should await next JIS X 0301?
> ...
As Japanese government has claimed that only one month is enough for the transition, the new standard will be issued in this month at latest :)
nobu (Nobuyoshi Nakada)
05:34 AM Feature #15742: Add Date#jisx0301 support new Japanese era
- Unicode CLDR 35.1 alpha uses "R".
https://www.unicode.org/repos/cldr/tags/release-35-1-alpha/common/main/ja.xml
- OpenJDK also uses "R".
https://bugs.openjdk.java.net/browse/JDK-8205432
http://hg.openjdk.java.net/jdk/jdk/rev/...
akr (Akira Tanaka)
10:08 PM Misc #15723: Reconsider numbered parameters
sawa (Tsuyoshi Sawada) wrote:
> Marc, regarding `|x, |`, I see plenty of cases like `map(&:first)` (or `map(&:last)`). Probably taking care of these cases is more important than the explicit `|x, |` cases. If you are going to count, you...
marcandre (Marc-Andre Lafortune)
07:17 PM Misc #15723: Reconsider numbered parameters
Eregon (Benoit Daloze) wrote:
> @sawa Thank you for think link, I missed that issue.
> ...
Even more confusion ahead.
I don't see that this feature adds any benefit besides saving some chars in an ideal case.
On the downside it wil...
pascalbetz (Pascal Betz)
06:15 PM Misc #15723: Reconsider numbered parameters
@sawa Thank you for think link, I missed that issue.
I stand by my opinion though, and expressed it there too.
Eregon (Benoit Daloze)
11:58 AM Misc #15723: Reconsider numbered parameters
Eregon (Benoit Daloze) wrote:
> @sawa The `|x,|` behavior for `@1` can only be considered a bug. It prevents `array_of_arrays.each { p @1 }` to work correctly.
> ...
@Eregon I think you better check the relevant threads before dumping ...
sawa (Tsuyoshi Sawada)
06:35 PM Bug #15708: Implicit numbered argument decomposes an array
FWIW, I would bet >99% of Rubyists would agree this is a bug: https://twitter.com/eregontp/status/1115318993299083265 Eregon (Benoit Daloze)
06:13 PM Bug #15708: Implicit numbered argument decomposes an array
As I said in #15723,
I believe the `|x,|` behavior for `@1` can only be considered a bug.
It prevents `array_of_arrays.each { p @1 }` to work correctly.
Why would we want to prevent that and make this pattern not general, dangerou...
Eregon (Benoit Daloze)
06:11 PM Bug #15754: MinGW build/compile failure with Ruby 2.5.5, but 2.6.2 & trunk ok
As to commits, see:
r64620 - Declare as gnu_printf on mingw
https://github.com/ruby/ruby/commit/c115b39e033979bac7cfd2db5735549430dc14f7
and
r64630 - use mingw ANSI stdio
https://github.com/ruby/ruby/commit/1cf2bb4b20857581125...
MSP-Greg (Greg L)
03:42 PM Bug #15754: MinGW build/compile failure with Ruby 2.5.5, but 2.6.2 & trunk ok
@nobu
Thanks for the reply. Stupid on my part, I overlooked the changes re `gnu_printf` in configure.ac, and it's compiling fine.
I found the patch for it looking in an old copy of ruby-loco (using 'makepkg'). Back when Appveyor ...
MSP-Greg (Greg L)
03:36 AM Bug #15754: MinGW build/compile failure with Ruby 2.5.5, but 2.6.2 & trunk ok
`PRI_LL_PREFIX` should be defined in config.h by configure.ac.
```sh
$ grep '#define PRI_LL_PREFIX' .ext/include/x64-mingw32/ruby/config.h
#define PRI_LL_PREFIX "I64"
```
nobu (Nobuyoshi Nakada)
01:47 PM Bug #15758 (Closed): Object.const_defined?(name) falsely returns true on classes that are not defined
Applied in changeset trunk|r67472.
----------
object.c: fix searching nested const paths
* object.c (rb_mod_const_get, rb_mod_const_defined): nested const
paths should not search from toplevel constants.
[ruby-core:92202] [Bug #15758]
nobu (Nobuyoshi Nakada)
11:30 AM Bug #15758 (Closed): Object.const_defined?(name) falsely returns true on classes that are not defined
in short https://i.imgur.com/qvIIBuu.png
Object.const_defined?('Baz::Bar') -> true
yet Baz::Bar -> class not found!
test to run, all ok on ruby 2.6.0, bug in 2.6.2
~~~ruby
class Foo
end
class Bar
end
class Baz
cla...
dux (Dino Reic)
01:47 PM Revision d10451f3 (git): object.c: fix searching nested const paths
* object.c (rb_mod_const_get, rb_mod_const_defined): nested const
paths should not search from toplevel constants.
[ruby-core:92202] [Bug #15758]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67472 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
01:47 PM Revision e1b592b5 (git): test_module.rb: fix a typo
* test/ruby/test_module.rb (TestModule#test_nested_get): fix a
typo. nested module's name is a qualified path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:52 AM Feature #15752: A dedicated module for experimental features
shevegen (Robert A. Heiler) wrote:
> But having a situation where changes to MRI could possibly be delayed due to difficulties
> ...
I am not proposing anything like that.
Practically, whenever MRI decides to add an experimental featu...
Eregon (Benoit Daloze)
11:49 AM Feature #15752: A dedicated module for experimental features
naruse (Yui NARUSE) wrote:
> Web browsers showed us that it cannot achieve at once both experimental and portable.
I will dare to challenge that.
Why would `ExperimentalFeatures.resolve_feature_path` not be portable?
Portable here ...
Eregon (Benoit Daloze)
11:41 AM Feature #15752: A dedicated module for experimental features
One worry that I have here is that this change may add bureaucratic overhead to MRI in
particular. I have nothing against alternative ruby implementations at all, quite the
opposite - the easier it is to implement ruby/rubies the bette...
shevegen (Robert A. Heiler)
09:54 AM Feature #15752: A dedicated module for experimental features
Web browsers showed us that it cannot achieve at once both experimental and portable. naruse (Yui NARUSE)
09:31 AM Feature #15752: A dedicated module for experimental features
ioquatix (Samuel Williams) wrote:
> I think it's a good idea. Might I suggest two potential ideas?
Go ahead :)
> ...
This is equivalent to my proposition of `ExperimentalFeatures` with a different name, right?
I don't understan...
Eregon (Benoit Daloze)
01:26 AM Feature #15752: A dedicated module for experimental features
I think it's a good idea. Might I suggest two potential ideas?
Firstly, maybe have a shared `Ruby` module for common but interpreter specific functionality.
Then, interpreter specific modules e.g. `CRuby`, `MRuby`, `JRuby`, `Truffl...
ioquatix (Samuel Williams)
09:54 AM Bug #15746 (Rejected): 11 test cases run failed
Run these tests under the build tree. nobu (Nobuyoshi Nakada)
09:53 AM Feature #15743: RubyVM should be renamed to CRuby
As far as I remember, the name "RubyVM" is introduced because the name of the implementation which is called as CRuby or MRI cannot be decided, and also its VM's name is not actually YARV. To rename it to something, it needs to reopen th... naruse (Yui NARUSE)
05:06 AM Revision 7a4c39c5 (git): struct.c: force hash values fixable
* struct.c (rb_struct_hash): force hash values fixable on LLP64
environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:52 AM Feature #5400: Remove flip-flops in 2.0
I **STRONGLY** object removal of flip-flop, in "-e" option at least.
It is too tiresome to rewrite with a flag variable in one-liners.
nobu (Nobuyoshi Nakada)
03:26 AM Bug #15757 (Closed): [BUG] Unnormalized Fixnum value on Range#hash.to_s on Windows
Applied in changeset trunk|r67468.
----------
range.c: force hash values fixable
* range.c (range_hash): force hash values fixable on LLP64
environment. [ruby-core:92194] [Bug #15757]
nobu (Nobuyoshi Nakada)
02:36 AM Bug #15757 (Closed): [BUG] Unnormalized Fixnum value on Range#hash.to_s on Windows
To reproduce:
```
ruby -e "(0..1).hash.to_s"
```
Result:
```
-e:1: [BUG] Unnormalized Fixnum value 0x8fa800e97a8f86b7
ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
-- Control frame information ------------------...
5.5 (5 5)
03:26 AM Bug #15756 (Closed): [BUG] Unnormalized Fixnum value on Method#hash.to_s on Windows
Applied in changeset trunk|r67467.
----------
range.c: force hash values fixable
* range.c (method_hash): force hash values fixable on LLP64
environment. [ruby-core:92191] [Bug #15756]
nobu (Nobuyoshi Nakada)
02:28 AM Bug #15756 (Closed): [BUG] Unnormalized Fixnum value on Method#hash.to_s on Windows
To reproduce:
```
ruby -e "method(:p).hash.to_s"
```
Result:
```
-e:1: [BUG] Unnormalized Fixnum value 0xd258e532a3942665
ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
-- Control frame information --------------...
5.5 (5 5)
03:26 AM Bug #15755 (Closed): [BUG] Unnormalized Fixnum value on Enumerator::ArithmeticSequence#hash.to_s on Windows
Applied in changeset trunk|r67466.
----------
enumerator.c: force hash values fixable
* enumerator.c (arith_seq_hash): force hash values fixable on
LLP64 environment. [ruby-core:92190] [Bug #15755]
nobu (Nobuyoshi Nakada)
01:58 AM Bug #15755 (Closed): [BUG] Unnormalized Fixnum value on Enumerator::ArithmeticSequence#hash.to_s on Windows
To reproduce:
```
ruby -e "0.step.hash.to_s"
```
Result:
```
-e:1: [BUG] Unnormalized Fixnum value 0xb3735f03e7a21893
ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
-- Control frame information ------------------...
5.5 (5 5)
03:26 AM Revision b29f55c5 (git): * 2019-04-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 AM Revision ae6c195f (git): range.c: force hash values fixable
* range.c (range_hash): force hash values fixable on LLP64
environment. [ruby-core:92194] [Bug #15757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 AM Revision b5baceda (git): range.c: force hash values fixable
* range.c (method_hash): force hash values fixable on LLP64
environment. [ruby-core:92191] [Bug #15756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 AM Revision 06eece87 (git): enumerator.c: force hash values fixable
* enumerator.c (arith_seq_hash): force hash values fixable on
LLP64 environment. [ruby-core:92190] [Bug #15755]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:35 AM Bug #15753: unknown keyword when passing an hash to a method that accepts a default argument and a named argument
I believe this is the same issue as #12717. We are trying to address this issue in #14183. jeremyevans0 (Jeremy Evans)
02:29 AM Feature #14183: "Real" keyword argument
I have updated my GitHub branch (https://github.com/jeremyevans/ruby/commits/keyword-argument-separation) to fix the issues in mame's branch that I identified in my previous comment.
Now, my branch keeps compatibility with Ruby 2.6 in...
jeremyevans0 (Jeremy Evans)
 

Also available in: Atom