Project

General

Profile

Activity

From 02/21/2018 to 02/27/2018

02/27/2018

09:27 PM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
This still happens on 2.2.9, should it be backported too?
(On gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2))
Eregon (Benoit Daloze)
08:45 PM Revision 015a415e (git): Update to ruby/spec@51f301d
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:44 PM Revision 5506d86e (git): Remove tool/pull-latest-mspec-spec
* It is now part of mspec in spec/mspec/tool/pull-latest-mspec-spec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
Eregon (Benoit Daloze)
08:21 PM Revision a5023c33 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:21 PM Revision 37ef87c1 (git): Update to ruby/spec@cbe855c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:21 PM Revision ecf03376 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:21 PM Revision edb46078 (git): Update to ruby/mspec@d287466
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
05:50 PM Feature #14478: String #uminus should de-dupe unconditionally
The spec reflects the current state but of course it's fine to change.
The change to specs looks good, except the de...
Eregon (Benoit Daloze)
08:52 AM Feature #14478: String #uminus should de-dupe unconditionally
[email protected] wrote:
> But this seems to break the test/ruby/test_string.rb cause
> there is some edge cas...
normalperson (Eric Wong)
07:03 AM Feature #14478: String #uminus should de-dupe unconditionally
I just tried the trivial patch of:
```
diff --git a/string.c b/string.c
index ebf5618..a9b991f 100644
--- a/str...
sam.saffron (Sam Saffron)
04:45 PM Revision cfe9836b (git): * 2018-02-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:45 PM Revision fe2a6f65 (git): Support two `to_r`-responding args in Rational()
* rational.c (nurat_s_convert): call `to_r` to convert non-Numeric
objects also if argc == 2 in Rational().
* test...
Kenta Murata
02:22 PM Revision 71ee64a5 (git): common.mk: added missing dependencies on id.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:08 PM Revision a65b8864 (git): [EXPERIMENTAL] Support upload option for s3 package hosting.
Example:
$ ruby tool/make-snapshot -archname=snapshot -s3=tmp /tmp trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/...
hsbt (Hiroshi SHIBATA)
01:28 PM Revision 2af17614 (git): random.c: Random.extend Formatter
* random.c (InitVM_Random): extend Random itself by Formatter
module, as well as the `bytes` method used by the mod...
nobu (Nobuyoshi Nakada)
12:12 PM Bug #14556 (Assigned): Please fetch Ripper's new features from nobu's patches bag (irb-ripper branch)
> nobu
How about this?
hsbt (Hiroshi SHIBATA)
08:45 AM Bug #14556: Please fetch Ripper's new features from nobu's patches bag (irb-ripper branch)
I eliminate the commit below;
https://github.com/nobu/ruby/commit/0eb5f3f128b352079b447af0faa495bd9ba746a6
because ...
aycabta (aycabta .)
08:38 AM Bug #14556 (Closed): Please fetch Ripper's new features from nobu's patches bag (irb-ripper branch)
I need new features for Ripper because I'm trying to use Ripper for IRB.
@nobu's feature/irb-ripper branch on GitH...
aycabta (aycabta .)
12:07 PM Feature #4095: C1 Coverage
nahi (Hiroshi Nakamura) wrote:
> Contribution are welcomed...
I am planning to contribute to ruby project (starti...
kinaan.sherwani (Kinaan Sherwani)
11:12 AM Revision 3406c5d6 (git): Refactor ERB version checking for keyword arguments
Improving code like r62590. See r62529 for details.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62594 b2dd03c8...
k0kubun (Takashi Kokubun)
08:15 AM Revision 86d9071e (git): defs/id.def: predefine to_f ID
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:40 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
vo.x (Vit Ondruch) wrote:
> I tried `--with-setjmp-type=setjmp` and the build passed. But I have no idea what is the...
nobu (Nobuyoshi Nakada)
03:14 AM Bug #14127 (Rejected): (CSV) generating UTF-16LE encoded file without BOM
nobu almost said.
You should write BOM by yourself when you use `CSV.generate`.
If you don't want to write BOM ...
kou (Kouhei Sutou)
02:49 AM Feature #10316 (Rejected): Failsafe CSV.foreach
You can implement it with the following code:
```ruby
CSV.open(path) do |csv|
loop do
begin
row = ...
kou (Kouhei Sutou)
02:27 AM Bug #14554 (Closed): gem update crashes
nobu (Nobuyoshi Nakada)
02:14 AM Feature #14463: Allow comments to precede dots in member expressions
> I still find it very odd that it's inconsistent.
Tsuyoshi Sawada pointed out something similar in the issue that...
shevegen (Robert A. Heiler)
01:25 AM Feature #14463: Allow comments to precede dots in member expressions
isiahmeadows (Isiah Meadows) wrote:
> duerst (Martin Dürst) wrote:
> > There is extensive discussion on this at #76...
duerst (Martin Dürst)
01:06 AM Feature #14463: Allow comments to precede dots in member expressions
duerst (Martin Dürst) wrote:
> There is extensive discussion on this at #7636. Please check.
I presume you meant ...
isiahmeadows (Isiah Meadows)
01:36 AM Feature #14546: Hash#delete!
marcandre (Marc-Andre Lafortune) wrote:
> As Matz clearly stated, even if a long time ago, bang is not strictly for ...
duerst (Martin Dürst)
01:17 AM Revision 34560d95 (git): * 2018-02-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:17 AM Revision 23d6a624 (git): complex.c: use predefined IDs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:59 AM Feature #14555 (Open): OpenStruct performance doesn't have to be slow...
Coming from a JS background, it seems super baffling that OpenStruct is *incredibly* slow\*, slower than even a stand... isiahmeadows (Isiah Meadows)
12:15 AM Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
I think this is a good change; I just noticed it from the NEWS
file at:
https://github.com/ruby/ruby/blob/trunk/N...
shevegen (Robert A. Heiler)

02/26/2018

10:11 PM Misc #14470: Use Commit together with co-authors Github feature in svn commits
+1 for this idea. I've got one pull request waiting to be merged and I'd love to be listed as a real contributor to r... greggzst (Grzegorz Jakubiak)
09:58 PM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
I tried `--with-setjmp-type=setjmp` and the build passed. But I have no idea what is the performance impact.
Never...
vo.x (Vit Ondruch)
12:36 PM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
It sounds good to fix by `--with-setjmp-type`, if it works. nobu (Nobuyoshi Nakada)
12:38 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
tl;dr:
* `rb_ec_tag_jump()` causes SEGV on aarch64 when it is built with `-fomit-frame-pointer` optimization that ...
wanabe (_ wanabe)
08:52 PM Bug #14554: gem update crashes
> /usr/local/Cellar/ruby/2.5.0_2/lib/ruby/2.5.0/rdoc/markup/to_html.rb:389: [BUG] Segmentation fault at 0x00000000000... shevegen (Robert A. Heiler)
06:09 PM Bug #14554 (Closed): gem update crashes
upon running:
$ gem update
I receive a crash. Logfile plus CLI output is attached.
waag_job (Waag Job)
06:26 PM Bug #13882: Exception in `ensure` stops threads from exiting
ko1 (Koichi Sasada) wrote:
> Sorry for long absent.
>
> The point is "when should we check `to_kill` flag"?
> It...
zanker (Zachary Anker)
05:49 PM Bug #14553 (Third Party's Issue): Maybe this is too early for this but i encountered issues when using jit with rails
Obviously it's Bootsnap's issue. Bootsnap doesn't work with Ruby 2.6.0. No JIT-related logs are found in your logs to... k0kubun (Takashi Kokubun)
05:40 PM Bug #14553 (Closed): Maybe this is too early for this but i encountered issues when using jit with rails
```
50 ruby 0x000000010c6a9b71 rb_load_internal0 + 337
51 ruby ...
suyesh (suyesh bhandari)
04:57 PM Feature #14546: Hash#delete!
As Matz clearly stated, even if a long time ago, bang is not strictly for mutating versions of methods. Note that the... marcandre (Marc-Andre Lafortune)
02:42 PM Revision 40db89c0 (git): tool/ruby_vm/helpers/dumper.rb: check ERB version
I could not `make` trunk (62585) without this patch.
```
$ make -j4 && make install
BASERUBY = /home/pocke/....
k0kubun (Takashi Kokubun)
02:39 PM Revision 08ba29ac (git): use convert_type_with_id
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:30 PM Revision 914444e4 (git): use convert_type_with_id
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:39 PM Feature #14551: What's missing to switch to Git instead of using Subversion?
Eregon (Benoit Daloze) wrote:
> Some people might be willing to help once it's clear what needs to be done.
If ...
dsferreira (Daniel Ferreira)
12:28 PM Feature #14551: What's missing to switch to Git instead of using Subversion?
naruse (Yui NARUSE) wrote:
> You need to read previous discussion in detail.
> #10547 has a point.
What's the po...
Eregon (Benoit Daloze)
08:30 AM Feature #14551 (Rejected): What's missing to switch to Git instead of using Subversion?
Duplicated with #10547
> 1) I have heard some scripts might stop working if we switch to Git and nobody knows a li...
naruse (Yui NARUSE)
12:37 AM Feature #14551 (Assigned): What's missing to switch to Git instead of using Subversion?
I have a plan to migrate git from subversion. But I have no enough time to figure out it.
Because I need to update t...
hsbt (Hiroshi SHIBATA)
12:32 PM Bug #14542: syswrite spuriously empties the given string
It seems so far that it is indeed a multithreading problem on my side, possibly specific to the test suite. My apolog... sylvain.joyeux (Sylvain Joyeux)
11:18 AM Feature #12839 (Assigned): CSV - Give not nil but empty strings for empty fields
hsbt (Hiroshi SHIBATA)
11:17 AM Feature #13706 (Closed): Allow CSV#delete to delete multiple columns or add #delete_columns method
https://github.com/ruby/csv/pull/4 was already merged. hsbt (Hiroshi SHIBATA)
11:16 AM Bug #14127 (Assigned): (CSV) generating UTF-16LE encoded file without BOM
hsbt (Hiroshi SHIBATA)
11:15 AM Feature #10316 (Assigned): Failsafe CSV.foreach
hsbt (Hiroshi SHIBATA)
08:43 AM Revision cc47d873 (git): * 2018-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:43 AM Revision e5dd4465 (git): merge revision(s) 62094,62584: [Backport #14407]
Merge ruby/spec@fd56cd4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62586 b2dd03c8-39d4-4d8f-98f...
naruse (Yui NARUSE)
08:37 AM Revision 19022bef (git): Makefile.in: fix portability issue
* Makefile.in (mjit_config.h): Alternative value with $@ and
printf without argument are not portable, could fail o...
nobu (Nobuyoshi Nakada)
08:01 AM Revision bde45517 (git): r62071 is backported into Ruby 2.5 [Bug #14407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:57 AM Revision df1cd0f4 (git): make-snapshot: added missing options to usage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:57 AM Revision 2234edf0 (git): Use RB_INTEGER_TYPE_P instead of rb_obj_is_kind_of
For checking whether an object is an Integer, because a subclass of
Integer is meaningless in Ruby, RB_INTEGER_TYPE_P...
Kenta Murata
07:48 AM Bug #14407: defined? still returning true for top-level constant when referenced with scope
ruby_2_5 r62568 merged revision(s) 62071. naruse (Yui NARUSE)
07:31 AM Bug #14552 (Closed): Kernel#Integer can return a non-Integer object.
Applied in changeset trunk|r62581.
----------
Check the result of to_int in Kernel#Integer
[ruby-core:85813] [Bug #...
mrkn (Kenta Murata)
07:26 AM Bug #14552 (Closed): Kernel#Integer can return a non-Integer object.
I found a bug that Kernel#Integer returns any non-nil object which is a result of to_int.
```ruby
obj = Object.ne...
mrkn (Kenta Murata)
07:31 AM Revision cc4be225 (git): Check the result of to_int in Kernel#Integer
[ruby-core:85813] [Bug #14552]
* object.c (rb_convert_to_integer):
Check the result of to_int in Kernel#Integer
*...
Kenta Murata
06:00 AM Revision 6549f20e (git): * 2018-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:00 AM Revision fe948e85 (git): make-snapshot: exporting ChangLog with git
* tool/make-snapshot (package): export ChangLog file under the
exported directory. Git can work only under a git r...
nobu (Nobuyoshi Nakada)
06:00 AM Revision 34dc3b98 (git): make-snapshot: remove -j option from GNUMAKEFLAGS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:00 AM Revision bf9d849b (git): vcs.rb: .git at export
* tool/vcs.rb (VCS::GIT#export): do not remove .git directory.
should remove it by after_export.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
05:21 AM Bug #14253 (Closed): CSV.generate doesn't wrap a string anymore
Merged at https://github.com/ruby/csv/commit/75127b4ad00a748762effe9add3f91edeb0dc94f
It will merge ruby core repo...
hsbt (Hiroshi SHIBATA)
03:58 AM Feature #14550: Support keyword arguments with Date#step
avit (Andrew Vit) wrote:
> If adding keyword options, would it make sense to add the possibility to enumerate by `>>...
duerst (Martin Dürst)

02/25/2018

07:51 PM Feature #14550: Support keyword arguments with Date#step
If adding keyword options, would it make sense to add the possibility to enumerate by `>>` for whole months instead o... avit (Andrew Vit)
08:37 AM Feature #14550: Support keyword arguments with Date#step
Thank you for reviewing.
I updated the documentation for Date#step also. (date-step-2.patch)
ksss (Yuki Kurihara)
04:59 PM Feature #11741: Migrate Ruby to Git from Subversion
> I know this feature request already reject but still posting in
> case if guys are still considering to move git.
...
shevegen (Robert A. Heiler)
04:56 PM Feature #14551: What's missing to switch to Git instead of using Subversion?
For point #1, perhaps the issue here could collect all files that
would need modification (or a new file that handle...
shevegen (Robert A. Heiler)
02:39 PM Feature #14551 (Rejected): What's missing to switch to Git instead of using Subversion?
I know migrating to Git get asked at least every year at RubyKaigi, and this should be a motivation to change.
#1447...
Eregon (Benoit Daloze)
01:52 PM Feature #13784 (Closed): Add Enumerable#filter as an alias of Enumerable#select
Applied in changeset trunk|r62575.
----------
Add a new #filter alias for #select
* In Enumerable, Enumerator::Lazy...
Eregon (Benoit Daloze)
01:52 PM Revision a60a1c03 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:52 PM Revision b1a8c644 (git): Add a new #filter alias for #select
* In Enumerable, Enumerator::Lazy, Array, Hash and Set
[Feature #13784] [ruby-core:82285]
* Share specs for the var...
Eregon (Benoit Daloze)
01:17 PM Revision d1ea2f9d (git): date_parse.c, date_strptime.c: ensure symbols static all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:20 AM Bug #10864 (Rejected): REXML adds white space to text property when indent > -1
If you don't want to add extra spaces with indent, use `transitive: true` option:
```ruby
require 'rexml/document...
kou (Kouhei Sutou)
04:49 AM Revision a32e4169 (git): date_core.c: ensure symbols static all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:28 AM Bug #14482 (Closed): headerが重複したCSVをheaders:trueでparseした場合、row.to_h[key] と row[key] の結果が一致しない
後方互換性がなくなってしまうのでどうするかなぁと考えてみたんですが、もともと重複していた場合はなにを返すかわからない、という仕様だったので変わっても大丈夫かなぁと言う気持ちになったので、同じになるようにしました。 kou (Kouhei Sutou)
04:28 AM Bug #14549 (Closed): abort Date#step
Applied in changeset trunk|r62572.
----------
date_core.c: defensive code
* ext/date/date_core.c (f_cmp): check com...
nobu (Nobuyoshi Nakada)
04:28 AM Revision d3d84539 (git): date_core.c: defensive code
* ext/date/date_core.c (f_cmp): check comparison failure.
* ext/date/date_core.c (d_lite_step): deal with the compar...
nobu (Nobuyoshi Nakada)
03:35 AM Feature #14385: Deprecate back-tick for Ruby 3.
I have recently read something which may be incorrect; but perhaps it may
be correct too, I do not know. The comment...
shevegen (Robert A. Heiler)
03:25 AM Feature #14385: Deprecate back-tick for Ruby 3.
> I see back-ticks are used improperly all the time.
> For example, I would support adding warnings and suggestions ...
shevegen (Robert A. Heiler)
03:08 AM Revision e110c0dd (git): guard before noreturn function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:12 AM Revision 71da3c50 (git): process.c: guard eargp against GC
`rb_str_append` may trigger GC, and in that case eargp might be GCed.
Probably for protecting it, `RB_GC_GUARD(execar...
k0kubun (Takashi Kokubun)
12:36 AM Revision b043343c (git): * 2018-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:36 AM Revision 85143cab (git): merge revision(s) 62071: [Backport #14407]
defined? returns nil for toplevel constant lookup
* variable.c (rb_const_defined_0): toplevel constant looku...
naruse (Yui NARUSE)

02/24/2018

08:24 PM Feature #14550: Support keyword arguments with Date#step
Seems ok.
For others, here is a quick link to the documentation for Date
in current ruby 2.5.0:
http://ruby-do...
shevegen (Robert A. Heiler)
02:39 PM Feature #14550 (Open): Support keyword arguments with Date#step
How about supporting keyword arguments with Date#step like Numeric#step?
~~~
from = Date.new(2018, 1, 1)
to = Da...
ksss (Yuki Kurihara)
03:36 PM Revision 591baf8f (git): rb_int_powm: call rb_int_pow directly
* bignum.c (rb_int_powm): call rb_int_pow directly instead of calling `**`
operator.
git-svn-id: svn+ssh://ci.ruby...
Kenta Murata
03:06 PM Revision da9300dc (git): * 2018-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision c225d3c9 (git): complex.c, rational.c: remove dead code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:56 PM Revision daa67ca3 (git): rational.c: simplify a branch condition
* rational.c (nurat_s_convert): simplify a branch condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62564...
Kenta Murata
02:20 PM Feature #14489: MJIT needs a reusable cache
I agree with the direction. After resolving the slowness on Rails, we might be able to tune the default for discourse... k0kubun (Takashi Kokubun)
12:06 PM Feature #14489: MJIT needs a reusable cache
One simple way that might help here is to make the default for --jit-min-calls much higher.
Compiling after only 5 c...
Eregon (Benoit Daloze)
05:51 AM Feature #14489 (Rejected): MJIT needs a reusable cache
> A big question though is if the binaries can have some sort of manifest that allows you to run a pre-processor and ... k0kubun (Takashi Kokubun)
01:03 PM Bug #14549 (Closed): abort Date#step
~~~ruby
require 'date'
o = Object.new
def o.<=>(*)
2
end
Date.new(2000, 1, 1).step(3, o) { }
#=> abort
~~~
...
ksss (Yuki Kurihara)
12:07 PM Feature #14546: Hash#delete!
> as I understand ! does not mean destructive, but rather
> 'more dangerous', which I believe a possible exception
...
shevegen (Robert A. Heiler)
04:42 AM Feature #14546: Hash#delete!
nobu (Nobuyoshi Nakada) wrote:
> `Hash#delete` is destructive, so appending `!` doesn't seem making sense.
I'm as...
rringler (Ryan Ringler)
02:20 AM Feature #14546: Hash#delete!
`Hash#delete` is destructive, so appending `!` doesn't seem making sense.
Rather, a destructive version of `Hash#fet...
nobu (Nobuyoshi Nakada)
08:54 AM Revision 8b9a3eab (git): lib/erb.rb: Add uplevel to warn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:20 AM Bug #14547: segfault on Rational() with positive exponent in a string
ruby_2_5 r62562 merged revision(s) 62555. naruse (Yui NARUSE)
02:08 AM Bug #14547 (Closed): segfault on Rational() with positive exponent in a string
Applied in changeset trunk|r62555.
----------
rational.c: segfault on Rational exponent
* rational.c (read_num): fi...
nobu (Nobuyoshi Nakada)
07:19 AM Revision e16d49fb (git): merge revision(s) 62555: [Backport #14547]
rational.c: segfault on Rational exponent
* rational.c (read_num): fix segfault on Rational() with positive
...
naruse (Yui NARUSE)
07:19 AM Bug #12762: missing links in LEGAL
ruby_2_5 r62561 merged revision(s) 62513. naruse (Yui NARUSE)
07:19 AM Revision a94362d3 (git): merge revision(s) 62513: [Backport #12762]
Update url with 404 status on LEGAL file.
* Update redirected and upstream url.
* Added the Wayb...
naruse (Yui NARUSE)
02:58 AM Revision b81538d2 (git): Judge ERB version not RUBY_VERSION but ERB.version
On cross compilation, ruby command uses fake RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62560 b...
naruse (Yui NARUSE)
02:58 AM Revision 22acbed6 (git): On getting changelog, use git-log with --no-notes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:55 AM Revision 1bfe28e2 (git): version.h: get rid of duplication
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:48 AM Revision 4704a0dc (git): test for r62555
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:45 AM Revision 789853ed (git): rational.c: removed needless calc
* rational.c (read_num): exp(0) is 1, no need to multiply.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62556 b...
nobu (Nobuyoshi Nakada)
02:38 AM Feature #14548: Allow some_array&.[1] to be a valid syntax
It was introduced at [r52422] once, but removed soon at [r52430] by a matz's objection.
[r52422]: https://github.c...
nobu (Nobuyoshi Nakada)
02:15 AM Bug #14545 (Closed): Backport r62071 to ruby 2.5
The ticked is closed already, and now set "Backport" to "2.5: REQUIRED".
"Backport REQUIRED" in "Closed" ticket is t...
nobu (Nobuyoshi Nakada)
02:13 AM Bug #14500: Missing Regexp documentation and clarification on behavior of \K for edge case
oh, I didn't check with `$10`. I'd tried with backreference. Any idea how to use `\10`?
```
$ echo 'abcdefghij' |...
Sundeep (Sundeep Agarwal)
01:30 AM Bug #14500: Missing Regexp documentation and clarification on behavior of \K for edge case
Sundeep (Sundeep Agarwal) wrote:
> * suggestion to add that numbered capturing groups is limited to `9`
I don't t...
znz (Kazuhiro NISHIYAMA)
02:08 AM Revision f954caea (git): rational.c: segfault on Rational exponent
* rational.c (read_num): fix segfault on Rational() with positive
but less than the length of fractional part expon...
nobu (Nobuyoshi Nakada)
01:12 AM Revision 62316091 (git): Improve Array#sample with random documentation
* array.c (rb_ary_sample): Adds examples for the use of the
optional parameter random for Array#sample and unifies ...
nobu (Nobuyoshi Nakada)
01:05 AM Revision e5d5cc4a (git): NEWS: elaborate on JIT for 2.6.0-preview1 [ci skip]
This information is backported from the draft of 2.6.0-preview1 release
note. NEWS for final 2.6.0 release will be di...
k0kubun (Takashi Kokubun)
01:02 AM Revision 35ab341c (git): Fix typo: blcok -> block
Typo in a comment about "evaluator body".
[Fix GH-1824]
From: hkdnet <[email protected]>
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
12:40 AM Revision f6445718 (git): * 2018-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:40 AM Revision 07a4943d (git): mjit.c: fix deadlock on marking MJIT's ISeq
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)

02/23/2018

07:59 PM Feature #14548 (Assigned): Allow some_array&.[1] to be a valid syntax
Currently, Ruby allows accessing an array's index while testing whether the array is not nil with this syntax: `my_ar... rosenfeld (Rodrigo Rosenfeld Rosas)
07:28 PM Bug #14547 (Closed): segfault on Rational() with positive exponent in a string
~~~ ruby
Rational('1.11e1')
~~~
results in segmentation fault
pb (pumbur _)
06:52 PM Feature #14546 (Assigned): Hash#delete!
Hash#delete currently returns nil if a given key is not found in the hash. It would be nice to have a way to check th... rringler (Ryan Ringler)
05:53 PM Feature #14473: Add Range#subrange?
Good point v.ox, I did consider implementing `subset?` as an overloading of `include?` (or possibly `cover?` ?), as o... owst (Owen Stephens)
05:43 PM Feature #14473: Add Range#subrange?
Thanks for your thoughts al2o3cr, your "bigger point" is interesting:
> So range_1 claims to be a subset of range_...
owst (Owen Stephens)
05:09 PM Feature #14473: Add Range#subrange?
Why not modify Range#include? to accept Range object. Anyway, there is missing any justification for the RFE. vo.x (Vit Ondruch)
04:30 PM Feature #14473: Add Range#subrange?
Minor point: IMO a "Range with steps" isn't a Range, it's something else. It doesn't seem relevant to the discussion.... al2o3cr (Matt Jones)
12:43 PM Feature #14473: Add Range#subrange?
Attached updated patch, the former had a syntax error (a missing `)`). owst (Owen Stephens)
12:30 PM Feature #14473: Add Range#subrange?
Good questions duerst. I wonder if I should have stuck with the `subrange` naming rather than `subset`, due to the Nu... owst (Owen Stephens)
01:39 AM Feature #14473: Add Range#subrange?
As long as we only consider ranges starting and ending with integers, concepts such as subset and superset make sense... duerst (Martin Dürst)
03:58 PM Bug #14544 (Closed): crash on gem update
vo.x (Vit Ondruch)
03:57 PM Bug #14544: crash on gem update
This is the same as #14343, but the real solution is #14261 vo.x (Vit Ondruch)
10:42 AM Bug #14544 (Closed): crash on gem update
After a clean install using rbenv on a new MacBook Pro running High Sierra 10.13.3, gem update fails:
~: gem update
...
allank (Allan Kinnaird)
02:41 PM Bug #14545 (Closed): Backport r62071 to ruby 2.5
Please backport r62071 (https://bugs.ruby-lang.org/issues/14407) to ruby 2.5 to make toplevel constant lookup consist... grzuy (Gonzalo Rodriguez)
01:16 PM Bug #14357: thread_safe tests suite segfaults
Thank you for the patch. I applied it to Ruby in Fedora and so far like 10 builds of thread_safe passed without issue... vo.x (Vit Ondruch)
12:58 PM Feature #8158: lightweight structure for loaded features index
Hi all.
I did create an account of funny_falcon on svn.ruby-lang.org.
hsbt (Hiroshi SHIBATA)
11:41 AM Bug #14542: syswrite spuriously empties the given string
> For 2.4.3, can you try removing the rb_str_tmp_frozen_release call in the rb_io_syswrite function in io.c?
With ...
sylvain.joyeux (Sylvain Joyeux)
08:39 AM Revision daad6187 (git): eval_error.c: rb_error_write flags
* eval_error.c (rb_error_write): add highlight and reverse mode
flags. defaulted to rb_stderr_tty_p() if Qnil.
gi...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 28278b83 (git): groups_spec.rb: get rid of limit on macOS
* spec/ruby/core/process/groups_spec.rb: on macOS, getgroups(2)
has a variant which has no limit but not setgroups(...
nobu (Nobuyoshi Nakada)
08:24 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
This appears to be longstanding GCC issue on aarch64, which was recently exposed by change in GCC defaults [1]. Howev... vo.x (Vit Ondruch)
06:17 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
Ok, Matz we will move this to a proper domain for now.
We will see if something like ruby-talk-archive.com is ava...
sam.saffron (Sam Saffron)
05:03 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
>ruby-talk.trydiscourse.com is a bad domain name
I don't think so. `Problem: All mailing list discussion is not se...
hsbt (Hiroshi SHIBATA)
04:36 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
Sounds reasonable. @hsbt do you have any additional concern?
Matz.
matz (Yukihiro Matsumoto)
05:12 AM Bug #14543 (Closed): `make commit` show error of `common-srcs`
When I use `make commit`, it shows following error.
```
~/D/g/r/ruby (trunk) > mk commit
make: Entering director...
hsbt (Hiroshi SHIBATA)
05:09 AM Revision 2e1b0064 (git): Update minitest-5.11.3 on bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:45 AM Revision 26741c97 (git): Use Process::Tms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:18 AM Revision 96db72ce (git): [DOC] missing docs at toplevel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision b9d01e22 (git): [DOC] obsolete classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision 16ef24ac (git): [DOC] nodoc internal methods/classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision 4739266a (git): [DOC] hide declaration from rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision 44c53ee4 (git): process.c: deprecated Struct::Tms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:59 AM Bug #14334 (Open): Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85)
Some additional information. We're encountering the same segmentation fault, with the same C backtrace from inside th... dazuma (Daniel Azuma)

02/22/2018

11:03 PM Bug #14542: syswrite spuriously empties the given string
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14542
>
> * Target version:
> * ruby -v: 2.3...
normalperson (Eric Wong)
01:56 PM Bug #14542 (Third Party's Issue): syswrite spuriously empties the given string
I'm doing a bit of buffer management to write on a socket. The main method looks like this:
~~~ ruby
@write_buffe...
sylvain.joyeux (Sylvain Joyeux)
10:26 PM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
I think I did a terrible job explaining this and believe it is a language barrier.
### Problem
- All mailing l...
sam.saffron (Sam Saffron)
07:24 AM Misc #14414 (Rejected): Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
Hi, Sam.
Thank you for your offer. But I can not care about discourse.com as *.ruby-lang.org.
For example, When t...
hsbt (Hiroshi SHIBATA)
10:04 PM Bug #14368: backport r61862 (Fix SEGV of `/#{"\u3042"}#{'い'}/` in non UTF-8)
ruby_2_5 r62539 merged revision(s) 61862. naruse (Yui NARUSE)
10:04 PM Revision 86613d13 (git): merge revision(s) 61862: [Backport #14368]
parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'?'}/` in non UTF-8
Mixing other encoding string literals i...
naruse (Yui NARUSE)
09:41 PM Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
ruby_2_5 r62538 merged revision(s) 62107. naruse (Yui NARUSE)
09:41 PM Revision 4724dea4 (git): merge revision(s) 62107: [Backport #14420]
force fixable
* complex.c (nucomp_hash): force hash values fixable.
[ruby-core:85224] [Bug #14420]...
naruse (Yui NARUSE)
09:29 PM Bug #14356: Backport 61605
ruby_2_5 r62537 merged revision(s) 61605,62359,62361. naruse (Yui NARUSE)
09:29 PM Revision c442dd60 (git): merge revision(s) 61605,62359,62361: [Backport #14356]
Try to fix Travis CI configuration.
.travis.yml: send notification to #alerts
instead of #commits.
...
naruse (Yui NARUSE)
09:26 PM Bug #14459: Unexpected compile error in 2.5.0
ruby_2_5 r62527 merged revision(s) 62333. naruse (Yui NARUSE)
06:10 PM Feature #14473: Add Range#subrange?
Thank you nobu, I came to the same realisation when writing the tests for my attempt at an implementation (patch atta... owst (Owen Stephens)
07:21 AM Feature #14473: Add Range#subrange?
It should consider `exclude_end?` too. nobu (Nobuyoshi Nakada)
03:34 PM Revision abf3d25d (git): test/ruby/test_rubyoptions.rb: fix typo and only expect +JIT for CRuby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
03:29 PM Revision 2d1a4154 (git): ruby.c: fix typo in r62530
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
03:11 PM Revision c273cbca (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision 666cafbe (git): test_rubyoptions.rb: don't test --jit if not supported
test/lib/jit_support.rb: carved out JITSupport
test/ruby/test_jit.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
k0kubun (Takashi Kokubun)
03:03 PM Revision 073c8cfe (git): * 2018-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 8038bb2f (git): tool/generic_erb.rb: check ERB version
instead of Ruby's.
When older ERB is installed but Ruby is still 2.6.0, this may cause
error like:
```
Traceback (m...
k0kubun (Takashi Kokubun)
02:53 PM Feature #14462 (Closed): MJIT enabled should be displayed in the version string
Applied in changeset trunk|r62530.
----------
version.c: show +JIT when --jit is passed
in version output.
version....
k0kubun (Takashi Kokubun)
02:53 PM Revision 171c496e (git): version.c: show +JIT when --jit is passed
in version output.
version.h: ditto
ruby.c: propagate option for it
common.mk: updated dependency for version.c
mjit...
k0kubun (Takashi Kokubun)
02:16 PM Bug #14541: Class variables have broken semantics, let's fix them
Eregon (Benoit Daloze) wrote:
> Moreover, manually defining class-level instance variables with
>
> ```ruby
>...
dsferreira (Daniel Ferreira)
01:42 PM Bug #14541: Class variables have broken semantics, let's fix them
shevegen (Robert A. Heiler) wrote:
> I'd rather just remove them altogether. :P
That might be possible in Ruby 3,...
Eregon (Benoit Daloze)
01:19 PM Bug #14541: Class variables have broken semantics, let's fix them
I'd rather just remove them altogether. :P
However had, since I myself do not use them anyway, it is not really
i...
shevegen (Robert A. Heiler)
11:49 AM Bug #14541: Class variables have broken semantics, let's fix them
To clarify, "setting a class var on Object removes class vars in subclasses" means:
Setting a class variable in so...
Eregon (Benoit Daloze)
11:47 AM Bug #14541 (Closed): Class variables have broken semantics, let's fix them
Class variables have the weird semantics of being tied to the class hierarchy and being inherited between classes.
I...
Eregon (Benoit Daloze)
01:28 PM Feature #14256 (Closed): Deprecate $SAFE support in ERB and let ERB.new take keyword arguments for it
Applied in changeset trunk|r62529.
----------
erb.rb: deprecate safe_level of ERB.new
Also, as it's in the middle o...
k0kubun (Takashi Kokubun)
01:28 PM Revision cc777d09 (git): erb.rb: deprecate safe_level of ERB.new
Also, as it's in the middle of the list of 4 arguments, 3rd and 4th arguments
(trim_mode, eoutvar) are changed to key...
k0kubun (Takashi Kokubun)
12:51 PM Feature #14506 (Closed): Possible bug in cmdarg_stack
Applied in changeset trunk|r62528.
----------
Fix CMDARG manipulation
* parse.y: Fix CMDARG manipulation. Use CMDAR...
nobu (Nobuyoshi Nakada)
12:50 PM Feature #14506: Possible bug in cmdarg_stack
ibylich (Ilya Bylich) wrote:
> > Maybe, `lambda` and `brace_body` parts aren't needed?
>
> Maybe, I didn't have a...
nobu (Nobuyoshi Nakada)
11:55 AM Feature #14506: Possible bug in cmdarg_stack
nobu (Nobuyoshi Nakada) wrote:
> Seems nice.
> Maybe, `lambda` and `brace_body` parts aren't needed?
Maybe, I di...
ibylich (Ilya Bylich)
11:21 AM Feature #14506: Possible bug in cmdarg_stack
Seems nice.
Maybe, `lambda` and `brace_body` parts aren't needed?
And, just curiosity, what do you mean by "dual ...
nobu (Nobuyoshi Nakada)
09:54 AM Feature #14506: Possible bug in cmdarg_stack

This patch does not introduce any logical changes (at least I don't expect any).
mame (Yusuke Endoh) wrote:
>...
ibylich (Ilya Bylich)
02:27 AM Feature #14506 (Assigned): Possible bug in cmdarg_stack
I think that this is not a bug, and that your patch is for refactoring. Am I right?
Please clarify your motivatio...
mame (Yusuke Endoh)
12:48 AM Feature #14506: Possible bug in cmdarg_stack
I've sent a PR https://github.com/ruby/ruby/pull/1823 ibylich (Ilya Bylich)
12:51 PM Revision 1727c835 (git): Fix CMDARG manipulation
* parse.y: Fix CMDARG manipulation. Use CMDARG_P to identify
keyword_do/keyword_do_block. [Feature #14506] [Fix GH...
nobu (Nobuyoshi Nakada)
11:01 AM Revision 526cc900 (git): merge revision(s) 62333: [Backport #14459]
compile.c: popped hash
* compile.c (compile_array): skip creating new hash if preceeding
elements ...
naruse (Yui NARUSE)
07:34 AM Revision 95208d59 (git): Ignore rb_mjit_min_header- instead of rb_mjit_header-
[Fix GH-1822]
From: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62526 b2dd03c8...
nobu (Nobuyoshi Nakada)
07:34 AM Revision 8a1706a4 (git): Ignore /mjit_config.h
[Fix GH-1822]
From: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62525 b2dd03c8...
nobu (Nobuyoshi Nakada)
07:11 AM Bug #14505 (Feedback): IO.popen / Open3.popen2 / backtick subprocess remains blocked
That python code isn't equivalent, as it does not capture the output.
Does `system("ruby", "-r", "oci8", "-e", "puts...
nobu (Nobuyoshi Nakada)
06:36 AM Bug #11943 (Rejected): Segmentation fault ruby 2.0.0p645
Ruby 2.0.0 is outdated status. Please try with Ruby 2.4+ hsbt (Hiroshi SHIBATA)
06:36 AM Bug #11856 (Rejected): Segmentation fault
Ruby 2.0.0 is outdated status. Please try with Ruby 2.4+ hsbt (Hiroshi SHIBATA)
05:06 AM Revision 74009968 (git): NEWS: fixed unintentional description list [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:55 AM Revision 5d874cf1 (git): NEWS: fixed unintentional description list [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:13 AM Revision 5fe33f07 (git): NEWS: adjust layout [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:33 AM Revision a1fb880f (git): Add KeyError, NameError and NoMethodError changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
03:14 AM Revision 24294c7d (git): NEWS: fixed a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:58 AM Revision 9ffa3795 (git): test_process.rb: assert minimum maxgroups
* test/ruby/test_process.rb (TestProcess#test_maxgroups):
maxgroups should be one at least.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
12:45 AM Misc #14210 (Assigned): maintain net/protocol, net/smtp, tempfile, tmpdir
hsbt (Hiroshi SHIBATA)

02/21/2018

11:51 PM Bug #14539: Duplicate range in character class warning
Agreed. Your code did not use more than one \X so the warning is
incorrect as it is (because you did not use more th...
shevegen (Robert A. Heiler)
10:56 PM Bug #14539 (Closed): Duplicate range in character class warning
~~~ ruby
#!/usr/bin/env ruby -w
puts RUBY_VERSION
puts "👍".match?(/\X/).inspect
puts '--------------'
~~~
~~~...
Anonymous
08:10 PM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
It seems they are getting further:
~~~
With -fomit-frame-pointer on *everything*, and hacking out the call to rb_...
vo.x (Vit Ondruch)
12:51 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
I confirmed it can be reproduced with docker + qemu-aarch64-static + binfmt.
Dockerfile is attached.
(Note that it ...
wanabe (_ wanabe)
05:26 PM Feature #14506 (Closed): Possible bug in cmdarg_stack
cmdarg stack is a stack of bytes that has 1 on top of it when the parser is in the command mode.
But for this code...
ibylich (Ilya Bylich)
05:06 PM Revision b6f290f2 (git): * 2018-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:06 PM Revision 3095f4ec (git): * NEWS: add NEWS entry about Binding#source_location [Feature #14230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:54 PM Feature #14473: Add Range#subrange?
So, something like (naive implementation in Ruby):
~~~ ruby
Range.class_exec do
def subset?(other)
raise...
owst (Owen Stephens)
04:48 PM Feature #14473: Add Range#subrange?
+1 for this suggestion - we have a similar method in our code base, implemented approximately as follows:
~~~ ruby...
owst (Owen Stephens)
02:55 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Pass a new arg to create GreenThread maybe introduce more problems.
For example:
```
g_thr = Thread.create(green...
jjyr (Jinyang Jiang)
08:42 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
On 2018/02/21 17:07, Eric Wong wrote:
>> Or `Thread.create(keyword_args...)` ? (`.create` is an example name).
>
...
ko1 (Koichi Sasada)
08:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Koichi Sasada <[email protected]> wrote:
> On 2018/02/20 18:06, Eric Wong wrote:
> >Also, what do you think about havi...
normalperson (Eric Wong)
02:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
On 2018/02/20 18:06, Eric Wong wrote:
> Also, what do you think about having a way to pass options to
> thread cre...
ko1 (Koichi Sasada)
02:41 PM Feature #3187: Allow dynamic Fiber stack size
How about
``` ruby
Thread.with_configure(stack_size: 1024).new(a: 1, b: 2){}
# or
Thread::Config.new(stack_s...
jjyr (Jinyang Jiang)
10:55 AM Bug #14505 (Closed): IO.popen / Open3.popen2 / backtick subprocess remains blocked
The following ruby code never returns
~~~ ruby
`ruby -r oci8 -e puts 'hello'`
IO.popen(%w(ruby -r oci8 -e)+["put...
lionel_perrin (Lionel PERRIN)
09:04 AM Revision a2384238 (git): test_process.rb: unlimited getgroups on darwin
* test/ruby/test_process.rb (TestProcess#test_maxgroups): Darwin
extension of getgroups(2) which is not limited to ...
nobu (Nobuyoshi Nakada)
08:51 AM Revision 19a18994 (git): use `--version`.
* benchmark/driver.rb: use `--version` instead of `-v` to get version
information.
git-svn-id: svn+ssh://ci.ruby-...
ko1 (Koichi Sasada)
08:14 AM Revision 633b4638 (git): add NEWS entries about [Feature #14318] and [Feature #14330].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:51 AM Misc #14211: maintain etc, fcntl, and zlib
[email protected] wrote:
> I agreed with naruse.
>
> * zlib: naruse
> * etc/fcntl: same as core team member(...
normalperson (Eric Wong)
06:31 AM Misc #14211 (Closed): maintain etc, fcntl, and zlib
Applied in changeset trunk|r62512.
----------
Update maintainers of unmaintained libraries.
[Misc #14211]
From: ...
hsbt (Hiroshi SHIBATA)
06:25 AM Misc #14211 (Assigned): maintain etc, fcntl, and zlib
I agreed with naruse.
* zlib: naruse
* etc/fcntl: same as core team member(includes normal)
I will handle ge...
hsbt (Hiroshi SHIBATA)
07:44 AM Bug #10212: MRI is not for lambda calculus
One more:
```
target 0: ruby250 (ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]) at "~/ruby/install/v2_5...
ko1 (Koichi Sasada)
07:32 AM Bug #10212: MRI is not for lambda calculus
with [Feature #14318]
```
name ruby241 ruby250 trunk
app_lc_fizzbuzz 29.140 27.950 20.056
Speedup ratio:...
ko1 (Koichi Sasada)
07:17 AM Bug #12762: missing links in LEGAL
ライセンス自体に URL が埋め込まれているものはそのままにして The Wayback Machine の URL を追加、新しい先があるものはそれらを更新などしました。
hsbt (Hiroshi SHIBATA)
07:12 AM Bug #12762 (Closed): missing links in LEGAL
Applied in changeset trunk|r62513.
----------
Update url with 404 status on LEGAL file.
* Update redirected and u...
hsbt (Hiroshi SHIBATA)
07:12 AM Revision 322d0d93 (git): Update url with 404 status on LEGAL file.
* Update redirected and upstream url.
* Added the Wayback Machine url for missing link.
[Bug #12762][ruby-dev:49...
hsbt (Hiroshi SHIBATA)
06:39 AM Feature #13821: Allow fibers to be resumed across threads
Sorry for long absent.
The point is the gap between native-thread and Ruby's thread/fibers.
Ruby can use C-exte...
ko1 (Koichi Sasada)
06:35 AM Bug #13882: Exception in `ensure` stops threads from exiting
Sorry for long absent.
The point is "when should we check `to_kill` flag"?
It is not clear.
This is a issue th...
ko1 (Koichi Sasada)
06:31 AM Revision d5eef538 (git): Update maintainers of unmaintained libraries.
[Misc #14211]
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62512 b2...
hsbt (Hiroshi SHIBATA)
06:22 AM Bug #14464 (Assigned): MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
hsbt (Hiroshi SHIBATA)
06:16 AM Bug #14232: Unused refinement still breaks method search
ruby_2_5 r62511 merged revision(s) 61484. naruse (Yui NARUSE)
06:16 AM Revision a7cef95f (git): merge revision(s) 61484: [Backport #14232]
vm_method.c: fix super in refined module
* vm_method.c (rb_method_entry_complement_defined_class): clone
...
naruse (Yui NARUSE)
06:11 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
I realize my misunderstanding on aaron's proposal and now I'm very positive on it.
Thank you aaron!
(my misunders...
ko1 (Koichi Sasada)
06:08 AM Bug #14343: Segfault during generating documentation
ruby_2_5 r62509 merged revision(s) 61523. naruse (Yui NARUSE)
06:07 AM Bug #14226 (Closed): Revert line number of "return", "b-return" and "end" events
ko1 (Koichi Sasada)
06:02 AM Feature #14492: iseq loading + caching should be in core
I agree on it.
rubygems and did-you-mean are the first targets of this goal.
https://github.com/rubygsoc/rubygs...
ko1 (Koichi Sasada)
06:00 AM Bug #14427: Backport r61469
ruby_2_5 r62510 merged revision(s) 61469. naruse (Yui NARUSE)
06:00 AM Revision 1c52a98f (git): merge revision(s) 61469: [Backport #14427]
irb.rb: fix highlight
* lib/irb.rb (IRB::Irb#eval_input): fix highlight for multiple
lines excepti...
naruse (Yui NARUSE)
05:42 AM Bug #14261: invalid syntax segfaults: "x, true"
ruby_2_5 r62509 merged revision(s) 61523. naruse (Yui NARUSE)
05:42 AM Revision 2292ea6a (git): merge revision(s) 61523: [Backport #14261]
parse.y: assignable_error
* parse.y (assignable_gen): should return valid NODE always even
on erro...
naruse (Yui NARUSE)
05:37 AM Revision 3a56b957 (git): test_time_tz.rb: past Japanese DST tzdata fix
* test/ruby/test_time_tz.rb (TestTimeTZ#test_asia_tokyo): fix
the expected data at the end of DST. [Bug #14438]
g...
nobu (Nobuyoshi Nakada)
05:14 AM Feature #4910 (Rejected): Classes as factories
It can lead to unreadable code.
Matz.
matz (Yukihiro Matsumoto)
05:13 AM Feature #14498 (Rejected): Class#to_proc
Nice try. But I think it's too concise that could lead to unreadable code.
Matz.
matz (Yukihiro Matsumoto)
05:07 AM Bug #14500 (Closed): Missing Regexp documentation and clarification on behavior of \K for edge case
**Capturing** section (https://ruby-doc.org/core-2.5.0/Regexp.html#class-Regexp-label-Capturing)
* formatting issu...
Sundeep (Sundeep Agarwal)
04:36 AM Bug #14421: super_method segfaults when called on a re-bound Method
ruby_2_5 r62507 merged revision(s) 62115. naruse (Yui NARUSE)
04:36 AM Revision aa58701d (git): merge revision(s) 62115: [Backport #14421]
proc: fix super_method segfault after bind
* proc.c: handle undefined iclass
[ruby-core:85231] [Bu...
naruse (Yui NARUSE)
02:21 AM Bug #14438 (Closed): TestTimeTZ: failures with recent version of tzdata
Applied in changeset trunk|r62506.
----------
test_time_tz.rb: past Japanese DST tzdata fix
* test/ruby/test_time_t...
nobu (Nobuyoshi Nakada)
02:21 AM Revision d6ac1213 (git): test_time_tz.rb: past Japanese DST tzdata fix
* test/ruby/test_time_tz.rb (TestTimeTZ#test_asia_tokyo): follow
the tzdata 2018 fix of Japanese DST transitions (1...
nobu (Nobuyoshi Nakada)
02:07 AM Bug #14499 (Third Party's Issue): [win32-service] "ruby.exe" crashes har
It crashes inside the extension library of ffi gem.
You should ask the authors of those (win32-service and ffi) gems.
nobu (Nobuyoshi Nakada)
12:55 AM Revision ef04d43f (git): vm_insnhelper.c: no insns_info in jit
* vm_insnhelper.c: instructions info are not used in jit source
code. resolved a warning by transform_mjit_header....
nobu (Nobuyoshi Nakada)
12:36 AM Revision 4eaf6985 (git): Makefile.in (mjit_config.h): fix duplicated output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:26 AM Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
I think it is possible to glow the IO read buffer (rbuf) if it is properly locked.
Since the IO buffer is modified...
akr (Akira Tanaka)
12:17 AM Revision 83b428d9 (git): * 2018-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:17 AM Revision 9e42f781 (git): Makefile.in: empty comment
* Makefile.in (mjit_config.h): add an empty comment if no content,
to tell the empty content explicitly.
git-svn-i...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom