Project

General

Profile

Activity

From 01/04/2020 to 01/10/2020

01/10/2020

10:36 PM Feature #16499 (Rejected): define_method(non_lambda) should not change the semantics of the given Proc
From https://bugs.ruby-lang.org/issues/15973?next_issue_id=15948&prev_issue_id=15975#note-38
But I think we should...
Eregon (Benoit Daloze)
10:21 PM Feature #15973: Let Kernel#lambda always return a lambda
Yes, sorry I should not have mentioned `define_method` here, even though it's related it's not the main topic.
I'll ...
Eregon (Benoit Daloze)
02:36 PM Misc #16487: Potential for SIMD usage in ruby-core
Just to confirm, `__attribute__(target(""))` is how PHP does it:
- https://github.com/php/php-src/blob/7ce531f2...
byroot (Jean Boussier)
02:12 PM Misc #16487: Potential for SIMD usage in ruby-core
> use __target__ attributes
thanks for the links, very helpful
> It's unfortunate the C compiler cannot do this...
ahorek (Pavel Rosický)
01:22 PM Misc #16487: Potential for SIMD usage in ruby-core
> My concern here is who can read, understand and maintain that code?
> Such complexity is likely to have bugs or ne...
byroot (Jean Boussier)
12:29 PM Misc #16487: Potential for SIMD usage in ruby-core
The code in https://github.com/Shopify/ruby/pull/2/files looks rather arcane to me.
I guess that's often the case fo...
Eregon (Benoit Daloze)
12:20 PM Misc #16487: Potential for SIMD usage in ruby-core
> for maximum portability, you should use -march=x86-64
Oh I see what you mean now.
Apparently the solution for...
byroot (Jean Boussier)
11:35 AM Misc #16487: Potential for SIMD usage in ruby-core
> Could you extend on that ? I'm not sure I understand what you mean here.
for maximum portability, you should use...
ahorek (Pavel Rosický)
09:49 AM Misc #16487: Potential for SIMD usage in ruby-core
> You can't use for example AVX instructions generated from a regular C code, even if your processor supports it. You... byroot (Jean Boussier)
07:36 AM Misc #16487: Potential for SIMD usage in ruby-core
Could we do something that allows us to install a gem that gives us the speedup by rerouting stuff in MRI?
Then y...
sam.saffron (Sam Saffron)
05:09 AM Misc #16487: Potential for SIMD usage in ruby-core
> Do you have any practical applications whose performance is significantly improved by the SIMD hacks? I'm unsure ab... ahorek (Pavel Rosický)
02:08 AM Misc #16487: Potential for SIMD usage in ruby-core
Do you have any practical applications whose performance is significantly improved by the SIMD hacks? I'm unsure abo... mame (Yusuke Endoh)
01:57 PM Revision b53d8230 (git): Fixed the wrong url for benchmark
hsbt (Hiroshi SHIBATA)
01:56 PM Revision e0436605 (git): Update the upstream repository of bundler
hsbt (Hiroshi SHIBATA)
01:18 PM Bug #16497 (Assigned): StringIO#internal_encoding is broken (more severely in 2.7)
nobu (Nobuyoshi Nakada)
11:18 AM Bug #16497 (Assigned): StringIO#internal_encoding is broken (more severely in 2.7)
To the best of my understanding from [Encoding](https://docs.ruby-lang.org/en/master/Encoding.html) docs, the followi... zverok (Victor Shepelev)
12:48 PM Revision 7693897a (git): Reduced duplicate code
nobu (Nobuyoshi Nakada)
12:47 PM Bug #16498 (Closed): Hash#transform_values in 2.7.0 sets new hash's default to old hash's default_proc
Applied in changeset commit:git|1b4d406e3a04032b6d01e92b6d184a16945c6ac3.
----------
Hash#transform_values should re...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #16498 (Closed): Hash#transform_values in 2.7.0 sets new hash's default to old hash's default_proc
The following is unexpected for me.
```ruby
Hash.new { }.transform_values { }.default
# => #<Proc:0x000055eecda0...
ptsengineer (Peter Tsengineer)
12:44 PM Revision 1b4d406e (git): Hash#transform_values should return a plain new Hash
[Bug #16498] nobu (Nobuyoshi Nakada)
12:17 PM Revision 135b533e (git): add missing #include
shyouhei (Shyouhei Urabe)
12:17 PM Revision 13064fe5 (git): avoid undefined behaviour when n==0
ISO/IEC 9899:1999 section 6.5.7 states that "If the value of the right
operand is negative or is greater than or equa...
shyouhei (Shyouhei Urabe)
12:17 PM Revision 79dcd26a (git): more use of MSC_VERSION_SINCE
Replaces `#ifdef _MSC_VER` with more accurate version checks. Also,
`defined(_WIN64) && defined(__AVX2__)` is redund...
shyouhei (Shyouhei Urabe)
12:17 PM Revision 7fed7eb5 (git): fix Windows breakage
Fixing typo revealed that _BitScanReverse is BSR, which behaves
differently than LZCNT. What we want here is LZCNT s...
shyouhei (Shyouhei Urabe)
12:17 PM Revision db0398dc (git): fix typos
shyouhei (Shyouhei Urabe)
06:34 AM Feature #5781: Query attributes (attribute methods ending in `?` mark)
sudo (Sudo Nice) wrote:
> How about implementing it similarly to Crystal?
>
> attr_accessor? :foo
+1
anders (Anders Bälter)
06:33 AM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Like that!
sudo (Sudo Nice) wrote:
> How about implementing it similarly to Crystal?
>
> attr_accessor? :f...
anders (Anders Bälter)
02:49 AM Bug #16496 (Rejected): Numbered Parameter not parsed properly in lambda
`_1 *1` is parsed as `_1(*1)`, a call to a method `_1` with a variable-length argument with `1`. It is the same as `... mame (Yusuke Endoh)
02:21 AM Bug #16496 (Rejected): Numbered Parameter not parsed properly in lambda
The space between `*` and `1` changes the lambda behaviour, looks like numbered parameter `_1` is not parsed properly... JustinFeng (Justin Feng)
02:47 AM Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeout
Dan0042 (Daniel DeLorme) wrote:
> +1
>
> This has been an issue for a very long time, and it's often been handled...
kirs (Kir Shatrov)
02:00 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #16495] Inconsistant Quotes in Error Messages (mame)
* This is the third time that we receive a ticket ...
mame (Yusuke Endoh)
01:28 AM Misc #16454: DevelopersMeeting20200116Japan
alanwu (Alan Wu) wrote:
> I would like to see discussion about [Misc #16487] itself. My notes are a bit of an aside,...
mame (Yusuke Endoh)
01:28 AM Revision 0a67c214 (git): Ensure seed data to be cleared
To prevent from leaking the seed data. nobu (Nobuyoshi Nakada)
01:28 AM Revision 499de0a0 (git): Fill siphash salt directly with random data
Expanding less random data with MT is not needed when it
succeeded.
nobu (Nobuyoshi Nakada)
01:04 AM Feature #16495: Inconsistent quotes in error messages
This combination is very common, e.g., Emacs, TeX, etc. nobu (Nobuyoshi Nakada)
12:36 AM Feature #16495: Inconsistent quotes in error messages
Hmm. Is this encoding-related perhaps? I remember having had that when I used ISO (ISO-8859-1 specifically, and
a no...
shevegen (Robert A. Heiler)
12:09 AM Revision 54e31f4a (git): Update dependencies for c6b26f5ccf9296f7fbb23c055401c4f55d32efa0
nobu (Nobuyoshi Nakada)

01/09/2020

11:35 PM Bug #16480: Ruby 2.7, C++, and rb_define_method compilation error
nobu (Nobuyoshi Nakada) wrote:
> Doesn't `#undef rb_define_method` in that file work?
Ah yes it looks like it doe...
jasonroelofs (Jason Roelofs)
02:14 PM Bug #16480: Ruby 2.7, C++, and rb_define_method compilation error
Doesn't `#undef rb_define_method` in that file work? nobu (Nobuyoshi Nakada)
09:54 PM Feature #16495 (Closed): Inconsistent quotes in error messages
Error messages use inconsistent pairs of quotes, for instance:
```
-e:1:in `<main>': undefined local variable or ...
Kolano (Kenneth Kolano)
09:11 PM Revision 5bdc6a01 (git): * 2020-01-10 [ci skip]
git[bot]
09:11 PM Bug #16469 (Closed): Wrong warning message at `URI.encode` and `URI.decode`
Applied in changeset commit:git|d3b28ebc7ac527724831a9fb9ec2f963235f9a21.
----------
Fix warnings for URI.encode and...
jeremyevans (Jeremy Evans)
09:09 PM Revision d3b28ebc (git): Fix warnings for URI.encode and URI.decode
Use __callee__ to display the called method.
Fixes [Bug #16469]
jeremyevans (Jeremy Evans)
07:20 PM Misc #16454: DevelopersMeeting20200116Japan
mame (Yusuke Endoh) wrote:
> alanwu (Alan Wu) wrote:
> > * [Misc #16487] Potential for SIMD usage in ruby-core (ala...
alanwu (Alan Wu)
02:07 PM Misc #16454: DevelopersMeeting20200116Japan
Okay updated. mame (Yusuke Endoh)
01:38 PM Misc #16454: DevelopersMeeting20200116Japan
@mame Here is an updated version of the script which also works if there is no ` (author)` at the end of a comment:
...
Eregon (Benoit Daloze)
10:14 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #16494] Allow hash unpacking in non-lambda Proc
* allow `map { |foo:, bar:| ... }` just like array unpa...
zverok (Victor Shepelev)
03:01 PM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
Was there some change/improvement in this area? I am trying Ruby 2.7.0 and I have not seen this issue during several ... vo.x (Vit Ondruch)
02:57 PM Revision c6b26f5c (git): io.c, ruby.c: include internal/variable.h for rb_gvar_readonly_setter
Same as 053f78e13988e9253d1f207bf5e23d9505112b32.
emscripten requires a prototype declaration of rb_gvar_readonly_set...
mame (Yusuke Endoh)
12:41 PM Revision 4c5eac73 (git): Renamed `init_seed` as `init_hash_salt` too
nobu (Nobuyoshi Nakada)
12:34 PM Misc #16487: Potential for SIMD usage in ruby-core
I wanted to add just a short comment - while byroot is quite possibly correct in regards to most users
using pre-pac...
shevegen (Robert A. Heiler)
05:29 AM Misc #16487: Potential for SIMD usage in ruby-core
I would like to support this. The linked pull request shows 20x speed up for `coderange_scan`, which is definitely w... shyouhei (Shyouhei Urabe)
12:32 PM Revision 661e07c9 (git): Moved the definition of `rb_define_method_if_constexpr`
Inside the block where `RB_METHOD_DEFINITION_DECL` family are
defined.
nobu (Nobuyoshi Nakada)
11:37 AM Bug #16492: TestBugReporter#test_bug_reporter_add test failures
> Could you attach the reported error log's build.log file?
I meant that people might want to compare the build en...
jaruga (Jun Aruga)
11:08 AM Bug #16492: TestBugReporter#test_bug_reporter_add test failures
Note seeing Travis's latest 5 s390x jobs, the s390x jobs have done successfully.
This error does not happen on Travi...
jaruga (Jun Aruga)
09:17 AM Bug #16492 (Closed): TestBugReporter#test_bug_reporter_add test failures
Building Ruby packages on Fedora, in 90% of cases, I observe the following error on s390:
~~~
1) Error:
TestBu...
vo.x (Vit Ondruch)
10:34 AM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
Copying from the discussion of the PR:
> @eregon IMO, the mutating version is enough here because it is not for a ...
Eregon (Benoit Daloze)
10:13 AM Feature #16494 (Rejected): Allow hash unpacking in non-lambda Proc
First of all, I fully understand the value of separating "real" keyword arguments and disallowing implicit and unexpe... zverok (Victor Shepelev)
09:39 AM Bug #16493 (Closed): TestThreadQueue#test_thr_kill is flaky on AArch64
I can see quite often `TestThreadQueue#test_thr_kill` failing on AArch64:
~~~
1) Failure:
TestThreadQueue#test...
vo.x (Vit Ondruch)
08:26 AM Revision 23fbee03 (git): Renamed `seed` as `hash_salt`
The role of this is a so-called "salt" but not "seed", rename to
get rid of confusion with other "seed" of PRNG.
nobu (Nobuyoshi Nakada)
07:41 AM Feature #16491 (Rejected): ruby string scan can not support full regex string feature
Try this regex:
```
/<testsuites(?:(?!<\/testsuites>).|\n)+<\/testsuites>/m
```
`String#scan` returns an arra...
mame (Yusuke Endoh)
07:31 AM Feature #16491 (Rejected): ruby string scan can not support full regex string feature
I have a complex regex string which works fine with match method, but fails with scan. and I think it is because the ... hakehuang (hake huang)
07:00 AM Revision 97485302 (git): Also clear MT to initialize the siphash seed
nobu (Nobuyoshi Nakada)
06:58 AM Revision b0e9db65 (git): Include the standard `id` command output
On macOS, GNU coreutils `id` is limited to NGROUPS_MAX groups,
because of the backward compatibility of getgroups(2).
nobu (Nobuyoshi Nakada)
05:16 AM Feature #13383: [PATCH] Module#source_location
We now have `Module#const_source_location` #10771, which tells us where the module was named as a constant (which is ... sawa (Tsuyoshi Sawada)
03:59 AM Feature #13383: [PATCH] Module#source_location
I might have a go at this over the next month or two. ioquatix (Samuel Williams)
03:17 AM Bug #16490 (Third Party's Issue): mkmf.rbの非互換な変更
tmailのrubygem 1.2.7.1をインストールする際に、
```
make "DESTDIR="
make: don't know how to make /usr/pkg/include/ruby-2.7.0/def...
taca (Takahiro Kambe)
01:22 AM Feature #16489 (Open): Make rb_warn_deprecated a public API
For extension libraries developers, `rb_warn_deprecated` should be useful to warn the API deprecation.
How about mak...
mrkn (Kenta Murata)
01:13 AM Revision b369f5e8 (git): Fixed up 0eeed5bcc5530edb0af2af2ccff09d067c59e8f9
`Binding#source_location` returns the `__FILE__` when created, and
may not be an absolute or real path. And in the `...
nobu (Nobuyoshi Nakada)
01:04 AM Revision d254d556 (git): vcs.rb: Get rid of Kernel#open
nobu (Nobuyoshi Nakada)

01/08/2020

11:53 PM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
A memo for the dev-meeting discussion
* What we should provide as `Hash.ruby2_keywords!`? mutating version, non-mu...
mame (Yusuke Endoh)
11:19 AM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
@Dan0042 Very good point, I agree there should be no way to change that flag inplace, since there isn't currently (`*... Eregon (Benoit Daloze)
11:24 PM Bug #16488: 2.7 spews warnings about net/imap
I've pushed https://github.com/ruby/ruby/commit/65c2c75e162ebc8c4b35b0823967eeb132c00749. Could you please check if ... mame (Yusuke Endoh)
11:23 PM Bug #16488 (Closed): 2.7 spews warnings about net/imap
Applied in changeset commit:git|65c2c75e162ebc8c4b35b0823967eeb132c00749.
----------
lib/net/imap.rb: use `&blk` ins...
mame (Yusuke Endoh)
10:41 PM Bug #16488 (Closed): 2.7 spews warnings about net/imap
I just upgraded from 2.6.5 to 2.7.0. Some of my scripts are now emitting warnings that weren't there before. Eg., #... chdiza (Charles Diza)
11:21 PM Revision 65c2c75e (git): lib/net/imap.rb: use `&blk` instead of Kernel#proc with no block
[Bug #16488] mame (Yusuke Endoh)
11:20 PM Misc #16454: DevelopersMeeting20200116Japan
alanwu (Alan Wu) wrote:
> * [Misc #16487] Potential for SIMD usage in ruby-core (alanwu)
> * It would be great if...
mame (Yusuke Endoh)
10:47 PM Misc #16454: DevelopersMeeting20200116Japan
* [Misc #16487] Potential for SIMD usage in ruby-core (alanwu)
* It would be great if we can come up with a stance...
alanwu (Alan Wu)
12:59 PM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #16463] Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1 (eregon)
* Th...
Eregon (Benoit Daloze)
10:06 PM Bug #16361 (Closed): TestEnv#test_fetch failure
Okay, thanks! mame (Yusuke Endoh)
03:35 PM Bug #16361: TestEnv#test_fetch failure
The test case was relaxed by [1] similarly to my initial proposal. If this is desired fix and not just workaround, th... vo.x (Vit Ondruch)
08:23 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
Attached is a work-in-progress patch that includes similar support for `Module#prepend`. It does work in terms of `M... jeremyevans0 (Jeremy Evans)
07:53 PM Revision 1d09acd8 (git): [DOC] Improve docs for String#match
Fix invalid code to make it syntax highlighted; other small fixes. stomar (Marcus Stollsteimer)
07:51 PM Revision 841a945d (git): * 2020-01-09 [ci skip]
git[bot]
07:47 PM Revision f74021e1 (git): Improve docs for String#=~
Move existing example to the corresponding paragraph and
add an example for `string =~ regexp` vs. `regexp =~ string`...
stomar (Marcus Stollsteimer)
04:13 PM Misc #16487: Potential for SIMD usage in ruby-core
The topic is
* portability between architectures
* portability in a architecture
* maintenanceability
## Portab...
naruse (Yui NARUSE)
02:22 PM Misc #16487: Potential for SIMD usage in ruby-core
SIMD Everywhere seem very interesting, but from a quick check it seems that all the fallbacks are applied during comp... byroot (Jean Boussier)
10:58 AM Misc #16487: Potential for SIMD usage in ruby-core
> The downside of SIMD instructions is that they are not universally available.
So it means maintaining several vers...
jaruga (Jun Aruga)
09:48 AM Misc #16487 (Open): Potential for SIMD usage in ruby-core
### Context
There are several ruby core methods that could be optimized with the use of SIMD instructions.
I ex...
byroot (Jean Boussier)
03:58 PM Bug #14175 (Closed): TestResolvMDNS#test_mdns_each_address fails
This was very likely resolved via #14340 vo.x (Vit Ondruch)
09:35 AM Revision 23218d4a (git): config.status should be newer than config.cache if exists
nobu (Nobuyoshi Nakada)
09:14 AM Revision 5b06dd3a (git): Hoisted out call_default_proc
nobu (Nobuyoshi Nakada)
09:13 AM Revision b8fa1807 (git): Adjusted indents [ci skip]
nobu (Nobuyoshi Nakada)
09:09 AM Revision 592d7cee (git): Speeds up fallback to Hash#default_proc in rb_hash_aref by removing a method call
methodmissing (Lourens Naudé)
09:00 AM Revision 13f4f07f (git): Merge bundler-2.1.4
hsbt (Hiroshi SHIBATA)
03:30 AM Revision f518b608 (git): * 2020-01-08 [ci skip]
git[bot]
03:26 AM Revision beb59c3b (git): Add GC guard
Try to fix infrequent error:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris10-sunc/ruby-master/log/20200108...
znz (Kazuhiro NISHIYAMA)
12:38 AM Misc #16483: How about stopping new *.tar.bz2 releases?
If bz2 removal goes forward, it might be nice to deprecate now but not remove until later. It'd be ideal to have work... shan (Shannon Skipper)

01/07/2020

05:57 PM Bug #16474 (Feedback): [ASYNC BUG]
Unfortunately, this bug report does not provide enough information to diagnose this issue. If you can provide a repr... jeremyevans0 (Jeremy Evans)
05:53 PM Bug #16469: Wrong warning message at `URI.encode` and `URI.decode`
We can probably use `__callee__` instead of hard coding the method names, that should fix this issue:
```diff
dif...
jeremyevans0 (Jeremy Evans)
04:44 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
Attached is a patch that implements support for this for `Module#include`, but not `Module#prepend`. It passes `make... jeremyevans0 (Jeremy Evans)
03:37 PM Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeout
+1
This has been an issue for a very long time, and it's often been handled by installing an asynchronous DNS reso...
Dan0042 (Daniel DeLorme)
02:08 PM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
I would like to recommend this be a non-mutating method. Instead of `Hash.ruby2_keywords!(hash)` it should be somethi... Dan0042 (Daniel DeLorme)
01:23 PM Bug #11014: String#partition doesn't return correct result on zero-width match
IIRC this has to do with zero-length matches being ignored in certain conditions, in particular having to do with rep... Dan0042 (Daniel DeLorme)
10:04 AM Bug #11014: String#partition doesn't return correct result on zero-width match
The problem is not just for `partition`, but also involves `split` and `scan`.
I think your regex `/^=*/` is unnec...
sawa (Tsuyoshi Sawada)
10:04 AM Bug #16472 (Closed): OStruct documentation is lost
znz (Kazuhiro NISHIYAMA)
07:10 AM Misc #16483: How about stopping new *.tar.bz2 releases?
RVM also primarily uses bz2. shan (Shannon Skipper)
04:38 AM Misc #16483: How about stopping new *.tar.bz2 releases?
I prefer to remove bz2 from release packages. I can change to use gz from bz2 at ruby-build. hsbt (Hiroshi SHIBATA)
03:23 AM Revision f132825f (git): Disable IPv6 on Travis s390x case. (#2819)
This fixes following error that sometimes happens once in a few times
on Travis s390x environment.
```
$ tool/travis...
Jun Aruga
02:18 AM Bug #16367 (Third Party's Issue): stdin not support ibm866 encoding for windows
Given that https://github.com/piotrmurach/tty-prompt/issues/115#issuecomment-557919189 says that the `tty-prompt` lib... duerst (Martin Dürst)
01:39 AM Feature #16461: Proc#using
Eregon (Benoit Daloze) wrote:
> shugo (Shugo Maeda) wrote:
> > It doesn't mutate the Proc, but the block, and if Ot...
shugo (Shugo Maeda)

01/06/2020

11:27 PM Bug #16486 (Assigned): Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
@jeremyevans0 @eregon Thanks, I put this on the next dev meeting. mame (Yusuke Endoh)
06:10 PM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
+1, sounds good to me as class methods.
Could also be under ExperimentalFeatures, but not a great fit for this.
Eregon (Benoit Daloze)
02:53 PM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
I'm fine with adding these methods, and I agree that making them class methods instead of instance methods discourage... jeremyevans0 (Jeremy Evans)
09:46 AM Bug #16486 (Closed): Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
Hash's ruby2_keywords flag is designed to be as implicit as possible, but unfortunately, sometimes we need to handle ... mame (Yusuke Endoh)
11:27 PM Misc #16454: DevelopersMeeting20200116Japan
* [Bug #16486] `Hash.ruby2_keywords?(hash)` and `Hash.ruby2_keywords!(hash)` (mame)
* It turned out that we someti...
mame (Yusuke Endoh)
08:50 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
@eregon I agree with your points. I respect that you've studied a lot in your thesis so ultimately I'll defer to your... ioquatix (Samuel Williams)
06:22 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
`Fiber#[]` and `Fiber#[]=` sounds fine, but what if somebody does:
`some_fiber = Fiber.new { ... }; Thread.new { s...
Eregon (Benoit Daloze)
08:41 PM Revision b0bf654c (git): always expand ivar arrays to max width
If the instance variable table hasn't been "expanded", allocate the
maximum size of the ivar table. This operates un...
tenderlovemaking (Aaron Patterson)
06:15 PM Misc #16483: How about stopping new *.tar.bz2 releases?
`ruby-install` also uses `.tar.bz2` currently, so changing that would mean that existing ruby-install releases (and i... Eregon (Benoit Daloze)
08:50 AM Misc #16483: How about stopping new *.tar.bz2 releases?
I like it. I’m biased though since I’m a sucker for opportunities to simplify like this one.
If we do go ahead, we...
alanwu (Alan Wu)
07:59 AM Misc #16483: How about stopping new *.tar.bz2 releases?
I don't mind as in I don't need .tar.bz2.
Personally I use .tar.xz; all local archives of source files that I
kee...
shevegen (Robert A. Heiler)
07:02 AM Misc #16483 (Closed): How about stopping new *.tar.bz2 releases?
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating ...
znz (Kazuhiro NISHIYAMA)
05:40 PM Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
> Later I will send the pull-request to disable IPv6 on only Travis s390x-linux case.
I sent the pull-request to f...
jaruga (Jun Aruga)
04:40 PM Revision 95d23f36 (git): * 2020-01-07 [ci skip]
git[bot]
04:33 PM Revision e92bebb0 (git): Suppress some warnings
```
.../ruby/test/ruby/test_keyword.rb:3509: warning: assigned but unused variable - bug8993
.../ruby/test/ruby/test_...
mame (Yusuke Endoh)
03:27 PM Feature #15998 (Closed): Allow String#-@ to deduplicate tainted string, but return an untainted one
jeremyevans0 (Jeremy Evans)
12:00 PM Feature #15998: Allow String#-@ to deduplicate tainted string, but return an untainted one
Tainting was made a noop in 2.7.0, this issue can now be closed. byroot (Jean Boussier)
12:50 PM Revision 7392083c (git): Support history-size in .inputrc correctly
aycabta (aycabta .)
09:52 AM Revision e44e3716 (git): Slightly change the job wording [ci skip]
mame-san said it's weird k0kubun (Takashi Kokubun)
09:45 AM Revision e3aca289 (git): Support running Actions on a fork
Since 8c9450e7b875db846b19cc631af0d7fee66db5c6, we increased the chance
to run GitHub Actions on a fork, as we usuall...
k0kubun (Takashi Kokubun)
09:42 AM Revision 8cd292f5 (git): Directly refer to GitHub events
instead of unnecessarily defining env vars k0kubun (Takashi Kokubun)
08:03 AM Feature #16484: Remove xmlrpc and net-telnet from bundled gems
I don't think I have used either one of them so I may not be the primary
target audience either way.
I only reme...
shevegen (Robert A. Heiler)
07:06 AM Feature #16484 (Closed): Remove xmlrpc and net-telnet from bundled gems
I added net-telnet(2015) and xmlrpc(2016) to bundled gems. They are the old protocol in 2020.
Should we remove the...
hsbt (Hiroshi SHIBATA)
07:23 AM Feature #16485 (Closed): Make rexml, rss to the bundled gems
I discussed about promote(demote?) rexml and rss to the bundled gems with @kou
Pros: @kou can handle to maintain a...
hsbt (Hiroshi SHIBATA)
06:22 AM Misc #16447 (Closed): Merge JSON doc updates?
Applied at the following commits.
* https://github.com/ruby/ruby/commit/2e5ef30cb9f56e5a7a8139e0f1d75bbcf5ee8362
...
hsbt (Hiroshi SHIBATA)
06:18 AM Bug #14160 (Closed): JSON#generate documentation wrong/misleading
Applied at https://github.com/ruby/ruby/commit/1658e6b5db0380c39d2423281e10acc5b6c6a8bd hsbt (Hiroshi SHIBATA)
06:13 AM Revision 7f1e3a7b (git): [flori/json] Add :nodoc: for GeneratorMethods
https://github.com/flori/json/commit/2f3f44c180 zverok (Victor Shepelev)
06:13 AM Revision 41ef6df8 (git): [flori/json] Fix examples syntax
https://github.com/flori/json/commit/3845491d92 zverok (Victor Shepelev)
06:13 AM Revision 2e5ef30c (git): [flori/json] Enchance generic JSON and #generate docs
https://github.com/flori/json/commit/4ede0a7d19 zverok (Victor Shepelev)
06:09 AM Revision 1658e6b5 (git): [flori/json] Remove invalid JSON.generate description from JSON module rdoc
This text used to be true in older versions of json, but has not
been true for a number of years (since json version ...
jeremyevans (Jeremy Evans)
06:06 AM Revision 33d86655 (git): support RUBY_ON_BUG envval on assert failure.
Check RUBY_ON_BUG env val also on rb_assert_failure(). ko1 (Koichi Sasada)
03:47 AM Bug #16459: <internal:trace_point>:346: [BUG] Segmentation fault at 0x0000000000000008
Note that 2.6 (.4-?) has same issue. ko1 (Koichi Sasada)
02:41 AM Bug #16459 (Closed): <internal:trace_point>:346: [BUG] Segmentation fault at 0x0000000000000008
Applied in changeset commit:git|ce072fe5689184cba5e4a86968367c525cb22a72.
----------
script_compiled event on compil...
ko1 (Koichi Sasada)
02:36 AM Revision ce072fe5 (git): script_compiled event on compile error.
script_compiled event for TracePoint should not be invoked on
compile error (SyntaxError) because it is not "compiled...
ko1 (Koichi Sasada)
01:03 AM Bug #16480 (Assigned): Ruby 2.7, C++, and rb_define_method compilation error
It indeed seems to be a bug. For C extensions, that arity argument can be a variable. There is a fallback code. Bu... shyouhei (Shyouhei Urabe)

01/05/2020

11:04 PM Bug #16459: <internal:trace_point>:346: [BUG] Segmentation fault at 0x0000000000000008
Yes, using 2.7.0:
```
> git clone https://github.com/ioquatix/covered
> cd covered
> COVERAGE=Summary rspec
...
ioquatix (Samuel Williams)
10:51 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
@matz I agree with adding all three APIs, `Fiber#[]`, `Fiber#[]=` and `Fiber#backtrace`. Can you let me know if you a... ioquatix (Samuel Williams)
10:39 PM Misc #16481 (Third Party's Issue): Version numbering in RDoc is not consistent
Can you report this to the administrator of https://ruby-doc.org/? It's NOT the official site.
hsbt (Hiroshi SHIBATA)
05:52 PM Feature #16482 (Closed): net/http should support TLS connection to proxies
Right now net/http forces the user to use a clear text connection to a proxy. This massively reduces security as the ... xformer (Frank Schwab)
04:24 PM Revision 46845d03 (git): * 2020-01-06 [ci skip]
git[bot]
04:20 PM Revision 439e1ccd (git): Complete indented and quoted string correctly
def foo
''.upca[TAB]
This will be completed to be:
def foo
''.upcase
The indent was gone. This commit fixe...
aycabta (aycabta .)
04:06 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
[The log for developers' meeting 20191128](https://docs.google.com/document/d/1AZ74HXEedKksJwhEUPIlnRxAUgchndZPZYAKjG... sawa (Tsuyoshi Sawada)
01:48 PM Revision da028a4f (git): Rescue EOFError
If C-d is pressed before IRB is ready, IRB crashes because EOFError occurs. aycabta (aycabta .)
05:35 AM Revision 54fd50c9 (git): Fix OpenStructDocumentation
In https://github.com/ruby/ruby/commit/9be3295d53b6fd9f8a3ad8157aa0655b1976d8ac,
OpenStruct's documentation stopped t...
zverok (Victor Shepelev)
03:26 AM Revision c7af1e43 (git): Remove unused tmp_buffer in class.c
ref 44a164c26f5371519636585d8ba7aa59f489442e and beae6cbf0fd8b6619e5212552de98022d4c4d4d4 znz (Kazuhiro NISHIYAMA)
03:26 AM Revision 787c6d59 (git): Remove unused last_idx in class.c
ref c7f01d889becbeffc4254e1b0b7faecb80ea3f3e and beae6cbf0fd8b6619e5212552de98022d4c4d4d4 znz (Kazuhiro NISHIYAMA)
02:39 AM Revision 5b0c3754 (git): parse.y: fix a wrong sizeof argument for ruby_sized_xfree
mame (Yusuke Endoh)
02:39 AM Revision 44a164c2 (git): include/ruby/ruby.h: remove a variable tmp_buffer as it does not change
It is no longer used due to beae6cbf0fd8b6619e5212552de98022d4c4d4d4.
Coverity Scan found this.
mame (Yusuke Endoh)
02:39 AM Revision c7f01d88 (git): include/ruby/ruby.h: remove last_idx that is no longer variable
Due to beae6cbf0fd8b6619e5212552de98022d4c4d4d4, the variable last_idx
is no longer changed and always -1. This chan...
mame (Yusuke Endoh)
02:28 AM Revision 9b928fa4 (git): [ruby/reline] Sort completion list
#### Legacy mode:
```console
$ irb --legacy
irb(main):001:0> l[TAB][TAB]
lambda load l...
shuujii (Shuji KOBAYASHI)
02:27 AM Bug #16477 (Closed): readline-ext repository is huge
Sorry, those tags ware mixed into the ruby/readline-ext repository when I cherry-pick-ed from ruby/ruby. I removed it. aycabta (aycabta .)
02:05 AM Feature #16468: Switch to Miller-Rabin for Prime.prime?
On second thought, I think Marc is right, we can't ruin someones day with a composite without a warning that theres a... steveb3210 (Stephen Blackstone)
01:41 AM Feature #16468: Switch to Miller-Rabin for Prime.prime?
It can fall back to APR-CL primality test when Miller-Rabin does not work. In my personal opinion, it would be best ... mame (Yusuke Endoh)
01:23 AM Feature #16468: Switch to Miller-Rabin for Prime.prime?
marcandre (Marc-Andre Lafortune) wrote:
> Interesting. We might as well always return the correct result, i.e. apply...
steveb3210 (Stephen Blackstone)
12:58 AM Feature #16029: Expose fstring related APIs to C-extensions
@byroot, yeah.
`rb_funcall(str, rb_intern("-@"))` works and is backwards compatible, but I entirely agree that it...
sam.saffron (Sam Saffron)

01/04/2020

11:09 PM Feature #16468: Switch to Miller-Rabin for Prime.prime?
Interesting. We might as well always return the correct result, i.e. apply the fast algorithm for integers < 318,665,... marcandre (Marc-Andre Lafortune)
07:19 PM Feature #16468: Switch to Miller-Rabin for Prime.prime?
Attached is an implementation against master.... steveb3210 (Stephen Blackstone)
08:34 PM Feature #9587 (Closed): Integer#times with optional starting value
Eregon (Benoit Daloze)
05:28 PM Feature #9587: Integer#times with optional starting value
I now think that writing as below is good enough:
```ruby
6.times.with_index(1){|_, i| puts "Chapter#{i}"}
```...
sawa (Tsuyoshi Sawada)
08:30 PM Feature #10240 (Rejected): `String#to_a`
Eregon (Benoit Daloze)
06:21 PM Feature #10240: `String#to_a`
I do not feel this proposal to be natural any more. Please close this issue. sawa (Tsuyoshi Sawada)
08:29 PM Feature #10797 (Closed): `inherit` parameter for `..._defined?` methods in Module
Eregon (Benoit Daloze)
06:48 PM Feature #10797: `inherit` parameter for `..._defined?` methods in Module
This proposal was adopted in Ruby 2.6 (and is mentioned in the context of #14944, which is actually a duplicate of th... sawa (Tsuyoshi Sawada)
08:28 PM Feature #11308 (Closed): Optional `include_super=true` parameter for `*method_defined?` methods
Eregon (Benoit Daloze)
06:57 PM Feature #11308: Optional `include_super=true` parameter for `*method_defined?` methods
This is another duplicate of #10797. Please close this issue. sawa (Tsuyoshi Sawada)
08:28 PM Feature #11879 (Closed): `Module#prepended_modules`
Eregon (Benoit Daloze)
07:05 PM Feature #11879: `Module#prepended_modules`
Indeed this issue is a duplicate. Please close this. sawa (Tsuyoshi Sawada)
08:26 PM Feature #9037 (Closed): Memoization of "anonymous constants"
Eregon (Benoit Daloze)
05:33 PM Feature #9037: Memoization of "anonymous constants"
This proposal is indeed a duplicate of #8804. Please close this. sawa (Tsuyoshi Sawada)
08:24 PM Feature #10880 (Rejected): Subclassing Array from Enumerator
Eregon (Benoit Daloze)
06:54 PM Feature #10880: Subclassing Array from Enumerator
I should use `each_with_index` and `each_with_object` as marcandre suggests. I withdraw this. Please close this issue. sawa (Tsuyoshi Sawada)
06:46 PM Feature #14944: Support optional inherit argument for Module#method_defined?
Actually, this proposal is a duplicate of #10797 sawa (Tsuyoshi Sawada)
06:41 PM Misc #16481 (Third Party's Issue): Version numbering in RDoc is not consistent
When you expand the "Core API" section in https://ruby-doc.org/, you can see that there is version 2.6 (instead of 2.... sawa (Tsuyoshi Sawada)
06:07 PM Bug #16480 (Closed): Ruby 2.7, C++, and rb_define_method compilation error
I maintain the Rice library which provides constructs for exposing C++ libraries into Ruby. With Ruby 2.7.0 I've got ... jasonroelofs (Jason Roelofs)
03:53 PM Revision ded072c2 (git): * 2020-01-05 [ci skip]
git[bot]
03:52 PM Revision ce4d1677 (git): Fix output of example [ci skip]
znz (Kazuhiro NISHIYAMA)
07:21 AM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
From @jeremyevans0:
> Previously it wasn't possible because there wasn't a way to go from the module to all iclass...
ioquatix (Samuel Williams)
05:43 AM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
Is there a clean way to fix this issue? ioquatix (Samuel Williams)
06:27 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
I really think this is a very overblown issue that is being handled incorrectly.
First, we have what appears to be...
wishdev (John Higgins)
04:26 AM Misc #16454: DevelopersMeeting20200116Japan
* [Bug #16383] TracePoint does not report calls to attribute reader methods (jeremyevans0)
* Do we want to support...
jeremyevans0 (Jeremy Evans)
04:13 AM Revision b594005c (git): * 2020-01-04 [ci skip]
git[bot]
04:13 AM Bug #14266 (Closed): Set#clone(freeze: false) makes frozen internal hash
Applied in changeset commit:git|04eb7c7e462d1fcbab9efc7022c1b43636ab878a.
----------
Call initialize_clone with free...
jeremyevans (Jeremy Evans)
04:13 AM Bug #4352 (Closed): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
Applied in changeset commit:git|0eeed5bcc5530edb0af2af2ccff09d067c59e8f9.
----------
Make eval(code, binding) use (e...
jeremyevans (Jeremy Evans)
04:13 AM Revision 04eb7c7e (git): Call initialize_clone with freeze: false if clone called with freeze: false
This makes it possible to initialize_clone to correctly not freeze
internal state if the freeze: false keyword is pas...
jeremyevans (Jeremy Evans)
04:13 AM Revision 0eeed5bc (git): Make eval(code, binding) use (eval) as __FILE__ and 1 as __LINE__
This removes the warning that was added in
3802fb92ff8c83eed3e867db20f72c53932f542d, and switches the behavior
so tha...
jeremyevans (Jeremy Evans)
01:42 AM Feature #16478: Fold symbol tables for tracking basic operation method redefinition changes into a single ID table
Whoopsie, changing to the Feature tracker (from Bug) methodmissing (Lourens Naudé)
01:37 AM Feature #16478 (Open): Fold symbol tables for tracking basic operation method redefinition changes into a single ID table
References https://github.com/ruby/ruby/pull/2812
I stumbled onto these 2 tables (`vm_opt_method_table` and `vm_op...
methodmissing (Lourens Naudé)
01:41 AM Feature #16479 (Open): Let execution context local storage be backed by an ID table
References https://github.com/ruby/ruby/pull/2814
Back fiber local variables with an ID table instead of `st_table...
methodmissing (Lourens Naudé)
 

Also available in: Atom