Project

General

Profile

Activity

From 02/12/2016 to 02/18/2016

02/18/2016

10:54 PM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
If this can help you, here is the `config.log` and `build.log` from compilation. Panyamin (Benjamin Gueroult)
08:03 PM Misc #12004: Code of Conduct
Coraline Ada Ehmke wrote:
> Since people are repeatedly bringing up Opal as a reason not to adopt a code of conduct,...
matt_d (Matt D)
12:05 PM Bug #11991 (Closed): `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
Applied in changeset r53866.
----------
string.c: Symbol#match
* string.c (sym_match_m): delegate to String#match b...
nobu (Nobuyoshi Nakada)
09:31 AM Feature #12084 (Closed): `Class#instance`
For meta-programming/debugging purposes, I would like to request the inverse of `Object#singleton_class`. Namely, a m... sawa (Tsuyoshi Sawada)
08:54 AM Bug #12081: Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows
Nobuyoshi Nakada wrote:
> What is your code page?
CP936
personnel (Am I Who)
07:31 AM Bug #12081: Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows
What is your code page? nobu (Nobuyoshi Nakada)
01:40 AM Bug #12081 (Closed): Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows
```
>dir A:\Build
驱动器 A 中的卷是 RAMDISK
卷的序列号是 411D-42E2
A:\Build 的目录
2016/02/18 09:23 <DIR> .
...
personnel (Am I Who)
06:22 AM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
Never change the status!
"Open" means that it's not fixed in trunk and then not be able to be backported yet.
"Clos...
usa (Usaku NAKAMURA)
06:05 AM Bug #11928 (Open): Segmentation fault in did_you_mean extension
I'm re-opening this ticket as the fix needs to be backported to 2.3.0 as well. yuki24 (Yuki Nishijima)
05:28 AM Feature #11999 (Closed): MatchData#to_h to get a Hash from named captures
Applied in changeset r53863.
----------
* re.c: Add MatchData#named_captures
[Feature #11999] [ruby-core:72897]
*...
sorah (Sorah Fukumori)
04:35 AM Feature #12083 (Open): $_ and $~ by Binding#local_variable_{get,set}
I think `Binding#local_variable_get` and `Binding#local_variable_set` may deal with special method-local variables, `... nobu (Nobuyoshi Nakada)
04:35 AM Bug #12082 (Closed): Tail-calling method can't catch exception raised by tail-called method
The following code doesn't work as expected, on all versions of Ruby with tail call optimization (1.9.1 to 2.3.0).
...
rhenium (Kazuki Yamaguchi)

02/17/2016

11:21 PM Feature #9969: Add File.empty? as alias to File.zero?
I added a comment on issue #10121 before knowing this specific issue already existed.
I just wanted to say that, w...
lucasbuchala (Lucas Buchala)
10:48 PM Misc #12004: Code of Conduct
I'm not a fan of the published document. I do not believe it adequately defines the qualities of a hospitable communi... listrophy (Brad Grzesiak)
07:47 AM Misc #12004 (Closed): Code of Conduct
We have set our Code of Conduct.
https://www.ruby-lang.org/en/conduct/
I hope it works. We may upgrade it if so...
matz (Yukihiro Matsumoto)
09:35 PM Bug #12070: "wrong argument type nil" when installing any gem with Puppet on Arch Linux
Looks like [the code](https://github.com/ruby/ruby/blob/ruby_2_3/lib/rubygems/installer.rb#L674) fails because Puppet... l0b0 (Victor Engmark)
02:09 PM Bug #11928: Segmentation fault in did_you_mean extension
I've changed the backport flag as requested, but can't change ticket status. Hope a responsible party will be notified. amw (Adam Wróbel)
02:06 AM Bug #11928: Segmentation fault in did_you_mean extension
ruby-2.3 seems to have the bug as pointed by #12078.
I guess the issue should be set "2.3: REQUIRED" to make r53514 ...
wanabe (_ wanabe)
01:58 PM Feature #10121: Dir.empty?
Now that Ruby got a Dir.empty? method, do you think it makes sense to add a File.empty? as an alias for File.zero? ?
...
lucasbuchala (Lucas Buchala)
01:38 PM Feature #12080 (Open): Enumerable#first, Array#last with block
I propose a new feature: {Enumerable,Array,Range}#first, {Array,Range}#last with block.
If no argument is passed:
...
rhenium (Kazuki Yamaguchi)
01:14 PM Feature #11934 (Rejected): A feature to drop dynamics dynamically
I temporarily withdraw my proposal. I don't think my proposal is so bad, but I'll add quantitative information when ... mame (Yusuke Endoh)
08:00 AM Feature #11999: MatchData#to_h to get a Hash from named captures
Accepted.
Matz.
matz (Yukihiro Matsumoto)
03:21 AM Feature #12024 (Closed): Add String.buffer, for creating strings with large capacities
Applied in changeset r53850.
----------
* string.c (rb_str_init): introduce String.new(capacity: size)
[Feature #1...
naruse (Yui NARUSE)

02/16/2016

09:03 PM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
Note that when compiling 2.2.4, `win32` is entered because there is `mkmf.log`. Panyamin (Benjamin Gueroult)
08:36 PM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
Nobuyoshi Nakada wrote:
> Does `fiddle` get installed and work?
> `win32` requires it.
Well, I've found some sni...
Panyamin (Benjamin Gueroult)
01:32 AM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
Does `fiddle` get installed and work?
`win32` requires it.
nobu (Nobuyoshi Nakada)
05:30 PM Feature #12075: some container#nonempty?
The implementation doesn't have to be the same as the one implemented by ActiveSupport. I think it would be fine to s... rosenfeld (Rodrigo Rosenfeld Rosas)
03:28 PM Feature #12075: some container#nonempty?
Shyouhei Urabe wrote:
> No, the OP wants to detect things that are _not_ empty. This is not what blank? means.
Y...
sawa (Tsuyoshi Sawada)
02:17 PM Feature #12075: some container#nonempty?
No, the OP wants to detect things that are _not_ empty. This is not what blank? means. Also note that blank? in Act... shyouhei (Shyouhei Urabe)
10:02 AM Feature #12075: some container#nonempty?
+1 for bringing blank? and present? to Ruby core. I often use (a || '').empty? checks for not having to depend on Act... rosenfeld (Rodrigo Rosenfeld Rosas)
08:52 AM Feature #12075: some container#nonempty?
That is a use case for Rails' `blank?` (or `present?`).
~~~RUBY
class Object
def blank?
respond_to?(:empt...
sawa (Tsuyoshi Sawada)
08:31 AM Feature #12075: some container#nonempty?
How about "some?".
akr (Akira Tanaka)
08:30 AM Feature #12075: some container#nonempty?
How about `ary.include_something?` ? mrkn (Kenta Murata)
08:08 AM Feature #12075 (Feedback): some container#nonempty?
I sometimes write following code.
```ruby
ary = some_metho_returns_nil_or_empty_container() # nil or "" or [] or ...
naruse (Yui NARUSE)
05:05 PM Feature #10121: Dir.empty?
Woot! Woot!
Thanks to nobu the patch monster and matz!
shevegen (Robert A. Heiler)
08:34 AM Feature #10121 (Closed): Dir.empty?
Applied in changeset r53841.
----------
dir.c: Dir.empty?
* dir.c (rb_dir_s_empty_p): add Dir.empty? method, which ...
nobu (Nobuyoshi Nakada)
02:56 PM Feature #12063: KeyError#receiver and KeyError#name
I made a patch https://github.com/ruby/ruby/pull/1251 ksss (Yuki Kurihara)
01:29 PM Feature #12079 (Rejected): Loosening the condition for refinement
There are a few non-standard ways of calling a method that cannot be used when the relevant method is a refined metho... sawa (Tsuyoshi Sawada)
12:35 PM Feature #11999: MatchData#to_h to get a Hash from named captures
Updated patch (11999-2.diff). sorah (Sorah Fukumori)
11:24 AM Feature #11999: MatchData#to_h to get a Hash from named captures
Discussed at https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20160216Japan with Matz and several commi... sorah (Sorah Fukumori)
11:40 AM Bug #12078 (Closed): Segmentation fault in did_you_mean with ruby revision 53608
A segmentation bug occurred when running rspec tests on an app. This first appeared using ruby 2.3.0p0 revision 53290... reggiebatsky (Rob Nichols)
11:33 AM Feature #12077 (Open): Consolidate SSLSocket interface with TCPSocket
Hello,
Is there a reason why `SSLSocket#read` doesn't work the same as `SSLSocket#sysread` and why there is no `SS...
tonci (Tonči Damjanić)
09:44 AM Feature #12024: Add String.buffer, for creating strings with large capacities
The original proposal #905 was 7 years old. But now we have keyword argument, so adding `capacity:` keyword to `Strin... matz (Yukihiro Matsumoto)
09:43 AM Feature #12076 (Rejected): The 'ditto' operator
Rejected. Adding new keyword is not a good idea, besides `ditto` behavior is not clear.
Matz.
matz (Yukihiro Matsumoto)
08:42 AM Feature #12076: The 'ditto' operator
The example code can be refactored to:
~~~RUBY
case user
when "foo", "bar"
else user = "stranger"
end
puts "w...
sawa (Tsuyoshi Sawada)
08:30 AM Feature #12076 (Rejected): The 'ditto' operator
I like to introduce and propose an idea to use a 'ditto' operator in 'else' or 'elsif' statement,
the ditto operator...
joelbryan (Joel Bryan Juliano)
09:29 AM Bug #9810 (Assigned): Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
naruse (Yui NARUSE)
09:25 AM Bug #11991 (Assigned): `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
Considered a bug but for compatibility this shouldn't be backported.
2.4 will introduce incompatibility.
naruse (Yui NARUSE)
06:54 AM Feature #10720 (Rejected): A proposal for something like: attr_reader :foo? - with the trailing '?' question mark
See #12046.
Matz.
matz (Yukihiro Matsumoto)
06:54 AM Feature #11167 (Rejected): Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
See #12046.
Matz.
matz (Yukihiro Matsumoto)
06:53 AM Feature #12046 (Rejected): Allow attr_reader :foo? to define instance method foo? for accessing @foo
as a rule, `attr_reader x` creates an instance variable `@x`, but we cannot have `@x?`.
that's the reason, we reject...
matz (Yukihiro Matsumoto)
06:33 AM Feature #11666 (Assigned): IPAddr#private?
The maintainer is knu.
* feature issues
* conflict with private visibility
* “private?” is different from ...
naruse (Yui NARUSE)
02:04 AM Bug #12074 (Closed): [PERF] bm_app_erb.rb slower
Hi I'm noticing a regression on RubyBench for `bm_app_erb.rb`
http://rubybench.org/ruby/ruby/commits?result_type=a...
tgxworld (Guo Xiang Tan)
12:35 AM Bug #11542: Zlib::DataError: incorrect data check
Tomoyuki Chikanaga wrote:
> Hello, Lingaraj.
>
> It seems that the response contains invalid byte-stream or the c...
peterept (Peter Koch)

02/15/2016

09:16 PM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
Nobuyoshi Nakada wrote:
> How did you install ruby, and did `fiddle` get installed successfully?
I installed with...
Panyamin (Benjamin Gueroult)
02:45 AM Bug #12071 (Feedback): Gem installation fails with 2.3.0 on Cygwin
Since Cygwin does not have its own `resolv.conf` file, it is not correct.
How did you install ruby, and did `fiddle`...
nobu (Nobuyoshi Nakada)
03:36 AM Bug #12073 (Closed): local variable interferes with keyword arguments
This code causes a syntax error:
~~~ruby
def a(b:)
b
end
a = 1
a b: 9

# !> program.rb:5: syntax error, ...
josh.cheek (Josh Cheek)
03:31 AM Feature #11758: Add keyword assignment syntax
I keep trying to do this, too, and being surprised when it doesn't work. josh.cheek (Josh Cheek)

02/14/2016

05:26 PM Bug #11834: Backport r53168, r53169 (String#scrub, #encode infection)
r49096, r51353, r53168 and r53169 were backported into `ruby_2_2` branch at r53825. nagachika (Tomoyuki Chikanaga)
05:23 PM Bug #12070: "wrong argument type nil" when installing any gem with Puppet on Arch Linux
From running `'/usr/bin/gem install --no-rdoc --no-ri --backtrace --debug travis-lint'` in Puppet:
Exception `...
l0b0 (Victor Engmark)
12:12 PM Bug #12070: "wrong argument type nil" when installing any gem with Puppet on Arch Linux
This is easily reproducible by cloning [the repository](https://github.com/l0b0/root) and running `make test`. l0b0 (Victor Engmark)
12:10 PM Bug #12070 (Third Party's Issue): "wrong argument type nil" when installing any gem with Puppet on Arch Linux
Based on [Stack Exchange question](https://unix.stackexchange.com/questions/252937/how-to-install-a-ruby-gem-on-arch-... l0b0 (Victor Engmark)
05:18 PM Feature #11934: A feature to drop dynamics dynamically
I agree with Chris: JRuby + Truffle showed that it is possible to have dynamic features without loosing performance. ... justcolin (Colin Fulton)
04:48 PM Bug #11860: Double splat does not work on empty hash assigned via variable
A similar bug happens when using the double splat operator in the parameter list of a method definition. See #12022. justcolin (Colin Fulton)
04:46 PM Bug #12022: Inconsistent behavior with splatted named arguments
Sorry, I didn't see that issue. The cause is probably the same, but the difference is that #11860 deals with using th... justcolin (Colin Fulton)
03:55 AM Bug #12022: Inconsistent behavior with splatted named arguments
This is a duplicate, or is at least related to #11860. sawa (Tsuyoshi Sawada)
04:39 PM Bug #11932: Ripper.sexp can't parse some files from ruby repository and returns nil
r53411 and r53425 were backported into `ruby_2_2` branch at r53824. nagachika (Tomoyuki Chikanaga)
03:35 PM Bug #12068: raise overwrites exception cause even if exception is not new
Please don't backport to the stable branches by yourself. The branch maintainers (usa and me) will do.
I fill Back...
nagachika (Tomoyuki Chikanaga)
10:30 AM Bug #12068: raise overwrites exception cause even if exception is not new
May I backport this change to 2.3? Matz? I believe the original behavior was unintentional and should be fixed. headius (Charles Nutter)
10:17 AM Bug #12068: raise overwrites exception cause even if exception is not new
Thanks, nobu! headius (Charles Nutter)
07:19 AM Bug #12068 (Closed): raise overwrites exception cause even if exception is not new
Applied in changeset r53819.
----------
not overwrite cause
* eval.c (setup_exception): set the cause only if it is...
nobu (Nobuyoshi Nakada)
05:12 AM Bug #12068: raise overwrites exception cause even if exception is not new
Yes...the exception inherits current $! only in initialize, and carries it until overwritten. headius (Charles Nutter)
04:21 AM Bug #12068: raise overwrites exception cause even if exception is not new
In JRuby, `cause` is set just in `initialize`?
```
$ jruby -v -e 'raise "a" rescue p RuntimeError.new("b").cause'...
nobu (Nobuyoshi Nakada)
03:17 PM Bug #12072 (Closed): SortedSet#superset? raises NoMethodError if rbtree is installed
If rbtree is installed, the following code doesn't work.
~~~ruby
require "set"
set_a = SortedSet.new([1, 2])
...
rhenium (Kazuki Yamaguchi)
01:30 PM Bug #12071 (Closed): Gem installation fails with 2.3.0 on Cygwin
Hello,
I would like report an issue when installing gem on Cygwin with ruby 2.3.0.
Backtrace is:
~~~
/home/...
Panyamin (Benjamin Gueroult)
11:09 AM Bug #12069 (Closed): [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
document OpenSSL::SSL::SSLContext#setup as MT-unsafe
On a cursory inspection, using rb_block_call for extra_chain_...
normalperson (Eric Wong)
05:51 AM Bug #12035 (Rejected): scanf suspicious results.
From http://ruby-doc.org/stdlib-2.2.4/libdoc/scanf/rdoc/Scanf.html#module-Scanf-label-Conversions
> Matches a none...
nobu (Nobuyoshi Nakada)
04:01 AM Bug #12065 (Rejected): problem with multiplication 2 numbers
hsbt (Hiroshi SHIBATA)

02/13/2016

06:41 PM Feature #12034: RegExp does not respect file encoding directive
Eric Wong wrote:
> I think that is fine as long as the strings are valid.
> Returning invalid strings is the main p...
naruse (Yui NARUSE)
05:13 PM Bug #12022: Inconsistent behavior with splatted named arguments
More details about why errors are not raised in some cases, and wrong errors are raised in other cases:
```ruby
d...
justcolin (Colin Fulton)
04:22 PM Bug #12035: scanf suspicious results.
That is what is so perplexing. The format I used was '%[a] %[b] %[c]'
Please note the explicit spaces between the fo...
PeterCamilleri (Peter Camilleri)
04:15 AM Bug #12035: scanf suspicious results.
Peter Camilleri wrote:
> I think you're missing the point. Of course %s would seem to work in this case.
> My ques...
musgravejw (John Musgrave)
03:58 AM Bug #12035: scanf suspicious results.
I think you're missing the point. Of course %s would seem to work in this case.
My question is about the %\[set\] (...
PeterCamilleri (Peter Camilleri)
12:03 PM Bug #12068 (Closed): raise overwrites exception cause even if exception is not new
It appears that `raise` will overwrite the original cause of an exception even when re-raising the same one. I believ... headius (Charles Nutter)
08:12 AM Feature #8317 (Closed): URI: no_proxy with whitespaces and leading dots.
Applied in changeset r53816.
----------
no_proxy with whitespaces and leading dots
* lib/uri/generic.rb (find_proxy...
nobu (Nobuyoshi Nakada)
02:07 AM Feature #8317: URI: no_proxy with whitespaces and leading dots.
Why also semicolon-separated?
```diff
diff --git c/lib/uri/generic.rb w/lib/uri/generic.rb
index aba54c1..f2a2d5...
nobu (Nobuyoshi Nakada)
03:10 AM Bug #12066 (Closed): Ruby creates Wrong .Bat files
It has been fixed by [the upstream](https://github.com/rubygems/rubygems/commit/f9232680), and imported to 2.3. nobu (Nobuyoshi Nakada)
02:50 AM Bug #12067 (Closed): [BUG] object allocation during garbage collection phase
nobu (Nobuyoshi Nakada)

02/12/2016

09:20 PM Feature #10793: Infrastructure/Release-Management: Sign releases
I'm not against the idea of additionaly signing the releases but,
Alexander E. Fischer wrote:
> Several commonly ...
shyouhei (Shyouhei Urabe)
09:03 PM Feature #12034: RegExp does not respect file encoding directive
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > File 0001-string.c-rb_external_str_with_e...
normalperson (Eric Wong)
06:13 PM Feature #11523: optparse short options will match complete options
I believe that:
1. This is what OptParser doing by default. If your code were `opts.on("--irs [OCTAL]", OptionPars...
vo.x (Vit Ondruch)
05:48 PM Bug #12067 (Closed): [BUG] object allocation during garbage collection phase
bin/rails: [BUG] object allocation during garbage collection phase
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64...
tina (Tina Tran)
12:01 PM Bug #12066 (Closed): Ruby creates Wrong .Bat files
After i downloaded the newest version of Ruby and installed SASS, i tried to run SASS from the command line.
This ga...
businessgamer8 (Kevin Marti)
11:48 AM Bug #12035: scanf suspicious results.
Peter Camilleri wrote:
> The code: 'a b c'.scanf('%[a] %[b] %[c]')
>
> yields the result: ["a"] and not ["a","b",...
musgravejw (John Musgrave)
09:53 AM Feature #8317: URI: no_proxy with whitespaces and leading dots.
Could this be applied?
BTW how is this relates to #10251?
vo.x (Vit Ondruch)
08:21 AM Bug #12065: problem with multiplication 2 numbers
This is a FAQ. Read the FAQ section here https://bugs.ruby-lang.org/ shyouhei (Shyouhei Urabe)
08:17 AM Bug #12065 (Rejected): problem with multiplication 2 numbers
Hi,
why do this ?
irb(main):006:0> 15.1*100
=> 1510.0 -----> OK
irb(main):008:0> 671.12*100
=> 67112.0 ---...
valdambrini.andrea (Andrea Valdambrini)
06:13 AM Feature #12064 (Assigned): Make creation of enc/unicode/casefold.h automatic again
The creation of enc/unicode/casefold.h has been moved to a special make target, 'unicode-up', in r53771, to avoid CI ... duerst (Martin Dürst)
05:37 AM Feature #12041: Change the initializer of NameError to take a receiver as the third argument
I found this causes `drb` test failures, since `NoMethodError` now refers `DRbObject` and `Marshal.dump` fails. nobu (Nobuyoshi Nakada)
 

Also available in: Atom