Project

General

Profile

Activity

From 10/03/2020 to 10/09/2020

10/09/2020

08:53 PM Bug #17221: Relax the Fiber#transfer's limitation
I believe it's `a yielding Fiber` (the first sound in yield-ing is not a vowel sound) Eregon (Benoit Daloze)
07:19 PM Bug #17221: Relax the Fiber#transfer's limitation
BTW, "a yielding"? "an yielding"? ko1 (Koichi Sasada)
07:18 PM Bug #17221: Relax the Fiber#transfer's limitation
Eregon (Benoit Daloze) wrote in #note-8:
> For (2), can we use the error message `attempt to transfer to a yielding ...
ko1 (Koichi Sasada)
08:27 PM Revision 5ea2ea74 (git): * 2020-10-10 [ci skip]
git[bot]
08:26 PM Feature #17258 (Open): Oneshot Branch Coverage
# Description
I'd like to propose adding a new option to `Coverage.start`: oneshot branch coverage. It will be ana...
jemmai (Jemma Issroff)
07:46 PM Revision a770b9c8 (git): remove debug code
ko1 (Koichi Sasada)
06:15 PM Feature #17195 (Rejected): Freeze Enumerator::ArithmeticSequence objects
Right, that makes sense, thanks for the reply.
Interestingly it seems `Enumerator#next` is still allowed even if t...
Eregon (Benoit Daloze)
08:01 AM Feature #17195: Freeze Enumerator::ArithmeticSequence objects
The reason why ArithmeticSequence is a subclass of Enumerator is for conserving the compatibility of the return types... mrkn (Kenta Murata)
02:23 PM Bug #16762 (Assigned): Ruby is not properly fortified on armv7hl
mame (Yusuke Endoh)
10:44 AM Bug #16762: Ruby is not properly fortified on armv7hl
I'd still love to see this fixed. vo.x (Vit Ondruch)
02:18 PM Bug #17257 (Closed): Integer#pow(0, 1) returns 1, which is incorrect
Ruby 2.5.8, 2.6.6, 2.7.1
```ruby
p -1.pow(0, 1) #=> 1
p 0.pow(0, 1) #=> 1
p 1.pow(0, 1) #=> 1
p 1234567890...
universato (Yoshimine Sato)
09:41 AM Revision 02e17d47 (git): Let bundled_gems specify commits to test (#3641)
soutaro (Soutaro Matsumoto)
07:42 AM Feature #17256 (Closed): Freeze all Regexp objects
To be shared between ractors, Regexp objects should be frozen.
Now, Matz has proposed to make all Regexp objects f...
ko1 (Koichi Sasada)
04:44 AM Revision 8d1b1888 (git): Refactored lex_context management
Save and restore `lex_context` as-is wholely, and save in
`k_class` and `k_module` to workaround look-ahead reading.
nobu (Nobuyoshi Nakada)
03:03 AM Revision 9ee99fbd (git): rb_const_set sets the class path now
nobu (Nobuyoshi Nakada)
02:49 AM Revision 6944b927 (git): rb_class_real never returns Qnil
nobu (Nobuyoshi Nakada)

10/08/2020

11:43 PM Revision bca8952f (git): Fix lldb disassembler so it works with core files
This fixes the lldb disassembler script so that it doesn't need a live
process when disassembling rb_iseq_t. I also ...
tenderlovemaking (Aaron Patterson)
08:35 PM Revision c857d0d4 (git): * 2020-10-09 [ci skip]
git[bot]
08:35 PM Revision 33776598 (git): Enhanced RDoc for String#insert (#3643)
* Enhanced RDoc for String#insert burdettelamar (Burdette Lamar)
10:30 AM Bug #17255 (Closed): Installation failed for ruby version 2.7.1: unknown encoding name: binary (ArgumentError)
Hi,
I am trying to install version 2.7.1 of ruby. For now, ruby is not installed in my system (I removed it) and I...
shiftag (shiftag shiftag)
10:20 AM Bug #17254 (Closed): ENV.replace may set nil instead of the proper value
On docs.ruby-lang.org, it uses [snap ruby](https://snapcraft.io/ruby), and it failed to run `rdoc`.
```
Oct 07 13...
znz (Kazuhiro NISHIYAMA)
09:34 AM Bug #17221: Relax the Fiber#transfer's limitation
For (2), can we use the error message `attempt to transfer to a yielding fiber (FiberError)` (yielding instead of res... Eregon (Benoit Daloze)
12:48 AM Bug #17221: Relax the Fiber#transfer's limitation
I found "(4) can not yield from not-resumed fiber", so I updated the proposal body with (4). ko1 (Koichi Sasada)
07:40 AM Revision 533bca57 (git): Expose assert, assert_respond_to and assert_not_respond_to for default gems.
hsbt (Hiroshi SHIBATA)
07:40 AM Revision 0f9edf2f (git): Promote prettyprint to default gems
hsbt (Hiroshi SHIBATA)
07:40 AM Revision 2711e3ba (git): Promote pp to default gems
hsbt (Hiroshi SHIBATA)
12:01 AM Revision 0807d05d (git): * 2020-10-08 [ci skip]
git[bot]
12:01 AM Revision d5282540 (git): Add missing WB for iseq
The write barrier wasn't being called for this object, so add the
missing WB. Automatic compaction moved the referen...
tenderlovemaking (Aaron Patterson)

10/07/2020

11:46 PM Bug #17221: Relax the Fiber#transfer's limitation
Note for (2). It can break compatibility, but transferred fibers can not be resumed more, so maybe nobody rely on mix... ko1 (Koichi Sasada)
10:31 PM Bug #17221: Relax the Fiber#transfer's limitation
Great work everyone! ioquatix (Samuel Williams)
08:03 PM Bug #17221: Relax the Fiber#transfer's limitation
This sounds great to me! Eregon (Benoit Daloze)
05:57 PM Bug #17221: Relax the Fiber#transfer's limitation
## Implementation note
Each fiber has "resuming_fiber" and we can check (1).
![](clipboard-202010080257-u2lbv.p...
ko1 (Koichi Sasada)
05:28 PM Bug #17221 (Closed): Relax the Fiber#transfer's limitation
Using `Fiber#transfer` with `Fiber#resume` for a same Fiber is limited (once `Fiber#transfer` is called for a fiber, ... ko1 (Koichi Sasada)
07:55 PM Feature #16786: Light-weight scheduler for improved concurrency.
The term "concurrency" seems way too abstract to me for this scheduler.
I think the more obvious the better, this sch...
Eregon (Benoit Daloze)
06:23 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
jaruga (Jun Aruga) wrote in #note-8:
> Now every test passes on my environment. Could you backport the total 4 patch...
jeremyevans0 (Jeremy Evans)
05:54 PM Bug #17190 (Closed): Not working multiple assignment by rightward assignment statement
jeremyevans0 (Jeremy Evans)
05:52 PM Bug #17198 (Closed): DateTime.parse with CAT timezone converts to -10:00 instead of +02:00
jeremyevans0 (Jeremy Evans)
05:47 PM Bug #17211 (Closed): Test failures in ruby2.7.2 and ruby3.0~preview1
Fixed by commit:20ad1017017ea736667d86fa0250dc1a39daefa1. jeremyevans0 (Jeremy Evans)
05:43 PM Bug #16334 (Closed): Wrong line numbers for multiline method chains
jeremyevans0 (Jeremy Evans)
05:29 PM Bug #17186 (Closed): Integer overflow in "chr" error message (out of char range)
Fixed in commit:f7bd9f075030e5fa876320c1624a80685a636e82 jeremyevans0 (Jeremy Evans)
04:02 PM Bug #17188: Freeze Encoding objects for Ractor
Changing this to a bug, because it can cause unsafe sharing:
```ruby
irb(main):003:0> Encoding::UTF_8.instance_vari...
Eregon (Benoit Daloze)
01:26 PM Bug #17220 (Closed): Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
One of the Rails CI, Active Job integration test with sidekiq, against Ruby 3.0.0 has been failing since August 30, 2... yahonda (Yasuo Honda)
11:24 AM Feature #17219: Make URI#hostname 86-89% and hostname= 55-154% faster
So I learned that URI is a separate rubygem, therefore I filed PR against https://github.com/ruby/uri/pull/12 and thi... lzap (Lukas Zapletal)
10:57 AM Feature #17219: Make URI#hostname 86-89% and hostname= 55-154% faster
There is a nil exception in the test suite with the initial patch. Also @nobu on Github pointed out that start_with? ... lzap (Lukas Zapletal)
08:38 AM Feature #17219: Make URI#hostname 86-89% and hostname= 55-154% faster
Attaching patch. Also available as https://github.com/ruby/ruby/pull/3635 lzap (Lukas Zapletal)
08:35 AM Feature #17219 (Closed): Make URI#hostname 86-89% and hostname= 55-154% faster
Hello,
URI#hostname extends URI#host with IPv6 support. In URI, IPv6 address must have square brackets (e.g. `http...
lzap (Lukas Zapletal)
10:59 AM Bug #17215: Backport for arm64 optimizations that exist for power/x86
Thanks for explaining the context of "bug" in CRuby.
In the context, I think the commit is to fix the relatively slo...
jaruga (Jun Aruga)
10:43 AM Bug #17215: Backport for arm64 optimizations that exist for power/x86
As you know Ruby only backports bugfixes. If you think this is a feature, it won't be backported.
But note that in...
naruse (Yui NARUSE)
10:33 AM Bug #17215: Backport for arm64 optimizations that exist for power/x86
Hi Ali, thanks for your help!
Please note I think the commit is a new feature, and the ticket with "Tracker: Featu...
jaruga (Jun Aruga)
08:01 AM Bug #17213 (Open): Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
shyouhei (Shyouhei Urabe)
06:31 AM Bug #17213: Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
It reproduced again with this newer version of Ruby 3.0.0p-1.
https://buildkite.com/rails/rails/builds/71972#920c...
yahonda (Yasuo Honda)
02:27 AM Revision 62abdbad (git): Revert "Don't export rb_callable_receiver"
This reverts commit c839168b1141db53bedef771d1bc78908b6ac782.
`rb_callable_receiver` does not need to be exposed unde...
nobu (Nobuyoshi Nakada)

10/06/2020

11:22 PM Revision cdc4084b (git): Prevent objects from moving while iterating the heap
This iterator uses an st_table, but if objects move the references in
the st table won't be updated. This patch just...
tenderlovemaking (Aaron Patterson)
10:41 PM Revision c839168b (git): Don't export rb_callable_receiver
Chris Seaton
10:41 PM Revision fef52122 (git): Use proc_binding rather than rb_funcall
FIX Chris Seaton
10:13 PM Revision ee7cc6ac (git): Make `marshal_load` public
Ruby specs expected this method to be public tenderlovemaking (Aaron Patterson)
09:11 PM Revision 1486785a (git): [lib/ostruct] Fix Marshal loading
Marc-Andre Lafortune
09:06 PM Feature #13683: Add strict Enumerable#single
For Arrays, pattern matching does seem like a fair solution. Wouldn't that not work for other Enumerable collections?... shan (Shannon Skipper)
08:46 PM Bug #17215: Backport for arm64 optimizations that exist for power/x86
jaruga (Jun Aruga) wrote:
> Is it possible to backport this commit to ruby_2_7?
>
> Enable arm64 optimizations th...
ali (Ali Saidi)
04:06 PM Bug #17218 (Assigned): Range#step sometimes behaves unexpectedly with Rational endpoints and increment
mame (Yusuke Endoh)
03:46 PM Bug #17218 (Closed): Range#step sometimes behaves unexpectedly with Rational endpoints and increment
I am using the latest stable version. The same behavior exists in 2.6.6.
```
11:28:25 $ ruby -v ...
rorymolinari (Rory Molinari)
03:04 PM Revision 260322fb (git): * 2020-10-07 [ci skip]
git[bot]
02:46 PM Revision ed01cc8f (git): No longer need libtool
As debug_counter.c has had a global symbol since cdc614cd0a21,
ranlib should no longer complain that it has no symbols.
nobu (Nobuyoshi Nakada)
02:18 PM Revision 21b199bb (git): Appended a newline to suppress newline-eof warning
nobu (Nobuyoshi Nakada)
11:19 AM Misc #17174: "Error relocating, symbol not found" error when compiling a native extension on Alpine with Ruby >=2.4
Nakilon (Victor Maslov) wrote:
> docker build - -t temp-ruby2.3.8 --build-arg RUBY_VERSION=2.3.8 --build-arg ALPINE_...
Nakilon (Victor Maslov)
09:39 AM Misc #17200: DevelopersMeeting20201026Japan
* [Feature #16746] Endless method definition
* The following was discussed at [DevelopersMeeting20200514Japan](h...
aycabta (aycabta .)
05:20 AM Revision 2d20e68f (git): include/ruby/memory_view.h: annotate functions
shyouhei (Shyouhei Urabe)
05:20 AM Revision 62ddbfe2 (git): rb_memory_view_is_contiguous: convert into an inline function
shyouhei (Shyouhei Urabe)
05:20 AM Revision ae94c5bf (git): STRUCT_ALIGNOF: use RUBY_ALIGNOF
This was a workaround for RUBY_ALIGNOF's glitch, which has already been
fixed. See also https://github.com/ruby/ruby...
shyouhei (Shyouhei Urabe)
05:20 AM Revision 7d594399 (git): memory_view.h: use bool
Because `bool` is already used in the header there is no reason to
hesitate.
shyouhei (Shyouhei Urabe)
05:20 AM Revision 81068b10 (git): RB_RANDOM_DATA_INIT_PARENT: convert into an inline function
Bit readable to me. shyouhei (Shyouhei Urabe)
05:20 AM Revision 78e27ced (git): rb_rand_if: convert into an inline function
This adds more room for assertions. shyouhei (Shyouhei Urabe)
05:20 AM Revision 56a45456 (git): include/ruby/random.h: eliminate extern "C"
cf: https://github.com/ruby/ruby/pull/2991/commits/99add258571bf103c6d942bf0e4d510763b73918 shyouhei (Shyouhei Urabe)
03:36 AM Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
Hello,
aycabta (aycabta .) wrote in #note-6:
> I decided to stop using `system` method for E2E testing because it...
utkarsh (Utkarsh Gupta)
03:27 AM Feature #16786: Light-weight scheduler for improved concurrency.
Okay, considering that this proposal is about concurrency (a subset of asynchronous execution), we could use the foll... ioquatix (Samuel Williams)
03:18 AM Bug #16674: Build issue of FreeBSD 12
This could be fixed by using LLVM's LLD after rG88498f44dfe7d9b886f2622335cdeae4dbf2b02a
Reference:
[ELF] -r: all...
ngoto (Naohisa Goto)
02:48 AM Bug #17217 (Closed): Backport request: GitHub Actions set-env → $GITHUB_ENV
Please backport https://github.com/ruby/ruby/pull/3630
`set-env` is deprecated, and it will be disabled in the fut...
znz (Kazuhiro NISHIYAMA)
02:41 AM Revision 45fd4436 (git): Use $GITHUB_ENV instead of set-env
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ znz (Kazuhiro NISHIYAMA)
02:41 AM Revision f9df340a (git): Remove unused commit_info
znz (Kazuhiro NISHIYAMA)
01:11 AM Revision 68d24bc0 (git): Moved rb_callable_receiver internal
nobu (Nobuyoshi Nakada)
01:10 AM Revision 29c54b5e (git): Add missing fileutils require
On my system, the error was being hidden by the presence of a YARD
rubygems plugin that was providing the require and...
deivid (David Rodríguez)

10/05/2020

05:59 PM Bug #17216 (Closed): Enumerator::Chain doesn't support all Enumerator methods
Despite the fact that `Enumerator::Chain` (returned by `Enumerator#chain`) is supposed to inherit from `Enumerator`, ... jeremie (Jérémie Laval)
05:17 PM Revision 49bfd889 (git): * 2020-10-06 [ci skip]
git[bot]
05:17 PM Revision 7d8b43d2 (git): [ruby/tempfile] Improve the documentation for Tempfile.create and recommend Tempfile.open instead
https://github.com/ruby/tempfile/commit/8bac025065 Eregon (Benoit Daloze)
05:04 PM Bug #17215 (Closed): Backport for arm64 optimizations that exist for power/x86
Is it possible to backport this commit to ruby_2_7?
Enable arm64 optimizations that exist for power/x86
https://g...
jaruga (Jun Aruga)
02:35 PM Revision 3a3000f5 (git): Fix traditional Ring example in Actor-model
skryukov (Svyatoslav Kryukov)
11:45 AM Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
I decided to stop using `system` method for E2E testing because it depends on `ruby` command. I'm sorry for the rough... aycabta (aycabta .)
11:21 AM Bug #17212: FreeBSDで3.0.0-preview1のビルドが失敗する
FreeBSD 13 については、https://bugs.ruby-lang.org/issues/16674 にあるように `--disable-dtrace` つけるとどうでしょうか? hsbt (Hiroshi SHIBATA)
11:15 AM Bug #17214: BigDecimal exponentiation gives incorrect results
If I increase the precision of the two arguments ("2222", "3.5"), but leave the operation's precision on default, the... karatedog (Földes László)
05:08 AM Bug #17214 (Rejected): BigDecimal exponentiation gives incorrect results
`BigDecimal` instances hold the precision, and it is not enough in that case.
You need to override the default preci...
nobu (Nobuyoshi Nakada)
12:35 AM Bug #17214 (Rejected): BigDecimal exponentiation gives incorrect results
This is an incorrect value:
```ruby
(BigDecimal("2222") ** BigDecimal("3.5")).to_i
# => 517135311000
```
Thi...
karatedog (Földes László)
10:50 AM Revision 20ad1017 (git): Remove system method for E2E testing because depends on ruby command
aycabta (aycabta .)
08:32 AM Revision 82f496a8 (git): Put an empty line before the original URL
Even if the raw commit log does not end with a newline.
Suggested to use `grep` by znz.
Co-Authored-By: Kazuhiro NIS...
nobu (Nobuyoshi Nakada)

10/04/2020

07:32 PM Revision d5ab1979 (git): * 2020-10-05 [ci skip]
git[bot]
07:17 PM Revision 9718ff62 (git): Show stdout and stderr when history tests fail
aycabta (aycabta .)
06:31 PM Bug #17211 (Assigned): Test failures in ruby2.7.2 and ruby3.0~preview1
Okay, I got it. Those tests fail when no executable named `ruby` is available in `PATH`.
https://github.com/ruby/r...
mame (Yusuke Endoh)
01:29 PM Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
Thanks. I tested `make && make check` on Debian sid x86_64 on Docker on WSL2, but couldn't reproduce the issue. I'm n... mame (Yusuke Endoh)
02:33 AM Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
utkarsh (Utkarsh Gupta) wrote:
> I am clueless as to what's causing this?
Weirdly enough it looks to me that
```...
utkarsh (Utkarsh Gupta)
02:17 AM Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
Hey,
mame (Yusuke Endoh) wrote in #note-1:
> Hi, cloud you tell us what environment (OS, distribution, version, C...
utkarsh (Utkarsh Gupta)
02:00 PM Revision f8c50109 (git): * 2020-10-04 [ci skip]
git[bot]
01:55 PM Revision ef4ba517 (git): Adjusted default gems paths
* sync_default_gems.rb (sync_lib): sync from the same directory as
sync_default_gems.
nobu (Nobuyoshi Nakada)
12:40 AM Bug #17213 (Closed): Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
jeremyevans0 (Jeremy Evans)
12:29 AM Bug #17213: Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
It has not reproduced since https://buildkite.com/rails/rails/builds/71832#5716101b-5e5b-49f8-90c4-4b359c8b1f96 . The... yahonda (Yasuo Honda)

10/03/2020

03:39 PM Bug #17213: Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
Rails CI against Ruby 3.0.0-dev (or 2.8.0dev) had been failing because sprockets and sprockets-rails gem did not supp... yahonda (Yasuo Honda)
03:37 PM Bug #17213 (Closed): Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94 . This is the oldest failu... yahonda (Yasuo Honda)
02:22 PM Revision 0406898a (git): add NULL check.
DATA_PTR(ractor) can be NULL just after creation. ko1 (Koichi Sasada)
11:19 AM Revision d0778cb2 (git): Update example to handle keywords passed to Warning.warn
Eregon (Benoit Daloze)
08:14 AM Bug #17178 (Closed): Procs with kw:def/**kw lose elements when called with a single Array
I think it should be as it is. It would break compatibility from Ruby2.x. It's not that big issue worh breaking.
M...
matz (Yukihiro Matsumoto)
08:12 AM Feature #16786: Light-weight scheduler for improved concurrency.
I am still strongly against `Thread#scheduler`. As @eregon stated, we are not going to have other schedulers any time... matz (Yukihiro Matsumoto)
07:32 AM Misc #17200: DevelopersMeeting20201026Japan
* [Feature #17187] Add connect_timeout to TCPSocket (glass)
* Could I merge it?
Glass_saga (Masaki Matsushita)
07:24 AM Bug #16809: Fiber crashes with --with-coroutine=copy
This might be a pointer alignment issue / problem with the alloca elision.
After playing around with godbolt compi...
ioquatix (Samuel Williams)
04:49 AM Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1
Hi, cloud you tell us what environment (OS, distribution, version, CPU, terminal, etc.) you are using? Thanks mame (Yusuke Endoh)
03:19 AM Revision fced98f4 (git): Added the room for builtin inline prefix
nobu (Nobuyoshi Nakada)
03:17 AM Bug #17212 (Closed): FreeBSDで3.0.0-preview1のビルドが失敗する
題名の通り、FreeBSDで3.0.0-preview1のビルドが失敗します。
再現手順は以下の通り
1. tar xfpvJ ruby-3.0.0-preview1.tar.xz
2. cd ruby-3.0.0-pr...
yasuhirokimura (Yasuhiro KIMURA)
01:47 AM Revision 5a665f6c (git): Check builtin inline function index overflow
nobu (Nobuyoshi Nakada)
 

Also available in: Atom