Project

General

Profile

Activity

From 01/01/2020 to 01/07/2020

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é)

01/03/2020

11:43 PM Bug #16477: readline-ext repository is huge
For the record, you mean this repository:
https://github.com/ruby/readline-ext
@aycabta @hsbt It sounds good to d...
Eregon (Benoit Daloze)
07:04 PM Bug #16477 (Closed): readline-ext repository is huge
Today I've cloned (my fresh new fork) of readline-ext
```
+ $ git clone [email protected]:graywolf/readline-ext.gi...
graywolf (Gray Wolf)
10:29 PM Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
> Sure, I will take a look at the code, contact if it's needed and fix.
Hi, possibly I found the cause of this err...
jaruga (Jun Aruga)
03:58 PM Bug #16337 (Open): kernel_gem.rb:68 - ThreadError
I'm still seeing this on 2.7.0p0, even though it looks like it should have been fixed based on comment #2. The workar... jkohen (Javier Kohen)
01:49 PM Feature #16476 (Closed): Socket.getaddrinfo cannot be interrupted by Timeout.timeout
It seems like the blocking syscall done by `Socket.getaddrinfo` blocks Ruby VM in a way that Timeout.timeout has no e... kirs (Kir Shatrov)
12:39 PM Bug #16475: [Installation process - compiling ruby 2.7.0 from source} "make install" step oddity for ruby 2.7.0 on linux mint (debian base)
I should add that even despite the openssl warning, "make install" appears to work perfectly
fine - ruby is at /usr/...
shevegen (Robert A. Heiler)
12:38 PM Bug #16475 (Closed): [Installation process - compiling ruby 2.7.0 from source} "make install" step oddity for ruby 2.7.0 on linux mint (debian base)
Hello ruby core team (and everyone else),
I have a slight oddity; it seems to be not hugely important, as it seems...
shevegen (Robert A. Heiler)
05:53 AM Revision 170f4dbb (git): Fix unused warnings
http://ci.rvm.jp/results/trunk_gcc7@silicon-docker/2539622
```
/tmp/ruby/v2/src/trunk_gcc7/class.c: In function 'rb_s...
znz (Kazuhiro NISHIYAMA)
03:01 AM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
> Representing the Hash flag as a subclass of Hash sounds nice for debugging.
> I think in that comment it got confl...
Dan0042 (Daniel DeLorme)
02:40 AM Revision e014e6bf (git): Update specs for keyword argument separation
jeremyevans (Jeremy Evans)
02:40 AM Revision ff965656 (git): Update tests for full keyword argument separation
jeremyevans (Jeremy Evans)
02:40 AM Revision beae6cbf (git): Fully separate positional arguments and keyword arguments
This removes the warnings added in 2.7, and changes the behavior
so that a final positional hash is not treated as ke...
jeremyevans (Jeremy Evans)

01/02/2020

11:29 PM Bug #16473: New deprecated warning disallows keyword arguments bypassing
This is one clear case where #16463 would solve it intuitively. Eregon (Benoit Daloze)
11:08 PM Bug #16473: New deprecated warning disallows keyword arguments bypassing
In this particular case there would be a bug if `*args` had more than one element, so I think the cleaner fix would b... Dan0042 (Daniel DeLorme)
06:10 PM Bug #16473: New deprecated warning disallows keyword arguments bypassing
puchuu (Andrew Aladjev) wrote:
> @jeremyevans0, what will be the right way to bypass keyword arguments?
As mentio...
jeremyevans0 (Jeremy Evans)
05:55 PM Bug #16473: New deprecated warning disallows keyword arguments bypassing
@jeremyevans0, what will be the right way to bypass keyword arguments?
```ruby
def non_kw(a = {}, **keyword_args)...
puchuu (Andrew Aladjev)
05:31 PM Bug #16473 (Rejected): New deprecated warning disallows keyword arguments bypassing
This behavior is expected. The positional hash argument is converted to keyword arguments when `kw` is called. That... jeremyevans0 (Jeremy Evans)
05:10 PM Bug #16473 (Rejected): New deprecated warning disallows keyword arguments bypassing
Hello. I see that ruby 2.7.0 prints unnecessary deprecated warning during arguments bypassing.
```ruby
def kw(a: ...
puchuu (Andrew Aladjev)
10:26 PM Revision 8ba261c7 (git): Bump benchmark-driver to v0.15.7 (#2811)
methodmissing (Lourens Naudé)
10:05 PM Bug #16472: OStruct documentation is lost
@marcandre, got it, thanks. https://github.com/ruby/ruby/pull/2810 zverok (Victor Shepelev)
07:06 PM Bug #16472: OStruct documentation is lost
You're welcome to provide a PR on the core repo.
I will update `ruby/ostruct`
marcandre (Marc-Andre Lafortune)
02:41 PM Bug #16472 (Closed): OStruct documentation is lost
After this commit: https://github.com/ruby/ruby/commit/9be3295d53b6fd9f8a3ad8157aa0655b1976d8ac -- RDoc loses documen... zverok (Victor Shepelev)
07:46 PM Revision 9f460e01 (git): move internal/debug.h definitions to internal.h
Debug utilities should be accessible from any internal code. ko1 (Koichi Sasada)
07:39 PM Revision 6f5ee1f0 (git): modify MJIT_CC only on RUBY_DEBUG=ci
Modify MJIT_CC (27fae1d4ad) only on CI environment. ko1 (Koichi Sasada)
06:47 PM Bug #16474 (Closed): [ASYNC BUG]
My scripting system to run thousands of video render jobs uses threading to gain parallelism. it takes about 12 hours... gnormhurst (Norm Hurst)
05:23 PM Bug #16438: Check warning messages for Ruby 2.7
I see the only one way to fix this deprecation. Change `write(*objects)` signature to `print(*objects, field_separato... puchuu (Andrew Aladjev)
03:30 PM Bug #16438: Check warning messages for Ruby 2.7
Hello. I can't understand why setting OFS to not nil value was deprecated. I want to simulate print method behaviour ... puchuu (Andrew Aladjev)
05:15 PM Bug #16459: <internal:trace_point>:346: [BUG] Segmentation fault at 0x0000000000000008
can you make a reproducible code?
ko1 (Koichi Sasada)
05:07 PM Revision 27fae1d4 (git): disable ccache if $CC is in /usr/lib/ccache/$CC.
MJIT with ccache has a problem on docker environment, so
we need to use original CC (/usr/bin/gcc, for example).
Ubun...
ko1 (Koichi Sasada)
04:27 PM Revision b884eb59 (git): Fix variable name and add more example [ci skip]
znz (Kazuhiro NISHIYAMA)
03:44 PM Feature #16471: Two feature requests for WeakRef: get original object, callback feature
I'd rather not pollute the target object's class with a finalizer. However, I'm working on a class, FinalCall, that c... Snappingturtle (Mike O'Sullivan)
10:55 AM Feature #16471: Two feature requests for WeakRef: get original object, callback feature
> `WeakRef#__getobj__` isn't documented in Ruby 2.5.1
It kinda is, but I agree it's not very clear. The documentat...
byroot (Jean Boussier)
03:23 AM Feature #16471: Two feature requests for WeakRef: get original object, callback feature
`WeakRef#__getobj__` isn't documented in Ruby 2.5.1 (https://short.uno/wwb6bky) so I didn't know it existed. So I gue... Snappingturtle (Mike O'Sullivan)
01:01 AM Feature #16471: Two feature requests for WeakRef: get original object, callback feature
> First, add the ability to pull the original object out of the WeakRef object,
`WeakRef#__getobj__`.
> Second,...
nobu (Nobuyoshi Nakada)
03:03 PM Revision db22b368 (git): * 2020-01-03 [ci skip]
git[bot]
03:02 PM Revision bba49161 (git): Fix example of node.type [ci skip]
```
% docker run -it --rm rubylang/all-ruby env ALL_RUBY_SINCE=ruby-2.6 ./all-ruby -e 'root = RubyVM::AbstractSyntaxT...
znz (Kazuhiro NISHIYAMA)
12:44 PM Feature #16461: Proc#using
shugo (Shugo Maeda) wrote:
> It doesn't mutate the Proc, but the block, and if OtherRefinement is activated before t...
Eregon (Benoit Daloze)
03:12 AM Revision 749915e9 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
02:11 AM Feature #16460: External names for keyword parameters in method definitions
harrisonb (Harrison Bachrach) wrote:
> > Though I don’t remember exactly, once I proposed a similar syntax.
> And i...
nobu (Nobuyoshi Nakada)
01:55 AM Revision 71ae2ace (git): * 2020-01-02 [ci skip]
git[bot]
01:41 AM Revision 34bc15c8 (git): Check Module#ruby2_keywords arity
It is considered a mistake, because calling this method with no
arguments has no effect.
nobu (Nobuyoshi Nakada)

01/01/2020

10:08 PM Feature #16470: Issue with nanoseconds in Time#inspect
I'd guess it's partly due to the Float itself losing precision.
But indeed it's quite unpretty. Maybe we should use ...
Eregon (Benoit Daloze)
03:04 PM Feature #16470 (Closed): Issue with nanoseconds in Time#inspect
Ruby 2.7 added nanosecond representation to the return value of `Time#inspect` method.
Nanosecond is displayed as ...
andrykonchin (Andrew Konchin)
07:16 PM Feature #16471 (Open): Two feature requests for WeakRef: get original object, callback feature
I'd like to request two features for `WeakRef`. I'll explain what I want, then provide a real world use case.
Firs...
Snappingturtle (Mike O'Sullivan)
04:56 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
Dan0042 (Daniel DeLorme) wrote:
> Maybe just one more push and we can reach the point where the hidden keyword hash ...
Eregon (Benoit Daloze)
04:40 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
I think one of the main advantages of doing this is a much better migration path.
Imagine I have this code, which ...
Eregon (Benoit Daloze)
01:55 PM Revision 076f24c2 (git): bignum.c: extract bdigits_to_mpz and bdigits_from_mpz (#2805)
Kenta Murata
12:08 PM Bug #16469 (Closed): Wrong warning message at `URI.encode` and `URI.decode`
# Sample code
``` ruby
enc_uri = URI.encode("http://example.com/?a=\11\15")
URI.decode(enc_uri)
```
# Actual
...
sue445 (Go Sueyoshi)
11:05 AM Feature #16029: Expose fstring related APIs to C-extensions
@sam.saffron I agree that both would be nice.
> then new fstrings can be created using todays awkward API
You m...
byroot (Jean Boussier)
06:06 AM Revision afd3f64f (git): Redmine /projects/ruby-trunk is now redirected
to /projects/ruby-master k0kubun (Takashi Kokubun)
06:03 AM Revision 8c9450e7 (git): Remove code to prevent double build on trunk
trunk branch was deleted. k0kubun (Takashi Kokubun)
05:47 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
Done
```
k0kubun@svn:/var/git/ruby.git/refs/heads$ cat /var/git/ruby.git/refs/heads/trunk
ref: refs/heads/master...
k0kubun (Takashi Kokubun)
01:59 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
FYI: rvm ruby-head was fixed to use master branch in https://github.com/rvm/rvm/pull/4840 (thanks havenwood!) and the... k0kubun (Takashi Kokubun)
05:26 AM Revision eca964c2 (git): More consistent failure notifications
The format is the same as Travis / AppVeyor now. k0kubun (Takashi Kokubun)
 

Also available in: Atom