Project

General

Profile

Activity

From 01/06/2020 to 01/12/2020

01/12/2020

11:44 PM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
Okay, I'll ask matz which is right. But I believe that the 2.6 and current behavior is wrong because Ruby has a prin... mame (Yusuke Endoh)
04:37 PM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
What's the definition of `foo` here?
I believe the previous behavior is the block expression gets evaluated before...
Eregon (Benoit Daloze)
12:52 AM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
https://github.com/ruby/ruby/pull/2833 mame (Yusuke Endoh)
12:47 AM Bug #16504 (Closed): `foo(*args, &args.pop)` should pass all elements of args
https://bugs.ruby-lang.org/issues/16500?next_issue_id=16499&prev_issue_id=16501#note-7
```
def foo(*args)
p ar...
mame (Yusuke Endoh)
11:34 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
Thank you very much for your quick fix. I left a comment in the meta-tags issue:
https://github.com/kpumuk/meta-ta...
jnchito (Junichi Ito)
06:44 PM Bug #16503 (Closed): "ret: 2, hash modified during iteration" error in Ruby 2.7.0
350dafd56a9cff58d36303aeb7515ab41c5dbbb3 ko1 (Koichi Sasada)
06:40 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
> This patch should be back-ported for Ruby 2.6.
sorry I mean 2.7. 2.6 doesn't have this problem.
ko1 (Koichi Sasada)
06:36 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
All right. I got a script:
```ruby
loop{
h = {a:1, b:2, c:3, d:4, e:5, f:6, g:7, h:8}
h.each{|k,v| GC.start...
ko1 (Koichi Sasada)
06:19 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
Could you make reproducible script?
ko1 (Koichi Sasada)
11:27 PM Misc #16507 (Open): =~ vs include? or match?
While working on getting the mswin build working on Actions, I thought adding mswin? and ci? methods to Minitest::Uni... MSP-Greg (Greg L)
11:03 PM Revision 61ff5cd5 (git): Fix syntax error in obj_free with hash size debug counter when USE_DEBUG_COUNTER is enabled
methodmissing (Lourens Naudé)
07:19 PM Feature #16502: Add option :allow_trailing_comma to JSON#parse
mame (Yusuke Endoh) wrote:
> The json library has another upstream repository: https://github.com/flori/json
>
> ...
j.spanjers (Jan-Joost Spanjers)
07:05 PM Bug #16488: 2.7 spews warnings about net/imap
That patch appears to have fixed the symptoms I see with Net/imap. chdiza (Charles Diza)
06:44 PM Revision 83b8dfac (git): * 2020-01-13 [ci skip]
git[bot]
06:41 PM Bug #16506: Documentation for `Module#const_souce_location` is wrong
Ah, while I was writing the comment, you've updated the description with the same thoughts :)
Will fix.
zverok (Victor Shepelev)
06:40 PM Bug #16506: Documentation for `Module#const_souce_location` is wrong
@sawa That's an interesting question! I wrote an original doc, and I meant this:
```ruby
# test.rb:
class A
end...
zverok (Victor Shepelev)
06:17 PM Bug #16506 (Closed): Documentation for `Module#const_souce_location` is wrong
https://ruby-doc.org/core-2.7.0/Module.html#method-i-const_source_location says:
> Returns the Ruby source filenam...
sawa (Tsuyoshi Sawada)
06:36 PM Revision 350dafd5 (git): reload AR table body for transient heap.
ar_talbe (Hash representation for <=8 size) can use transient heap
and the memory area can move. So we need to restor...
ko1 (Koichi Sasada)
04:45 PM Bug #16500: Argument is added to both splat and last &block argument
FWIW the 2.6 behavior is detailed in ruby/spec:
https://github.com/ruby/spec/blob/84d606aa8e85a8fef6521b3402dae612d0...
Eregon (Benoit Daloze)
04:38 PM Bug #16500: Argument is added to both splat and last &block argument
mame (Yusuke Endoh) wrote:
> * The behavior of `args = [1, 2, -> {}]; foo( *args, &args.pop)` should pass `[1, 2, ...
Eregon (Benoit Daloze)
12:12 AM Bug #16500: Argument is added to both splat and last &block argument
Ruby 2.7 partially changed the behavior. Coped from my comment: https://github.com/ruby-grape/grape/issues/1967#issu... mame (Yusuke Endoh)
04:27 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
Eregon (Benoit Daloze) wrote:
> If we do the approach where we just wrap the non-lambda Proc in a lambda automatical...
Eregon (Benoit Daloze)
04:24 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
zverok (Victor Shepelev) wrote:
> I believe curent behavior is pretty consistent, as it describes what it would real...
Eregon (Benoit Daloze)
04:19 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
marcandre (Marc-Andre Lafortune) wrote:
> One example is RSpec's `let`:
I guess we'll have to disagree on that on...
Eregon (Benoit Daloze)
02:20 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
@eregon what is the exact proposal of this ticket? I am not sure neither from title nor from description :(
As a s...
zverok (Victor Shepelev)
01:42 PM Feature #16505 (Closed): Improve preformance of `RubyVM::InstructionSequence#to_binary`
## Abstract
Within #to_binary, deduplication of objects output to binary is performed, but the current implementatio...
NagayamaRyoga (Nagayama Ryoga)
12:36 PM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
A bit more discussion on fixing the behavior, after discussing on Reddit.
Basically, it is two ways to fix it:
1...
zverok (Victor Shepelev)
10:54 AM Revision e288632f (git): Clean generated ChangeLog [ci skip]
nobu (Nobuyoshi Nakada)
10:52 AM Revision 8afd304f (git): Ignore existing ChangeLog file and generate always [ci skip]
nobu (Nobuyoshi Nakada)
10:43 AM Revision b34f39e8 (git): vcs.rb: Allow to empty a part in commit log
nobu (Nobuyoshi Nakada)
10:39 AM Revision cccfc667 (git): Added make target to export the ChangeLog file
nobu (Nobuyoshi Nakada)
03:28 AM Feature #16485 (Closed): Make rexml, rss to the bundled gems
Applied in changeset commit:git|c3ccf23d5807f2ff20127bf5e42df0977bf672fb.
----------
Make rexml library to the bundl...
hsbt (Hiroshi SHIBATA)
03:28 AM Revision ae69aea3 (git): * 2020-01-12 [ci skip]
git[bot]
03:28 AM Revision ca654670 (git): Allow failures with rss tests on test-bundled-gems
hsbt (Hiroshi SHIBATA)
03:28 AM Revision c7ef7d8a (git): Also ignored cve_2014_8080_spec
hsbt (Hiroshi SHIBATA)
03:28 AM Revision e61cab3a (git): Ignore rexml examples on ruby/spec
hsbt (Hiroshi SHIBATA)
03:28 AM Revision 83240f31 (git): Make rss library to the bundle gems
[Feature #16485][ruby-core:96683] hsbt (Hiroshi SHIBATA)
03:28 AM Revision c3ccf23d (git): Make rexml library to the bundle gems
[Feature #16485][ruby-core:96683] hsbt (Hiroshi SHIBATA)

01/11/2020

11:59 PM Bug #16500: Argument is added to both splat and last &block argument
ioquatix (Samuel Williams) wrote:
> On Ruby 2.7.0:
>
> ```
> irb(main):020:-> x = [1, 2, ->{}]; puts(*x, &x.pop)...
jeremyevans0 (Jeremy Evans)
11:44 PM Bug #16500 (Open): Argument is added to both splat and last &block argument
On Ruby 2.7.0:
```
irb(main):020:-> x = [1, 2, ->{}]; puts(*x, &x.pop)
1
2
=> nil
irb(main):021:-> x = [1, 2,...
ioquatix (Samuel Williams)
01:28 AM Bug #16500 (Rejected): Argument is added to both splat and last &block argument
https://github.com/ruby-grape/grape/issues/1967 ioquatix (Samuel Williams)
01:21 AM Bug #16500: Argument is added to both splat and last &block argument
https://github.com/ruby-grape/grape/blob/d58dc0ab7a0b51625217deedd8110d1030be7cf7/lib/grape/middleware/stack.rb#L80-L... ioquatix (Samuel Williams)
12:52 AM Bug #16500: Argument is added to both splat and last &block argument
We cannot reproduce this.
Can you make some script to reproduce this in isolation?
Including Gemfile and Gemfil...
ioquatix (Samuel Williams)
12:31 AM Bug #16500: Argument is added to both splat and last &block argument
Thank you for the report! I cannot reproduce the issue by a simple config.ru:
```
require "rack/oauth2"
use R...
mame (Yusuke Endoh)
12:00 AM Bug #16500 (Closed): Argument is added to both splat and last &block argument
Here is a followup for a ruby2.7 issue discussed here https://gitlab.com/groups/gitlab-org/-/epics/2380
I run gitl...
anatolik (Anatol Pomozov)
10:44 PM Bug #16503 (Closed): "ret: 2, hash modified during iteration" error in Ruby 2.7.0
I am running a Rails app on Heroku. After upgrading to Ruby 2.7, I sometimes get `ret: 2, hash modified during iterat... jnchito (Junichi Ito)
10:44 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
> I believe exactly 0 people want foo { return 42 } to change its meaning based on whether foo calls define_method or... marcandre (Marc-Andre Lafortune)
08:48 PM Feature #8709: Dir.glob should return sorted file list
The benchmark numbers above show a difference of 12%
That is probably the worst case, because usually, globs will ...
bmwiedemann (Bernhard M. Wiedemann)
11:35 AM Feature #8709: Dir.glob should return sorted file list
I added this issue to the next meeting's agenda:
https://bugs.ruby-lang.org/issues/16454
Eregon (Benoit Daloze)
11:33 AM Feature #8709: Dir.glob should return sorted file list
Here are some benchmark results in the ruby repository:
```
$ ruby -e 'p Dir["**/*"].size'
12171
$ ruby -rbench...
Eregon (Benoit Daloze)
11:32 AM Feature #8709: Dir.glob should return sorted file list
I have no opinion about this feature. hsbt (Hiroshi SHIBATA)
11:27 AM Feature #8709 (Open): Dir.glob should return sorted file list
I agree always sorting the result of `Dir.glob` makes sense.
Non-determinism caused by Dir.glob is very annoying and...
Eregon (Benoit Daloze)
11:18 AM Feature #8709 (Rejected): Dir.glob should return sorted file list
Do not update the `status` without a maintainer's decision. hsbt (Hiroshi SHIBATA)
06:28 AM Feature #8709 (Open): Dir.glob should return sorted file list
There are two problems with unsorted glob:
1) it is different from glob in C, bash and perl that all sort by defau...
bmwiedemann (Bernhard M. Wiedemann)
08:44 PM Feature #11747: "bury" feature, similar to 'dig' but opposite
A one-liner alternative for hash-only cases can be implemented using `Enumerable#reduce`:
```
root = {}
[:a, :b,...
cvss (Kirill Vechera)
08:38 PM Feature #11747: "bury" feature, similar to 'dig' but opposite
A proposal to specify the path for `bury` with classes as values of a hash arg:
```
{}.bury(users: Array, 0 => Ha...
cvss (Kirill Vechera)
02:59 PM Feature #16502 (Feedback): Add option :allow_trailing_comma to JSON#parse
The json library has another upstream repository: https://github.com/flori/json
Could you please send a pull reque...
mame (Yusuke Endoh)
02:43 PM Feature #16502 (Closed): Add option :allow_trailing_comma to JSON#parse
Hello everyone,
I'd like to be able to parse JSON sources that contain trailing commas in arrays and/or objects.
...
j.spanjers (Jan-Joost Spanjers)
12:34 PM Bug #16496: Numbered Parameter not parsed properly in lambda
We are now migrating. If we change it immediately, a program that uses `_1` as a method name will break. So it is n... mame (Yusuke Endoh)
11:50 AM Bug #16496 (Feedback): Numbered Parameter not parsed properly in lambda
JustinFeng (Justin Feng)
11:49 AM Bug #16496: Numbered Parameter not parsed properly in lambda
mame (Yusuke Endoh) wrote:
> `_1 *1` is parsed as `_1(*1)`, a call to a method `_1` with a variable-length argument ...
JustinFeng (Justin Feng)
11:35 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #16484] Remove xmlrpc and net-telnet from bundled gems
* Does anyone have an objection?
hsbt (Hiroshi SHIBATA)
11:34 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #8709] Dir.glob should return sorted file list (eregon)
* It causes non-determinism on e.g., Linux, whi...
Eregon (Benoit Daloze)
11:33 AM Feature #16484 (Assigned): Remove xmlrpc and net-telnet from bundled gems
hsbt (Hiroshi SHIBATA)
11:19 AM Revision 012f2973 (git): Get rid of use of magic number 'E'
nobu (Nobuyoshi Nakada)
11:07 AM Bug #16501: Support marshaling of ruby2_keywords flag
Makes sense to me that Marshal knows how to preserve that flag.
(Sidekiq used Marshal in previous versions, but swit...
Eregon (Benoit Daloze)
06:31 AM Bug #16501 (Closed): Support marshaling of ruby2_keywords flag
This patch makes Marshal.dump and load aware of ruby2_keywords flag.
https://github.com/ruby/ruby/pull/2830
```...
mame (Yusuke Endoh)
07:24 AM Revision e62aead2 (git): Add branch option to checkout on push
znz (Kazuhiro NISHIYAMA)
03:16 AM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
Note the StringIO is _not_ transcoding. it is simply changing the encoding "tagging" of the String without changing a... jrochkind (jonathan rochkind)
01:58 AM Bug #16480 (Closed): Ruby 2.7, C++, and rb_define_method compilation error
The arities must be eventually compile-time constants for the nature.
I think this case is quite special, and it is ...
nobu (Nobuyoshi Nakada)
01:43 AM Revision 7584853c (git): st_delete_wrap is no longer used
nobu (Nobuyoshi Nakada)
01:42 AM Revision eb737916 (git): Warn when :newline precedes other newline options
nobu (Nobuyoshi Nakada)
01:42 AM Revision 8bb24712 (git): Added assertions for newline decorators
nobu (Nobuyoshi Nakada)
01:40 AM Revision 52a9e4ff (git): * 2020-01-11 [ci skip]
git[bot]
01:40 AM Revision 40c57ad4 (git): Let execution context local storage be an ID table
methodmissing (Lourens Naudé)

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)
 

Also available in: Atom