Project

General

Profile

Activity

From 04/20/2020 to 04/26/2020

04/26/2020

11:43 PM Feature #16818: Rename `Range#%` to `Range#/`
Eregon (Benoit Daloze) wrote in #note-2:
> Just my opinion, but I find `%` a lot more intuitive, and would find `/` ...
duerst (Martin Dürst)
07:44 PM Feature #16818: Rename `Range#%` to `Range#/`
> x / y reads "divide x by y", not "divide x into y parts".
Makes sense.
It is language difference probably: ...
zverok (Victor Shepelev)
06:51 PM Feature #16818: Rename `Range#%` to `Range#/`
zverok (Victor Shepelev) wrote in #note-4:
> I'd say that `(5..14) / 3` reads definitely like "split the range into 3...
sawa (Tsuyoshi Sawada)
06:28 PM Feature #16818: Rename `Range#%` to `Range#/`
I'd say that `(5..14) / 3` reads definitely like "split the range into 3 parts" (expecting, IDK, 3 sub-ranges or jump... zverok (Victor Shepelev)
04:54 PM Feature #16818: Rename `Range#%` to `Range#/`
I somewhat agree with sawa's comment that % on Range may confuse some ruby
folks; I think % is more typically the mo...
shevegen (Robert A. Heiler)
10:14 AM Feature #16818: Rename `Range#%` to `Range#/`
Just my opinion, but I find `%` a lot more intuitive, and would find `/` very confusing in this context.
One inter...
Eregon (Benoit Daloze)
02:15 AM Feature #16818 (Open): Rename `Range#%` to `Range#/`
`Range#%` was introduced as an alias of `Range#step` by 14697, but it is counter-intuitive and confusing.
Iteratio...
sawa (Tsuyoshi Sawada)
05:13 PM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
FYI: I re-enabled the test in question with 93ed465dcdc866013cd93c3662937497900c8086 mame (Yusuke Endoh)
05:09 PM Revision 93ed465d (git): test/ruby/test_fiber.rb (test_stack_size): re-enabled on s390x
Revert 9948addda67f4b7a6e3575f1eba9025f998811d2.
It is now discussed in https://bugs.ruby-lang.org/issues/16814, and ...
mame (Yusuke Endoh)
04:04 PM Revision a217d3ce (git): check: compare with right upstream
nobu (Nobuyoshi Nakada)
03:54 PM Revision 33767d1e (git): * 2020-04-27 [ci skip]
git[bot]
03:54 PM Revision 6560ff6e (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
01:39 PM Revision 257e01b6 (git): Solaris does not provide atomic_sub family
nobu (Nobuyoshi Nakada)
10:41 AM Revision 1760c601 (git): Clarified return value of atomic macros
nobu (Nobuyoshi Nakada)
07:14 AM Revision 36ed7007 (git): Fix failures of test/rdoc/test_rdoc_ri_paths.rb
yield `home_dir` when HOMEDIR is not falsy only.
https://github.com/ruby/ruby/blob/d0f41aa2382612022162d033ddb3d9c9cc...
znz (Kazuhiro NISHIYAMA)
03:53 AM Revision d0f41aa2 (git): [ruby/spec] Removed space between method name and argument list paren
nobu (Nobuyoshi Nakada)
03:53 AM Revision 78602775 (git): [ruby/spec] Fixed missing should
nobu (Nobuyoshi Nakada)
03:53 AM Revision b5174bea (git): lldb_cruby.py: fixed empty string dump [ci skip]
nobu (Nobuyoshi Nakada)
03:39 AM Revision 034b8472 (git): remove unused rb_str_clear define (#3059)
S_H_ (Shun Hiraoka)
02:07 AM Revision 63fe3739 (git): Fix errors when `RDoc::RI::Paths::HOMEDIR` is nil
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/ruby-master/log/20200425T175405Z.fail.html.gz
```
4) Err...
znz (Kazuhiro NISHIYAMA)

04/25/2020

05:48 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
As there is no immediate rejection, I updated the implementation, making it more robust.
@Dan0042, I tried to make...
zverok (Victor Shepelev)
05:01 PM Revision 9fd3f243 (git): * 2020-04-26 [ci skip]
git[bot]
05:00 PM Revision 7ccb7a99 (git): [DOC] explicit_bzero exists in modern Linux
[ci skip] sorah (Sorah Fukumori)
02:27 PM Feature #16817 (Open): attr_predicate or attr_query or attr_something for ? methods
I would like `attr_predicate` like attr_reader etc.
`attr_predicate :cat` would define a method named `:cat?` that...
robotdana (Dana Sherson)
08:52 AM Revision fefb5faf (git): More enums are mandatory for rp in lldb_cruby.py
nobu (Nobuyoshi Nakada)
08:05 AM Feature #16816: Prematurely terminated Enumerator should stay terminated
Thank you, I've fixed the link. headius (Charles Nutter)
04:56 AM Revision 7c88bb3e (git): fetch-bundled_gems.rb: Fixed the position of -c
nobu (Nobuyoshi Nakada)
04:16 AM Revision f12f9f51 (git): fetch-bundled_gems.rb: Quiet detached HEAD advice
nobu (Nobuyoshi Nakada)
03:15 AM Revision c2700379 (git): `git co` is alias of `git checkout`
hsbt (Hiroshi SHIBATA)
12:29 AM Revision 42ac3f79 (git): Assert that typed data is distinguished from non-typed
nobu (Nobuyoshi Nakada)

04/24/2020

11:05 PM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
Did you mean`any->as.data.dfree`? It points to no valid location.
```
(gdb) print any->as.data
$4 = {basic = {flags =...
ReiOdaira (Rei Odaira)
06:38 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
> disappeared on April 15.
You may know, but the test has been skipped on s390x since 9948addda67f4b7a6e3575f1eba9...
mame (Yusuke Endoh)
06:07 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
Where does `any->as.data.free` point?
Is `any->as.basic.klass` a valid class object?
If you compile gc.c as `make D...
nobu (Nobuyoshi Nakada)
05:31 AM Bug #16814 (Closed): Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
A segmentation fault almost always happens in test/ruby/test_fiber.rb with certain commits of latest Ruby on s390x.
...
ReiOdaira (Rei Odaira)
10:04 PM Feature #16816: Prematurely terminated Enumerator should stay terminated
( Just a brief typo-correction, I think you meant the link https://github.com/jruby/jruby/issues/6157 and not https:/... shevegen (Robert A. Heiler)
08:36 PM Feature #16816: Prematurely terminated Enumerator should stay terminated
A simpler way to say why I believe this is a bug...
If I have an Enumerator with custom logic, and it is construct...
headius (Charles Nutter)
08:34 PM Feature #16816 (Open): Prematurely terminated Enumerator should stay terminated
When iterating over an Enumerator, there are three different possible results of calling `next`:
1. The next item ...
headius (Charles Nutter)
05:49 PM Revision cc8f55e9 (git): [ruby/rdoc] HOME is preserved by RDoc::TestCase
https://github.com/ruby/rdoc/commit/6c4801d1f6 nobu (Nobuyoshi Nakada)
05:49 PM Revision ae235db2 (git): [ruby/rdoc] Should teardown in reverse order of setup
https://github.com/ruby/rdoc/commit/00fb4dd2a3 nobu (Nobuyoshi Nakada)
05:36 PM Revision cf5b3d67 (git): * 2020-04-25 [ci skip]
git[bot]
05:35 PM Revision c6020ba2 (git): Clear cached XDG path names
nobu (Nobuyoshi Nakada)
02:24 PM Revision 21598b0c (git): Fixed a typo [ci skip]
nobu (Nobuyoshi Nakada)
12:22 PM Revision c5b17b03 (git): Remove and Restore the original HOME dir (#3057)
hsbt (Hiroshi SHIBATA)
12:08 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
> We already have situations in JRuby and TruffleRuby where unsynchronized access to shared mutable state can cause a... Eregon (Benoit Daloze)
10:23 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
> It's of course unacceptable if a Ruby implementation behaves unsafely (e.g., crashes or loses fiber local variable)... ioquatix (Samuel Williams)
09:05 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
To make it clearer about "clean API": if we have Fiber#[] and Thread#[] then Thread#[] is just deceptive and doesn't ... Eregon (Benoit Daloze)
08:37 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
@ioquatix Please create a separate feature ticket for `Fiber#backtrace`, as already asked by nobu in https://bugs.rub... Eregon (Benoit Daloze)
10:40 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
Attaching version "v7" of the patch. This version corresponds with the changes I just pushed on my [ads/b.r-l.o-issue... salewski (Alan Salewski)
09:32 AM Revision 5b8c36df (git): [DOC] Added GNU make specific targets [ci skip]
nobu (Nobuyoshi Nakada)
09:32 AM Revision 04a55763 (git): [DOC] Split "How to run a part of the test suite" [ci skip]
nobu (Nobuyoshi Nakada)
09:26 AM Feature #16786: Light-weight scheduler for improved concurrency.
I think `Fiber()` is OK after your replies, if it raises if there is no scheduler so there is no silent error. It wou... Eregon (Benoit Daloze)
09:10 AM Feature #16786: Light-weight scheduler for improved concurrency.
I asked for more feedback from community.
https://twitter.com/ioquatix/status/1251024336502190081
- `Fiber do ....
ioquatix (Samuel Williams)
08:57 AM Feature #16815: Implement Fiber#backtrace
I think this makes sense and can definitely be useful for debugging.
If called on a `Fiber` of another `Thread`, tha...
Eregon (Benoit Daloze)
08:56 AM Feature #16815: Implement Fiber#backtrace
Use `Thread#backtrace` as example. ioquatix (Samuel Williams)
08:53 AM Feature #16815 (Closed): Implement Fiber#backtrace
Previously discussed here: https://bugs.ruby-lang.org/issues/8215
Add a new method `Fiber#backtrace`. It would pro...
ioquatix (Samuel Williams)
07:46 AM Revision 9fb20711 (git): [ruby/reline] Treat home dir correctly
https://github.com/ruby/reline/commit/9b1327d2f4 aycabta (aycabta .)
07:45 AM Revision 81b0b791 (git): [ruby/reline] Support XDG_CONFIG_HOME
In the XDG Specification, if ~/.config/readline/inputrc exists, then ~/.inputrc
should not be read, but for compatibi...
aycabta (aycabta .)
07:21 AM Bug #16800 (Closed): [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
Closing. Let me know if you can still reproduce the issue on mastar. mame (Yusuke Endoh)
05:13 AM Misc #16775: DevelopersMeeting20200514Japan
* [Feature #16806] Struct#initialize accepts keyword arguments too by default (k0kubun)
* This obviates `keyword_i...
k0kubun (Takashi Kokubun)
02:11 AM Misc #16775: DevelopersMeeting20200514Japan
- [Feature #16815] Introduce `Fiber#backtrace`. (ioquatix)
- Add `Fiber#backtrace` which gets any fiber backtrace. ...
ioquatix (Samuel Williams)
05:09 AM Feature #16812 (Assigned): Allow slicing arrays with ArithmeticSequence
I'm positive this if the behavior is the same as Python's list slicing.
If the behavior will be different from Pytho...
mrkn (Kenta Murata)
04:08 AM Feature #16812: Allow slicing arrays with ArithmeticSequence
A few bugs.
* `Float` `ArithmeticSequence` crashes.
```shell
$ ./ruby -e '[*0..10][(0.0..)%10]'
A...
nobu (Nobuyoshi Nakada)
12:19 AM Feature #16812: Allow slicing arrays with ArithmeticSequence
Theoretically I'm in favor but there's some edge cases that need consideration.
```ruby
nums = (0..20).to_a
s ...
Dan0042 (Daniel DeLorme)
03:23 AM Bug #16813 (Closed): Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
Applied in changeset commit:git|ac2106acc276854ae2ac8cc5fa6859aa28362f2f.
----------
[DOC] Fixed explanation for Met...
nobu (Nobuyoshi Nakada)
03:23 AM Revision 71f84018 (git): * 2020-04-24 [ci skip]
git[bot]
02:18 AM Revision cf90df22 (git): [DOC] Separated Method#[] from Method#call [Bug #16813] [ci skip]
nobu (Nobuyoshi Nakada)
02:16 AM Revision ac2106ac (git): [DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]
nobu (Nobuyoshi Nakada)

04/23/2020

09:49 PM Bug #16813 (Closed): Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
## https://ruby-doc.org/core-2.7.1/Method.html#method-i-5B-5D
`meth[args, ...] → obj` has the correct explanation, b...
SampsonCrowley (Sampson Crowley)
08:44 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
@Eregon, I wanted at first to see what people say about this one :)
`Array#[]=` is a thing that should be kinda "...
zverok (Victor Shepelev)
08:04 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
Rather neutral on this, but would you want that to work for `Array#[]=` too?
I would be against `Array#[]=` as it's ...
Eregon (Benoit Daloze)
03:32 PM Feature #16812 (Closed): Allow slicing arrays with ArithmeticSequence
I believe when concepts of ArithmeticSequence and `Range#%` were introduced, one of the main intended usages was arra... zverok (Victor Shepelev)
03:41 PM Misc #16775: DevelopersMeeting20200514Japan
* [Feature #16812] Allow slicing arrays with ArithmeticSequence (zverok)
* `ary[(5..20) % 2]`—each second element ...
zverok (Victor Shepelev)
03:20 PM Bug #16811 (Feedback): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont
This appears to happen when loading fiddle:
```
C:\metasploit\ruby\bin\x64-msvcrt-ruby250.dll(rb_bug_context+0x6f...
jeremyevans0 (Jeremy Evans)
03:01 PM Bug #16811 (Closed): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont

C:\metasploit>console.bat
C:/metasploit/apps/pro/vendor/bundle/ruby/2.5.0/gems/rb-readline-0.5.5/lib/rbreadline.rb...
alamin (Al AMIN)
01:19 PM Revision 0f5ae7a2 (git): Fixed inverted current thread condition [Bug #16808]
nobu (Nobuyoshi Nakada)
12:42 PM Bug #16808 (Closed): Thread#name= only accepts up to 15 characters with Linux/pthread implementation
Applied in changeset commit:git|a52a459b16ce1b5cf32cb6393960ff59e35c48d0.
----------
Truncate too long thread name b...
nobu (Nobuyoshi Nakada)
06:16 AM Bug #16808 (Closed): Thread#name= only accepts up to 15 characters with Linux/pthread implementation
Repro:
irb(main):001:0> RUBY_VERSION
=> "2.7.1"
irb(main):002:0> Thread.new { Thread.current.name = 'abcdefg'; s...
jiasha (Shan Jiang)
12:42 PM Revision a52a459b (git): Truncate too long thread name before setting [Bug #16808]
nobu (Nobuyoshi Nakada)
12:11 PM Revision 03e4eeab (git): Skip the initialization of XDG_DATA_HOME with Permission denied
hsbt (Hiroshi SHIBATA)
10:45 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
Attaching version "v6" of the patch, which is just another WIP milestone.
Please do not spend too much time with thi...
salewski (Alan Salewski)
10:16 AM Revision 5c6269c4 (git): Support XDG_* (#2174)
* Support XDG_CONFIG_HOME for gemrc.
* Support XDG_DATA_HOME for .gem
* Added test for XDG_DATA_HOME
* Do not reus...
hsbt (Hiroshi SHIBATA)
09:55 AM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
ko1 (Koichi Sasada) wrote in #note-8:
> My conclusion is it is bad idea to share the same code between interpreters....
Eregon (Benoit Daloze)
05:53 AM Feature #16254 (Assigned): MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
Eregon:
There are two poionts: (1) sharing the code between Ruby implementations and (2) prettier syntax.
# (1) sha...
ko1 (Koichi Sasada)
08:49 AM Bug #16810 (Closed): ruby segfaults on s390x with musl libc
When trying to build mruby-2.1.0 ruby segfaults when running `ruby ./minirake -v`.
I was able to get a backtrace w...
ncopa (Natanael Copa)
08:46 AM Revision f563f3c5 (git): RDoc enhancements for Hash[].
burdettelamar (Burdette Lamar)
08:30 AM Misc #16803: Discussion: those internal macros reside in public API headers
Eregon (Benoit Daloze) wrote in #note-1:
> Could you give some pointers or example of other macros introduced in tha...
shyouhei (Shyouhei Urabe)
08:07 AM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
This is still an issue for alpine s390x. See #16809 ncopa (Natanael Copa)
08:05 AM Bug #16809 (Closed): Fiber crashes with --with-coroutine=copy
``` ... ncopa (Natanael Copa)
06:13 AM Revision 14e013cd (git): [ruby/rdoc] Drop old rubies
* `RbConfig::CONFIG['ridir']` has been set since 1.9.2
* `ENV["HOME"]` has been defaulted to `USERPROFILE` since 1.9...
nobu (Nobuyoshi Nakada)
06:10 AM Feature #16806: Struct#initialize accepts keyword arguments too by default
I agreed with your ideas and reflected them to the description. k0kubun (Takashi Kokubun)
01:44 AM Revision d1f50b98 (git): Initialize the class variable for Minitest::Unit.current_repeat_count
nobu (Nobuyoshi Nakada)
01:25 AM Revision 2e87488d (git): Expand retrying test file names to realpath
As well as worker processes do in Test::Unit::Worker#run. nobu (Nobuyoshi Nakada)
01:24 AM Revision 74c8aaef (git): Just call search_method_protect [Bug #16669]
nobu (Nobuyoshi Nakada)
12:43 AM Revision da5bd004 (git): Test for [Bug #16669]
nobu (Nobuyoshi Nakada)
12:39 AM Revision de9d6a7a (git): Split test_defined
nobu (Nobuyoshi Nakada)

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://github.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://github.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 patch :-)
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://github.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 patch 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://github.com/ruby/ruby/pull/2991 ("Split ruby.h"). This seems working. But the changeset... shyouhei (Shyouhei Urabe)
05:43 PM Revision ad63ae66 (git): .github/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://github.com/hashicorp/vagrant/issues/11497
* https://github.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://github.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://github.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 patch of #16774. mame (Yusuke Endoh)
 

Also available in: Atom