Project

General

Profile

Activity

From 11/21/2020 to 11/27/2020

11/27/2020

08:32 PM Bug #17306: TestGCCompact#test_ast_compacts test failures
vo.x (Vit Ondruch) wrote in #note-11:
> Testing with commit:git|6be9d18a4d and so far so good. Thank you.
Great! ...
tenderlovemaking (Aaron Patterson)
06:20 PM Bug #17350: mongo-ruby-driver causes the segfault at program's exit
Thank you for the report. I can reproduce and investigated the issue.
I think this is the known (but unfixed) issu...
mame (Yusuke Endoh)
10:19 AM Bug #17350 (Closed): mongo-ruby-driver causes the segfault at program's exit
## Overview
mongo-ruby-driver 2.11.0 has caused the segfault at program's exit when connecting a certain MongoDB c...
ttokutake (Tadatoshi Tokutake)
03:14 PM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
patch updated:
* call `rb_getaddrinfo_a_before_exec()` before `rb_thread_stop_timer_thread()`
* use `rb_protect()` ...
Glass_saga (Masaki Matsushita)
12:34 PM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
`rb_rescue(call_getaddrinfo_a_before_exec, Qnil, NULL, Qnil)` should be `rb_protect`? nobu (Nobuyoshi Nakada)
11:20 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
patch updated Glass_saga (Masaki Matsushita)
09:22 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
I wrote a patch to fix this bug.
Before fork(), it cancels requests and waits for worker threads of getaddrinfo_a(3)...
Glass_saga (Masaki Matsushita)
03:05 PM Feature #17351: Deprecate Random::DEFAULT
It seems pretty rare to need to supply a custom Random instance.
But in such a case, it would be easy to create an e...
Eregon (Benoit Daloze)
02:56 PM Feature #17351: Deprecate Random::DEFAULT
I don't against to remove `Random::DEFAULT`, but need to care about current users.
```ruby
def roll rnd = nil
...
ko1 (Koichi Sasada)
02:54 PM Feature #17351: Deprecate Random::DEFAULT
> I don't think there is any use case for Random::DEFAULT, but happy to hear if there is and there is no trivial repl... ko1 (Koichi Sasada)
11:16 AM Feature #17351 (Closed): Deprecate Random::DEFAULT
From https://bugs.ruby-lang.org/issues/17322#note-11
I think we should deprecate the `Random::DEFAULT` constant, i...
Eregon (Benoit Daloze)
02:47 PM Revision ddb1736b (git): Update to ruby/spec@c4170a3
Eregon (Benoit Daloze)
01:55 PM Revision f02d2f82 (git): Update to ruby/spec@ac878ad
Eregon (Benoit Daloze)
01:55 PM Revision f0bfa266 (git): Update to ruby/mspec@b58e665
Eregon (Benoit Daloze)
01:38 PM Feature #17347: Enumerator::Chain of Enumerator::Lazy should be lazy
Is it a duplicate? I can see it's similar, but I'm not entirely sure fixing #17216 will fix this. Willing to be wrong... asilano (Chris Howlett)
12:53 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
shyouhei (Shyouhei Urabe) wrote in #note-16:
> This is not what I know is a thread-safety. I understand what you ne...
Eregon (Benoit Daloze)
12:38 PM Revision 039ba387 (git): Use opaque struct pointer than void
nobu (Nobuyoshi Nakada)
11:18 AM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17351] Deprecate Random::DEFAULT (eregon)
* Is it OK?
* [Feature #16697] Hash.ruby2_keywords_hash?(valu...
Eregon (Benoit Daloze)
10:53 AM Revision 5d8fe126 (git): configure.ac: Check x86intrin.h only when the target CPU is x86
The check output a warning on M1 Mac mini
http://rubyci.s3.amazonaws.com/osx1100arm/ruby-master/log/20201127T074507Z...
mame (Yusuke Endoh)
10:39 AM Bug #17345: ripper: nothing raised when assigning to keyword variables
Thanks for the quick fix, however `*_error` parser events except `parse_error` seem not to set an error message prope... no6v (Nobuhiro IMAI)
10:28 AM Feature #16604: Set default for Encoding.default_external to UTF-8 on Windows
Both Appveyor and Github-Actions use `Encoding.default_external = UTF-8` in their default ruby versions on Windows. [... larskanis (Lars Kanis)
09:29 AM Revision f0e2ea28 (git): Clarify spec and change of behavior for Random::DEFAULT
Eregon (Benoit Daloze)
08:52 AM Bug #17349 (Closed): Rake での並行実行における正規表現マッチングの異常
小さな再現コードが作成できなかったのですが、以下のように Rake で並行実行すると正規表現のマッチングがおかしくなることがあるように見えます。
### 再現手順
``` shell
$ git clone https:...
shuujii (Shuji KOBAYASHI)
08:42 AM Revision d4098377 (git): Cache access to reg_cfp->self on JIT
```
$ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml...
k0kubun (Takashi Kokubun)
08:36 AM Revision 5496415d (git): mark default_rand
default_rand can points a Bignum seed, so it should be marked. ko1 (Koichi Sasada)
08:03 AM Feature #17322 (Closed): Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
Applied in changeset commit:git|2db2fb9f6c742d5bd0019ccd11c7a375e1b12c0b.
----------
per-ractor Random::DEFAULT
Ran...
ko1 (Koichi Sasada)
02:37 AM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
Eregon (Benoit Daloze) wrote in #note-10:
> Is this needed? It sounds very bad practice from a security point of vie...
nobu (Nobuyoshi Nakada)
08:03 AM Revision 2db2fb9f (git): per-ractor Random::DEFAULT
Random generators are not Ractor-safe, so we need to prepare
per-ractor default random genearators. This patch set
`R...
ko1 (Koichi Sasada)
07:26 AM Feature #17342: Hash#fetch_set
+1 for the feature. I have had chances to write what is proposed here several times.
marcandre (Marc-Andre Lafort...
shyouhei (Shyouhei Urabe)
06:05 AM Feature #17342: Hash#fetch_set
On Thu, Nov 26, 2020 at 9:05 PM <[email protected]> wrote:
>
> It is true **ideally**, but no one can guarantee th...
marcandre (Marc-Andre Lafortune)
02:05 AM Feature #17342: Hash#fetch_set
Eregon (Benoit Daloze) wrote in #note-8:
> Having it as a built-in method, it also makes it possible to avoid comput...
nobu (Nobuyoshi Nakada)
06:41 AM Revision 8ce1711c (git): Revert "Set VM_FRAME_FLAG_FINISH at once on MJIT"
This reverts commit 4d2c8edca69884a41d2f843d36023e3decdb9872.
Unfortunately this seems to cause several issues:
http...
k0kubun (Takashi Kokubun)
05:32 AM Revision 4d2c8edc (git): Set VM_FRAME_FLAG_FINISH at once on MJIT
Performance is probably improved?
$ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alter...
k0kubun (Takashi Kokubun)
04:37 AM Revision 69e77e81 (git): Run rb_print_backtrace first on ruby_on_ci
Unfortunately we couldn't see a C backtrace with the previous commit
http://ci.rvm.jp/results/trunk-random2@phosphoru...
k0kubun (Takashi Kokubun)
04:31 AM Feature #17303: Remove webrick from stdlib
Personally, I'm in favour of a smaller stdlib. Therefore I support this change.
I also believe that we see more in...
ioquatix (Samuel Williams)
01:39 AM Feature #17303: Remove webrick from stdlib
Thank you for your reply.
I'm sorry but I cannot afford to hire you and have no bugdet. If I were a billionaire..
A...
mame (Yusuke Endoh)
04:09 AM Revision 4dbf6f1e (git): Call rb_bug_without_die on CI
when GC.compact's SEGV handler is installed k0kubun (Takashi Kokubun)
04:09 AM Revision 82541df0 (git): Separated tests for $KCODE and $=
nobu (Nobuyoshi Nakada)
03:47 AM Revision eca85404 (git): [DOC] Mersenne Twister isn't cryptographically secure [ci skip]
nobu (Nobuyoshi Nakada)
03:25 AM Revision ead32e6e (git): * 2020-11-27 [ci skip]
git[bot]
03:23 AM Revision 1898e955 (git): Always clean up leftovers at ci.rvm.jp
to prevent failures like
http://ci.rvm.jp/logfiles/brlog.trunk-mjit.20201126-182515.
Since fa1250a506e9b6a1bcbf664f6...
k0kubun (Takashi Kokubun)

11/26/2020

10:47 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
Eregon (Benoit Daloze) wrote in #note-15:
> shyouhei (Shyouhei Urabe) wrote in #note-14:
> > Am I missing something...
shyouhei (Shyouhei Urabe)
02:50 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
shyouhei (Shyouhei Urabe) wrote in #note-14:
> Am I missing something? This sounds eccentric to me. Whether a C fu...
Eregon (Benoit Daloze)
10:26 PM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
Despite the title of this issue, ko1’s intention is to make Ractor usable, not to make Random usable.
I think ther...
shyouhei (Shyouhei Urabe)
03:14 PM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
I see, it's to be compatible for `Random::DEFAULT.seed`, unfortunate.
I think we should deprecate the `Random::DEF...
Eregon (Benoit Daloze)
02:53 PM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
Sounds great, except:
ko1 (Koichi Sasada) wrote in #note-8:
> * `Random.seed()` is added to return current seed o...
Eregon (Benoit Daloze)
05:56 AM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
I vote for replacing `Random::DEFAULT` with ractor-safe object (`Random` class). We don't need `Random.default()` the... matz (Yukihiro Matsumoto)
08:42 PM Bug #17331: Let Fiber#raise work with transferring fibers
Thanks for taking a look.
ko1 (Koichi Sasada) wrote in #note-7:
> Sorry, could you explain the motivation and spe...
nevans (Nicholas Evans)
05:08 AM Bug #17331: Let Fiber#raise work with transferring fibers
Basically positive for implicit one. The transferred fibers and suspended fibers behave differently, especially in ex... matz (Yukihiro Matsumoto)
08:24 PM Feature #17303: Remove webrick from stdlib
[email protected] wrote:
> @normalperson What do you think?

I don't really care about Ruby, at the moment...

...
normalperson (Eric Wong)
07:48 AM Feature #17303: Remove webrick from stdlib
@normalperson What do you think? mame (Yusuke Endoh)
08:03 PM Bug #17348: Shadowed method can not be evaluated on the line that it is shadowed
In Ruby 3, you can write `a[0] => a` and that works :-) marcandre (Marc-Andre Lafortune)
07:07 PM Bug #17348 (Rejected): Shadowed method can not be evaluated on the line that it is shadowed
This isn't a bug. It's expected that Ruby scans code and as soon as it encounters a local variable definition (the le... jeremyevans0 (Jeremy Evans)
04:57 PM Bug #17348 (Rejected): Shadowed method can not be evaluated on the line that it is shadowed
I encountered this in the code a junior Rubyist wrote. Rewriting to more logical code solved our problem, but in my o... d-snp (Tinco Andringa)
07:02 PM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
Also if that helps, here's how it would be used by `json`: https://github.com/flori/json/pull/451 byroot (Jean Boussier)
06:42 PM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
@alanwu just pointed to me that the confusion might come from the fact that this ticket need isn't quite the same tha... byroot (Jean Boussier)
05:44 PM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
> It sounds like that fstring doesn't match that purpose.
I'm not sure why it wouldn't. Ultimately the prupose is ...
byroot (Jean Boussier)
07:41 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
It sounds like that `fstring` doesn't match that purpose.
Is it really better to divert `fstring` than separated str...
nobu (Nobuyoshi Nakada)
04:12 PM Feature #17347 (Closed): Enumerator::Chain of Enumerator::Lazy should be lazy
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]
Consider the following script:
``` ruby
a = [1,2,3].la...
asilano (Chris Howlett)
03:29 PM Feature #17342: Hash#fetch_set
MaxLap (Maxime Lapointe) wrote in #note-9:
> The Hash that we are using is not always under our control. In my secon...
Eregon (Benoit Daloze)
02:53 PM Feature #17342: Hash#fetch_set
I forgot to mention, but this pattern can also be more performant, as the key only needs to be hashed once for both t... MaxLap (Maxime Lapointe)
02:37 PM Feature #17342: Hash#fetch_set
Another name for this is `compute_if_absent`.
It's notably the name used in concurrent-ruby:
http://ruby-concurrenc...
Eregon (Benoit Daloze)
07:57 AM Feature #17342: Hash#fetch_set
`fetch_set` mixes the concept of query with the concept of command and I think it's not a good approach.
Moreover I ...
jbeschi (jacopo beschi)
04:01 AM Feature #17342: Hash#fetch_set
XXX_or_YYY doesn't feel a good name in general.
Why does it need to be a method of `Hash`, and built-in?
Why not ...
nobu (Nobuyoshi Nakada)
12:42 AM Feature #17342: Hash#fetch_set
I didn't put an example using 2 parameters instead of a block, but yes, that option is also available. It has the sam... MaxLap (Maxime Lapointe)
02:14 PM Misc #17346 (Closed): DevelopersMeeting20201210Japan
# The next dev meeting
**Date: 2020/12/10 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee...
mame (Yusuke Endoh)
02:13 PM Misc #17299 (Closed): DevelopersMeeting20201120Japan
mame (Yusuke Endoh)
12:33 PM Bug #17197: Some Hash methods still have arity 2 instead of 1
@marcandre No. Issuing deprecation warnings itself is a declaration of future change. I haven't set my mind for eithe... matz (Yukihiro Matsumoto)
12:26 PM Feature #12650: Use UTF-8 encoding for ENV on Windows
A patch for ruby-3.0 is here: https://github.com/ruby/ruby/pull/3818 larskanis (Lars Kanis)
11:30 AM Bug #17306: TestGCCompact#test_ast_compacts test failures
Testing with commit:git|6be9d18a4d and so far so good. Thank you. vo.x (Vit Ondruch)
11:20 AM Bug #17345 (Closed): ripper: nothing raised when assigning to keyword variables
Applied in changeset commit:git|f5ca3ff4dbcf5c140a77d1de5ff3fe3eed2d558d.
----------
Store all kinds of syntax error...
nobu (Nobuyoshi Nakada)
10:32 AM Bug #17345 (Closed): ripper: nothing raised when assigning to keyword variables
```ruby
require "ripper"
Ripper.tokenize("retry=1", raise_errors: true)
# => SyntaxError (syntax error, unexpect...
no6v (Nobuhiro IMAI)
11:14 AM Revision f5ca3ff4 (git): Store all kinds of syntax errors [Bug #17345]
nobu (Nobuyoshi Nakada)
11:03 AM Revision 1df38963 (git): Removed a duplicate assertion
nobu (Nobuyoshi Nakada)
09:46 AM Bug #17344 (Closed): `Ractor#shareable?` confused by recursive structures
```ruby
y = []; x = [y, {}].freeze; y << x; y.freeze
Ractor.shareable?(y) # => false, ok, the `{}` is not frozen
R...
marcandre (Marc-Andre Lafortune)
09:44 AM Bug #17343 (Closed): Ractor can't clone frozen structures
```ruby
Ractor.new([[]].freeze) {} # => FrozenError
```
See https://github.com/ruby/ruby/pull/3817
marcandre (Marc-Andre Lafortune)
08:54 AM Misc #17319: Rename Random.urandom to os_random and document random data sources
zofrex (James Sanderson) wrote in #note-11:
> Thank for explaining the rationale behind the naming, I understand it ...
naruse (Yui NARUSE)
08:38 AM Misc #17319: Rename Random.urandom to os_random and document random data sources
Thank for explaining the rationale behind the naming, I understand it now.
How would you feel about a patch just t...
zofrex (James Sanderson)
05:30 AM Misc #17319 (Rejected): Rename Random.urandom to os_random and document random data sources
As https://bugs.ruby-lang.org/issues/9569#note-58 says, the name `urandom` insists it doesn't block.
Ruby often pr...
naruse (Yui NARUSE)
06:13 AM Revision 6be9d18a (git): Update TypeProf to 0.7.0
mame (Yusuke Endoh)
05:14 AM Feature #17326: Add Kernel#must! to the standard library
I strongly oppose the name `must`. `must` assumes coercing something but no relation to types nor `nil`.
With a diff...
matz (Yukihiro Matsumoto)
12:37 AM Revision af80df18 (git): Keep patched zlib files
nobu (Nobuyoshi Nakada)

11/25/2020

11:25 PM Feature #17342: Hash#fetch_set
chrisseaton (Chris Seaton) wrote in #note-3:
> `#fetch_or_set` could be a good name.
>
> > Why do we need a block...
phluid61 (Matthew Kerwin)
10:16 PM Feature #17342: Hash#fetch_set
`#fetch_or_set` could be a good name.
> Why do we need a block for the second parameter? Can't that just be an ord...
chrisseaton (Chris Seaton)
10:10 PM Feature #17342: Hash#fetch_set
I think the feature in general is okay, but I have two concerns:
1) The name very easily suggests that the method ...
duerst (Martin Dürst)
09:34 PM Feature #17342: Hash#fetch_set
Thanks I've always wanted this feature. Whenever I write `cache.fetch(key) { cache[key] = calculation }` (or more oft... chrisseaton (Chris Seaton)
08:36 PM Feature #17342 (Feedback): Hash#fetch_set
I would like to propose adding the `fetch_set` method to `Hash`. It behaves just like `fetch`, but when using the def... MaxLap (Maxime Lapointe)
10:05 PM Revision e0944bde (git): Prefer rb_module_new() over rb_define_module_id()
rb_define_module_id() doesn't do anything with its parameter so
it's a bit confusing.
alanwu (Alan Wu)
07:32 PM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
At the last dev-meeting, there is an idea to replace `Random::DEFAULT` with an object which delegates operations to t... ko1 (Koichi Sasada)
07:29 PM Bug #17306 (Closed): TestGCCompact#test_ast_compacts test failures
Applied in changeset commit:git|c32218de1ba094223420a4ea017707f48d0009c5.
----------
Disable auto compaction on plat...
tenderlovemaking (Aaron Patterson)
03:28 PM Bug #17306 (Assigned): TestGCCompact#test_ast_compacts test failures
Re-opening, because the commit fixing this issue was reverted later. Testing with commit:git|7aaf6676c4, I can still ... vo.x (Vit Ondruch)
07:29 PM Revision 526d0f46 (git): * 2020-11-26 [ci skip]
git[bot]
07:29 PM Revision c32218de (git): Disable auto compaction on platforms that can't support it
Both explicit compaction routines (gc_compact and the verify references form)
need to clear the heap before executing...
tenderlovemaking (Aaron Patterson)
09:05 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
As glass_saga says,
* Before fork, all pthreads need to be stopped (this is considered Unix's practical restriction a...
naruse (Yui NARUSE)
08:04 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
Thank you for reporting this behavior. @yahonda
I'd like to implement a hook before `fork()` to cancel all outstandi...
Glass_saga (Masaki Matsushita)
12:53 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
Thanks @yahonda for reporting this!
@glass_saga Any idea how to fix this? Or revert?
shyouhei (Shyouhei Urabe)
07:14 AM Revision 7aaf6676 (git): should stop other ractors on transient_heap_evacuate
transient_heap_evacuate() evacuates all living objects from theap
to malloc mangaed memory. This evacuation can run i...
ko1 (Koichi Sasada)
06:51 AM Revision d43d4acf (git): fix error message
ko1 (Koichi Sasada)
06:08 AM Revision a79fe07d (git): show the error message before Ractor.yield
Ractor's error will be printed if Thread#report_on_exception
is true (default), and error message is used. Without th...
ko1 (Koichi Sasada)
05:30 AM Revision fed67fe6 (git): Revert "Disable auto compaction on platforms that can't support it"
This reverts commit 63ad55cd882e4010fe313d271af006a430b5ffa8.
Revert "Disable read barrier on explicit compaction re...
tenderlovemaking (Aaron Patterson)
04:36 AM Revision 00f046ef (git): Report a full_message on a worker crash
A worker crash happens very often, but we're not sure why.
I'd like to know a backtrace if it's available.
k0kubun (Takashi Kokubun)
04:18 AM Revision eaa87be5 (git): Skip test_ractor.rb:137 for --jit-min-calls=5
It's failing like
http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3270373 but I
have no bandwidth to fix i...
k0kubun (Takashi Kokubun)
03:50 AM Revision c6b7b4f6 (git): Report a more detailed situation of test_ractor.rb:137
This test has been very unstable. I'd like to instantly know whether
it's always failing or random when I look at a C...
k0kubun (Takashi Kokubun)
03:26 AM Revision 26e3aea9 (git): Overwrite all existing files when extracting zlib
To prevent CI failure like
https://ci.appveyor.com/project/ruby/ruby/builds/36494552/job/a3ow8atl19786tep
k0kubun (Takashi Kokubun)
02:56 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
Eregon (Benoit Daloze) wrote in #note-12:
> By marking as thread-safe, I mean that the C extension would manipulate ...
shyouhei (Shyouhei Urabe)
01:59 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
> It would be useful if ko1 (Koichi Sasada) can write some documentation about how to make a C extension Ractor-safe,... ko1 (Koichi Sasada)
01:32 AM Bug #17331: Let Fiber#raise work with transferring fibers
I heard from Samuel, it is used to raise an timeout error or something on a fiber scheduler.
Because the fiber sched...
ko1 (Koichi Sasada)

11/24/2020

11:41 PM Bug #17150 (Closed): Dumping/loading an Exception object dumps core
@mame's pull request was merged at commit:369cfabd5936ccb522f8e95e0f9cc65b59ea4039 jeremyevans0 (Jeremy Evans)
11:39 PM Bug #17161 (Feedback): [BUG] object allocation during garbage collection phase
Unfortunately, without a reproducible example, I don't think we'll be able to help much. The error is because some c... jeremyevans0 (Jeremy Evans)
11:18 PM Bug #17175 (Closed): Ruby 2.5: OpenSSL related test failures
jeremyevans0 (Jeremy Evans)
11:13 PM Bug #17216: Enumerator::Chain doesn't support all Enumerator methods
I agree that calling the methods directly should work. I've submitted a pull request to internally wrap the Enumerat... jeremyevans0 (Jeremy Evans)
10:48 PM Bug #17306 (Closed): TestGCCompact#test_ast_compacts test failures
Applied in changeset commit:git|63ad55cd882e4010fe313d271af006a430b5ffa8.
----------
Disable auto compaction on plat...
tenderlovemaking (Aaron Patterson)
05:12 PM Bug #17306: TestGCCompact#test_ast_compacts test failures
tenderlovemaking (Aaron Patterson) wrote in #note-6:
> You said we're getting an error on `[s390x-linux]` too? It l...
vo.x (Vit Ondruch)
10:48 PM Revision 63ad55cd (git): Disable auto compaction on platforms that can't support it
Auto Compaction uses mprotect to implement a read barrier. mprotect can
only work on regions of memory that are a mu...
tenderlovemaking (Aaron Patterson)
10:32 PM Misc #17337: Don't embed Ruby build-time configuration in Ruby
Eregon (Benoit Daloze) wrote in #note-11:
> vo.x (Vit Ondruch) wrote in #note-10:
> > if I could come in this case ...
vo.x (Vit Ondruch)
09:08 PM Misc #17337: Don't embed Ruby build-time configuration in Ruby
vo.x (Vit Ondruch) wrote in #note-10:
> if I could come in this case to Eventmachine upstream and say "you should no...
Eregon (Benoit Daloze)
09:20 AM Misc #17337: Don't embed Ruby build-time configuration in Ruby
shyouhei (Shyouhei Urabe) wrote in #note-9:
> Ruby had already assumed the exact same runtime environment for both c...
vo.x (Vit Ondruch)
01:08 AM Misc #17337: Don't embed Ruby build-time configuration in Ruby
vo.x (Vit Ondruch) wrote in #note-7:
> However, I don't think that embedding of the compile time options addresses a...
shyouhei (Shyouhei Urabe)
10:25 PM Bug #17207: message/disposition-notification: unexpected token LPAR (expected QUOTED or LITERAL)
Can you please submit this as a pull request to the upstream repository: https://github.com/ruby/net-imap/pulls jeremyevans0 (Jeremy Evans)
10:24 PM Bug #17204 (Feedback): Segmentation fault in 2.7.1p83
This crash shows many 3rd-party C extensions. If you can provide a reproducible example showing the problem, that wo... jeremyevans0 (Jeremy Evans)
10:09 PM Bug #17218: Range#step sometimes behaves unexpectedly with Rational endpoints and increment
This is caused by calling rb_int_plus/rb_int_mul/rb_int_minus directly instead of calling Ruby methods in arith_seq_l... jeremyevans0 (Jeremy Evans)
09:30 PM Revision 87d21ee9 (git): add HEAP_PAGE_SIZE to internal constants
tenderlovemaking (Aaron Patterson)
08:38 PM Revision 490b5778 (git): Disable read barrier on explicit compaction request
We don't need a read barrier when the user calls `GC.compact` because we
don't allow allocations during GC, and all r...
tenderlovemaking (Aaron Patterson)
08:12 PM Bug #17321: Having a singleton class makes cloning imperfect
ufuk (Ufuk Kayserilioglu) wrote in #note-2:
> @jeremyevans0 Thanks for closing the issue.
>
> Can we get this fi...
jeremyevans0 (Jeremy Evans)
07:44 PM Bug #17321: Having a singleton class makes cloning imperfect
@jeremyevans0 Thanks for closing the issue.
Can we get this fix backported to 2.5, 2.6 and 2.7 please? As noted in ...
ufuk (Ufuk Kayserilioglu)
07:06 PM Bug #17005: lib_gssapi.rb:182: [BUG] Segmentation fault at 0x000000000000004d
This should now be fixed in gssapi-1.3.1 zenchild (Dan Wanek)
06:25 PM Bug #17264 (Assigned): BigDecimal exponentiation cannot be used with #** method
karatedog (Földes László) wrote:
> My suggestion is the #** method and #power method should work the same way or the...
jeremyevans0 (Jeremy Evans)
03:01 PM Bug #17340 (Closed): /\p{/ matches newline instead of throwing syntax error
Applied in changeset commit:git|b26d6c70e0f08050ca23388bb0e8442f73269c73.
----------
Detect the premature end of cha...
jeremyevans (Jeremy Evans)
11:19 AM Bug #17340: /\p{/ matches newline instead of throwing syntax error
Great, thanks! jirkamarsik (Jirka Marsik)
03:01 PM Revision b4dd7310 (git): * 2020-11-25 [ci skip]
git[bot]
03:01 PM Revision b26d6c70 (git): Detect the premature end of char property in regexp
Default to ONIGERR_INVALID_CHAR_PROPERTY_NAME in
fetch_char_property_to_ctype and only set otherwise if an ending
} i...
jeremyevans (Jeremy Evans)
11:17 AM Bug #17341: Unsound quantifier reduction with nested quantifiers
Thanks for the quick reply! Your fix looks great. jirkamarsik (Jirka Marsik)
11:00 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
"A new version of Ruby breaks an existing application" is one of the most valuable reports.
Especially if the applic...
mame (Yusuke Endoh)
09:47 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
sawa (Tsuyoshi Sawada) wrote in #note-12:
> naruse (Yui NARUSE) wrote in #note-11:
> > In this case yahonda report ...
naruse (Yui NARUSE)
09:39 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
naruse (Yui NARUSE) wrote in #note-11:
> In this case yahonda report this ticket, and eugeneius identify the small re...
sawa (Tsuyoshi Sawada)
09:05 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
sawa (Tsuyoshi Sawada) wrote in #note-10:
> I don't get it. If this is a Ruby's bug, then why does this issue only/m...
naruse (Yui NARUSE)
08:40 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
mame (Yusuke Endoh) wrote in #note-7:
> sawa (Tsuyoshi Sawada) wrote in #note-6:
> > I see that you have been posting...
sawa (Tsuyoshi Sawada)
08:28 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
> As getaddrinfo and getaddrinfo_a are not in the async-signal-safe function list in POSIX.1-2001, it can't work in b... naruse (Yui NARUSE)
07:47 AM Bug #17220 (Assigned): Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
Thank you for pointing out and sorry that we didn't treat this issue as not so important.
This issue is considered a...
naruse (Yui NARUSE)
07:32 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
sawa (Tsuyoshi Sawada) wrote in #note-6:
> I see that you have been posting a couple of Rails CI failures as "Ruby b...
mame (Yusuke Endoh)
07:07 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
I see that you have been posting a couple of Rails CI failures as "Ruby bugs" on this site.
I think you are complete...
sawa (Tsuyoshi Sawada)
06:27 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
I also would like to request to reconsider this change. Ruby programmers have no control to use C level `getaddrinfo`... yahonda (Yasuo Honda)
08:02 AM Revision 237cb94c (git): Handle calloc failure
for cfd8c7e6ca9f923cee3a062b548d0824fc67e9a5. k0kubun (Takashi Kokubun)
07:48 AM Revision cfd8c7e6 (git): Prefer calloc/free over ZALLOC/xfree
To avoid SEGV like
http://ci.rvm.jp/logfiles/brlog.trunk-mjit.20201124-061530
k0kubun (Takashi Kokubun)
07:39 AM Bug #17335: load gem in ruby 2.6.6 extremely slow
@jeremyevans0 (Jeremy Evans), thanks for your response. After some experiments, the issue can be boided down to the o... paulHu (paul hu)
04:24 AM Feature #17339: Semantic grouping with BigDecimal#to_s
I read doc again, and understand the situation.
If we have a chance to change API, another formatting option like ...
chumaltd (Takahiro Chuma)
02:32 AM Bug #17331: Let Fiber#raise work with transferring fibers
Sorry, could you explain the motivation and specification?
It seems there are many discussion on GH and other ticket...
ko1 (Koichi Sasada)
12:33 AM Revision 0deb06bf (git): Add CSV 3.1.9 to NEWS
Sutou Kouhei
12:33 AM Revision 832b7f3c (git): [ruby/csv] Add support for \r\n with skip_lines: /...$/ again
GitHub: fix GH-194
Reported by Josef Šimánek. Thanks!!!
https://github.com/ruby/csv/commit/fd86afe081
Sutou Kouhei
12:33 AM Revision f9935205 (git): [ruby/csv] Bump version
https://github.com/ruby/csv/commit/e1b430d965 Sutou Kouhei
12:33 AM Revision f9d6d762 (git): [ruby/csv] Removed needless editorconfig file (#192)
https://github.com/ruby/csv/commit/5623dee00e hsbt (Hiroshi SHIBATA)
12:33 AM Revision 20a91312 (git): [ruby/csv] RDoc recipes for RFC-compliant generation (#187)
https://github.com/ruby/csv/commit/5adeaff91f burdettelamar (Burdette Lamar)
12:33 AM Revision d48e688f (git): [ruby/csv] RDoc recipes for diagnostics (#186)
https://github.com/ruby/csv/commit/d9e67918e2 burdettelamar (Burdette Lamar)
12:33 AM Revision 9266410c (git): [ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)
https://github.com/ruby/csv/commit/bee48b04c4 burdettelamar (Burdette Lamar)
12:33 AM Revision c5fcafd2 (git): [ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)
Co-authored-by: Sutou Kouhei <[email protected]>
https://github.com/ruby/csv/commit/f0bab6a592
burdettelamar (Burdette Lamar)
12:33 AM Revision 3cfb63fc (git): [ruby/csv] More on Recipes headers (#183)
https://github.com/ruby/csv/commit/d7ae3df801 burdettelamar (Burdette Lamar)
12:33 AM Revision 15e457d6 (git): [ruby/csv] Refine RDoc for headers recipes (#182)
https://github.com/ruby/csv/commit/bd8085e126 burdettelamar (Burdette Lamar)
12:33 AM Revision 6e28ec06 (git): [ruby/csv] RDoc recipes: add introductory texts to code recipes (#181)
https://github.com/ruby/csv/commit/c52d53761e burdettelamar (Burdette Lamar)
12:33 AM Revision 4641a9a9 (git): [ruby/csv] Emphasize with-headers over without-headers in recipes (#180)
https://github.com/ruby/csv/commit/c7bbedd28a burdettelamar (Burdette Lamar)
12:33 AM Revision 76e5e5aa (git): [ruby/csv] More RDoc for field converters (#179)
https://github.com/ruby/csv/commit/2a4ef5d86a burdettelamar (Burdette Lamar)
12:33 AM Revision 5a0c8068 (git): [ruby/csv] Clarify and correct RDoc for converters (#178)
https://github.com/ruby/csv/commit/f3e9586b34 burdettelamar (Burdette Lamar)
12:33 AM Revision 4be336b1 (git): [ruby/csv] Recipes for field converters (#177)
https://github.com/ruby/csv/commit/aea896f030 burdettelamar (Burdette Lamar)
12:33 AM Revision 98d52d87 (git): [ruby/csv] Organize page Recipes better (#176)
https://github.com/ruby/csv/commit/338b7f0d57 burdettelamar (Burdette Lamar)
12:33 AM Revision 8ea293b7 (git): [ruby/csv] Experimenting with recipes in CSV RDoc (#175)
https://github.com/ruby/csv/commit/01ffd0d2de burdettelamar (Burdette Lamar)
12:33 AM Revision 614afb16 (git): [ruby/csv] Fix CSV.filter to preserve headers (#174)
Co-authored-by: Sutou Kouhei <[email protected]>
https://github.com/ruby/csv/commit/203c5e0574
burdettelamar (Burdette Lamar)
12:33 AM Revision 207f2acc (git): [ruby/csv] Enhanced RDoc for CSV::Row (#173)
https://github.com/ruby/csv/commit/99956c671d burdettelamar (Burdette Lamar)
12:33 AM Revision e8954fa1 (git): [ruby/csv] Enhanced RDoc for CSV::Row (#171)
https://github.com/ruby/csv/commit/cced8d8de9 burdettelamar (Burdette Lamar)
12:33 AM Revision 31ccc233 (git): [ruby/csv] Enhanced RDoc for Row#[]= (#170)
https://github.com/ruby/csv/commit/744e83043f burdettelamar (Burdette Lamar)
12:33 AM Revision d99bca90 (git): [ruby/csv] Enhanced RDoc for Table::Row (#169)
https://github.com/ruby/csv/commit/70ed12c1aa burdettelamar (Burdette Lamar)
12:33 AM Revision 0543db40 (git): [ruby/csv] Don't change initialize_copy's return value
https://github.com/ruby/csv/commit/cf3b60db1c Sutou Kouhei
12:33 AM Revision d2913f91 (git): [ruby/csv] Add link to Wikipedia article Table (#167)
https://github.com/ruby/csv/commit/fe975c41d2 burdettelamar (Burdette Lamar)
12:33 AM Revision 7deff888 (git): [ruby/csv] Enhanced RDoc for CSV::Table (#165)
https://github.com/ruby/csv/commit/bce4b696a7 burdettelamar (Burdette Lamar)
12:33 AM Revision 72997f48 (git): [ruby/csv] Enhanced RDoc for values_at, <<, and push (#164)
https://github.com/ruby/csv/commit/bb3eb242f2 burdettelamar (Burdette Lamar)
12:33 AM Revision 3283ef1a (git): [ruby/csv] Enhanced RDoc for Table#[] (#162)
* Enhanced RDoc for Table#[]
* Enhanced RDoc for Table#[]
https://github.com/ruby/csv/commit/5575ffc82e
burdettelamar (Burdette Lamar)
12:33 AM Revision 067b2175 (git): [ruby/csv] Bump version
https://github.com/ruby/csv/commit/e7628e6930 Sutou Kouhei
12:33 AM Revision 62d123df (git): [ruby/csv] Disable stringio >= 0.1.3 dependency
If we have it, we can use the csv gem with a Rack application on
Passenger.
https://github.com/ruby/csv/commit/e0c70...
Sutou Kouhei

11/23/2020

11:58 PM Bug #17341: Unsound quantifier reduction with nested quantifiers
I agree that the presence or absence of a capture group should not affect the matched text. Thank you for your spot ... jeremyevans0 (Jeremy Evans)
06:03 PM Bug #17341 (Closed): Unsound quantifier reduction with nested quantifiers
The rules for reducing nested quantifiers can produce quantifiers with semantics which differ from the original quant... jirkamarsik (Jirka Marsik)
11:40 PM Revision 3a7ea6a0 (git): * 2020-11-24 [ci skip]
git[bot]
11:38 PM Revision 3ce5434f (git): Ignore static-ruby [ci skip]
static-ruby is statically linked against libruby, even when
configured with --enable-shared.
nobu (Nobuyoshi Nakada)
11:27 PM Revision 48d1e868 (git): zlib: patches for mswin64
* cast to suppress C4267 warnings; no possible loss of data as
following the comparison.
* shift base address to s...
nobu (Nobuyoshi Nakada)
11:22 PM Revision 78c40e65 (git): zlib: extlibs to download zlib-1.2.11
nobu (Nobuyoshi Nakada)
08:07 PM Bug #17340: /\p{/ matches newline instead of throwing syntax error
It turns out the regexp behavior depends on the encoding:
```
$ ruby -ve 'p(/\p{/u.match("\n"))'
ruby 2.7.2p137 ...
jeremyevans0 (Jeremy Evans)
05:39 PM Bug #17340 (Closed): /\p{/ matches newline instead of throwing syntax error
The regular expression `/\p{/` matches newline characters instead of reporting a syntax error.
```
irb(main):001:...
jirkamarsik (Jirka Marsik)
05:45 PM Bug #17338 (Feedback): ruby-spec stuck in "C-API Kernel function rb_rescue2"
I suspect this may be due to the TypeError occurring during the rescue handling. One possibility is to preprocess th... jeremyevans0 (Jeremy Evans)
04:53 PM Bug #17335 (Feedback): load gem in ruby 2.6.6 extremely slow
Can you please time each of the requires separately to see how much time each is taking, so we can see where the prob... jeremyevans0 (Jeremy Evans)
04:31 PM Bug #17306: TestGCCompact#test_ast_compacts test failures
Great, thank you!
```
+ make runruby 'TESTRUN_SCRIPT=-v -retc -e'\''p Etc.sysconf(Etc::SC_PAGE_SIZE)'\'''
./revi...
tenderlovemaking (Aaron Patterson)
01:19 PM Bug #17306: TestGCCompact#test_ast_compacts test failures
These are results from all Fedora supported platforms:
~~~
+ make runruby 'TESTRUN_SCRIPT=-v -retc -e'\''p Etc.sy...
vo.x (Vit Ondruch)
02:36 PM Bug #17280: Dir.glob with FNM_DOTMATCH matches ".." and "." and results in duplicated entries
Currently, even `Dir[".*"]` and `Dir["{*,.*}"]` match `..`, which seems surprising.
The PR fixes those, and I think ...
Eregon (Benoit Daloze)
02:23 PM Misc #17337: Don't embed Ruby build-time configuration in Ruby
shyouhei (Shyouhei Urabe) wrote in #note-5:
> JFYI because compilers tend to LTO these days, libruby can be a compil...
vo.x (Vit Ondruch)
02:13 PM Misc #17337: Don't embed Ruby build-time configuration in Ruby
shyouhei (Shyouhei Urabe) wrote in #note-1:
Thx for elaborating some of the reasons behind.
However, I don't thin...
vo.x (Vit Ondruch)
10:00 AM Bug #17304: Ruby stuck calling sched_yield on fork
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Can you reproduce this issue with the master branch, or at least Ruby...
thinline (THINline s.r.o.)
09:31 AM Revision abb672e1 (git): Suppress a format-overflow warning
nobu (Nobuyoshi Nakada)
08:56 AM Revision 2939c57c (git): Check if _FORTIFY_SOURCE really works
i686-pc-cygwin gcc 6.4.0 seems broken around ssp.h, when compiling
with both of optimization and _FORTIFY_SOURCE.
nobu (Nobuyoshi Nakada)
08:06 AM Revision 53e352fd (git): Increase the # of downloader.rb's retry attempts
Apparently 9 was not enough either.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20201...
k0kubun (Takashi Kokubun)
06:09 AM Revision 1fea0367 (git): Clarify the intention of `false &&`
k0kubun (Takashi Kokubun)
05:02 AM Revision 2700df3c (git): ruby/internal/config.h needs to be included first
to define USE_MJIT. k0kubun (Takashi Kokubun)
04:55 AM Revision 0a2b9876 (git): Make --disable-jit-support compile
vm_core.h needs to be included to know rb_execution_context_t, etc.
I also added a trivial refactoring in mjit.c and ...
k0kubun (Takashi Kokubun)
04:28 AM Revision 01f38693 (git): Remove obsoleted internal/mjit.h inclusion
:bow: k0kubun (Takashi Kokubun)
04:23 AM Revision 8646f902 (git): Remove obsoleted internal/mjit.h
Sorry, I forgot to delete this at 55866565c24765a1722e2c415a6776f3f77e89d0. k0kubun (Takashi Kokubun)
04:22 AM Revision 55866565 (git): Combine mjit.h and internal/mjit.h
It's very hard to remember which mjit.h has what. k0kubun (Takashi Kokubun)
02:46 AM Bug #17005: lib_gssapi.rb:182: [BUG] Segmentation fault at 0x000000000000004d
I've reopened https://github.com/zenchild/gssapi/issues/12. Please follow along over there. I think I have a fix but ... zenchild (Dan Wanek)
12:45 AM Revision afd765f2 (git): Initialize UTF-8 encoding first as it is used always now
nobu (Nobuyoshi Nakada)

11/22/2020

06:15 PM Feature #17047: Support parameters for MAIL FROM and RCPT TO
c960657 (Christian Schmidt) wrote in #note-5:
> I would appreciate some feedback on this. Thanks :-)
Sorry for th...
jeremyevans0 (Jeremy Evans)
11:07 AM Feature #17047: Support parameters for MAIL FROM and RCPT TO
I would appreciate some feedback on this. Thanks :-) c960657 (Christian Schmidt)
04:58 PM Bug #10845: Subclassing String
PR to fix it by @matsuda: https://github.com/rails/rails/pull/40663 Eregon (Benoit Daloze)
04:31 PM Bug #10845: Subclassing String
Rails Active Support CI against Ruby master branch failed.
Performed `git bisect` and found it has been triggered si...
yahonda (Yasuo Honda)
03:11 PM Revision d83aa3c2 (git): * 2020-11-23 [ci skip]
git[bot]
03:10 PM Revision fa1250a5 (git): Stop leaving .c files for JIT compaction in /tmp (#3802)
* Re-generate C files for JIT compaction every time
* Refactor in_jit return logic
* Just write code in a single fi...
k0kubun (Takashi Kokubun)
02:08 PM Revision 175952bf (git): NEWS for [Feature #16233] [ci skip]
nobu (Nobuyoshi Nakada)
01:55 PM Misc #17337: Don't embed Ruby build-time configuration in Ruby
shyouhei (Shyouhei Urabe) wrote in #note-5:
> nobu (Nobuyoshi Nakada) wrote in #note-4:
> > Should we move such det...
nobu (Nobuyoshi Nakada)
01:19 PM Misc #17337: Don't embed Ruby build-time configuration in Ruby
nobu (Nobuyoshi Nakada) wrote in #note-4:
> Should we move such detections (for other than C, not only C++) to mkmf....
shyouhei (Shyouhei Urabe)
09:37 AM Misc #17337: Don't embed Ruby build-time configuration in Ruby
Should we move such detections (for other than C, not only C++) to mkmf.rb? nobu (Nobuyoshi Nakada)
01:51 PM Revision 82e836dc (git): Use hex-encoded binaries instead of UTF-8
Which UTF-8 char corresponds to the binary representation is
nonsense for other encodings, and just confusing.
nobu (Nobuyoshi Nakada)
01:32 PM Feature #16233 (Closed): winruby UTF8 Fallback for no CodePage
Applied in changeset commit:git|d403591b34e204a5937241025c62c877e579fbaf.
----------
Add string encoding IBM720 a...
naruse (Yui NARUSE)
11:06 AM Feature #16233: winruby UTF8 Fallback for no CodePage
I've been notified by this issue several times, so that I finally implemented the missing codepage CP720 in https://g... larskanis (Lars Kanis)
01:23 PM Revision d403591b (git): Add string encoding IBM720 alias CP720 (#3803)
The mapping table is generated from the ICU project:
https://github.com/unicode-org/icu/blob/master/icu4c/source/da...
larskanis (Lars Kanis)
12:00 PM Revision 2d112c34 (git): [ruby/irb] Stop using bang version for #inspect of result
https://github.com/ruby/irb/commit/fc1426d34e aycabta (aycabta .)
12:00 PM Revision afb8aba4 (git): [ruby/irb] Add a fallback for check_code_block that does not depend on implementation-private APIs
* Fixes https://github.com/ruby/irb/issues/133
https://github.com/ruby/irb/commit/5eb3ef3293
Eregon (Benoit Daloze)
12:00 PM Revision 5218f177 (git): [ruby/irb] support more body argument for oneliner method definition
https://github.com/ruby/irb/commit/2ff1295533 no6v (Nobuhiro IMAI)
10:10 AM Revision 7c879cbb (git): Suppress a unused-variable warning
nobu (Nobuyoshi Nakada)
10:09 AM Revision 75d48a53 (git): rubyspec-capiext: Use plain DLDFLAGS without flags for libruby
nobu (Nobuyoshi Nakada)
09:28 AM Feature #17339: Semantic grouping with BigDecimal#to_s
https://github.com/ruby/ruby/compare/master...nobu:bug/17339-BigDecimal%23to_s-grouping?expand=1
Improves (especia...
nobu (Nobuyoshi Nakada)
07:44 AM Revision 7ade7a86 (git): Clarify the intention of the include guard
This was a leftover of 27d5af59a359909e0d434459c30cfc0940f60a5b. k0kubun (Takashi Kokubun)
06:38 AM Revision 9eb34c2c (git): Make c_file / so_file construction consistent
convert_unit_to_func's c_func / so_func construction is unnecessarily
complicated while it's not really safer than wh...
k0kubun (Takashi Kokubun)
03:36 AM Revision e0156bd3 (git): Make sure all threads are scanned on unload_units
This has been a TODO since 79df14c04b. While adcf0316d1 covered the
root_fiber of the initial thread, it didn't cover...
k0kubun (Takashi Kokubun)
02:32 AM Revision eb3906c6 (git): dist: added DISTOPTS and PKGSDIR
nobu (Nobuyoshi Nakada)
02:30 AM Revision e9c3de47 (git): make-snapshot: don't store symlinks by 7z for reproduceable pacakges
nobu (Nobuyoshi Nakada)
02:01 AM Revision 0f51105e (git): make-snapshot: measure archiving times
nobu (Nobuyoshi Nakada)
01:59 AM Revision 821aa35c (git): make-snapshot: suppress messages copying cached files unless verbose
nobu (Nobuyoshi Nakada)
01:49 AM Revision 11cd9339 (git): make-snapshot: clean autoconf caches for reproduceable packages
nobu (Nobuyoshi Nakada)
12:10 AM Bug #17021 (Closed): "arm64" and "arm" are mixed in RbConfig on Apple silicon
Applied in changeset commit:git|43a9a974e276dc49b03ec81ccace0adb534a3d20.
----------
[Bug #17021] Make host_* values...
nobu (Nobuyoshi Nakada)
12:10 AM Revision 5512de76 (git): * 2020-11-22 [ci skip]
git[bot]

11/21/2020

03:25 PM Feature #17339: Semantic grouping with BigDecimal#to_s
nobu (Nobuyoshi Nakada) wrote in #note-3:
> Shouldn't `BigDecimal('1234567').to_s('3F')` return `"1 234 567.0"` (wit...
chumaltd (Takahiro Chuma)
01:10 PM Feature #17339: Semantic grouping with BigDecimal#to_s
Shouldn't `BigDecimal('1234567').to_s('3F')` return `"1 234 567.0"` (without spaces at the beginning and just before ... nobu (Nobuyoshi Nakada)
12:18 PM Feature #17339: Semantic grouping with BigDecimal#to_s
Its document states:
> If s contains a number, a space is inserted after each group of that many fractional digits...
nobu (Nobuyoshi Nakada)
07:05 AM Feature #17339 (Assigned): Semantic grouping with BigDecimal#to_s
# Abstract
Thousands, millions, ... should be expressible with `BigDecimal#to_s`.
# Background
`BigDecimal('1234...
chumaltd (Takahiro Chuma)
02:41 PM Feature #17336: using refined: do ... end
> It kind of seems nice to have the outer `using do ... end` which is saying "below are local monkey patches for this... zverok (Victor Shepelev)
03:51 AM Feature #17336: using refined: do ... end
> Is it annoying in practice?
In practice? Nah, maybe not for many people, at least you. I admit I'm a bit extreme...
k0kubun (Takashi Kokubun)
02:21 PM Revision 43a9a974 (git): [Bug #17021] Make host_* values consistent with target_*
nobu (Nobuyoshi Nakada)
02:17 PM Revision ece917ba (git): Added rubyspec-capiext target
This target builds extensions for rubyspec optional C-API tests. nobu (Nobuyoshi Nakada)
01:36 PM Bug #17021: "arm64" and "arm" are mixed in RbConfig on Apple silicon
Eregon (Benoit Daloze) wrote in #note-7:
> Should another RbConfig::CONFIG key be used? Which one?
Usually we use...
nobu (Nobuyoshi Nakada)
12:39 PM Bug #17305: rb_rescue2() seems to loop forever if given a non-module for rescued exceptions on <= 2.6.6
This bug seems to happen on master too, for some platforms, see #17338. Eregon (Benoit Daloze)
12:25 PM Bug #10845: Subclassing String
There are far more (intentional and some of them warned before) breaking changes in Ruby 3 than this, so I don't see ... Eregon (Benoit Daloze)
07:45 AM Bug #10845: Subclassing String
I'll ask the same question I've asked before... Why not deprecate this first?
This gives time to Rails to issue a ...
marcandre (Marc-Andre Lafortune)
07:31 AM Bug #10845: Subclassing String
naruse (Yui NARUSE) wrote in #note-16:
> In 2.7 we break large compatibilities, and this tickets breaks Rails again....
jeremyevans0 (Jeremy Evans)
05:35 AM Bug #10845: Subclassing String
In 2.7 we break large compatibilities, and this tickets breaks Rails again.
"Rails master already fixes it" doesn't ...
naruse (Yui NARUSE)
12:37 AM Bug #10845 (Closed): Subclassing String
Thanks to @matsuda's work showing that Rails already does something very similar and only needs a small patch to work... jeremyevans0 (Jeremy Evans)
11:41 AM Feature #16233: winruby UTF8 Fallback for no CodePage
duerst (Martin Dürst) wrote in #note-6:
> Just adding an alias 'CP720' for windows-1256 is much easier.
Hi @due...
gabuscus (Gabriel Nagy)
08:29 AM Revision a6db9e8d (git): Remove the unused o_file definition
It's calculated inside compile_c_to_so again. k0kubun (Takashi Kokubun)
07:48 AM Revision 8750d001 (git): Fix wrong #ifdef usages with #if
Apparently #ifdef is always true k0kubun (Takashi Kokubun)
07:39 AM Revision 27d5af59 (git): Unify some confusing macro usages
_MSC_VER used to be the macro to switch JIT compaction. However, since
d4381d2ceb, the correct macro to switch it was...
k0kubun (Takashi Kokubun)
07:36 AM Revision d645f18f (git): Minor fixes to NEWS for String subclass method change [ci skip]
jeremyevans (Jeremy Evans)
06:47 AM Revision ed8e552d (git): Shrink the blocking region for compile_compact_jit_code
Isn't setting `in_compact = true` enough to avoid a race condition
between JIT compaction and unload_units? Now I thi...
k0kubun (Takashi Kokubun)
06:22 AM Revision 3f8c60cf (git): Remove obsoleted str_new_empty
since 58325daae3beefda13ed100782cd19a89cc68771.
../string.c:1339:1: warning: ‘str_new_empty’ defined but not used [-...
k0kubun (Takashi Kokubun)
06:18 AM Revision 0960f56a (git): Eliminate IVC sync between JIT and Ruby threads (#3799)
Thanks to Ractor (https://github.com/ruby/ruby/pull/2888 and https://github.com/ruby/ruby/pull/3662),
inline caches s...
k0kubun (Takashi Kokubun)
05:01 AM Misc #17337: Don't embed Ruby build-time configuration in Ruby
This is a tough problem.
Ruby ships several hundreds of C/C++ header files (those under `include/` in our distribu...
shyouhei (Shyouhei Urabe)
12:42 AM Revision 4988758e (git): Update NEWS for String subclass method change [ci skip]
jeremyevans (Jeremy Evans)
12:30 AM Revision 58325daa (git): Make String methods return String instances when called on a subclass instance
This modifies the following String methods to return String instances
instead of subclass instances:
* String#*
* St...
jeremyevans (Jeremy Evans)
 

Also available in: Atom