Project

General

Profile

Activity

From 11/25/2017 to 12/01/2017

12/01/2017

11:47 PM Feature #11547: remove top-level constant lookup
Hm, this is surprising:
~~~ ruby
module Kernel
X = 1
end
puts String::X
X = 2
puts String::X
~~~
...
RickHull (Rick Hull)
11:45 PM Misc #14147 (Closed): Array#sample documentation is unclear about order
Does `Array#sample` only guarantee a random subset, or also random order? It's not clear. I think the current referen... StefanPochmann (Stefan Pochmann)
10:34 PM Feature #12753: Useful operator to check bit-flag is true or false
phluid61 (Matthew Kerwin) wrote:
> exist/exists is tense, bit/bits is plurality, so it is unrelated.
Oh, thank yo...
aycabta (aycabta .)
08:56 PM Feature #12753: Useful operator to check bit-flag is true or false
aycabta (ayca bta) wrote:
> Hi @naruse, matz said below.
>
> matz (Yukihiro Matsumoto) wrote:
> > I vote for `al...
phluid61 (Matthew Kerwin)
05:34 PM Feature #12753: Useful operator to check bit-flag is true or false
Hi @naruse, matz said below.
matz (Yukihiro Matsumoto) wrote:
> I vote for `allbit?`, `anybit?` and `nobit?`. I a...
aycabta (aycabta .)
04:26 PM Feature #12753 (Assigned): Useful operator to check bit-flag is true or false
A patch is as follows:
```diff
diff --git a/numeric.c b/numeric.c
index 1858113c09..511155a3ac 100644
--- a/num...
naruse (Yui NARUSE)
12:31 AM Feature #12753: Useful operator to check bit-flag is true or false
phluid61 (Matthew Kerwin) wrote:
> It introduces a strange paradox, though:
>
> ~~~ruby
> a.allbits? 0 #→ true
...
aycabta (aycabta .)
09:40 PM Bug #9664: cannot resume transferred Fiber even if it should resume
This bug or limitation still exists on Ruby 2.4.2. Any plans to address it?
This thread on stackoverflow.com ident...
cremes (Chuck Remes)
09:34 PM Bug #14144: __FILE__ displays wrong value for executables when run from project root w/Ruby 2.4.1
Thanks for that recognition. I've also put it on Stack Overflow at https://stackoverflow.com/questions/47584283/file-... keithrbennett (Keith Bennett)
04:34 PM Bug #14144: __FILE__ displays wrong value for executables when run from project root w/Ruby 2.4.1
Thanks for your explanation how you resolved it - other ruby hackers may benefit from it. shevegen (Robert A. Heiler)
07:01 PM Bug #13675: Should Zlib::GzipReader#ungetc accept nil?
matz (Yukihiro Matsumoto) wrote:
> Making `Zlib::GzipReader#ungetc` accept nil does not help anybody. You should kee...
Eregon (Benoit Daloze)
06:45 PM Feature #13124: Should #puts convert to external encoding?
naruse (Yui NARUSE) wrote:
> But it breaks command line utilities which handles encoding other than locale.
What ...
Eregon (Benoit Daloze)
04:58 PM Feature #13124: Should #puts convert to external encoding?
> What do you think of having STDOUT, STDERR and STDIN internal_encoding be set by default?
> It seems reasonable fo...
naruse (Yui NARUSE)
05:51 PM Revision d209b4c0 (git): Update to ruby/spec@e2d0d1e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
05:23 PM Feature #14143: Thread.report_on_exception should be true by default
I think clarification on what the semantics should be would be helpful.
Should **ANY** exception raised in a Threa...
enebo (Thomas Enebo)
04:55 PM Feature #13893: Add Fiber#[] and Fiber#[]= and restore Thread#[] and Thread#[]= to their original behavior
> One detail, where would we define this Local class?
> ::Local sounds too risky. Thread::Local or Fiber::Local soun...
cremes (Chuck Remes)
04:30 PM Bug #13104: mathn.rb affects Rational literals
mathn is out of scope from release engineering. naruse (Yui NARUSE)
04:02 PM Feature #10982: Clarify location of NoMethod error
parkr (Parker M) wrote:
> This new syntax is a pretty sizable divergence from traditional Ruby error reporting.
Ye...
olivierlacan (Olivier Lacan)
03:42 PM Bug #14070: Refining a module dumps core
Can we commit a fix for this?
I now put the spec using `refine module` in quarantine until this is resolved:
https:...
Eregon (Benoit Daloze)
03:41 PM Revision 60775cc4 (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision 4d7b0b91 (git): Update to ruby/spec@bacedc5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
03:41 PM Revision 821d9a2d (git): Update to ruby/mspec@b501ade
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
03:12 PM Bug #9912 (Closed): URI#to_s with an empty host formats the string incorrectly
Fixed it at r60970. naruse (Yui NARUSE)
03:11 PM Bug #3594 (Closed): URI class doesn't do file URL's properly.
I found the description in URL spec.
Therefore I fixed it at r60970.
naruse (Yui NARUSE)
03:09 PM Revision 0f42035e (git): * 2017-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision ed48bfa5 (git): Append "//" if empty host for file or postgres URI
https://url.spec.whatwg.org/#url-serializing
> Otherwise, if url’s host is null and url’s scheme is "file", append "/...
naruse (Yui NARUSE)
02:32 PM Revision 51716c33 (git): re-apply r60755
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:08 PM Revision 4a607519 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:08 PM Revision 9ba2aa76 (git): Add missing file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:05 PM Bug #9990 (Closed): URI.parse and URI.encode use different RFCs
[Bug #10402] allows [ and ].
Therefore it's not problem in practical.
naruse (Yui NARUSE)
01:50 PM Bug #13892 (Closed): Matching the end of a string followed by an empty greedy regex and a word boundary (.*\b) fails in all versions >= 1.9
Applied in changeset trunk|r60966.
----------
Update to Onigmo 6.1.3-669ac9997619954c298da971fcfacccf36909d05.
[Bug...
naruse (Yui NARUSE)
01:50 PM Revision 31796f17 (git): Update to Onigmo 6.1.3-669ac9997619954c298da971fcfacccf36909d05.
[Bug #13892]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:40 PM Revision 5bf3657b (git): parse.y: Fix locations of NODEs related to for statement
* parse.y: Fix to only include a range of for_var.
e.g. The locations of the NODE_ARGS and NODE_DVAR are fixed:
...
yui-knk (Kaneko Yuichiro)
01:23 PM Bug #5273 (Open): Float#round returns the wrong floats for higher precision
naruse (Yui NARUSE)
12:26 PM Revision 857827e3 (git): vm.c: partially revert r60558
because it was actually used in
https://github.com/tmm1/rbtrace/blob/v0.4.8/ext/rbtrace.c#L329
and deprecated in r605...
k0kubun (Takashi Kokubun)
12:00 PM Revision 98ab1510 (git): vm_trace.c: suppress -Wclobbered warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:00 PM Revision f5c5a197 (git): vm_trace.c: remove duplicate flag
* vm_trace.c (rb_suppress_tracing): remove duplicate flag
`tracing`, which equals to `ec->trace_arg != NULL`. and ...
nobu (Nobuyoshi Nakada)
11:55 AM Feature #14123: Kernel#pp by default
akr-san, thank you!
Eregon, I think `$VERBOSE` dance is also thread-unsafe. So I personally like `Warning.ignore`...
mame (Yusuke Endoh)
10:49 AM Feature #14123: Kernel#pp by default
mame (Yusuke Endoh) wrote:
> Okay, my third try: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions...
akr (Akira Tanaka)
10:26 AM Feature #14123: Kernel#pp by default
jeremyevans0 (Jeremy Evans) wrote:
> Unless the thread switch is completely blocked during the execution of required...
Eregon (Benoit Daloze)
12:42 AM Feature #14123: Kernel#pp by default
Okay, my third try: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/60948
Thank you!
mame (Yusuke Endoh)
10:48 AM Revision add309c4 (git): Replace Kernel#pp after PP class is defined.
Avoid a race condition which a context switch
occur after replacing Kernel#pp but before
defining PP class.
Followin...
akr (Akira Tanaka)
09:48 AM Revision 58d572d6 (git): parse.y: Fix a location of NODE_HASH
* parse.y: Fix to only include a range of assocs.
e.g. The locations of the NODE_HASH is fixed:
```
a(1, b: 1...
yui-knk (Kaneko Yuichiro)
08:53 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
> is slightly different than what the C code does, if the message spans multiple lines (then the (#{e.class}) is stil... sorah (Sorah Fukumori)
08:35 AM Revision b35f6f04 (git): NEWS: Net::HTTP is a stdlib
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
08:33 AM Feature #11003 (Closed): Fast modular exponentiation
The same function was accepted in #12508 mrkn (Kenta Murata)
06:32 AM Revision 0212d5dc (git): parse.y: Fix a location of hash keys
* parse.y: Use @1 to only include a range of tLABEL.
e.g. The locations of the NODE_LIT(:b) is fixed:
```
a(1...
yui-knk (Kaneko Yuichiro)
05:32 AM Revision c88c7d91 (git): bold/underscore support in traceback before Windows10
* io.c (rb_write_error2): call `rb_w32_write_console()` when the device is tty,
like `rb_write_error_str()`.
git-...
U.Nakamura
05:01 AM Feature #5481: Gemifying Ruby standard library
Hi, @headius .
> * Clarify for me please: are the new gemified stdlibs all going to use the default gem mechanism?...
hsbt (Hiroshi SHIBATA)
04:39 AM Revision 9ffa42b9 (git): Added repository url for default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:27 AM Revision a8a25b36 (git): prelude.c.tmpl: escape comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:25 AM Revision e4b67f7d (git): Added bundler entry to documentation of library and maintainers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:00 AM Feature #14146: Improve performance of creating Hash object
> So you pool st_table to avoid malloc. The speedup depends on which malloc implementation you use.
Exactly. you'...
watson1978 (Shizuo Fujita)
03:41 AM Feature #14146: Improve performance of creating Hash object
- You modified. st.h. Effectively killed binary compatibility.
- So you pool st_table to avoid malloc. The speedup ...
shyouhei (Shyouhei Urabe)
03:54 AM Revision b7a908f6 (git): prelude.c.tmpl: split prelude code
* template/prelude.c.tmpl: split prelude code into blocks so that
each elements do not exceed the string literal si...
nobu (Nobuyoshi Nakada)
03:54 AM Revision 5761093e (git): prelude.rb: suppress redefinition warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:52 AM Revision 44320c5b (git): Merge psych-3.0.0.
See NEWS file for this update details.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60951 b2dd03c8-39d4-4d8f-98...
hsbt (Hiroshi SHIBATA)
01:29 AM Revision b4070513 (git): revert r60873
* template/prelude.c.tmpl (translate): revert r60873 because when some errors or
warnings are shown their line numb...
U.Nakamura
12:41 AM Revision 59638882 (git): * 2017-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:41 AM Revision 4ae87f0a (git): lib/pp.rb (Kernel#pp): Fix a race condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)

11/30/2017

10:53 PM Bug #14144: __FILE__ displays wrong value for executables when run from project root w/Ruby 2.4.1
Nobu, thank you for your quick attention to this issue.
The problem occurred with both directory names, `exe` and ...
keithrbennett (Keith Bennett)
08:17 AM Bug #14144: __FILE__ displays wrong value for executables when run from project root w/Ruby 2.4.1
Although I can't reproduce the exact same result, the file under `bin` directory should be a wrapper script generated... nobu (Nobuyoshi Nakada)
07:50 AM Bug #14144 (Third Party's Issue): __FILE__ displays wrong value for executables when run from project root w/Ruby 2.4.1
Looks like a rubygems issue. nobu (Nobuyoshi Nakada)
03:11 AM Bug #14144 (Third Party's Issue): __FILE__ displays wrong value for executables when run from project root w/Ruby 2.4.1
This problem can be illustrated by using the attached tar file, or the Github repo at https://github.com/keithrbennet... keithrbennett (Keith Bennett)
09:41 PM Feature #14123: Kernel#pp by default
Eregon (Benoit Daloze) wrote:
> Right, multiple calls to `require "pp"` will wait for one another and only one will ...
jeremyevans0 (Jeremy Evans)
09:24 PM Feature #14123: Kernel#pp by default
$ ruby -ryaml -e 'pp YAML.load_file ".travis.yml"'
is probably a nice example for this feature :)
Eregon (Benoit Daloze)
09:18 PM Feature #14123: Kernel#pp by default
mame (Yusuke Endoh) wrote:
> I misunderstood. Ko1 said to me that the current `require` does exclusive control, so ...
Eregon (Benoit Daloze)
01:31 AM Feature #14123 (Closed): Kernel#pp by default
Applied in changeset trunk|r60944.
----------
prelude.rb: Add Kernel#pp, a trigger for lib/pp.rb
[Feature #14123]
mame (Yusuke Endoh)
01:27 AM Feature #14123: Kernel#pp by default
mame (Yusuke Endoh) wrote:
> "Redefinition warnings" issue remains
I misunderstood. Ko1 said to me that the curr...
mame (Yusuke Endoh)
01:05 AM Feature #14123: Kernel#pp by default
We discussed this issue at today's Ruby committer's meeting, and matz accepted the feature itself.
jeremyevans0 (J...
mame (Yusuke Endoh)
09:11 PM Feature #13893: Add Fiber#[] and Fiber#[]= and restore Thread#[] and Thread#[]= to their original behavior
cremes (Chuck Remes) wrote:
> I have an alternative suggestion. Since @shyouhei says that my original suggestion is ...
Eregon (Benoit Daloze)
05:58 PM Feature #13893: Add Fiber#[] and Fiber#[]= and restore Thread#[] and Thread#[]= to their original behavior
I have an alternative suggestion. Since @shyouhei says that my original suggestion is too difficult a transition path... cremes (Chuck Remes)
05:47 PM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
+1 on an easy way to get a formatted exception.
BTW, "#{e.message} (#{e.class})\n\t#{e.backtrace.join("\n\t")}"
i...
Eregon (Benoit Daloze)
10:37 AM Feature #14141 (Assigned): Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
sorah (Sorah Fukumori)
10:13 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
Hmm. Changed my mind. Implemented `Exception#formatted` with this patch.
I'm not sure this name is proper, sugge...
sorah (Sorah Fukumori)
07:38 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
`Kernel#display` outputs to `STDOUT` by the default.
https://github.com/nobu/ruby/tree/feature/Exception%23display
nobu (Nobuyoshi Nakada)
03:41 PM Feature #14145: Proposal: Better Method#inspect
@shevegen
> However had, in that particular case that you showed above, I would personally not want it.
Just curi...
zverok (Victor Shepelev)
02:39 PM Feature #14145: Proposal: Better Method#inspect

@zverok some changes for your code:
use Method#owner to get the class/module where the method is defined
that ...
Hanmac (Hans Mackowiak)
12:23 PM Feature #14145: Proposal: Better Method#inspect
I have nothing at all against better diagnostics, introspection etc...
However had, in that particular case that y...
shevegen (Robert A. Heiler)
10:42 AM Feature #14145 (Closed): Proposal: Better Method#inspect
The idea: When investigating (in example scripts, debugger or console) the library you are unfamiliar with, Ruby's re... zverok (Victor Shepelev)
02:52 PM Feature #14146 (Closed): Improve performance of creating Hash object
When generate Hash object, the heap area of st_table will be always allocated in internally
and seems it take a time...
watson1978 (Shizuo Fujita)
02:38 PM Bug #13181: Unexpected line in rescue backtrace
ruby_2_3 r60947 merged revision(s) 58499,58500. usa (Usaku NAKAMURA)
02:38 PM Revision d69b1e3b (git): merge revision(s) 58499,58500: [Backport #13181]
parse.y: fix line in rescue
* parse.y (set_line_body, primary): fix line number of bodystmt as
the...
U.Nakamura
02:29 PM Bug #14003: Backport r60149 (Merge rubygems-2.6.14 changes.)
ruby_2_3 r60946 merged revision(s) 60149. usa (Usaku NAKAMURA)
02:29 PM Revision 9ad02399 (git): merge revision(s) 60149: [Backport #14003]
Merge rubygems-2.6.14 changes.
It fixed http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-...
U.Nakamura
10:28 AM Feature #6823: Where/how should ruby-mode issues be reported?
I can create a repository on GitHub. ex. "https://github.com/ruby/elisp"
We will discuss this issue at next develo...
hsbt (Hiroshi SHIBATA)
10:25 AM Feature #14143: Thread.report_on_exception should be true by default
@shevegen (Robert A. Heiler) wrote:
> So to me, that first initial step, to find out how to deal with
> threads in ...
Eregon (Benoit Daloze)
08:28 AM Feature #14143: Thread.report_on_exception should be true by default
I have too little experience with threads to meaningfully comment on this.
But I have used Thread-methods before, ...
shevegen (Robert A. Heiler)
07:32 AM Bug #13997 (Assigned): Bundler gem binstub broken
hsbt (Hiroshi SHIBATA)
07:32 AM Bug #13997: Bundler gem binstub broken
I've confused because your first report says.
```
>/home/hone/.rvm/gems/ruby-2.4.1@global/bin/bundle:22...
```
...
hsbt (Hiroshi SHIBATA)
06:40 AM Bug #13997: Bundler gem binstub broken
hsbt (Hiroshi SHIBATA) wrote:
> @hone
>
> Can you reproduce without rvm environment?
>
> I think it's problem ...
hone (Terence Lee)
02:12 AM Revision faae29f8 (git): prelude.rb (Kernel#pp): Fix a delegation bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:31 AM Revision 23c1fccf (git): prelude.rb: Add Kernel#pp, a trigger for lib/pp.rb
[Feature #14123]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:53 AM Bug #12834: `prepend` getting prepended even if it already exists in the ancestors chain
marcandre (Marc-Andre Lafortune) wrote:
> Could you clarify?
>
> For inclusion/prepending, there are two question...
shyouhei (Shyouhei Urabe)
12:49 AM Bug #3270 (Closed): BigMath.exp が絶対値が大きな引数で遅い
This was migrated to https://github.com/ruby/bigdecimal/issues/82
mrkn (Kenta Murata)
12:46 AM Feature #3269 (Closed): BigMath.tan がない
It was migrated to https://github.com/ruby/bigdecimal/issues/81.
mrkn (Kenta Murata)

11/29/2017

09:49 PM Feature #14143: Thread.report_on_exception should be true by default
Real-world libraries like Sidekiq implement their own thread exception handler:
https://github.com/mperham/sidekiq/b...
Eregon (Benoit Daloze)
08:43 PM Feature #14143: Thread.report_on_exception should be true by default
I am really liking the flow of
```ruby
Thread.on_exception do
some stuff
end
```
headius (Charles Nutter)
08:33 PM Feature #14143: Thread.report_on_exception should be true by default
Perhaps "on by default" would be more palatable to people if we could also specify *how* to handle these unhandled ex... headius (Charles Nutter)
08:26 PM Feature #14143: Thread.report_on_exception should be true by default
I think everyone knows where I stand. headius (Charles Nutter)
07:07 PM Feature #14143: Thread.report_on_exception should be true by default
I think it is time to do this, and most rubyists using threads with Ruby seem to agree with this
(see #6647 and I ca...
Eregon (Benoit Daloze)
05:51 PM Feature #14143 (Closed): Thread.report_on_exception should be true by default
Extracted from #6647 to focus on the default value now that the feature is implemented.
I strongly believe we shou...
Eregon (Benoit Daloze)
09:33 PM Feature #14136: Implement #empty? on more classes
mikegee (Michael Gee) wrote:
>
> I am proposing that all classes that implement `#size` or `#length` should also i...
phluid61 (Matthew Kerwin)
02:42 PM Feature #14136: Implement #empty? on more classes
There seems to be some confusion about what I'm asking for here. I know how to use these classes to make my code work... mikegee (Michael Gee)
09:32 AM Feature #14136: Implement #empty? on more classes
nobu (Nobuyoshi Nakada) wrote:
> I'd suggest `File.empty?` instead.
`File.empty?` might not always work because y...
Hanmac (Hans Mackowiak)
06:52 AM Feature #14136: Implement #empty? on more classes
mikegee (Michael Gee) wrote:
> The discussion began because a user reported Rubocop complaining about this code:
> ...
nobu (Nobuyoshi Nakada)
12:34 AM Feature #14136: Implement #empty? on more classes
Sorry, that Rubocop issue does have a bunch of unrelated discussion. I should have summarized the parts I was referri... mikegee (Michael Gee)
07:46 PM Revision 87bcbf9e (git): Cherrypick 9f8d3d0 from ruby/spec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:08 PM Feature #6647: Exceptions raised in threads should be logged
This issue is closed since the feature was implemented.
I'll continue the discussion of the default value in #14143.
Eregon (Benoit Daloze)
05:49 PM Feature #14133 (Closed): Module#{define|alias|undef}_method should be made public
Great, thank you!
Done.
marcandre (Marc-Andre Lafortune)
06:55 AM Feature #14133: Module#{define|alias|undef}_method should be made public
OK, I understand. They will be public in 2.5
Matz.
matz (Yukihiro Matsumoto)
05:48 PM Feature #14132 (Closed): Module#attr{|_reader|_writer} should be public
Great, thank you :-)
Done.
marcandre (Marc-Andre Lafortune)
06:54 AM Feature #14132: Module#attr{|_reader|_writer} should be public
OK, I understand. They will be public in 2.5
Matz.
matz (Yukihiro Matsumoto)
05:47 PM Revision 0c03a89e (git): Make Module#{define|alias|undef|remove}_method public [#14133]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:47 PM Revision 6186e520 (git): * 2017-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:47 PM Revision 7298ae9e (git): Make Module#attr{accessor|reader|writer|} public [#14132]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:40 PM Bug #12834: `prepend` getting prepended even if it already exists in the ancestors chain
shyouhei (Shyouhei Urabe) wrote:
> Thus, matz started thinking that if a module is prepended multiple times, that sh...
marcandre (Marc-Andre Lafortune)
04:30 PM Feature #1586: Including a module already present in ancestors should not be ignored
Thank you for the consideration.
May I add two observations?
1) `prepend` had similar behavior (ignoring alread...
marcandre (Marc-Andre Lafortune)
07:14 AM Feature #1586 (Rejected): Including a module already present in ancestors should not be ignored
The incompatibility that will be caused by the change is intolerable. Any attempt to address the change will make the... matz (Yukihiro Matsumoto)
02:48 PM Revision 6875e324 (git): configure.ac: fixed a typo [Feature #4052]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:01 PM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
At least that satisfies my need. I think advanced error logging can be achieved by existing Exception#{class,message,... sorah (Sorah Fukumori)
12:35 PM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
Do you really want `display` that prints to `IO` or some other method that generates a formatted string?
Matz.
matz (Yukihiro Matsumoto)
09:34 AM Feature #14141 (Closed): Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
Most people want to log caught exceptions to stderr (or somewhere else) then continues their program as usual.
```...
sorah (Sorah Fukumori)
12:26 PM Feature #14142 (Closed): Add Method#===
## 概要
Ruby の `Method` クラスに対する提案になります。
初めてこちらを利用するので内容や書き方などに対する問題があれば教えていただけると助かります。
## 提案
`Method#call...
osyo (manga osyo)
12:04 PM Bug #13818 (Closed): Licence issue with use of Onigmo rather than Oniguruma library files
Applied in changeset trunk|r60938.
----------
Update information about Oniguruma/Onigmo [Bug #13818]
naruse (Yui NARUSE)
12:04 PM Revision 8f4f9657 (git): Update information about Oniguruma/Onigmo [Bug #13818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:27 AM Revision 96d57673 (git): test_workspace.rb: prefer using skip
rather than ignoring test definition to know untestability when
executing test with `-v`.
Also this simplifies check...
k0kubun (Takashi Kokubun)
11:16 AM Feature #14140 (Closed): Show exception message in bold and underline when logging to TTY
Applied in changeset trunk|r60936.
----------
Typo... the feature committed at r60935
[Feature #14140] [ruby-core:8...
sorah (Sorah Fukumori)
10:55 AM Feature #14140: Show exception message in bold and underline when logging to TTY
Note: I proposed this at today's meeting https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171129Japan... sorah (Sorah Fukumori)
08:58 AM Feature #14140 (Closed): Show exception message in bold and underline when logging to TTY
We're already branching error logging format for TTY and non-TTY.
This patch adds bold and underline ANSI color sequ...
sorah (Sorah Fukumori)
11:16 AM Revision 87bebfb9 (git): Typo... the feature committed at r60935
[Feature #14140] [ruby-core:83963]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60936 b2dd03c8-39d4-4d8f-98ff-8...
sorah (Sorah Fukumori)
11:14 AM Revision b5e0ca47 (git): Log exception with bold and underline for TTYs
Print error message in bold/underlined text if STDERR is unchanged and a tty.
[Feature #14160] [experimental]
Screen...
sorah (Sorah Fukumori)
10:38 AM Revision b8d15b7e (git): spec/ruby/optional/capi/constants_spec.rb: Data is deprecated now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:59 AM Feature #4052 (Closed): File.lutime Patch
Applied in changeset trunk|r60933.
----------
file.c: File.lutime
* file.c (utime_internal): add File.lutime. [Fea...
nobu (Nobuyoshi Nakada)
08:48 AM Feature #4052: File.lutime Patch
Accepted.
Matz.
matz (Yukihiro Matsumoto)
09:59 AM Revision defcaf89 (git): file.c: File.lutime
* file.c (utime_internal): add File.lutime. [Feature #4052]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60933...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #11256 (Closed): anonymous block forwarding
As @mame stated, we don't need it after we had lazy `Proc` allocation.
Matz.
matz (Yukihiro Matsumoto)
09:37 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
OK, I made a decision. I took option 1 above as proposed.
We can do as following:
~~~
[1, 3.14, 2ri].all?(Numeri...
matz (Yukihiro Matsumoto)
09:35 AM Bug #14016 (Rejected): URI IPv6 address can't be used to open socket
Use URI::HTTP.hostname which unwraps the bracket.
```
u = URI("http://[::1]/bar")
p u.hostname #=> "::1...
akr (Akira Tanaka)
09:24 AM Bug #13675: Should Zlib::GzipReader#ungetc accept nil?
Making `Zlib::GzipReader#ungetc` accept nil does not help anybody. You should keep as it is.
I am not sure if we sho...
matz (Yukihiro Matsumoto)
08:59 AM Feature #4189: FileUtils#ln_r
After discussion at the developer meeting, cp_lr may be an consensus. akr (Akira Tanaka)
08:56 AM Feature #4189: FileUtils#ln_r
Accepted, but I am against the name `ln_r` because it behaves differently from `ln -r` (relative).
Matz.
matz (Yukihiro Matsumoto)
08:48 AM Bug #13997 (Third Party's Issue): Bundler gem binstub broken
@hone
Can you reproduce without rvm environment?
I think it's problem for ruby_executable_hooks with rvm. like ...
hsbt (Hiroshi SHIBATA)
08:41 AM Feature #3916 (Closed): Add flag to ruby to make warnings fatal.
Now we can implement the feature by redefining `Warning.warn`.
Matz.
matz (Yukihiro Matsumoto)
08:40 AM Feature #3653 (Rejected): Diferential behaviour of positives and negatives ranges as subindex of string or arrays.
I don't think the change does not worth the potential incompatibility.
Matz.
matz (Yukihiro Matsumoto)
08:39 AM Bug #14068 (Closed): Unused refinement breaks method search
Applied in changeset trunk|r60931.
----------
Unused module refinement shouldn't break method search.
Use rb_callab...
shugo (Shugo Maeda)
08:39 AM Revision 6839932a (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:39 AM Revision 7735502d (git): Unused module refinement shouldn't break method search.
Use rb_callable_method_entry_t::defined_class instead of
rb_callable_method_entry_t::owner, because the superclass of...
shugo (Shugo Maeda)
08:33 AM Feature #3591 (Rejected): Adding Numeric#divisor? (Have working implementation)
Use-case? Is it more useful than `n % m == 0`?
Matz.
matz (Yukihiro Matsumoto)
08:29 AM Feature #3450 (Closed): Format Strings with Named Arguments & Hash#default
Already fixed.
Matz.
matz (Yukihiro Matsumoto)
08:23 AM Feature #3072 (Closed): Classes Inheriting from Data
Applied in changeset trunk|r60930.
----------
object.c: deprecate Data
* object.c (InitVM_Object): Data is deprecat...
nobu (Nobuyoshi Nakada)
08:07 AM Feature #3072: Classes Inheriting from Data
Agreed. How about making `Data` alias to `Object`.
It may be removed in the future (3.0?).
Matz.
matz (Yukihiro Matsumoto)
08:23 AM Revision 684bdf61 (git): object.c: deprecate Data
* object.c (InitVM_Object): Data is deprecated now.
[Feature #3072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
08:18 AM Feature #14138: Define English.rb aliases by default and eliminate the library
I agree too so +1 from me.
Similar to pp by default, I shied away from suggesting the above
because I assumed tha...
shevegen (Robert A. Heiler)
04:36 AM Feature #14138: Define English.rb aliases by default and eliminate the library
Charles,
+1
You mentioned several good points. I've got them doc'd in the ['Top Level Namespace'](https://msp-...
MSP-Greg (Greg L)
08:06 AM Feature #13713 (Rejected): socketの便利メソッドのdatagramのUNIXSocket用対応
akr (Akira Tanaka)
08:04 AM Feature #2323: "Z".."Z".succが空
```
現状
両端ともすべてASCII数字である場合には、数的な順序
両端ともASCII1文字である場合には、ASCII文字コード的な順序
になってます。で、このいずれにもあてはまらないケースの仕様は
正直確定してません...
mame (Yusuke Endoh)
07:41 AM Feature #2323: "Z".."Z".succが空
もうちょっと放置。
Matz.
matz (Yukihiro Matsumoto)
07:57 AM Feature #836 (Closed): Patches for StringScanner, adding #size, #captures and #values_at
Applied in changeset trunk|r60929.
----------
strscan.c: add MatchData-like methods
* ext/strscan/strscan.c: added ...
nobu (Nobuyoshi Nakada)
07:57 AM Revision 256c8886 (git): strscan.c: add MatchData-like methods
* ext/strscan/strscan.c: added `size`, `captures` and `values_at`
to StringScanner, shorthands of accessing the mat...
nobu (Nobuyoshi Nakada)
07:46 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
My enthusiastic -1. mame (Yusuke Endoh)
07:43 AM Feature #2740 (Closed): Extend const_missing to pass in the nesting
The proposal has been changed from the original. I close this for now. Please re-submit the new proposal (if you want... matz (Yukihiro Matsumoto)
07:37 AM Feature #2348 (Rejected): RBTree Should be Added to the Standard Library
Unlike the past, it's not smart to add the standard library. Use gem.
Matz.
matz (Yukihiro Matsumoto)
07:33 AM Feature #3809 (Closed): allow multiple set_trace_func() calls
ko1 (Koichi Sasada)
07:33 AM Feature #3809: allow multiple set_trace_func() calls
Please use TracePoint API. ko1 (Koichi Sasada)
07:26 AM Feature #2080 (Rejected): Proc#to_source, Method#to_source
Use `source_location`.
Matz.
matz (Yukihiro Matsumoto)
07:17 AM Bug #14137: Windows / MinGW - Regexp - Character Properties - General Category
There is a C preprocessor flag USE_UNICODE_PROPERTIES that is used e.g. in enc/unicode/10.0.0/name2ctype.h. I have ne... duerst (Martin Dürst)
07:14 AM Bug #8066 (Rejected): Inconsistency in ancestors chain
The incompatibility that will be caused by the change is intolerable. Any attempt to address the change will make the... matz (Yukihiro Matsumoto)
06:27 AM Feature #8563: Instance variable arguments
Oops.
```
class Binding
def set_attributes(attrs = self.eval('method(__method__).parameters.map{|t, v| v}'))
...
ko1 (Koichi Sasada)
06:26 AM Feature #8563 (Rejected): Instance variable arguments
My opinion has not been changed from https://bugs.ruby-lang.org/issues/8563#note-3
I am strongly against code like
...
matz (Yukihiro Matsumoto)
06:25 AM Feature #8563: Instance variable arguments
Not so serious idea.
```
class Binding
def set_attributes(attrs = self.local_variables)
attrs.each{|attr|...
ko1 (Koichi Sasada)
06:26 AM Feature #12578 (Rejected): Instance Variables Assigned In parameters ( ala Crystal? )
My opinion has not been changed from https://bugs.ruby-lang.org/issues/8563#note-3
I am strongly against code like
...
matz (Yukihiro Matsumoto)
06:26 AM Feature #12820 (Rejected): Shorter syntax for assigning a method argument to an instance variable
My opinion has not been changed from https://bugs.ruby-lang.org/issues/8563#note-3
I am strongly against code like
...
matz (Yukihiro Matsumoto)
05:31 AM Bug #13099 (Closed): Binding#irb does not work outside of irb
I had changed the mind, sorry. nobu (Nobuyoshi Nakada)
05:19 AM Feature #14123: Kernel#pp by default
Sounds good. Need to discuss implementation detail.
Matz.
matz (Yukihiro Matsumoto)
03:08 AM Feature #12222 (Closed): Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
mrkn (Kenta Murata)
03:00 AM Bug #12689: Thread isolation of $~ and $_
Eregon (Benoit Daloze) wrote:
> FWIW, TruffleRuby always stores the MatchData $? in a thread-local storage per frame...
ko1 (Koichi Sasada)
02:22 AM Bug #13746 (Third Party's Issue): windows-pr gemのRuby 2.4 32bit版でのSEGV
usa (Usaku NAKAMURA)
01:17 AM Bug #13746: windows-pr gemのRuby 2.4 32bit版でのSEGV
https://github.com/cosmo0920/win32-api/pull/31 にて解決しました。
gccのオプション `-fno-omit-frame-pointer` がRubyInstaller2では指定されてい...
cosmo0920 (Hiroshi Hatake)
01:52 AM Bug #14096: Psych allows invalid single quote escape character
Link to https://github.com/yaml/libyaml/issues/68 headius (Charles Nutter)
12:29 AM Bug #14135 (Closed): OneDrive folder on windows doesnt behave
huntertim (Tim Hunter) wrote:
> I compiled a version on windows and this is fixed in
> ruby 2.5.0dev (2017-11-28 t...
mame (Yusuke Endoh)

11/28/2017

10:53 PM Bug #3594 (Rejected): URI class doesn't do file URL's properly.
Sorry, I misread the spec. The URI is valid because it can be interpreted as `file-scheme ":" local-path`. So, ther... mame (Yusuke Endoh)
01:09 PM Bug #3594: URI class doesn't do file URL's properly.
[RFC 8089 (The "file" URI Scheme)](https://tools.ietf.org/html/rfc8089) has been published in 2017. It says:
```
...
mame (Yusuke Endoh)
10:30 PM Revision 0d82c354 (git): * 2017-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:30 PM Revision e8280207 (git): Merge rubygems-2.7.3.
http://blog.rubygems.org/2017/11/28/2.7.3-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60927 b2dd...
hsbt (Hiroshi SHIBATA)
08:32 PM Bug #12689: Thread isolation of $~ and $_
FWIW, TruffleRuby always stores the MatchData $? in a thread-local storage per frame.
It seems to work fine so far a...
Eregon (Benoit Daloze)
07:49 PM Bug #14139 (Rejected): [BUG] Segmentation fault
When running:
~~~
$ ruby test.rb
~~~
I get the following error + backtrace:
~~~
test.rb: [BUG] Segmentati...
Anonymous
07:10 PM Feature #14138 (Closed): Define English.rb aliases by default and eliminate the library
There are many good reasons to simply define all the English.rb global aliases at boot:
* JRuby has done it for ye...
headius (Charles Nutter)
05:39 PM Bug #14135: OneDrive folder on windows doesnt behave
I compiled a version on windows and this is fixed in
ruby 2.5.0dev (2017-11-28 trunk 60926) [i386-mswin32_140]
huntertim (Tim Hunter)
02:47 PM Bug #14135 (Closed): OneDrive folder on windows doesnt behave
basic ruby file commands cause Segmentation fault on OneDrive folder in windows
Create a file or folder in your On...
huntertim (Tim Hunter)
05:09 PM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
was able to narrow down this issue to the following code:
~~~
max = 20
rec = lambda{|n|
if n > 0
...
leitao (Breno Leitao)
04:57 PM Bug #14131: test_backtrace.rb: Fails on ppc64le
I was able to narrow down this issue to the following code:
~~~
max = 20
rec = lambda{|n|

if n > 0
...
leitao (Breno Leitao)
07:54 AM Bug #14131 (Closed): test_backtrace.rb: Fails on ppc64le
Hi Breno, this is duplicate of #13757. Could you please check the discussion there? I didn't have enough free cycles ... vo.x (Vit Ondruch)
04:23 PM Feature #14136: Implement #empty? on more classes
The issue discussion there is very long.
For the purpose of this thread here, can you list which specific classes
...
shevegen (Robert A. Heiler)
03:12 PM Feature #14136 (Open): Implement #empty? on more classes
Hi Ruby Friends!
Rubocop prefers `#empty?` over `length == 0` and `size == 0`, which is great for `String`, `Array...
mikegee (Michael Gee)
03:38 PM Bug #14137 (Closed): Windows / MinGW - Regexp - Character Properties - General Category
While testing RDoc on Appveyor, and the recently 'added' literals.kpeg file, I had several errors across Ruby version... MSP-Greg (Greg L)
02:36 PM Feature #4233 (Closed): autoload Can't Require Gems
Seems this issue was fixed. Closing. mame (Yusuke Endoh)
02:30 PM Feature #4183: [ext/openssl] Timestamp support
rhe-san, what do you think about this feature proposal? mame (Yusuke Endoh)
01:57 PM Feature #5481: Gemifying Ruby standard library
Hanmac (Hans Mackowiak) wrote:
> i think it has something to do with that you can remove bundled gems, but not def...
MSP-Greg (Greg L)
08:24 AM Feature #5481: Gemifying Ruby standard library
MSP-Greg (Greg L) wrote:
> I believe a current list of trunk default & bundled gems can be found at the bottom of [a...
Hanmac (Hans Mackowiak)
05:35 AM Feature #5481: Gemifying Ruby standard library
Greg, thanks! A few more questions.
> Default gems have their code included in the ruby repo
I'm sure the defau...
headius (Charles Nutter)
01:51 PM Feature #4007 (Rejected): numeric literal syntax sugar
Some suffixes for number literals, such as `4i` and `4r`, were introduced as a custom syntax. Please reopen if you s... mame (Yusuke Endoh)
01:05 PM Bug #14134 (Third Party's Issue): [BUG] vm_call_cfunc - cfp consistency error
1. betaのrailsで起こるバグは一義的にはrailsの問題であり、まずはrailsの側にご報告いただけますか。
2. Object#as_jsonが無限ループしているバックトレースが見えますけれども、そもそもループしているデ...
shyouhei (Shyouhei Urabe)
06:19 AM Bug #14134 (Third Party's Issue): [BUG] vm_call_cfunc - cfp consistency error
Rails 5.2.0.beta1 + web_console + meta_request 上記のgemの組み合わせで起こるエラーについて報告いたします。
https://github.com/koheisg/ruby-bug...
koheisg (Kohei SUGI)
08:32 AM Bug #14068: Unused refinement breaks method search
The following patch seems to fix the problem:
```
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 3c08a74.....
shugo (Shugo Maeda)
06:37 AM Feature #12275 (Assigned): String unescape
tad (Tadashi Saito)
06:19 AM Revision 89bfee6f (git): Fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
05:54 AM Feature #14133: Module#{define|alias|undef}_method should be made public
> Note that many of these are very bad usage of define_method. I feel
> this shows that even beginner programmers wi...
shevegen (Robert A. Heiler)
03:26 AM Feature #14133 (Closed): Module#{define|alias|undef}_method should be made public
Modules and classes can be reopened and changed (unless frozen).
This is used in many meta programming techniques....
marcandre (Marc-Andre Lafortune)
05:51 AM Feature #10328: [PATCH] make OPT_SUPPORT_JOKE a proper VM option
I prefer we remove the code from the VM to make it easier-to-read
(I have a short attention span)

My most recent...
normalperson (Eric Wong)
05:25 AM Feature #10328: [PATCH] make OPT_SUPPORT_JOKE a proper VM option
A patch to remove joke instructions when `SUPPORT_JOKE` is false:
```
diff --git a/tool/instruction.rb b/tool/ins...
mame (Yusuke Endoh)
05:48 AM Feature #14132: Module#attr{|_reader|_writer} should be public
> [...] I feel that the use of send should be reserved for incorrect usage
> of actually private methods that might ...
shevegen (Robert A. Heiler)
02:40 AM Feature #14132 (Closed): Module#attr{|_reader|_writer} should be public
Modules and classes can be reopened and changed (unless frozen).
This is used in many meta programming techniques....
marcandre (Marc-Andre Lafortune)
05:45 AM Feature #13000: Implement Set#include? with Hash#include?
I would prefer the straightforward implementation, but I have some bias.
In JRuby, the `[]` method generally is *m...
headius (Charles Nutter)
05:08 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
There's less than a month until the release of 2.5.0, and this hasn't been merged yet. I've rebased the patch to app... jeremyevans0 (Jeremy Evans)
04:49 AM Feature #13763: Trigger "unused variable warning" for unused variables in parameter lists
Hanmac (Hans Mackowiak) wrote:
> i am against this, becauese such functions could be used as hookups too for other f...
marcandre (Marc-Andre Lafortune)
04:34 AM Feature #11816: Partial safe navigation operator
Matz, did you get a chance to consider the precedence of `&.`?
As a reminder, there's currently no real use for `f...
marcandre (Marc-Andre Lafortune)
04:26 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
matz (Yukihiro Matsumoto) wrote:
> I am positive about the idea too. But as a duty of the final decision maker, I ha...
marcandre (Marc-Andre Lafortune)
03:54 AM Feature #1586: Including a module already present in ancestors should not be ignored

matz (Yukihiro Matsumoto) wrote:
> So I think this change is good but we need to make it in proper timing.
mame...
marcandre (Marc-Andre Lafortune)
03:45 AM Bug #3434 (Closed): Specs for coercion?
Thanks for your reply.
I agree that we need to base on concrete examples, so I'll close this.
marcandre (Marc-Andre Lafortune)
03:28 AM Revision 17dd212f (git): file: release GVL for access(2) syscalls
Like stat(2), the access(2) syscall may take an indeterminate
amount of time on slow/remote filesystems.
This lets t...
Eric Wong
02:27 AM Revision d7a38817 (git): * 2017-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:27 AM Revision 5286a896 (git): check ruby_vm_event_flags everytime.
* vm_insnhelper.c (vm_trace): use EXEC_EVENT_HOOK() instead of
EXEC_EVENT_HOOK_VM_TRACE(). The latter macro assumes...
ko1 (Koichi Sasada)
02:24 AM Feature #12697 (Closed): Why shouldn't Module meta programming methods be public?
shyouhei (Shyouhei Urabe) wrote:
> [...]We referred issue #6539 and now we remember that each method (not the "Modul...
marcandre (Marc-Andre Lafortune)
01:26 AM Bug #13997: Bundler gem binstub broken
@hsbt do you think the difference between Terence's `rake` and `bundle` files is because one is a default gem and the... indirect (André Arko)

11/27/2017

10:49 PM Bug #12689: Thread isolation of $~ and $_
We've had another report in JRuby about this behavior. In this case, two threads doing String#split step on each othe... headius (Charles Nutter)
07:58 PM Feature #12275: String unescape
Sorry for late, I implemented `#undump` as `v1.patch` based on my "string_undump" gem.
Please see https://github.com...
tad (Tadashi Saito)
04:31 PM Bug #14131 (Closed): test_backtrace.rb: Fails on ppc64le
Current test_backtrace.rb fails on ppc64el environment with the following stack:
~~~
unstable ➜ ruby git:(trunk)...
leitao (Breno Leitao)
02:42 PM Feature #8563: Instance variable arguments
matz (Yukihiro Matsumoto) wrote:
> Arguments are giving names to passed values, which is different from attribute (i...
marcandre (Marc-Andre Lafortune)
02:01 PM Feature #13563 (Closed): Implement Hash#choice method.
marcandre (Marc-Andre Lafortune)
12:38 PM Feature #2710 (Rejected): Kernel#load loads a relative path
mame (Yusuke Endoh)
12:38 PM Feature #2709 (Rejected): $VERBOSE, $DEBUG and Kernel#sprintf
mame (Yusuke Endoh)
12:31 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
Summary:
* Name candidates are:
* `divisor?` (the original proposal)
* `divisible?`
* `divisible_by?` (OP...
mame (Yusuke Endoh)
12:24 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
marcandre (Marc-Andre Lafortune) wrote:
> I still curious as to actual use cases. Looking at Rails' code, there is o...
mame (Yusuke Endoh)
11:55 AM Feature #11256 (Assigned): anonymous block forwarding
Lazy Proc allocation for block parameters (#14045) is implemented, so capturing a block into a proc is not slow.
O...
mame (Yusuke Endoh)
11:48 AM Bug #3434 (Feedback): Specs for coercion?
All of this are just my opinion, but obviously, coercion is a "best effort" feature. I believe there is no conclusiv... mame (Yusuke Endoh)
11:04 AM Feature #3333 (Rejected): mkmf (have|find)_cxx_header
望み薄なので一旦閉じます。
今でも必要とお思いでしたら、議論を進める材料(`lang: "C++"` の方針でのパッチとか)を用意すると良いかも知れません。
mame (Yusuke Endoh)
11:02 AM Revision 6592dca9 (git): Ignored obsoleted `bundle_ruby` command from upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:48 AM Feature #3388: regexp support for start_with? and end_with?
After that, `String#start_with?` now accepts regexp (#13712). But `end_with?` does not support regexp yet because we... mame (Yusuke Endoh)
10:45 AM Revision c6fa9664 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:45 AM Revision 55518710 (git): Merge rdoc-6.0.0.beta4 from upstream.
It version applied `frozen_string_literal: true`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60920 b2dd03c8-39...
hsbt (Hiroshi SHIBATA)
07:57 AM Feature #3328 (Rejected): Kernel#p outputs as default_internal encoding, and so on
望みがなさそうなので一旦閉じます。
たるいさん、もしまだこれが必要とお思いでしたら、なんかファシリテートをお願いします。
(わりと Unicode 世界制覇の理想郷に近づいてきたんですかね。2.0 で Unicode デフォル...
mame (Yusuke Endoh)
07:51 AM Feature #3300 (Rejected): onig_number_of_captures に相当するメソッド Regexp#ncapture
望みがなさそうなので一旦閉じます。
きしもとさん、もしまだ Regexp#ncaptures が必要とお思いでしたら、フィードバック付きで reopen してください。
mame (Yusuke Endoh)
07:41 AM Feature #3289 (Rejected): Division of negative numbers
I believe this ticket is hopeless. Closing. mame (Yusuke Endoh)
07:29 AM Feature #3219 (Rejected): assert now passes non-boolean result
I don't remember this ticket, but I guess this request should be handled in [the upstream of test/unit](https://githu... mame (Yusuke Endoh)
07:13 AM Feature #3163 (Rejected): SyntaxError when using variable which is also a method in current scope with a Symbol argument
This ticket looks hopeless even if we leave it as open. Also, the current behavior is widely accepted by many people... mame (Yusuke Endoh)
06:59 AM Revision 2d9f20e1 (git): psych_parser.c: fix compile error
* ext/psych/psych_parser.c (parse): fix declarations after
statement, which cause compile error on mswin.
git-svn-...
nobu (Nobuyoshi Nakada)
05:59 AM Feature #14104: Remove `trace` instructions
vmakarov (Vladimir Makarov) wrote:
> So I considered to remove and insert trace insns when the tracing is off or on....
ko1 (Koichi Sasada)
05:38 AM Revision 69185464 (git): Ignored `bundle_ruby` example with Ruby core.
It was ignored with Bundler-1.15.x. It's regression at r60603.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@609...
hsbt (Hiroshi SHIBATA)
03:11 AM Revision b613a2c5 (git): Merge psych-3.0.0.beta4 from upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:11 AM Revision 33201294 (git): Ignore failures related to threading.
* test/lib/tracepointchecker.rb: ignore "deletion trace" check
when there are threads other than the main thread.
...
ko1 (Koichi Sasada)
12:43 AM Revision 9f1c00ce (git): Relax `rb_bug()` condition.
* iseq.c (rb_iseq_trace_set): simply return immediately if
ISeq::compile_data is available. Not sure why this state...
ko1 (Koichi Sasada)

11/26/2017

11:52 PM Revision 2734867c (git): parse.y: Fix the last location of NODE_KW_ARG
* parse.y (kwd_append): Update the last location of
NODE_KW_ARG when NODE is appended to the last.
e.g. The loca...
yui-knk (Kaneko Yuichiro)
11:33 PM Revision 11dc055b (git): * 2017-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:33 PM Revision 62b5c62f (git): parse.y: Fix the last location of NODE_OPT_ARG
* parse.y (opt_arg_append): Update the last location of
NODE_OPT_ARG when NODE is appended to the last.
e.g. The...
yui-knk (Kaneko Yuichiro)
10:33 AM Revision a9968933 (git): openssl: sync with 2475d94517b4
Merge a commit from upstream:
01445af367ec test/test_ssl: prevent changing default internal encoding
OpenSS...
rhenium (Kazuki Yamaguchi)
02:11 AM Revision 4f535768 (git): leakchecker.rb: no conversion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:36 AM Revision 999e4db6 (git): * 2017-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:36 AM Revision cea5a911 (git): util.h: remove my_getcwd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

11/25/2017

04:41 PM Feature #14128: Introduce Hash#delete default value
I am in favor of this. marcandre (Marc-Andre Lafortune)
02:12 PM Revision a55320b0 (git): openssl: import v2.1.0.beta2
Import Ruby/OpenSSL 2.1.0.beta2. The full commit log since commit
e72d960db262 which was imported by r60013 can be fo...
rhenium (Kazuki Yamaguchi)
02:12 PM Revision 55953e37 (git): openssl: revert changes in SSLContext#{min,max}_version= in r60310
And adapt a net/http test to their old behavior. [ruby-core:83491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
rhenium (Kazuki Yamaguchi)
02:00 PM Bug #14130 (Closed): Keyword arguments are ripped from the middle of hash if argument have default value
Here is the code:
```ruby
def test1(source = {}, **opts)
puts "SOURCE: #{source}, OPTS: #{opts}"
end
def t...
zverok (Victor Shepelev)
11:57 AM Revision c56ac086 (git): parse.y: opt_arg_append
* parse.y (opt_arg_append): extract optional arguments
append.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
yui-knk (Kaneko Yuichiro)
08:20 AM Feature #12275: String unescape
> Still, there is the question of what the encoding of the result of #unescape should be.
Indeed. It is one of few...
tad (Tadashi Saito)
01:39 AM Revision bf2ddcf8 (git): * 2017-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:39 AM Revision ce64157d (git): parse.y: Fix a location of assignable nodes
* parse.y (new_op_assign_gen): Update the location of
lhs when NODE_OP_ASGN_OR/NODE_OP_ASGN_AND are generated.
Wh...
yui-knk (Kaneko Yuichiro)
 

Also available in: Atom