Project

General

Profile

Activity

From 03/10/2018 to 03/16/2018

03/16/2018

11:18 PM Misc #14610: Enhance Proc docs
Agreed.
> If my class documentation would be accepted,
You added a lot more examples too if I understand the pa...
shevegen (Robert A. Heiler)
11:10 AM Misc #14610 (Closed): Enhance Proc docs
What caught me recently while mentoring students: there is almost no "canonical" explanation about procs in [Ruby's c... zverok (Victor Shepelev)
08:23 PM Bug #14561: Consistent 2.5.0 seg fault in GC, related to accessing an enumerator in a thread
`git bisect` shows this is from r60440 [Feature #14038]. wanabe (_ wanabe)
08:00 PM Bug #14596: Ruby master is broken with bootsnap
Fixed sharevari (Yuri S.)
05:34 PM Bug #13863: RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
ruby_2_4 r62784 merged revision(s) 58745,58780,59040,60743. nagachika (Tomoyuki Chikanaga)
05:34 PM Revision 2368dbdf (git): merge revision(s) 58745,58780,59040,60743: [Backport #13863]
rb_w32_ugetcwd: UTF-8 version getcwd
* dir.c (rb_dir_getwd): convert from UTF-8.
* win32/win32.c (w...
nagachika (Tomoyuki Chikanaga)
04:41 PM Revision 3ca42c04 (git): * 2018-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:41 PM Revision fc4bb0da (git): merge revision(s) 60666,60667,60668: [Backport #14082]
Fix size on Enumerable#cycle when the size is 0 [Bug #14082].
Patch by Kenichi Kamiya
test/ruby/tes...
nagachika (Tomoyuki Chikanaga)
03:34 PM Bug #14611: Exotic method parameters bug
@phluid61 not so fast, ruby allows duplicate "_" as parameters so you can say that you don't want them and ruby shoul... Hanmac (Hans Mackowiak)
03:11 PM Bug #14611: Exotic method parameters bug
bogdan (Bogdan Gusiev) wrote:
>
> By some reason second parameter is nil when the rest of parameters declared as n...
phluid61 (Matthew Kerwin)
01:27 PM Bug #14611 (Closed): Exotic method parameters bug
Consider the following code:
~~~ ruby
def test(_, x, *_)
x
end
test(1,2,3) # => nil
~~~
By some reas...
bogdan (Bogdan Gusiev)
02:12 PM Revision 6cd5db89 (git): test_weakmap.rb: skip unstable assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:09 PM Revision 23358107 (git): sample/timeout.rb: fix warnings
warning: Object#timeout is deprecated, use Timeout.timeout instead.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org...
znz (Kazuhiro NISHIYAMA)
01:37 PM Bug #14608 (Closed): Regexp::union and forward slashes
Applied in changeset trunk|r62779.
----------
re.c: do not escape terminator in Regexp.union
* re.c (rb_reg_str_wit...
nobu (Nobuyoshi Nakada)
12:21 AM Bug #14608: Regexp::union and forward slashes
Interesting. I would have expected them to be the same.
Would be nice if it could be explained in the official doc...
shevegen (Robert A. Heiler)
01:37 PM Revision 8a8f542c (git): re.c: do not escape terminator in Regexp.union
* re.c (rb_reg_str_with_term): change terminator.
* re.c (rb_reg_s_union): terminator in source string does not need...
nobu (Nobuyoshi Nakada)
01:29 PM Revision 0eddedbf (git): debugging SEGV on Solaris11s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:57 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
this is somewhat related to this comment: https://bugs.ruby-lang.org/issues/9454#note-6
There is a problem with pt...
ncopa (Natanael Copa)
12:22 PM Revision 915ca40f (git): debugging SEGV on Solaris11s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:14 PM Feature #14022: String#surround
I admit that now we can use `yield_self`. I didn't think interpolation was elegant enough, but I think I can live wit... sawa (Tsuyoshi Sawada)
12:06 PM Revision 1d07bb84 (git): test_iseq.rb: skip iseq with coverage
* test/ruby/test_iseq.rb (test_to_binary_with_objects): #to_binary
does not support iseq compiled with coverage, ju...
nobu (Nobuyoshi Nakada)
10:55 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
hm i have a slightly problem with this
check out the different return types there:
~~~ ruby
a = []
p *a #=>...
Hanmac (Hans Mackowiak)
08:00 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
Small notice: If #13581 would be once acted upon, attaching `p` in the middle of the chain could be as simple as (usi... zverok (Victor Shepelev)
03:11 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
+1
`Kernel#p` is one of the greatest feature in Ruby. It would be further great to make it useful.
mame (Yusuke Endoh)
01:29 AM Feature #14609 (Rejected): Let `Kernel#p` without an argument print the receiver
# Abstract
`Kernel#p(obj)` prints `obj` as `inspect`ed.
How about printing the receiver if an argument is not giv...
ko1 (Koichi Sasada)
07:59 AM Revision 94c40622 (git): Revert "Add direct marking on iseq operands"
This reverts commit r62706.
It causes SEGV on i686-linux (debian) and armv7l-linux-eabihf:
http://www.rubyist.net/~a...
naruse (Yui NARUSE)
07:59 AM Revision a14a6797 (git): Revert "Fix error: implicit conversion loses integer precision"
This reverts commit r62708.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62774 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
07:59 AM Revision b099c5e6 (git): Revert "Fix warning: cast from pointer to integer of different size"
This reverts commit r62709.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62773 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
06:12 AM Feature #11541: Let attr_accessor, _reader & _writer return symbols of the defined methods
+1
I'm about to issue the same feature request😆
gfx (Goro FUJI)
02:27 AM Revision ddf295a2 (git): compile.c: fix load_from_binary
* compile.c (ibf_load_iseq_each): realpath may be nil. follow up
r59709. [fix https://github.com/Shopify/bootsnap...
nobu (Nobuyoshi Nakada)
02:07 AM Revision d3c5746b (git): gmake.mk: expand MJIT header rules
* defs/gmake.mk: expand MJIT header file rules for each
architectures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
01:48 AM Revision dd543cd4 (git): configure.ac: DLDFLAGS without arch flags
* configure.ac (DLDFLAGS): copy LDFLAGS before adding arch flags.
multiple arch flags on universal binary make mjit...
nobu (Nobuyoshi Nakada)
01:22 AM Feature #14606: Change begin-else-end without rescue from warning to syntax error
I'm not against the removeal.
BTW, surprisingly, the following code works "as intended."
```
def fib(x)
if ...
mame (Yusuke Endoh)

03/15/2018

06:57 PM Bug #14608 (Closed): Regexp::union and forward slashes
When using Regexp::union and a regular expression with a forward slash, there seem to be some inconsistencies.
~~~...
jason.barnabe (Jason Barnabe)
04:51 PM Feature #14035 (Closed): URI module always serializes to the minimal form insted of the traditional one
Applied in changeset trunk|r62767.
----------
Introduce URI::File to handle file URI scheme
* the default value of ...
naruse (Yui NARUSE)
04:51 PM Revision 0129fc8f (git): Revert r62617 "compile.c: fix load_from_binary"
It breaks Solaris:
http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20180301T012502Z.diff.html.gz
git-svn-i...
naruse (Yui NARUSE)
04:51 PM Revision 01b46043 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:51 PM Revision 04883f12 (git): Introduce URI::File to handle file URI scheme
* the default value of URI::File's authority is "" (localhost).
Both nil and "localhost" is normalized to "" by def...
naruse (Yui NARUSE)
03:20 PM Revision 09fb6248 (git): * 2018-03-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 PM Revision ec45161c (git): configure.ac: fix rb_cv_gcc_compiler_cas
* configure.ac (rb_cv_gcc_compiler_cas): do not use one variable
for multiple AC_CACHE_CHECK. in one check, select...
nobu (Nobuyoshi Nakada)
03:00 PM Bug #14541: Class variables have broken semantics, let's fix them
@Hanmac: Both problems exist, see the example in the description.
The semantics are confusing, that's why I wish we ...
Eregon (Benoit Daloze)
01:17 PM Bug #14541: Class variables have broken semantics, let's fix them
@Eregon: the problem is the other way around ...
a class variable in a superclass DOES NOT removes class variables...
Hanmac (Hans Mackowiak)
12:24 PM Bug #14541: Class variables have broken semantics, let's fix them
matz (Yukihiro Matsumoto) wrote:
> It's possible to make those warning replaced by exceptions. I am strongly positive...
Eregon (Benoit Daloze)
07:15 AM Bug #14541: Class variables have broken semantics, let's fix them
Although the use of class variables is not recommended (like global variables), proposed behavior changes introduce h... matz (Yukihiro Matsumoto)
02:55 PM Bug #14607 (Closed): Fix use of the rb_profile_frames start parameter
rb_profile_frames was always behaving as if the value given for the start parameter was 0.
The reason for this was...
dylants (Dylan Thacker-Smith)
02:15 PM Bug #14273: Stack Consistency Error from return in loop
naruse (Yui NARUSE) wrote:
> reverted ruby_2_5 r62426. it caused test failure
Forgive me if I'm misunderstanding,...
jacobevelyn (Jacob Evelyn)
01:51 PM Feature #14606: Change begin-else-end without rescue from warning to syntax error
Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:59 AM Feature #14606 (Open): Change begin-else-end without rescue from warning to syntax error
~~~ ruby
begin
p :foo
else
p :bar
end
# => :foo
# => :bar
~~~
~~~ ruby
[1,2,3].each do
p :foo
e...
joker1007 (Tomohiro Hashidate)
01:19 PM Feature #13904: getter for original information of Enumerator
what about something when you don't have method name or arguments to expose?
like that idea with a combined Enumer...
Hanmac (Hans Mackowiak)
12:12 PM Feature #13904: getter for original information of Enumerator
This seems fine but very specific.
I still think exposing an Enumerator's receiver, method name and arguments is bet...
Eregon (Benoit Daloze)
06:38 AM Feature #13904: getter for original information of Enumerator
Sounds reasonable. Accepted.
Matz.
matz (Yukihiro Matsumoto)
06:35 AM Feature #13904 (Assigned): getter for original information of Enumerator
(Continue from #14044)
Following today's developers meeting, I propose to introduce a subclass of Enumerator.
T...
mrkn (Kenta Murata)
12:01 PM Revision b12d7f17 (git): NEWS: add descriptions of [Feature #12732]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
11:53 AM Bug #2756 (Rejected): Issues with Math and Complex behavior on 1.9
I'm rejecting this issue because this is meaningless now.
mrkn (Kenta Murata)
11:08 AM Feature #4780 (Closed): String#split with a block
Applied in changeset trunk|r62763.
----------
string.c: split with block
* string.c (rb_str_split_m): yield each sp...
nobu (Nobuyoshi Nakada)
08:55 AM Feature #4780: String#split with a block
Accepted.
Matz.
matz (Yukihiro Matsumoto)
11:08 AM Revision 2258a97f (git): string.c: split with block
* string.c (rb_str_split_m): yield each split substrings if the
block is given, instead of returing the array. [Fe...
nobu (Nobuyoshi Nakada)
10:49 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
shyouhei (Shyouhei Urabe) wrote:
> Benoit Daloze wrote:
> > Maybe this functionality should just be an extra keywor...
Eregon (Benoit Daloze)
08:10 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
`subm` and`gsubm` are acceptable.
Matz.
matz (Yukihiro Matsumoto)
08:09 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
How about String#subm and String#gsubm ?
It is bit longer but not so long.
akr (Akira Tanaka)
09:58 AM Revision d13a2d49 (git): test_array.rb (test_slice!): moved misplaced test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:29 AM Bug #4173 (Open): TestProcess#test_wait_and_sigchild が、たまに失敗する
naruse (Yui NARUSE)
08:14 AM Feature #14022 (Feedback): String#surround
It appears like `yield_self` or `%s` formatting can satisfy the use cases noted here.
Changing this ticket to Feed...
sorah (Sorah Fukumori)
07:54 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
duerst (Martin Dürst) wrote:
> Example:
> [1, 2, 3].uniform? % => true
> [:a, :b, :c].uniform? % => true
> [1, ...
duerst (Martin Dürst)
07:42 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
matz (Yukihiro Matsumoto) wrote:
> * uniform? - I like this best, but can uniform mean equality?
When seeing u...
duerst (Martin Dürst)
07:19 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
I am not satisfied with any of the candidates.
* same_all? - weird word order
* all_same? - word order is OK, but...
matz (Yukihiro Matsumoto)
05:44 AM Feature #14476 (Assigned): Adding same_all? for checking whether all items in an Array are same
Ah, sorry. Posted to the wrong proposal.
Regarding this issue, we have the naming issue. I agree to add the functi...
matz (Yukihiro Matsumoto)
05:42 AM Feature #14476 (Rejected): Adding same_all? for checking whether all items in an Array are same
Rejected. Unfortunately, the incompatibility this proposal would bring is too big.
Besides that, we have performance...
matz (Yukihiro Matsumoto)
07:52 AM Feature #14245: Add File.read etc.
matz (Yukihiro Matsumoto) wrote:
> Agreed for mostly security reasons.
Is this incompatibility acceptable in Ruby...
shugo (Shugo Maeda)
06:19 AM Feature #14245: Add File.read etc.
Agreed for mostly security reasons.
Matz.
matz (Yukihiro Matsumoto)
07:49 AM Feature #14579 (Rejected): Hash value omission
matz (Yukihiro Matsumoto) wrote:
> I prefer this syntax to #11105, but this introduces a Ruby-specific syntax differ...
shugo (Shugo Maeda)
06:34 AM Feature #14579: Hash value omission
I prefer this syntax to #11105, but this introduces a Ruby-specific syntax different from ES6 syntax.
Besides that, ...
matz (Yukihiro Matsumoto)
07:36 AM Bug #14469: private_constant and deprecate_constant are ignored by autoloading
ruby_2_5 r62761 merged revision(s) 62394,62395. naruse (Yui NARUSE)
07:35 AM Revision d11ce2be (git): merge revision(s) 62394,62395: [Backport #14469]
vm_insnhelper.c: rb_autoloading_value flag
* vm_insnhelper.c (vm_get_ev_const): add flag argument of
...
naruse (Yui NARUSE)
07:19 AM Revision c6ab3498 (git): Add `exception:` keyword in Kernel#Complex()
Support `exception:` keyword argument in `Kernel#Complex()`.
If `exception:` is `false`, `Kernel#Complex()` returns `...
Kenta Murata
07:19 AM Feature #12732 (Closed): An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Applied in changeset ruby-trunk:trunk|r62757.
----------
Add `exception:` keyword in Kernel#Integer()
Support `exce...
mrkn (Kenta Murata)
07:19 AM Revision 0dc74b94 (git): Add `exception:` keyword in Kernel#Rational()
Support `exception:` keyword argument in `Kernel#Rational()`.
If `exception:` is `false`, `Kernel#Rational()` returns...
Kenta Murata
07:19 AM Revision 2993b442 (git): Add `exception:` keyword in Kernel#Float()
Support `exception:` keyword argument in `Kernel#Float()`.
If `exception:` is `false`, `Kernel#Float()` returns `nil`...
Kenta Murata
07:19 AM Revision 2cfc5b03 (git): Add `exception:` keyword in Kernel#Integer()
Support `exception:` keyword argument in Kernel#Integer().
If `exception:` is `false`, `Kernel#Integer()` returns `ni...
Kenta Murata
07:16 AM Feature #4017: [PATCH] CSV parsing speedup
> Does the comparison result say "the patch will improve performance"?
> If so, can you complete your work to adapt ...
tomog105 (Tomohiro Ogoke)
07:15 AM Revision 4691dacc (git): variable.c: hoisted out overtaken cvar warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:31 AM Feature #14044 (Rejected): Introduce a new attribute `step` in Range
I've discussed this issue and #13904 in today's developer meeting.
Following the discussion, I decided to withdraw t...
mrkn (Kenta Murata)
06:29 AM Revision 06af2865 (git): enumerator.c: pretty kwags
* enumerator.c (append_method): pretty format for keyword
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
05:43 AM Feature #14362 (Rejected): use BigDecimal instead of Float by default
Rejected. Unfortunately, the incompatibility this proposal would bring is too big.
Besides that, we have performance...
matz (Yukihiro Matsumoto)
03:55 AM Revision 38895e5c (git): use SIGUSR2 to debug.
* test/ruby/test_io.rb: use SIGUSR2 instead of SIGUSR1 to confirm
unknown SIGUSR1 exception. On parallel testing, s...
ko1 (Koichi Sasada)
01:05 AM Revision 80e8b524 (git): win32/configure.bat: stop when setup failed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:33 AM Feature #14605 (Open): Remove `original_iseq` from `rb_iseq_constant_body`
I've attached a patch that removes `original_iseq` from the `rb_iseq_constant_body` definition. In order to do this,... tenderlovemaking (Aaron Patterson)
12:12 AM Feature #14603 (Closed): Better error message when double-splatting hash with string keys
Applied in changeset trunk|r62752.
----------
vm.c: refined error message
* vm.c (kw_check_symbol): refined the err...
nobu (Nobuyoshi Nakada)
12:12 AM Revision 421a73f5 (git): vm.c: refined error message
* vm.c (kw_check_symbol): refined the error message for non-symbol
key. [Feature #14603]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)

03/14/2018

11:54 PM Bug #14573: rb_ary_or doesn't check objects hash when the array contains less than SMALL_ARRAY_LEN
I guess I can see how this is a behavior change, but these two objects shouldn't `eql?` each other. It seems like a ... tenderlovemaking (Aaron Patterson)
11:27 PM Revision d9abf6ef (git): * 2018-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:27 PM Revision cc7bd8e5 (git): Unconditionally define `TRACE_INSN_P`
`TRACE_INSN_P` doesn't need to know about encoded iseqs, it just needs
to look at decoded iseqs. We have the decoded...
tenderlovemaking (Aaron Patterson)
09:02 PM Bug #14604 (Closed): Backport r62725 to ruby 2.3 to 2.5
Please backport r62725 (https://github.com/ruby/ruby/pull/1834) since the bug applies to all ruby versions under norm... dylants (Dylan Thacker-Smith)
03:31 PM Feature #14603: Better error message when double-splatting hash with string keys
Ideally we could have some means to control the warning/error format. That
way people could select which variant to ...
shevegen (Robert A. Heiler)
03:05 PM Feature #14603 (Closed): Better error message when double-splatting hash with string keys
I couldn't find an existing issue even though I remember reading about it somewhere.
When double-splatting a hash ...
apotonick (Nick Sutterer)
02:35 PM Feature #4017: [PATCH] CSV parsing speedup
Thanks. I've added the benchmark script to the repository.
Does the comparison result say "the patch will improve ...
kou (Kouhei Sutou)
10:58 AM Feature #4017: [PATCH] CSV parsing speedup
In addition, I'm porting patches in this issue and got benchmark results.
## Result
- Ruby version: ruby 2.5.0p0 ...
tomog105 (Tomohiro Ogoke)
03:56 AM Feature #4017: [PATCH] CSV parsing speedup
I tried to create a benchmark script for `CSV.parse`
(Using `benchmark-ips` gem)
## Script
```
# benchmark sc...
tomog105 (Tomohiro Ogoke)
02:07 PM Revision 999b58c1 (git): configure.ac: basic libs
* configure.ac: basic libraries like -lm are necessary for some
extension libraries on some platforms.
git-svn-id:...
nobu (Nobuyoshi Nakada)
01:01 PM Feature #14602: Version of dig that raises error if a key is not present
duerst (Martin Dürst) wrote:
> Would a keyword parameter to dig work for you?
>
> E.g. `hash.dig!(:name, :middle,...
amcaplan (Ariel Caplan)
12:58 PM Feature #14602: Version of dig that raises error if a key is not present
shevegen (Robert A. Heiler) wrote:
> I think this may be somewhat problematic since it does not appear
> to fit to...
amcaplan (Ariel Caplan)
02:56 AM Feature #14602: Version of dig that raises error if a key is not present
Would a keyword parameter to dig work for you?
E.g. `hash.dig!(:name, :middle, raise_error: true)` or something si...
duerst (Martin Dürst)
11:55 AM Revision e3c02333 (git): test_weakmap.rb: fixing CI failures
* test/ruby/test_weakmap.rb (test_include?): create and release
the object to be garbage-collected in deeper frame....
nobu (Nobuyoshi Nakada)
11:40 AM Bug #14561: Consistent 2.5.0 seg fault in GC, related to accessing an enumerator in a thread
I believe I've run into this bug too.
macOS: 10.13.3
Ruby: 2.5.0
I was running this code:
https://github.co...
ioquatix (Samuel Williams)
10:16 AM Feature #4483 (Rejected): PStoreをデフォルトで複数のスレッドから扱えるようにしたい
Glass_saga (Masaki Matsushita)
02:59 AM Bug #14600: test-all & REXML - fixup
To all & @kou
Apologizes for not providing more detail. The results above are for tests not run parallel, which (...
MSP-Greg (Greg L)
12:44 AM Bug #14600 (Assigned): test-all & REXML - fixup
kou (Kouhei Sutou)
02:35 AM Revision c05fa459 (git): quote symbols
* sprintf.c (ruby__sfvextra): quote symbols as identifiers.
* string.c (rb_id_quote_unprintable): ditto.
git-svn-id...
nobu (Nobuyoshi Nakada)

03/13/2018

07:42 PM Feature #14602: Version of dig that raises error if a key is not present
I think this may be somewhat problematic since it does not appear
to fit to other methods that end with a "!", such...
shevegen (Robert A. Heiler)
06:29 PM Feature #14602 (Open): Version of dig that raises error if a key is not present
Currently, if I have a hash like this:
~~~ ruby
{
:name => {
:first => "Ariel",
:last => "...
amcaplan (Ariel Caplan)
05:41 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
Possible fix or workaround:
~~~
diff --git a/thread_pthread.c b/thread_pthread.c
index 951885ffa0..e2d662143b 10...
ncopa (Natanael Copa)
05:05 PM Feature #11473: Immutable String literal in Ruby 3
Since this will soon be discussed in the upcoming ruby developer
meeting, I only wanted to add two small things:
...
shevegen (Robert A. Heiler)
02:33 AM Feature #11473 (Assigned): Immutable String literal in Ruby 3
hsbt (Hiroshi SHIBATA)
03:18 PM Feature #14601 (Open): test-all & ruby/test_m17n_comb.rb - fixup
Forgot about this one. The file `ruby/test_m17n_comb.rb` will not run with 'frozen string". I patched that, and als... MSP-Greg (Greg L)
03:12 PM Feature #14575: Switch Range#=== to use cover? instead of include?
@nobu
Are there imaginable real-life incompatibilities introduced by changing semantics?
I believe that `begin.i...
zverok (Victor Shepelev)
11:06 AM Feature #14575: Switch Range#=== to use cover? instead of include?
tom_dalling (Tom Dalling) wrote:
> 2. If it's a range of strings, it uses `rb_str_include_range_p`
> 3. For everyth...
nobu (Nobuyoshi Nakada)
08:09 AM Feature #14575: Switch Range#=== to use cover? instead of include?
> I can see that changing the behaviour of (3) might lead to incompatibility issues.
Any real case on mind? I can...
zverok (Victor Shepelev)
07:36 AM Feature #14575: Switch Range#=== to use cover? instead of include?
The `Range#===` methods currently works in one of three different ways. The code is here: https://github.com/ruby/rub... tom_dalling (Tom Dalling)
03:11 PM Revision 251c7892 (git): * 2018-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision f01315a5 (git): Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:03 PM Bug #14600 (Closed): test-all & REXML - fixup
First of all, thanks to @nobu for 62738, a quick look shows that the variance in test count for both Travis & Appveyo... MSP-Greg (Greg L)
01:03 PM Revision 0e60fdc5 (git): test/ripper/test_lexer.rb: add test for r62743
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
12:56 PM Revision 67bb9593 (git): Fix FrozenError on `Ripper.slice`
Currently `Ripper.slice` raises a FrozenError
```ruby
require 'ripper'
p Ripper.slice('foo', 'ident')
```
```
/path...
k0kubun (Takashi Kokubun)
12:32 PM Revision 2ba36c1e (git): mjit_compile.c: remove unintended definition
Actually r62741 defined the macro... It wasn't intentional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62742 ...
k0kubun (Takashi Kokubun)
12:29 PM Revision d5e93cb5 (git): mjit_compile.c: disable comment_id by default
Doing `rb_ary_aref` to `global_symbols.ids` is not thread-safe and
randomly causes SEGV.
https://gist.github.com/k0ku...
k0kubun (Takashi Kokubun)
10:48 AM Bug #14596: Ruby master is broken with bootsnap
update to https://github.com/ruby/ruby/commit/ccc25765143ef294c0a68b48d829c37d86c93b65
1rst run `rails s`, `spring...
sharevari (Yuri S.)
09:15 AM Bug #14599 (Closed): Improve Pathname performance
Applied in changeset trunk|r62740.
----------
Improve Pathname performance
If it will not use special variables (li...
watson1978 (Shizuo Fujita)
05:57 AM Bug #14599 (Closed): Improve Pathname performance
If it will not use special variables (like $1, $&, $`...),
it can improve the performance by using Regexp#match? ins...
watson1978 (Shizuo Fujita)
09:15 AM Revision ccc25765 (git): Improve Pathname performance
If it will not use special variables (like $1, $&, $`...),
it can improve the performance by using Regexp#match? inst...
watson1978 (Shizuo Fujita)
08:18 AM Feature #4189 (Closed): FileUtils#ln_r
Applied in changeset trunk|r62739.
----------
Add FileUtils#cp_lr
* lib/fileutils.rb: Add FileUtils#cp_lr. This me...
mame (Yusuke Endoh)
08:18 AM Revision d583ee26 (git): Add FileUtils#cp_lr
* lib/fileutils.rb: Add FileUtils#cp_lr. This method creates hard links
of each file from directory to another dir...
mame (Yusuke Endoh)
06:29 AM Revision dd3851d2 (git): Rename test classes to allow stable test count when running test-all -j
[Fix GH-1763]
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
03:48 AM Revision 1032f093 (git): eval_error.c: reset attributes
* eval_error.c (print_errinfo): reset all attributes for each
lines before newlines.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
03:40 AM Revision b07e4af8 (git): eval_error.c: last newline
* eval_error.c (print_errinfo): do not print an empty line at the
end when the message ends with a newline.
git-sv...
nobu (Nobuyoshi Nakada)
02:57 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
I'm still not clear why a new name needs to be introduced. `Fiber` should be sufficient IMHO, if you want to enable/d... ioquatix (Samuel Williams)
02:43 AM Revision e537dc33 (git): test_enumerator.rb: duplicate assertions
* test/ruby/test_enumerator.rb (test_uniq): remove assertions
which ared duplicate of lazy enumerator tests in
te...
nobu (Nobuyoshi Nakada)
02:00 AM Revision 175c514a (git): Add missing class FrozenError to Exception subclasses list documentation
[Fix GH-1818]
From: Miguel Landaeta <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62734 b2dd...
nobu (Nobuyoshi Nakada)
01:28 AM Revision 89e82a75 (git): Hash instead of Set
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:28 AM Revision 583d903c (git): Speed up func1.func2 completion by using Set for ignored modules
And thus avoiding Module#name calls. Those are slow, especially in
larger projects, with lots of anonymous modules.
...
nobu (Nobuyoshi Nakada)
01:00 AM Revision 0faf0186 (git): Bug Fix Enumerator::Lazy#uniq state for multiple call
* enumerator.c (lazy_uniq_i): create new hash for each calls.
[Fix GH-1820]
Currently
2.5.0-preview1 :001...
nobu (Nobuyoshi Nakada)
12:09 AM Bug #11149: URI.parse keeps '?' for query and '#' for fragment even if they are empty
At least, that test should not be in `test_parse`, but in `test_set_component` or others. nobu (Nobuyoshi Nakada)

03/12/2018

08:42 PM Feature #11210: IPAddr has no public method to get the current subnet mask
https://github.com/ruby/ipaddr/commit/293ad5ac6ed704f91d418ecaf24ae58156a587e7 fixes this in the ipaddr gem. Good eno... herwin (Herwin W)
03:19 PM Revision 3438cfa7 (git): * 2018-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 94f371ef (git): assertions.rb: parentheses
* test/lib/test/unit/assertions.rb (assert_not_all): fix missing
parentheses.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:24 PM Bug #14587: math library functions should NOT raise exceptions
The explanations and reasons have been stated and given already, Tectract.
See the comments made by bdewater or mr...
shevegen (Robert A. Heiler)
01:04 PM Bug #14598 (Closed): [2.6.0 Preview1] Flood of error message occurs when throwing an error including "\n" in its message.
Applied in changeset trunk|r62728.
----------
eval_error.c: fix underflow
* eval_error.c (print_errinfo): get rid o...
nobu (Nobuyoshi Nakada)
10:31 AM Bug #14598: [2.6.0 Preview1] Flood of error message occurs when throwing an error including "\n" in its message.
I tried to translate the original text.
----
Version:
ruby 2.6.0preview1 (2018-02-24 trunk 62554) [x86_64-darw...
minoritea (Minori Tokuda)
10:17 AM Bug #14598: [2.6.0 Preview1] Flood of error message occurs when throwing an error including "\n" in its message.
Sorry to have sent the japanese report. I had to send it to ruby-dev. minoritea (Minori Tokuda)
10:07 AM Bug #14598 (Closed): [2.6.0 Preview1] Flood of error message occurs when throwing an error including "\n" in its message.
2.6.0-preview1にて表題の現象にぶつかったため報告致します。
バージョン:
ruby 2.6.0preview1 (2018-02-24 trunk 62554) [x86_64-darwin17]
環境:
...
minoritea (Minori Tokuda)
01:04 PM Revision 2851b2c5 (git): eval_error.c: fix underflow
* eval_error.c (print_errinfo): get rid of negative string length.
[ruby-core:86086] [Bug #14598]
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
07:55 AM Bug #14597 (Closed): Ripper Issue - introduced between 62674 & 62681
Applied in changeset trunk|r62727.
----------
ripper: fix escaped space
* parse.y: use tSP same as ripper instead o...
nobu (Nobuyoshi Nakada)
07:55 AM Revision 7773cfa4 (git): ripper: fix escaped space
* parse.y: use tSP same as ripper instead of tSPACE.
[ruby-core:86080] [Bug #14597]
* ext/ripper/eventids2.c: tSP ...
nobu (Nobuyoshi Nakada)
06:54 AM Revision 26eb7b3d (git): * 2018-03-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:54 AM Revision ae36cf62 (git): Fix setting method visibility on method wrapped with prepend
Ignore prepended modules when looking for already defined methods on a
class to set the visibility on.
[Fix GH-1834]
...
nobu (Nobuyoshi Nakada)
06:38 AM Bug #14596: Ruby master is broken with bootsnap
Seems related to [Feature #14370]. nobu (Nobuyoshi Nakada)

03/11/2018

11:38 PM Feature #14585: Array#each_pair
Great explanation, Matthew. Thank you! Sounds like I just need to practice this some more to really get the terminolo... iamvery (Jay Hayes)
09:03 PM Bug #9572: Restarting Coverage does not produce correct coverage result
OK, this lead me on a big journey of chasing better benchmarking related to `Coverage` and Coverband, which is my pri... danmayer (Dan Mayer)
08:13 PM Bug #14076: Installing Ruby 2.3.1 - Ubuntu 17.10
kubak (Kuba Krzempek) wrote:
> The problem stems from default gcc version (it's 7) used on Ubuntu 17.10.
> Installi...
igorzovisk (Igor Vicente)
07:38 PM Bug #14561: Consistent 2.5.0 seg fault in GC, related to accessing an enumerator in a thread
I think I'm running into the same bug. I'm new to reading these types of traces, so please let me know if this needs ... brian-kephart (Brian Kephart)
06:33 PM Bug #14597 (Closed): Ripper Issue - introduced between 62674 & 62681
The following code generates a Ripper FATAL stop. 62674 is okay, but 62681 errors. Possibly #62675 parse.y: tSPACE ... MSP-Greg (Greg L)
12:19 PM Bug #14584 (Closed): Squigly heredoc with interpolation that has a string literal withe spaces gets incorrect value
Applied in changeset trunk|r62724.
----------
parse.y: fix interpolated string literal dedent
* parse.y (heredoc_de...
nobu (Nobuyoshi Nakada)
12:19 PM Revision f2b094a5 (git): parse.y: fix interpolated string literal dedent
* parse.y (heredoc_dedent): fix interpolated string literal dedent,
remove indentations from only nodes with the ne...
nobu (Nobuyoshi Nakada)
12:12 PM Revision e1a60b2d (git): parse.y: reduce duplicate code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:01 PM Bug #14596 (Closed): Ruby master is broken with bootsnap
issues
https://github.com/Shopify/bootsnap/issues/139
https://github.com/Shopify/bootsnap/issues/132
with https...
sharevari (Yuri S.)
09:47 AM Revision fd04ea0a (git): test_jit.rb: show debugging output on stderr
instead of stdout.
We would not capture the output as test results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
k0kubun (Takashi Kokubun)
09:36 AM Revision 24b8ca17 (git): test_jit.rb: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
09:32 AM Revision 31b6ac1b (git): test_jit.rb: add debugging output
Sometimes gcc fails to exec cc1 like this:
https://gist.github.com/ko1/c3db8b193e9cc65c39c541e10d957509
I'm not sure...
k0kubun (Takashi Kokubun)
12:47 AM Feature #14370 (Closed): Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
Applied in r62706 tenderlovemaking (Aaron Patterson)
12:05 AM Revision 6679ffd3 (git): * 2018-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:05 AM Revision 5fade634 (git): re.c: fixed escaped multibyte char
* re.c (unescape_nonascii): escaped multibyte character should be
copied as-is, just with checking if the encoding ...
nobu (Nobuyoshi Nakada)

03/10/2018

10:16 PM Feature #14585: Array#each_pair
iamvery (Jay Hayes) wrote:
> Thank you all for the feedback! I agree, and I'm glad your responses matched my intuiti...
phluid61 (Matthew Kerwin)
09:05 PM Feature #14585: Array#each_pair
Thank you all for the feedback! I agree, and I'm glad your responses matched my intuition. Do you have any suggestion... iamvery (Jay Hayes)
02:52 PM Revision 724878c9 (git): compile.c: mark all ISeq ancestors as catch_except_p
This change assumes that continuously reading `parent_iseq` from block
ISeq would reach non-block ISeq finally.
test...
k0kubun (Takashi Kokubun)
11:26 AM Revision cfcf1d1a (git): signal.c: refine error messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:36 AM Revision dcb28f0d (git): signal.c: check NUL bytes
* signal.c (trap_signm): check NUL bytes explicitly before raising
"unsupported signal" ArgumentError.
git-svn-id:...
nobu (Nobuyoshi Nakada)
09:02 AM Bug #10013 (Closed): [CSV] Yielding all elements from a row
Thanks for your report.
I've fixed it at master: https://github.com/ruby/csv/commit/71d66af9824e4a30ed616668fc4ce8d9...
kou (Kouhei Sutou)
08:33 AM Bug #8784 (Closed): CSV - Empty fields are discarded when col_sep is a space
Thanks for your report.
I've fixed it at the master: https://github.com/ruby/csv/commit/ba560e407a152afffea589d83208...
kou (Kouhei Sutou)
08:09 AM Feature #4017 (Feedback): [PATCH] CSV parsing speedup
We need some benchmark scripts based on `benchmark` library (or similar library) to work on speedup.
Can someone w...
kou (Kouhei Sutou)
08:04 AM Feature #12839 (Closed): CSV - Give not nil but empty strings for empty fields
This code works again with the latest csv.
```ruby
require "csv"
CSV.parse(%|,""|, converters: lambda{|v| v ||...
kou (Kouhei Sutou)
07:05 AM Revision e28760ad (git): mjit.c: keep mutex unlocked on destroy
`mjit_finish` may destroy mutex even while it's still locked by
`worker` by race condition. That would result in the ...
k0kubun (Takashi Kokubun)
06:46 AM Revision e144481e (git): ext/win32ole/win32ole.c: fix typo. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
03:21 AM Bug #14595 (Closed): Set filename when initializing a logger with a File object to make reopen work
see https://github.com/rails/rails/issues/32211#issuecomment-371995187
would be great if it could auto-set filenam...
grosser (Michael Grosser)
02:46 AM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
ruby_2_4 r62712 merged revision(s) 60384. nagachika (Tomoyuki Chikanaga)
02:46 AM Revision 12fc8129 (git): merge revision(s) 60384: [Backport #13887]
thread_pthread: do not corrupt stack
This fixes stuck test/ruby/test_io.rb with FIBER_USE_NATIVE=0 on
...
nagachika (Tomoyuki Chikanaga)
02:33 AM Bug #13163: Uncaught exceptions may not be reported when Thread#report_on_exception=true and Thread#abort_on_exception=true
ruby_2_4 r62711 merged revision(s) 59963. nagachika (Tomoyuki Chikanaga)
02:32 AM Revision 3c35067c (git): merge revision(s) 59963: [Backport #13163]
thread.c: report then abort
* thread.c (thread_start_func_2): report then abort on exception,
if b...
nagachika (Tomoyuki Chikanaga)
02:16 AM Revision b11a38fa (git): * ext/win32ole/win32ole.c: fix url of ActiveState. Thanks to Kazuhiro Nishiyama. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
12:34 AM Revision af0d504f (git): Fix warning: cast from pointer to integer of different size
```
.../ruby/iseq.c: In function ‘rb_vm_insn_null_translator’:
.../ruby/iseq.c:137:12: warning: cast from pointer to ...
znz (Kazuhiro NISHIYAMA)
12:33 AM Revision 5901e8fb (git): Fix error: implicit conversion loses integer precision
http://ci.rvm.jp/results/trunk_clang_50@silicon-docker/627906
```
iseq.h:41:36: error: implicit conversion loses inte...
znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom