Project

General

Profile

Activity

From 02/23/2019 to 03/01/2019

03/01/2019

07:54 PM Feature #15632: Dynamic method references
I am biased so I will not comment on the suggestion itself, but
I have one question (possibly I may not be the only one):
What are dyna symbols?
shevegen (Robert A. Heiler)
07:08 PM Feature #15632 (Feedback): Dynamic method references
In Ruby 2.7 we have the new .: method reference operator, which is so great!
I was hoping to be able to use this operator dynamically (which you currently have to fall back to the `method` method). What I'm proposing is
``` ruby
...
kddnewton (Kevin Newton)
02:09 PM Revision 4eda7e1d (git): Stop sharding --jit-wait testing
by just randomizing test order.
The original motivation to shard --jit-wait tests was forcing to test
major parts of code without actually stopping to test MJIT after
TracePoint enablement. But it tends to increase the test time because...
k0kubun (Takashi Kokubun)
01:48 PM Feature #15631 (Closed): Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
right now round_capa value is rounded up to the next power of 2
```
round_capa(4) -> returns 8
round_capa(8) -> returns 16
round_capa(16) -> returns 32
round_capa(5) -> returns 8
round_capa(9) -> returns 16
round_capa(17) -> ret...
ahorek (Pavel Rosický)
01:16 PM Revision 4fd5a9e9 (git): Try to build readline extension with vcpkg on Azure Pipelines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:46 AM Revision fe28e007 (git): Try to build vs2019preview on Azure Pipelines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:31 AM Revision 19cf8e03 (git): Fixed build failure of Travis CI. We need to support `make srcs`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:57 AM Revision 391f88c8 (git): merge revision(s) 65365:
Update for tzdata-2018f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:19 AM Revision 2ab596f9 (git): Get rid of "shadowing outer local varable" warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:21 AM Revision a4020fbe (git): Add Azure Pipelines build status badge [ci skip]
copy from README.md. see r67146
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
04:12 AM Misc #15630 (Closed): Clarification on Comparable documentation
The documentation of `Comparable#>` says:
```
/*
* call-seq:
* obj > other -> true or false
*
* Compares two objects based on the receiver's
shugo (Shugo Maeda)
03:56 AM Revision fb04855c (git): Drop obsoleted continueOnError
now it's passing thanks to r67149
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:45 AM Revision 9dbb14b7 (git): * 2019-03-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 AM Revision fe61f14d (git): Support YACC environment variable for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:57 AM Bug #15629 (Closed): super_method fails on binded/unbinded/cloned methods
derived from #13973:
```
module A
def foo
end
end
module B
def foo
end
end
class C
include A
include B
end
c = C.new
m1 = c.method(:foo)
p m1.super_method # => #<Method: A#foo>
p m1.clone.supe...
wanabe (_ wanabe)

02/28/2019

11:49 PM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
Current behavior is from r60127.
I guess it will come to the same to replace `data->klass` of `method_inspect()` to `data->iclass`.
wanabe (_ wanabe)
04:01 PM Misc #15614: DevelopersMeeting20190311Japan
- [Bug #15620] Block argument usage affects lambda semantic
- I find the current behaviour very non-rubyish and would love to hear what core devs think
alanwu (Alan Wu)
03:33 PM Feature #15627: Appearance of custom singleton classes
`singleton_class` and `class` are different by design.
They are only the same for `true`, `false` and `nil`.
Having the singleton class get named when assigning it to a constant sounds like a possible feature.
Although it doesn't se...
Eregon (Benoit Daloze)
11:47 AM Feature #15627 (Open): Appearance of custom singleton classes
When I have a singleton class `AClass` of an instance `a` of a custom class `A`,
```ruby
class A; end
a = A.new
AClass = a.singleton_class
```
i) even though the singleton class of `nil`, `false`, and `true` are referred to b...
sawa (Tsuyoshi Sawada)
02:55 PM Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
ruby_2_4 r67148 merged revision(s) 66909. usa (Usaku NAKAMURA)
02:55 PM Revision e94087c2 (git): merge revision(s) 66909: [Backport #15555]
tmpdir.rb: permission of user given directory
* lib/tmpdir.rb (Dir.mktmpdir): check if the permission of the
parent directory only when using the default temporary
directory, and no check against user given d...
U.Nakamura
02:52 PM Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
ruby_2_4 r67147 merged revision(s) 62872,62873. usa (Usaku NAKAMURA)
02:52 PM Revision a6da4f8a (git): merge revision(s) 62872,62873: [Backport #14621]
parse.y: unindent continued line
* parse.y (tokadd_string): stop at continued line in dedented here
documents, to dedent for each lines before removing escaped
newlines. [ruby-core:86236] [Bug #14621]
...
U.Nakamura
02:19 PM Revision dfec1eb3 (git): Add Azure Pipelines build status badge [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
01:26 PM Revision 7b81d7f5 (git): Mark vs2017 build as continueOnError for now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
12:47 PM Revision 12eca471 (git): Revert "Try clean: true for vs2017 checkout failure"
This reverts commit b0e350fe16ad17eabf5bbc603f7d817c06ce8554.
The issue seems to be invalid tag name including `"` in ancient tag.
We're trying to delete that.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67144 b2dd03c8-39d4-4d8f-...
k0kubun (Takashi Kokubun)
12:32 PM Revision b0e350fe (git): Try clean: true for vs2017 checkout failure
https://dev.azure.com/rubylang/ruby/_build/results?buildId=107
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:19 PM Revision f03775fc (git): Try fetchDepth: 1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
12:11 PM Feature #15628: init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
Related: [rubygems/rubygems#2662](https://github.com/rubygems/rubygems/pull/2662) sonalkr132 (Aditya Prakash)
11:51 AM Feature #15628 (Closed): init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
Hi,
This is not really bug but more of a missing feature. Let me layout steps to reproduce what I am trying to achieve:
* Add local entries for `example.com`
```
$ echo "::1 example.com www.example.com
127.0.0.1 example.com...
sonalkr132 (Aditya Prakash)
12:01 PM Revision ccd1c02c (git): * 2019-02-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:01 PM Revision ef8ed5de (git): Removed fake environment variable because It is not necessary for macOS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:18 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
Great post. I think there are no big changes we discussed before.
Points:
* I'm not sure we can accept the "Known Issue". `GC.verify_compaction_references` can't discover this issue, right? It can introduce difficult bugs to remove...
ko1 (Koichi Sasada)
04:25 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
Agree, really interesting. Several comments/questions:
- Why a full CG at the end? Wouldn't it be much cheaper to just collect the T_MOVED objects (these objects could contain an internal pointer each, chaining them together).
- Ha...
duerst (Martin Dürst)

02/27/2019

11:59 PM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
Really interesting, but what are the benefits for users who writes Ruby?
Did the Rails app get faster enough? Or you have some other motivations?
tad (Tadashi Saito)
10:57 PM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
Adding updated patch. tenderlovemaking (Aaron Patterson)
10:26 PM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
I've tested the compactor with a Rails application, and I want to share my results.
I added the middleware below:
```ruby
# This file is used by Rack-based servers to start the application.
require_relative 'config/environment'...
tenderlovemaking (Aaron Patterson)
10:13 PM Feature #15626 (Closed): Manual Compaction for MRI's GC (`GC.compact`)
Hi,
I've attached a patch that implements a compactor for MRI. I'll try to describe the patch in detail below, but the biggest user facing changes are:
1. A new method `GC.compact` that can be called from Ruby
2. C extensions hav...
tenderlovemaking (Aaron Patterson)
08:11 PM Bug #15625: Module#name performance has exponential-time worst case by aliased constants
This may be useful to mention at an upcoming developer meeting.
Aliased constants are probably quite common; I use them in a few of my
projects myself, although this is very minor compared to me using aliased
methods (I use a LOT o...
shevegen (Robert A. Heiler)
05:36 PM Bug #15625 (Closed): Module#name performance has exponential-time worst case by aliased constants
It's well-known (c.f #11119) that `Module#name` has poor performance on anonymous classes, due to searching the entire constant namespace of the VM.
However, we recently discovered that it's even worse than that. In the presence of al...
nelhage (Nelson Elhage)
02:41 PM Misc #15614: DevelopersMeeting20190311Japan
* [Feature #14799] Startless range
* What kind of situation is it? I want it quickly :)
osyo (manga osyo)
01:55 PM Feature #15624 (Rejected): Allow net/http Response to close before reading entire body
As far as I understand HTTP doesn't provide such close without reading.
You know HTTP protocol itself doesn't provide such early close mechanism itself.
And though TCP, HTTP's underlying protocol, provides its error handling packet f...
naruse (Yui NARUSE)
03:25 AM Feature #15624 (Rejected): Allow net/http Response to close before reading entire body
Currently net/http has:
```
def reading_body(sock, reqmethodallowbody) #:nodoc: internal use only
@socket = sock
@body_exist = reqmethodallowbody && self.class.body_permitted?
begin
yield
self.body #...
sam.saffron (Sam Saffron)
12:40 PM Revision 6f2c516d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:40 PM Revision 19408c78 (git): skip to not support color tty environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:30 PM Feature #15181 (Closed): Azure pipelines vc builds? help needed
Applied in changeset trunk|r67137.
----------
Test Bundler examples and bundled gems tests with Azure Pipeline.
* They are invoked on Linux and macOS environment.
* Try to build with vs2017. But it's only binary build.
https://d...
hsbt (Hiroshi SHIBATA)
12:30 PM Revision 019864b4 (git): Test Bundler examples and bundled gems tests with Azure Pipeline.
* They are invoked on Linux and macOS environment.
* Try to build with vs2017. But it's only binary build.
https://dev.azure.com/rubylang/ruby/
[Feature #15181][ruby-core:89222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
hsbt (Hiroshi SHIBATA)
08:44 AM Bug #15622: Default version of Bundler incorrectly invoked when using binstubs
Forgot to comment here. I'm pretty sure this is the same as https://bugs.ruby-lang.org/issues/15582? The fix for it should be released in the next patch level version
For the moment `gem update --system` indeed workarounds it, since i...
deivid (David Rodríguez)
03:26 AM Revision c2ee3389 (git): * 2019-02-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 AM Revision 8092d571 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 AM Revision 5e2a8cb7 (git): Remove stale arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:08 AM Bug #15623: Ruby 2.6.1 Segmentation Fault in on Phusion Passenger server boot in dev
Forgot to add crash log (from one of the crashes)
```
/Users/pikachuexe/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.2/lib/active_support/core_ext/time/conversions.rb:55: [BUG] Segmentation fault at 0x000000010260aa3a
ruby 2.6.1p33 (...
PikachuEXE (Pikachu EXE)
03:03 AM Bug #15623 (Third Party's Issue): Ruby 2.6.1 Segmentation Fault in on Phusion Passenger server boot in dev
Ruby is install via RVM
Passenger is install via gem install/bundle install
It's not always crashing the same thread
Happens in 2.6.0 too
But not in 2.5.x
PikachuEXE (Pikachu EXE)

02/26/2019

05:58 PM Misc #15617: Any chance we can ship 2.5.4 sooner rather than later?
I guess this may be up to the release manager; perhaps he is a little bit
busy right now. You could consider adding it to the next upcoming developer
meeting ( https://bugs.ruby-lang.org/issues/15614 ) to get feedback whether
there ma...
shevegen (Robert A. Heiler)
08:46 AM Feature #15611 (Assigned): Shipping Bundler as a bundled gem, not a default gem
hsbt (Hiroshi SHIBATA)
08:45 AM Bug #15622 (Assigned): Default version of Bundler incorrectly invoked when using binstubs
hsbt (Hiroshi SHIBATA)
08:22 AM Bug #15622: Default version of Bundler incorrectly invoked when using binstubs
I was able to reproduce this with the steps provided, and it seems to work after a `gem update --system`. Possibly a bug in a particular version of Rubygems? dzunk (Matt Duszynski)
01:34 AM Revision ff074304 (git): * 2019-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:34 AM Revision e2d1bb1f (git): add exceptions for indenting conventions for files related to regular expressions
Ruby uses the Oniguruma/Onigmo regular expression engine, including the underlying
character encoding framework. In contrast to other code implementing Ruby, the
regular expression engine related code is formatted with two spaces per ind...
duerst (Martin Dürst)

02/25/2019

10:38 PM Bug #15622 (Rejected): Default version of Bundler incorrectly invoked when using binstubs
When trying to run a binstub with Ruby 2.6.1 with Bundler 2.0.1 on the system, the wrong version of Bundler gets loaded which then fails when the Gemfile.lock points to a 2.x version (since the default version that ships with Ruby is Bun... schneems (Richard Schneeman)
08:25 PM Feature #15619: Support blacklisting certain dependency versions
Thanks for your suggestion. Moved to https://github.com/rubygems/rubygems/issues/2659. skalee (Sebastian Skalacki)
02:19 AM Feature #15619 (Third Party's Issue): Support blacklisting certain dependency versions
This request makes a lot of sense to me.
However, while the gem library is part of Ruby, they are developed separately. I suggest you submit your request to https://github.com/rubygems/rubygems/issues.
duerst (Martin Dürst)
08:51 AM Bug #15621 (Closed): system({}, ...) breaks nonascii ENV["PATH"] on Windows

### Problem
It seems that `system({}, ...)` breaks nonascii `ENV["PATH"]` after execution.
`system(...)` isn't affected. Only `system(env, ...)` is affected.
OS: Windows 7
Ruby: https://github.com/oneclick/rubyinstaller2/releas...
kenhys (Kentaro Hayashi)
06:14 AM Bug #15616 (Rejected): Chained destructive methods fail when using +@ to unfreeze a frozen string
Yes. It's a matter of precedence. The "Pickaxe" book describes it as
> Single terms in an expression may be any of the following:
> ...
That means that in ```+foo.gsub!("bar", "car")```, the `.` of method invocation has higher preced...
duerst (Martin Dürst)

02/24/2019

06:57 PM Bug #15620 (Closed): Block argument usage affects lambda semantic
The following snippet demonstrate the issue:
``` ruby
def pass_after_use(&block)
raise unless block
lambda(&block).call
end
def direct_pass(&block)
lambda(&block).call
end
pass_after_use do |_arg|
puts "fine, beca...
alanwu (Alan Wu)
06:41 PM Feature #15619 (Third Party's Issue): Support blacklisting certain dependency versions
# Abstract
This feature request proposes introducing a new dependency constraint "!=", which will allow to blacklist a specific buggy version of some gem dependency without dropping support for older releases.
# Background
I am ...
skalee (Sebastian Skalacki)
05:16 PM Feature #15618: Implement Enumerator::Yielder#to_proc
I have no particularly strong pro or con opinion on the functionality itself.
I have only one comment about syntax, though. While { |line| y << line } }
may or may not be redundant (let's leave that open for the moment), and is
defi...
shevegen (Robert A. Heiler)
03:55 PM Feature #15618 (Closed): Implement Enumerator::Yielder#to_proc
When writing an Enumerator block, you often want to delegate iteration to another method like this:
```ruby
enum = Enumerator.new { |y|
Dir.glob("*.rb") { |file|
File.open(file) { |f| f.each_line { |line| y << line } }
}
...
knu (Akinori MUSHA)
11:57 AM Revision 23a8183b (git): Check stx_btime in struct statx
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:27 AM Revision a582007e (git): * 2019-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:27 AM Revision 8b8285e2 (git): configure.ac: remove check for broken memmem
the bug of memmem(3) was fixed in glibc 2.1 released in 1999.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)

02/23/2019

05:10 AM Misc #15615: File.birthtimeがLinux環境で有効なファイル作成時刻を得られなかった場合の挙動について
とりあえず`NotImplementedError`とも一番近そうな`ENOSYS`を投げるようにしましたが、本来セットされていない`errno`を装うよりは`RuntimeError`あたりのほうがいいのではないかと思います。
もしくは次点で`nil`。
nobu (Nobuyoshi Nakada)
04:42 AM Revision dc700cf9 (git): configure.ac: skip check of statx() on AIX
Linux and AIX have statx() with different prototype.
Linux: int statx(int, const char*, int, unsigned int, struct statx*)
AIX: int statx(char, struct stat*, int, int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67128 b2dd03c8-39d...
Glass_saga (Masaki Matsushita)
03:43 AM Revision 6604e1b7 (git): Merge json-2.2.0 from flori/json.
https://github.com/flori/json/releases/tag/v2.2.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:22 AM Revision f22ffd83 (git): spec/../rbconfig_spec.rb: skip spec not working on MinGW
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
02:17 AM Revision 0dab1fce (git): * 2019-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:17 AM Revision 052dbbe7 (git): spec/../shared/write.rb: suppress random failure
due to MJIT worker's known race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
 

Also available in: Atom