Project

General

Profile

Activity

From 04/16/2020 to 04/22/2020

04/22/2020

10:41 PM Bug #16669: Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
I have confirmed `ruby 2.8.0dev (2020-04-22T17:21:38Z master 8119bcbfc0) [x86_64-darwin19]` addresses Rails Action Vi... yahonda (Yasuo Honda)
05:22 PM Bug #16669 (Closed): Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
Applied in changeset commit:git|8119bcbfc04772fe4012b5ed396a68f02e312316.
----------
rb_method_entry() returns valid...
ko1 (Koichi Sasada)
05:21 PM Revision 8119bcbf (git): rb_method_entry() returns valid me.
search_method() can return invalid method, but vm_defined() checks
it as valid method entry. This is why defined?(foo...
ko1 (Koichi Sasada)
04:41 PM Revision 492e8599 (git): * 2020-04-23 [ci skip]
git[bot]
04:40 PM Revision 6292271e (git): Fix permission of PATH
https://.com/ruby/actions/runs/608526685?check_suite_focus=true
`warning: Insecure world writable dir /home/run...
znz (Kazuhiro NISHIYAMA)
03:41 PM Bug #16804: Vagrant Up does not work anymore
Please close this. Thank you. xolge (Gerard Bee)
03:41 PM Bug #16804: Vagrant Up does not work anymore
Thank you Jeremy Evans for pointing me to the right direction. I found workaround in one of your links (https://githu... xolge (Gerard Bee)
02:57 PM Feature #16806: Struct#initialize accepts keyword arguments too by default
I'm OK with the basic idea of allowing keyword init for Structs by default. However, because this changes behavior, ... jeremyevans0 (Jeremy Evans)
06:14 AM Feature #16806 (Closed): Struct#initialize accepts keyword arguments too by default
## Proposal
```rb
Post = Struct.new(:id, :name)
# In addition to this,
Post.new(1, "hello") #=> #<struct Post...
k0kubun (Takashi Kokubun)
11:44 AM Revision 1997e10f (git): Made parentheses mandatory in endless method defition
Even for empty argument list, not to be confusing with a writer
method name.
nobu (Nobuyoshi Nakada)
11:44 AM Revision 1fe5bffe (git): Disallow R-assign in endless def
nobu (Nobuyoshi Nakada)
09:56 AM Revision 02ad393c (git): Revert "Allow simple R-assign in endless def"
This reverts commit 67bcac879a2e0ddfb4e7bbd7cb5e5401422de76a. nobu (Nobuyoshi Nakada)
09:49 AM Bug #16807: Ruby 2.7 segfault loading sources under GC.stress
`ID` list in `NODE_SCOPE` seems corrupted.
Maybe a GC compaction related issue?
nobu (Nobuyoshi Nakada)
08:03 AM Bug #16807 (Closed): Ruby 2.7 segfault loading sources under GC.stress
Originally seen in https://.com/protocolbuffers/protobuf/pull/7386, but reproduces without C extension.
Repr...
qnighy (Masaki Hara)
08:21 AM Misc #16747: Repository reorganization request
It should include also better place for default gems:
https://bugs.ruby-lang.org/issues/16778
And also it would...
vo.x (Vit Ondruch)
01:11 AM Misc #16747: Repository reorganization request
With https://bugs.ruby-lang.org/issues/16254, We should re-organize the top-directory before increasing the files lik... hsbt (Hiroshi SHIBATA)
07:13 AM Revision d6ec8da6 (git): Update benchmark-driver version
nobu (Nobuyoshi Nakada)
06:53 AM Misc #16802 (Closed): Prefer use of RHS assigment in documentation
Okay great. For now, I'm satisfied we don't use this in documentation. However if we adopt it I'll consider it again. ioquatix (Samuel Williams)
06:27 AM Revision f00b9231 (git): Revert "* remove trailing spaces. [ci skip]"
This reverts commit 6b04c480487ab64d73e1254be2412e722b7b8bd8.
Trailing spaces separate paragraphs in RDoc format.
nobu (Nobuyoshi Nakada)
01:19 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I agree with `--backtrace-limit`, and actually I use `rb_backtrace_length_limit` in my :-)
I'll update my patc...
mame (Yusuke Endoh)
12:34 AM Feature #8661 (Assigned): Add option to print backtrace in reverse order (stack frames first and error last)
jeremyevans0 (Jeremy Evans) wrote in #note-37:
> I agree the option could have a better name. I recommend `--back...
duerst (Martin Dürst)
01:01 AM Revision 5ce78355 (git): Update benchmark-driver version
nobu (Nobuyoshi Nakada)
12:49 AM Revision 17083011 (git): support builtin for Kernel#Float
# Iteration per second (i/s)
| |compare-ruby|built-ruby|
|:------------|-----------:|---------:|
|float ...
S_H_ (Shun Hiraoka)

04/21/2020

11:49 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
duerst (Martin Dürst) wrote in #note-36:
> I think the option's name (`--suppress-backtrace`) is wrong. If I write `...
jeremyevans0 (Jeremy Evans)
11:35 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I think the option's name (`--suppress-backtrace`) is wrong. If I write `--suppress-backtrace=10`, it reads like "sup... duerst (Martin Dürst)
10:29 AM Feature #8661 (Closed): Add option to print backtrace in reverse order (stack frames first and error last)
Applied in changeset ruby-master:commit:git|bf11bf31e2e795bb22c939a5b5cd412c98208982.
----------
NEWS.md: the order ...
nobu (Nobuyoshi Nakada)
09:36 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I've created a PR for `--suppress-backtrace=num` option.
https://.com/ruby/ruby/pull/3047
@matz Could you...
mame (Yusuke Endoh)
08:45 AM Feature #8661 (Open): Add option to print backtrace in reverse order (stack frames first and error last)
Reopen because we need to support `--suppress-backtrace=5`. mame (Yusuke Endoh)
08:44 AM Feature #8661 (Closed): Add option to print backtrace in reverse order (stack frames first and error last)
Applied in changeset ruby-master:commit:git|487d0c99d53208594702bb3ce1c657130fb8d65f.
----------
eval_error.c: rever...
mame (Yusuke Endoh)
08:17 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Thank you @matz!
I can try to prepare including both options:
1. specify order
2. limit amount of lines ...
retro (Josef Šimánek)
08:13 AM Feature #8661 (Open): Add option to print backtrace in reverse order (stack frames first and error last)
mame (Yusuke Endoh)
08:13 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Thank you very much, @matz!!! mame (Yusuke Endoh)
07:53 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
OK, let's revert it. Instead, I want to something to suppress backtrace lines (e.g. `--suppress-backtrace=5` command-... matz (Yukihiro Matsumoto)
11:44 PM Misc #16802: Prefer use of RHS assigment in documentation
ioquatix (Samuel Williams) wrote in #note-6:
> Oh okay, I thought it was a sure thing at this point - where is the e...
jeremyevans0 (Jeremy Evans)
11:26 PM Misc #16802: Prefer use of RHS assigment in documentation
Oh okay, I thought it was a sure thing at this point - where is the experimental nature of it being tracked? ioquatix (Samuel Williams)
10:06 PM Misc #16802: Prefer use of RHS assigment in documentation
Eregon (Benoit Daloze) wrote in #note-4:
> I think we should wait that RHS assignment is no longer experimental.
>
>...
greggzst (Grzegorz Jakubiak)
10:55 AM Misc #16802: Prefer use of RHS assigment in documentation
I think we should wait that RHS assignment is no longer experimental.
As I see it, it might get similar backlash a...
Eregon (Benoit Daloze)
09:11 AM Misc #16802: Prefer use of RHS assigment in documentation
I'm not sure it's a good idea. There's some value in distinguishing between an actual right-hand-side assignment and ... duerst (Martin Dürst)
05:14 AM Misc #16802: Prefer use of RHS assigment in documentation
@matz do you mind letting me know your thoughts? ioquatix (Samuel Williams)
05:13 AM Misc #16802 (Closed): Prefer use of RHS assigment in documentation
Many documentation uses some format like this:
```
Hash.new -> hash
```
Now that RHS assignment ...
ioquatix (Samuel Williams)
06:00 PM Misc #16803: Discussion: those internal macros reside in public API headers
I think as much as feasible macros accessing internals should not be in public headers.
OTOH, I think macros purely ...
Eregon (Benoit Daloze)
07:45 AM Misc #16803 (Open): Discussion: those internal macros reside in public API headers
A while ago I merged https://.com/ruby/ruby/pull/2991 ("Split ruby.h"). This seems working. But the changeset... shyouhei (Shyouhei Urabe)
05:43 PM Revision ad63ae66 (git): ./workflows/mingw.yml: add `shell: bash` for PR checkout
as well as e62aead26909e83f2c8b940186047f0a88b9f2d6 mame (Yusuke Endoh)
05:31 PM Revision 92afac8f (git): configure.ac: Automatically add -D__ANDROID_API=ver on Android
mame (Yusuke Endoh)
05:05 PM Revision cebf575d (git): * 2020-04-22 [ci skip]
git[bot]
05:05 PM Revision 7d918be6 (git): test/ruby/test_fiber.rb: Skip the problematic test_stack_size on riscv
Since it is impossible to detect stack overflow of C functions robustly,
the test is a bit unreasonable.
https://rub...
mame (Yusuke Endoh)
03:13 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
hshimoyama (Hiroyasu Shimoyama) wrote in #note-24:
> I tried to reproduce this issue, but it was not reproduced toda...
ncopa (Natanael Copa)
02:42 PM Bug #16804 (Third Party's Issue): Vagrant Up does not work anymore
This appears to be a bug in Vagrant:
* https://.com/hashicorp/vagrant/issues/11497
* https://.com/has...
jeremyevans0 (Jeremy Evans)
08:31 AM Bug #16804 (Third Party's Issue): Vagrant Up does not work anymore
Good day,
I was able to set up a VM (Scotch Box Pro @ https://.com/scotch-io/scotch-box) last week and it wa...
xolge (Gerard Bee)
12:36 PM Revision 22226324 (git): LEGAL: fixed links to the old-style BSD license [ci skip]
nobu (Nobuyoshi Nakada)
12:12 PM Revision 6b04c480 (git): * remove trailing spaces. [ci skip]
git[bot]
12:05 PM Revision cb47ae58 (git): LEGAL: moved the old-style BSD license and linked [ci skip]
nobu (Nobuyoshi Nakada)
12:05 PM Revision 61afd2a2 (git): LEGAL: moved the MIT license and linked [ci skip]
nobu (Nobuyoshi Nakada)
12:05 PM Revision 405d8014 (git): LEGAL: made license names themselves links [ci skip]
nobu (Nobuyoshi Nakada)
10:37 AM Bug #16797: Array#flatten not checking `respond_to? :to_ary`
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Read the error message.
>
> ```
> -:4:in `flatten': can't convert Ob...
UlyssesZhan (Ulysses Zhan)
10:29 AM Revision 3ef09c6e (git): eval_error.c: default nil as "reverse" is now false [Feature #8661]
nobu (Nobuyoshi Nakada)
10:29 AM Revision bf11bf31 (git): NEWS.md: the order of backtrace [Feature #8661] [ci skip]
nobu (Nobuyoshi Nakada)
10:23 AM Misc #16805 (Assigned): Coroutine's license is unclear
Files under `coroutine/` start like this:
```C
/*
* This file is part of the "Coroutine" project and released ...
shyouhei (Shyouhei Urabe)
08:39 AM Revision 487d0c99 (git): eval_error.c: revert the "reversed" backtrace [Feature #8661]
Now, the order is good, old-fashioned style:
```
$ ./local/bin/ruby -e 'def foo; raise; end
def bar; foo; end
def ba...
mame (Yusuke Endoh)
08:10 AM Bug #14367: Wrong interpretation of backslash C in regexp literals
Can I have any answer for my question ("Is this intentional?")? shyouhei (Shyouhei Urabe)
07:30 AM Revision c63b5c61 (git): rb_memerror: abort immediately
Ditto for adab82b9a71f60ad1c7f4f8c134a5ae9198ab32a. TRY_WITH_GC was
found innocent.
shyouhei (Shyouhei Urabe)
04:35 AM Revision dc9089b5 (git): Fixed a typo [ci skip]
nobu (Nobuyoshi Nakada)
04:07 AM Revision 32623150 (git): reroute redefinition of NDEBUG
NDEBUG can be defined via a command-line argument. Should take care of
such situations.
shyouhei (Shyouhei Urabe)
04:07 AM Revision 735e035b (git): __GNUC__ is too lax
Ditto for 4b853932eaa7fa4acf8a0f0c9b7c695bb4f5e76d shyouhei (Shyouhei Urabe)
03:59 AM Revision adab82b9 (git): TRY_WITH_GC: abort immediately
NoMemoryError is observed on icc but I fail to reproduce so far. Let me
see the backtrace on CI.
shyouhei (Shyouhei Urabe)
03:38 AM Revision 4b861941 (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
03:10 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
In order to experiment with this, I'd like to propose the following hooks to the scheduler:
```ruby
class Schedul...
ioquatix (Samuel Williams)
02:18 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
Here is a quick hack I used to add `Fiber.backtrace` to aid in debugging. I'd say, don't use it in production, but I ... ioquatix (Samuel Williams)

04/20/2020

10:27 PM Bug #16266 (Rejected): Additional empty folders created in lib/ruby/gems/2.7.0/gems by make install
https://.com/ruby/ruby/pull/2580 is already closed. hsbt (Hiroshi SHIBATA)
10:25 PM Bug #15359: Bundler help is not properly integrated
I added the workaround for man path with ruby installation. But we should care about the convention of Linux distribu... hsbt (Hiroshi SHIBATA)
09:53 PM Bug #15359 (Closed): Bundler help is not properly integrated
Applied in changeset commit:git|b9962f0e8909b1163320fbcfe80060a259b2353d.
----------
Fixed incorrect man path with r...
hsbt (Hiroshi SHIBATA)
09:53 PM Revision b9962f0e (git): Fixed incorrect man path with ruby installation path
[Bug #15359][ruby-core:90164] hsbt (Hiroshi SHIBATA)
06:02 PM Feature #15921: R-assign (rightward-assignment) operator
Ah right, trying the master branch is the fastest way to get answers, duh. But this brings me to this little surprise... Dan0042 (Daniel DeLorme)
05:18 PM Feature #15921: R-assign (rightward-assignment) operator
In current head, it is so:
```ruby
x1 = 5 + 3 => y1
p [x1, y1] # [8, 8]
5 + 3 => x2 => y2
p [x2, y2] # [8, 8]
*[1,...
zverok (Victor Shepelev)
03:37 PM Feature #15921: R-assign (rightward-assignment) operator
I'd like to hear some clarifications on the expected behavior of rightward assignment.
assignment at both ends? `x =...
Dan0042 (Daniel DeLorme)
03:06 PM Revision 8e517942 (git): test/ruby/test_refinement.rb: extend the timeout
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20200420T083601Z.fail.html.gz mame (Yusuke Endoh)
03:00 PM Revision 7a0ac279 (git): * 2020-04-21 [ci skip]
git[bot]
02:59 PM Revision 6985bfb7 (git): vm_dump.c: Do not show C backtrace on riscv
Currently, objdump -W miniruby emits some errors on riscv, so I guess
that DWARF is corrupted.
mame (Yusuke Endoh)
02:56 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
byroot (Jean Boussier) wrote in #note-3:
> To clarify, what I'm trying to say is that the `"new"` method should simp...
jeremyevans0 (Jeremy Evans)
02:20 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
To clarify, what I'm trying to say is that the `"new"` method should simply forward everything to the `initialize` me... byroot (Jean Boussier)
02:16 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
@jeremyevans0 I'm afraid I don't understand what you are referring to:
2.7.1:
```
$ ruby -v
ruby 2.7.1p83 (20...
byroot (Jean Boussier)
02:05 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
I think the something your missing is this would break existing code:
```ruby
Struct.new(:hash_value).new(hash_ke...
jeremyevans0 (Jeremy Evans)
09:59 AM Bug #16801 (Closed): The default Struct constructor improperly handle keyword arguments
Reproduction script:
```ruby
Field = Struct.new(:value) do
def initialize(value, keyword: false)
super(va...
byroot (Jean Boussier)
01:48 PM Revision 847e2597 (git): Skip JIT tests on riscv64 due to SEGV of cc1
mame (Yusuke Endoh)
12:27 PM Revision 3cd3a507 (git): [sync_default_gems.rb] Force reset conflict files to be ignored
[ci skip] nobu (Nobuyoshi Nakada)
12:26 PM Revision aeb9d115 (git): Revert irrelevant change [ci skip]
nobu (Nobuyoshi Nakada)
12:14 PM Revision e571bb84 (git): Removed phony atomic operations for void* and VALUE
nobu (Nobuyoshi Nakada)
08:00 AM Feature #16791: Shortcut for Process::Status.exitstatus
It is not a good idea to compare `exitstatus` with 0 from the point of portability.
I'd recommend to use `Process::S...
nobu (Nobuyoshi Nakada)
03:11 AM Feature #16791: Shortcut for Process::Status.exitstatus
Those short aliases are definitely a bad idea but I understand the OP's frustration with `$?` because it's different ... Dan0042 (Daniel DeLorme)
04:26 AM Feature #16799: Add more functional features,make ruby more friendly.
In addition to matz's note, we had tried the single namespace once some years ago.
Finally we found that the incompa...
nobu (Nobuyoshi Nakada)
03:37 AM Revision b4c9b570 (git): * 2020-04-20 [ci skip]
git[bot]
03:33 AM Revision 20773a10 (git): Bail out if no atomic operation found
As atomic operations are mandatory now, not-working phony fallback
definitions are not only useless but confusing and...
nobu (Nobuyoshi Nakada)
01:41 AM Bug #16797: Array#flatten not checking `respond_to? :to_ary`
Actually what happens here is pretty interesting. This is all done via `rb_check_array_type` which attempts to conver... Dan0042 (Daniel DeLorme)
01:21 AM Bug #16774: Don't require sub-word atomics
Great. Thank you. mame (Yusuke Endoh)
01:18 AM Bug #16800: [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
I believe that it is already fixed on master by the of #16774. mame (Yusuke Endoh)

04/19/2020

02:41 PM Revision e92f3e12 (git): Removed useless VMDEBUG definition [ci skip]
VMDEBUG is always defined as defaulted to 0 in vm_core.h. nobu (Nobuyoshi Nakada)
02:38 PM Revision 73bd2b70 (git): Update VMDEBUG reference doc [ci skip]
Since this commit (https://.com/ruby/ruby/commit/9e1b06e17d27fb4ddf51e9244f205417e9c4dd5c), the VM Debug Level ... Nguyễn Quang Minh
02:18 PM Feature #16799 (Rejected): Add more functional features,make ruby more friendly.
I'd love to enhance the language to be nice to functional programming but at the same time, we have to be nice to exi... matz (Yukihiro Matsumoto)
04:34 AM Feature #16799: Add more functional features,make ruby more friendly.
Yes, changing the syntax is currently not a good choice, but I think it is necessary to modify the method call syntax... jackmaple (maple jack)
02:15 PM Revision 2af4c1fc (git): Skip Process#clock_getres specs on Android
... just like AIX and OpenBSD. mame (Yusuke Endoh)
02:14 PM Revision 5a8960b4 (git): Skip TestRequire#test_loading_fifo_fd_ on Android
The test fails due to unknown reason. Need to debug in future, but
tentatively skipped.
mame (Yusuke Endoh)
01:42 PM Bug #16800: [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
According to that log, seems CAS is not available. nobu (Nobuyoshi Nakada)
10:22 AM Bug #16800 (Closed): [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
The last version of Ruby in Fedora/RISCV is v2.5.7. It seems that anything above v2.5 series fails to build (tried mu... davidlt (David Abdurachmanov)
11:03 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I agree on this is really unfortunate and annoying change. I need to go thru backtrace visually first to decide which... retro (Josef Šimánek)
10:52 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Yes, this is still the most annoying change in Ruby. Once the backtrace is displayed in reverse order, the other time... vo.x (Vit Ondruch)
10:46 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I have not changed my opinion, but I gave up and now wrap every command with my own gem which puts it back in the top... ioquatix (Samuel Williams)
09:01 AM Feature #16794: Rightward operators
As for the pipeline operator, it could be more useful in combination with right assignment operators.
```ruby
foo...
nobu (Nobuyoshi Nakada)
07:28 AM Feature #16794: Rightward operators
So,in fact,only one pipeline operator is needed to call the method in reverse.
``` ruby
puts "hello world"
#Pipeli...
jackmaple (maple jack)
08:16 AM Misc #16778: Should we stop vendoring default gems code?
hsbt (Hiroshi SHIBATA) wrote in #note-18:
> I and the maintainer of the default gems will extract the default gems t...
greggzst (Grzegorz Jakubiak)
07:47 AM Misc #16778: Should we stop vendoring default gems code?
hsbt (Hiroshi SHIBATA) wrote in #note-18:
> 2. There is no plan to use git submodule for these issues. The ruby comm...
vo.x (Vit Ondruch)
01:42 AM Misc #16778: Should we stop vendoring default gems code?
This issues is too complex and complicated. I and mame and the maintainers of default gems already considered these t... hsbt (Hiroshi SHIBATA)
05:21 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
@matz do you mind checking this when you have time? Especially `Fiber#backtrace` is super important for debugging iss... ioquatix (Samuel Williams)
01:40 AM Revision 2832ba80 (git): The pdb header error is printed at stdout
https://ci.appveyor.com/project/ruby/ruby/builds/32278754/job/90jmky2jq2k0wjv8 k0kubun (Takashi Kokubun)
12:35 AM Revision c0b93267 (git): Update workflows/mingw.yml - use setup-ruby-pkgs (#3042)
MSP-Greg/actions-ruby is deprecated... MSP-Greg (Greg L)

04/18/2020

09:25 PM Feature #16799: Add more functional features,make ruby more friendly.
method1 = (f,n) -> do
return f(n)
end
I think a syntax change such as this may be very problematic...
shevegen (Robert A. Heiler)
05:36 PM Feature #16799 (Rejected): Add more functional features,make ruby more friendly.
Classes are currently first-class citizens in Ruby, but functions are not.
This leads to a situation where the funct...
jackmaple (maple jack)
08:22 PM Misc #16775: DevelopersMeeting20200514Japan
* [Misc #16778] Should we stop vendoring default gems code? (greggzst)
* it makes maintenance easier and removes th...
greggzst (Grzegorz Jakubiak)
05:17 PM Feature #16781: alias :fold :reduce
0x81000000 (/ /) wrote:
> 2. Name "fold" is more common/popular than "reduce" or "inject".
I was surprised to hea...
shan (Shannon Skipper)
03:35 PM Revision cf332f68 (git): * 2020-04-19 [ci skip]
git[bot]
02:31 PM Bug #16776: Regression in coverage library
marcandre (Marc-Andre Lafortune) wrote in #note-3:
> I never realized this limitation. I imagine that for the vast m...
deivid (David Rodríguez)
02:29 PM Bug #16798: ENV.replace on Windows with a variable name not respecting case will clear it
Thanks for the quick fix @nobu, and for setting the backports! <3 deivid (David Rodríguez)
02:09 PM Bug #16798 (Closed): ENV.replace on Windows with a variable name not respecting case will clear it
Applied in changeset commit:git|08529a61153e5c40f57a65272211357511d6e6db.
----------
Compare environment variable na...
nobu (Nobuyoshi Nakada)
02:19 PM Revision 0a986b81 (git): Env values removed by ENV.clear are not used
nobu (Nobuyoshi Nakada)
02:19 PM Revision 97e8c72e (git): Bypass env key encoding conversion if unnecessary
nobu (Nobuyoshi Nakada)
02:19 PM Revision ec4e57ca (git): Hoisted out reset_by_modified_env
nobu (Nobuyoshi Nakada)
02:19 PM Revision 67e4d5e6 (git): Environment variable values are not case-insensitive
Only the names are case-sensitive. nobu (Nobuyoshi Nakada)
02:12 PM Revision db0d850d (git): [ruby/reline] Add ed_search_next_history
https://.com/ruby/reline/commit/ca750b676b aycabta (aycabta .)
02:12 PM Revision bea3e31e (git): [ruby/reline] Add ed_search_prev_history
https://.com/ruby/reline/commit/e9ae288825 aycabta (aycabta .)
02:11 PM Revision 1e4efbb6 (git): [ruby/reline] Rename wrong test name
https://.com/ruby/reline/commit/8480db575b aycabta (aycabta .)
02:09 PM Revision 08c1c3f2 (git): [ruby/reline] Use vi_search_{prev,next} to incremental search
https://.com/ruby/reline/commit/cab312f584 aycabta (aycabta .)
02:09 PM Revision afe99785 (git): [ruby/reline] Rename search_history with incremental_search_history
https://.com/ruby/reline/commit/d563063ea0 aycabta (aycabta .)
02:09 PM Revision 08529a61 (git): Compare environment variable names in those manor [Bug #16798]
nobu (Nobuyoshi Nakada)
12:48 PM Feature #16796 (Rejected): Assigning local variables when using `case when regexp`
Implicit assignment from regular expression matches has been a bad idea. I shouldn't have merged it at the first mome... matz (Yukihiro Matsumoto)
11:42 AM Revision e042380e (git): power_assert repository is transferred to ruby/power_assert
ktsj (Kazuki Tsujimoto)
09:05 AM Bug #16797 (Rejected): Array#flatten not checking `respond_to? :to_ary`
Read the error message.
```
-:4:in `flatten': can't convert Object to Array (Object#to_ary gives Object) (TypeErr...
nobu (Nobuyoshi Nakada)
08:41 AM Revision 04e56958 (git): Make sure newarraykwsplat accesses a correct index
on stack when local_stack_p is enabled.
This fixes `RB_FL_TEST_RAW:"RB_FL_ABLE(obj)"` assertion failure
on power_ass...
k0kubun (Takashi Kokubun)
08:07 AM Revision 0f7d3e4e (git): RUBY_SPECIAL_SHIFT and RUBY_FL_USHIFT are mandatory for rp in lldb_cruby.py
nobu (Nobuyoshi Nakada)
07:48 AM Revision dc8ab86a (git): Super TestJIT#setup to skip unsupported envs
Slightly simplifying 8d6aa06620b316904fd10d0cab1b85e07f2fbf67 k0kubun (Takashi Kokubun)
07:31 AM Revision 9948addd (git): Skip a too-unstable test on s390x-linux
In the last 26-ish hours, it has failed 5 times:
https://travis-ci.org//ruby/ruby/jobs/676497718
https://travis...
k0kubun (Takashi Kokubun)
05:59 AM Revision 8d6aa066 (git): test/ruby/test_jit_debug.rb: Skip unsupported platforms
mame (Yusuke Endoh)
03:34 AM Revision 75f6d706 (git): power_assert repository is transferred to ruby/power_assert
ktsj (Kazuki Tsujimoto)

04/17/2020

10:20 PM Bug #16787: [] allow Dir.home to work for non-login procs when $HOME not set
nobu (Nobuyoshi Nakada) wrote in #note-10:
> Thank you, I left some comments at the PR for the details.
>
> IMHO,...
salewski (Alan Salewski)
03:07 PM Bug #16787: [] allow Dir.home to work for non-login procs when $HOME not set
Thank you, I left some comments at the PR for the details.
IMHO, the new functions may fit more in process.c.
nobu (Nobuyoshi Nakada)
10:05 AM Bug #16787: [] allow Dir.home to work for non-login procs when $HOME not set
Attaching the "v5" version of the (for real this time). salewski (Alan Salewski)
05:18 PM Revision 0511bef9 (git): Remove invalid webhook config
According to warnings on Travis, there's no such key. We handle this on
webhook side anyway.
k0kubun (Takashi Kokubun)
05:12 PM Revision 7c0bc724 (git): * 2020-04-18 [ci skip]
git[bot]
05:11 PM Revision f8b79ef5 (git): Compilation error does not impact exit status
We failed to ignore
https://ci.appveyor.com/project/ruby/ruby/builds/32245902/job/xcfxw67uexxysvni
k0kubun (Takashi Kokubun)
04:38 PM Feature #16796: Assigning local variables when using `case when regexp`
sawa wrote:
> I have met such use cases, and agree this would be useful.
I don't disagree in the sense that the...
shevegen (Robert A. Heiler)
11:11 AM Feature #16796: Assigning local variables when using `case when regexp`
sawa (Tsuyoshi Sawada) wrote in #note-2:
> Alternatively, in order to access even unnamed matches, assigning the las...
shyouhei (Shyouhei Urabe)
10:20 AM Feature #16796: Assigning local variables when using `case when regexp`
I have met such use cases, and agree this would be useful.
Alternatively, in order to access even unnamed matches,...
sawa (Tsuyoshi Sawada)
08:53 AM Feature #16796: Assigning local variables when using `case when regexp`
It is because `when` calls `===` method but not `=~`. nobu (Nobuyoshi Nakada)
08:23 AM Feature #16796 (Rejected): Assigning local variables when using `case when regexp`
I want to use
```ruby
case "str"
when /s(?<mid>.)r/
p mid
end
```
instead of
```ruby
case
when /s(?<mid>....
UlyssesZhan (Ulysses Zhan)
04:20 PM Bug #16788: T_CLASS counts classes double
Thank you so much for the explanations @jeremyevans0 @Eregon!!!! ana06 (Ana Maria Martinez Gomez)
02:13 PM Feature #16794: Rightward operators
Actually instead of using `|>` as the common element between rightward operators, maybe just the pipe character would... Dan0042 (Daniel DeLorme)
02:57 AM Feature #16794: Rightward operators
It's an interesting idea. I am not sure if I can easily adjust to the syntax,
but this may be best to just ask matz ...
shevegen (Robert A. Heiler)
01:22 PM Feature #16795: build ruby.exe on Windows against ruby-static.lib omitting x64-vcruntime-ruby.dll (no '--enable-shared' option for Windows)
shevegen (Robert A. Heiler) wrote in #note-1:
> I feel you here. Not so much due to windows, but I totally understan...
repu1sion (Andrii Guriev)
03:01 AM Feature #16795: build ruby.exe on Windows against ruby-static.lib omitting x64-vcruntime-ruby.dll (no '--enable-shared' option for Windows)
I feel you here. Not so much due to windows, but I totally understand every
preference for --enable-shared and --ena...
shevegen (Robert A. Heiler)
11:19 AM Bug #16798 (Closed): ENV.replace on Windows with a variable name not respecting case will clear it
On Windows, environment variable names are case insensitive:
```
PS C:\Users\deivi> ruby -e "puts ENV['Path']; EN...
deivid (David Rodríguez)
10:04 AM Bug #16797 (Rejected): Array#flatten not checking `respond_to? :to_ary`
```ruby
def (a = Object.new).method_missing(...)
Object.new
end
[a].flatten # TypeError
```
It should check w...
UlyssesZhan (Ulysses Zhan)
08:59 AM Revision 92c82588 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
08:49 AM Revision c8178687 (git): NEWS.md: Mentioned the removal of NIL/TRUE/FALSE [ci skip]
nobu (Nobuyoshi Nakada)
08:40 AM Revision 5257a530 (git): Removed NIL/TRUE/FALSE from documents too
This is follow up of 62554ca97812b454e78a0a9daf6e962ff7a2f589 znz (Kazuhiro NISHIYAMA)
08:35 AM Revision 62554ca9 (git): Removed NIL/TRUE/FALSE
Deprerecated constants which had been warned since 2.4. nobu (Nobuyoshi Nakada)
05:42 AM Feature #16786: Light-weight scheduler for improved concurrency.
Tidy up proposal. ioquatix (Samuel Williams)
05:27 AM Feature #16786: Light-weight scheduler for improved concurrency.
Make `wait_readable`, `wait_writable` and `wait_any` take `IO` argument. Add explicit wrappers for CRuby. ioquatix (Samuel Williams)
05:25 AM Revision 3152977b (git): Rescue EPIPE in _report
Instead of letting callers rescue the error always. nobu (Nobuyoshi Nakada)
05:08 AM Revision b5132d91 (git): Refactored rb_readwrite_syserr_fail
* renamed argument `writable` as `waiting`
* hosited out creating and raising exception
* turned into a `switch`
nobu (Nobuyoshi Nakada)
05:07 AM Revision 00d92783 (git): fileutils now depends on rbconfig.rb due to JRuby support
nobu (Nobuyoshi Nakada)
03:38 AM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
@jeremyevans0 thanks so much for fixing this at least in the #include case. ioquatix (Samuel Williams)
12:24 AM Revision 75a0447c (git): Suppress C4267 "possible loss of data" warnings
Just cast down explicitly. nobu (Nobuyoshi Nakada)
12:22 AM Revision 36353b27 (git): test/ruby/test_process.rb: Skip GID.from_name on Android
The user management on Android seems very different
https://rubyci.org/logs/rubyci.s3.amazonaws.com/android28-x86_64...
mame (Yusuke Endoh)

04/16/2020

09:30 PM Bug #11143: it should always be possible to return from an if
Just got hit by this. Is this difficult to backport to supported versions? marcandre (Marc-Andre Lafortune)
09:23 PM Revision c23efbaa (git): Remove lib/rss.rb
This is a follow-up of 83240f315a10b42b53c3b62c1fbc428f97912665 . Sutou Kouhei
07:23 PM Feature #16795 (Open): build ruby.exe on Windows against ruby-static.lib omitting x64-vcruntime-ruby.dll (no '--enable-shared' option for Windows)
I'm trying to build ruby for embedded windows environment. It would help a lot if I would be able to do it without '-... repu1sion (Andrii Guriev)
06:41 PM Bug #16787: [] allow Dir.home to work for non-login procs when $HOME not set
Attaching the "v5" version of the . This version corresponds with the changes I just pushed on my [ads/b.r-l.o-i... salewski (Alan Salewski)
04:17 AM Bug #16787: [] allow Dir.home to work for non-login procs when $HOME not set
Slightly cleaned-up : v4
[still just a wip; please ignore]
salewski (Alan Salewski)
03:45 AM Bug #16787: [] allow Dir.home to work for non-login procs when $HOME not set
Just attaching the "v3" version of the . This one is /not/ a commit candidate; needs some beautification.
The...
salewski (Alan Salewski)
05:21 PM Bug #16788: T_CLASS counts classes double
The reason is documented here:
https://.com/ruby/ruby/blob/f2c3848a5bf2bec0b27a6035c4b7399594c32509/class.c#L17...
Eregon (Benoit Daloze)
04:02 PM Bug #16788: T_CLASS counts classes double
Unfortunately, I do not know the reason behind the automatic creation of singleton classes for classes. I'm guessing... jeremyevans0 (Jeremy Evans)
11:24 AM Bug #16788: T_CLASS counts classes double
@jeremyevans0 thank you so much for your answer. Why are two singleton classes created and why only the second one is... ana06 (Ana Maria Martinez Gomez)
04:23 PM Bug #16793 (Third Party's Issue): [BUG] object allocation during garbage collection phase
Based on the error message and control frame info, it appears puma is allocating an object during garbage collection,... jeremyevans0 (Jeremy Evans)
11:50 AM Bug #16793 (Third Party's Issue): [BUG] object allocation during garbage collection phase
Hi
Our Puma server periodically stops working, and returns to command line without error message.
Nothing has chang...
FreddieFrog (Frédéric Champreux)
03:53 PM Revision a0bc3f2a (git): Suppress C4267 "possible loss of data" warnings
nobu (Nobuyoshi Nakada)
03:52 PM Revision 99a04815 (git): * 2020-04-17 [ci skip]
git[bot]
03:52 PM Revision 3cca0d19 (git): core_assertions.rb: fixed fd at timeout
nobu (Nobuyoshi Nakada)
03:52 PM Revision e231f8e8 (git): envutil.rb: not try to close pipes twice
nobu (Nobuyoshi Nakada)
02:07 PM Feature #16670: Reverse order of `expression` in `pattern` for 1-line pattern matching while it's still experimental
I think the `in` syntax and order feels natural when you're actually matching a pattern. It's not AI-like pattern rec... Dan0042 (Daniel DeLorme)
01:59 PM Feature #15921: R-assign (rightward-assignment) operator
Until now I thought `=>` made perfect sense, given that it's already used in `rescue`, but Jeremy's counterpoint exam... Dan0042 (Daniel DeLorme)
01:55 PM Feature #16794 (Open): Rightward operators
While reading #15921 (r-assign) and #16670 (reverse pattern matching order) I felt a certain commonality to these and... Dan0042 (Daniel DeLorme)
01:12 PM Feature #16791: Shortcut for Process::Status.exitstatus
This is not a good feature request, IMO.
There is not really any explanation as to what the idea is about. Why is
...
shevegen (Robert A. Heiler)
06:06 AM Feature #16791 (Open): Shortcut for Process::Status.exitstatus
[Updated]
```
s = `csc x.cs`.sub(/.*?\n\n/m, '')
puts s if s != ''; exit $?.exitstatus if $?.exitstatus > 0
sys...
0x81000000 (/ /)
11:54 AM Bug #16498: Hash#transform_values in 2.7.0 sets new hash's default to old hash's default_proc
This does break ActiveSupport 5.2 test suite. vo.x (Vit Ondruch)
11:50 AM Revision fedc8075 (git): Preserve encoding in error messages for invalid user/group name
nobu (Nobuyoshi Nakada)
11:50 AM Revision 748c7c7c (git): Added tests for Process::UID.from_name and Process::GID.from_name
nobu (Nobuyoshi Nakada)
11:50 AM Revision f57e2d72 (git): Preserve encoding in error message for invalid env exec option
nobu (Nobuyoshi Nakada)
11:38 AM Revision 33aaa2aa (git): Added test for invalid env exec option
nobu (Nobuyoshi Nakada)
10:39 AM Feature #16786: Light-weight scheduler for improved concurrency.
Thanks @eregon for your feedback.
> Maybe we can make `Fiber.new(blocking: false)` call `Thread.current.scheduler.fi...
ioquatix (Samuel Williams)
09:15 AM Feature #16786: Light-weight scheduler for improved concurrency.
I think is a great proposal.
I think we need to try to support existing code as much as possible, because all the ...
Eregon (Benoit Daloze)
09:05 AM Feature #16786: Light-weight scheduler for improved concurrency.
I created #16792 to change Mutex to be held per Fiber instead of per Thread.
Based on that it should be easy to inte...
Eregon (Benoit Daloze)
10:26 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
My initial reply might have come across as overly critical and that was not my intention.
I want to say, I agree wit...
ioquatix (Samuel Williams)
09:57 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
> Any example? Please don't claim such things if there is no example.
I'll have to defer to @headius for examples, s...
ioquatix (Samuel Williams)
09:37 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
ioquatix (Samuel Williams) wrote in #note-5:
> Can you check the Crystal implementation? How do they implement fair ...
Eregon (Benoit Daloze)
09:32 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
> Application code which expects per-thread mutex
I'm happy to see examples of that.
I've never seen it in 5+ mor...
Eregon (Benoit Daloze)
09:24 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
Characterising this as trivial hides the impact of this both on the scheduler design and application code which expec... ioquatix (Samuel Williams)
09:01 AM Feature #16792 (Closed): Make Mutex held per Fiber instead of per Thread
Currently, Mutex in CRuby is held per Thread.
In JRuby and TruffleRuby, Mutex is held per Fiber (because it's simply...
Eregon (Benoit Daloze)
09:02 AM Revision 693378f1 (git): Moved noreturn call to end of noreturn function
nobu (Nobuyoshi Nakada)
08:59 AM Revision d4215daf (git): Use UNREACHABLE_RETURN for non-void function
nobu (Nobuyoshi Nakada)
08:39 AM Feature #11747: "bury" feature, similar to 'dig' but opposite
I think the issues/problems specified in the comments are not present with a Hash-only implementation. :)
I would ...
schwad (Nick Schwaderer)
08:19 AM Revision 3eb05a80 (git): fix compiler error on gcc 4.x
It seems gcc prior to 5 suffered from preprocessor bug. We have to
provide workarounds.
See https://.com/ruby...
shyouhei (Shyouhei Urabe)
05:22 AM Revision 4ab14aec (git): * 2020-04-16 [ci skip]
git[bot]
05:22 AM Revision 48273534 (git): Support for FreeBSD <sys/cdefs.h>
FreeBSD's <sys/cdefs.h> is broken. Cygwin is also affected by that.
We need to avoid using them.
See also:
https://...
shyouhei (Shyouhei Urabe)
 

Also available in: Atom