Project

General

Profile

Activity

From 07/23/2017 to 07/29/2017

07/29/2017

12:42 PM Bug #13776 (Closed): Refined methods ignore visibility of inherited methods
Applied in changeset trunk|r59445.
----------
visibility of inherited method
* vm_insnhelper.c (vm_call_method_each...
nobu (Nobuyoshi Nakada)
09:19 AM Bug #13776 (Closed): Refined methods ignore visibility of inherited methods
This bug was pointed out by al2o3-cr on the #ruby IRC channel on freenode. The following code sleeps for 3 seconds, e... Mon_Ouie (Mon ouïe)
12:17 AM Feature #13770: Can't create valid Cyrillic-named class/module
To distinguish non-ASCII upper/lower cases would lead non-ASCII punctuations too.
ASCII punctuations cannot be a par...
nobu (Nobuyoshi Nakada)

07/28/2017

04:57 PM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
I think I am using openssl-1.0.1s.
`HAVE_RB_FD_INIT` is not defined, but in fact AIX has `fd_mask`. It turned out ...
ReiOdaira (Rei Odaira)
10:49 AM Feature #13770: Can't create valid Cyrillic-named class/module
matz (Yukihiro Matsumoto) wrote:
> And maybe it's time to relax the limitation for Non-ASCII capital letters to star...
duerst (Martin Dürst)
10:22 AM Feature #13770: Can't create valid Cyrillic-named class/module
shevegen (Robert A. Heiler) wrote:
> Martin Dürst could then create classes for all Emojis in Unicode. :D
Well, i...
duerst (Martin Dürst)

07/27/2017

07:06 PM Feature #12628: change block/env structs
looks like this regressed https://bugs.ruby-lang.org/issues/13772 sam.saffron (Sam Saffron)
07:02 PM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
Looks like ko1 broke this in #12628 :
https://github.com/ruby/ruby/commit/9f60791a0412cae804f13ed3e746a634c7a0731b...
sam.saffron (Sam Saffron)
04:17 PM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
OK I have a standalone repro here: https://gist.github.com/SamSaffron/f43996d5989cefbfbf69e9557ef13b23
Also impac...
sam.saffron (Sam Saffron)
06:41 PM Bug #13775 (Closed): Ruby hangs when calling scope and belongs_to many times (with mongomapper)
Following code will hang Ruby:
~~~ruby
require 'bundler/setup'
require 'mongo_mapper'
MongoMapper.setup(
{
...
mtsmfm (Fumiaki Matsushima)
05:55 PM Bug #13774: for methods defined from procs, the binding of the resulting bound_method.to_proc does not have access to the original proc's closure environment
bughit (bug hit) wrote:
> ```ruby
> def foo
> o = Object.new
> local_var = 'local_var'
> method_lambda = -...
bughit (bug hit)
05:39 PM Bug #13774 (Rejected): for methods defined from procs, the binding of the resulting bound_method.to_proc does not have access to the original proc's closure environment
```ruby
def foo
o = Object.new
local_var = 'local_var'
method_lambda = ->{local_var}
o.define_singleton_...
bughit (bug hit)
09:51 AM Feature #13721: [PATCH] net/imap: dedupe attr keys in Net::IMAP::FetchData
[email protected] wrote:
> Sounds reasonable. Could you commit it on your own?

Thanks. But maybe we can do i...
normalperson (Eric Wong)
09:41 AM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
[email protected] wrote:
> Thanks for the patch. Unfortunately, it did not solve the problem. Looks like this ...
normalperson (Eric Wong)
07:50 AM Bug #13773 (Closed): Improve String#prepend performance if only one argument is given
This is very similar with https://github.com/ruby/ruby/pull/1634
If only one argument is given, this will prepend th...
watson1978 (Shizuo Fujita)
07:38 AM Feature #13770: Can't create valid Cyrillic-named class/module
OK, I see. Thank you. shyouhei (Shyouhei Urabe)
06:54 AM Feature #13770: Can't create valid Cyrillic-named class/module
shyouhei (Shyouhei Urabe) wrote:
> phluid61 (Matthew Kerwin) wrote:
> >
> > Isn't titlecase a mapping property, ra...
phluid61 (Matthew Kerwin)
06:27 AM Feature #13770: Can't create valid Cyrillic-named class/module
phluid61 (Matthew Kerwin) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> > matz (Yukihiro Matsumoto) wrote:
> > > And...
shyouhei (Shyouhei Urabe)
06:19 AM Feature #13770: Can't create valid Cyrillic-named class/module
shyouhei (Shyouhei Urabe) wrote:
> matz (Yukihiro Matsumoto) wrote:
> > And maybe it's time to relax the limitation...
phluid61 (Matthew Kerwin)
12:40 AM Feature #13770: Can't create valid Cyrillic-named class/module
matz (Yukihiro Matsumoto) wrote:
> And maybe it's time to relax the limitation for Non-ASCII capital letters to star...
shyouhei (Shyouhei Urabe)
06:08 AM Bug #13768: SIGCHLD and Thread dead-lock problem
けいじゅ@いしつかです.

[email protected] wrote:

> Issue #13768 has been updated by ko1 (Koichi Sasada).
> これ、dead-lock の定義の...
keiju (Keiju Ishitsuka)
04:19 AM Bug #13768: SIGCHLD and Thread dead-lock problem
これ、dead-lock の定義の問題なので、ちょっと議論が要るような気がしています。
> Signal.trapを設定していたら常にデッドロックではない、とすべきというところでしょうか。
いいんかな、これで。例えば、we...
ko1 (Koichi Sasada)
04:13 AM Bug #13768: SIGCHLD and Thread dead-lock problem
`Signal.trap`を設定していたら常にデッドロックではない、とすべきというところでしょうか。
まぁ設定していなくても実際に受けとればデッドロックを抜けはするのですが。
```diff
diff --git c/sig...
nobu (Nobuyoshi Nakada)
05:11 AM Feature #12733: Bundle bundler to ruby core
I've added `make test-bundler` task to the ruby core.
see https://github.com/ruby/ruby/pull/1536
Maybe, I test...
hsbt (Hiroshi SHIBATA)
03:59 AM Misc #13771: Digest, Ruby OpenSSL, OpenSSL v1.1.0
nobu (Nobuyoshi Nakada) wrote:
> I think that it can happen even if both are installed as gems.
True. But if dig...
MSP-Greg (Greg L)
03:45 AM Misc #13771: Digest, Ruby OpenSSL, OpenSSL v1.1.0
MSP-Greg (Greg L) wrote:
> Where I noticed potential issues is that std-lib openssl is a gem, but std-lib digest is ...
nobu (Nobuyoshi Nakada)
12:46 AM Misc #13771 (Assigned): Digest, Ruby OpenSSL, OpenSSL v1.1.0
hsbt (Hiroshi SHIBATA)

07/26/2017

09:00 PM Misc #13771: Digest, Ruby OpenSSL, OpenSSL v1.1.0
I can not answer your questions, the ruby core team will have to decide on the content + gemifying.
As for one oth...
shevegen (Robert A. Heiler)
04:50 PM Misc #13771 (Closed): Digest, Ruby OpenSSL, OpenSSL v1.1.0
A thanks to everyone involved in 'gemifying' ruby.
As I've mentioned before, I'm a windows user, and not a c type....
MSP-Greg (Greg L)
08:55 PM Bug #13772 (Closed): Memory leak recycling stacks for threads in 2.4.1
Per:
https://github.com/rest-client/rest-client/issues/611
gem install rest-client
```
100000.times.each_s...
sam.saffron (Sam Saffron)
08:40 PM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
Thanks for the patch. Unfortunately, it did not solve the problem. Looks like this test does not call `nogvl_copy_s... ReiOdaira (Rei Odaira)
05:32 PM Feature #13770: Can't create valid Cyrillic-named class/module
Martin Dürst could then create classes for all Emojis in Unicode. :D shevegen (Robert A. Heiler)
02:25 PM Feature #13770: Can't create valid Cyrillic-named class/module
And maybe it's time to relax the limitation for Non-ASCII capital letters to start constant names.
Matz.
matz (Yukihiro Matsumoto)
12:46 PM Feature #13770: Can't create valid Cyrillic-named class/module
Constant names must start with an upper case in **ASCII**. nobu (Nobuyoshi Nakada)
12:22 PM Feature #13770 (Closed): Can't create valid Cyrillic-named class/module
Can't create a valid Cyrillic-named class. If I have a file **мир.rb**:
~~~ ruby
# Content of мир.rb:
class Ми...
sb (Sergey Borodanov)
05:29 PM Feature #13767: add something like python's buffer protocol to share memory between different narray like classes
I am not sure I understand the proposal, also partially due to python's confusing naming scheme such as List and arra... shevegen (Robert A. Heiler)
01:31 PM Feature #13765: Add Proc#bind
> Could you show a real Ruby application or code which you can write more effectively if we have partial application?... davidcornu (David Cornu)
07:51 AM Feature #13721: [PATCH] net/imap: dedupe attr keys in Net::IMAP::FetchData
normalperson (Eric Wong) wrote:
> Since attr hash keys are frequently reused, it makes sense to
> deduplicate them ...
shugo (Shugo Maeda)
07:48 AM Feature #10119: [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command
plehoux (Philippe-Antoine Lehoux) wrote:
> I updated the patch so the code doesn't raise when passing a CHANGEDSINCE...
shugo (Shugo Maeda)
07:47 AM Feature #10119 (Closed): [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command
Applied in changeset trunk|r59424.
----------
lib/net/imap.rb: support CHANGEDSINCE and MODSEQ
Patch by plehoux (Ph...
shugo (Shugo Maeda)
04:45 AM Bug #13769 (Closed): IPAddr#ipv4_compat incorrect behavior
To ease transition from IPv4 to IPv6, there exist "ipv4-compatible" and "ipv4-mapped" addresses, which are ipv6 addre... arkadiyt (Arkadiy Tetelman)
03:47 AM Bug #13768 (Closed): SIGCHLD and Thread dead-lock problem
けいじゅ@いしつかです.

下記のプログラムを実行するとThreadがデッドロックしたと例外が発生します.
# コメント部分をはずせば, デッドロックはしません

シグナルのtrapが絡むときのデッドロックの検知...
keiju (Keiju Ishitsuka)
12:09 AM Bug #13691: Word- and symbol array literals not valid where regular array is
Because of the precedence, `{}` is bound to `%i()` here, and `%i()` literal cannot be a method call. nobu (Nobuyoshi Nakada)

07/25/2017

07:39 PM Bug #13766 (Closed): Ruby 2.3.4 build problem with "-fstack-check"
usa (Usaku NAKAMURA)
11:16 AM Bug #13766: Ruby 2.3.4 build problem with "-fstack-check"
r57971 が既にupstreamにある以上、 http://mail-index.netbsd.org/pkgsrc-changes/2017/07/24/msg160523.html の変更をいれるより r57971 をバックポ... k0kubun (Takashi Kokubun)
03:51 AM Bug #13766 (Closed): Ruby 2.3.4 build problem with "-fstack-check"
pkgsrcで PKGSRC_USE_STACK_CHECK を yes に設定すると Ruby 2.3.4 のビルドに失敗します。
現象としては、tool/generic_erb.rb で encdb.h を生成する際に erb....
taca (Takahiro Kambe)
07:36 PM Feature #13765: Add Proc#bind
> I do not have any pro or con opinion per se; my slight worry is about the name "bind".
Yeah I share that concern...
davidcornu (David Cornu)
02:51 PM Feature #13765: Add Proc#bind
I do not have any pro or con opinion per se; my slight worry is about the name "bind".
When I read .bind, I wonder...
shevegen (Robert A. Heiler)
10:50 AM Feature #13765: Add Proc#bind
Could you show a real Ruby application or code which you can write more effectively if we have partial application? k0kubun (Takashi Kokubun)
07:15 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
Sure, faster glob could make a big difference in overall performance. It's a very good candidate for optimalization.
...
ahorek (Pavel Rosický)
04:33 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
[email protected] wrote:
> Issue #13167 has been updated by ahorek (Pavel Rosický).
>
>
> https://github.com/...
normalperson (Eric Wong)
11:37 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
https://github.com/ruby/ruby/pull/1669
~~~
2.1.9 1143000 i/s
2.4.1 39829 i/s
2.5.0 407...
ahorek (Pavel Rosický)
11:22 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
yes, it's on the same hardware and also with the same file path. I used Bash on Windows which could be slower then th... ahorek (Pavel Rosický)
02:51 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
[email protected] wrote:
> There isn't noticable difference on Linux, it's even slightly faster.

The problem is...
normalperson (Eric Wong)
04:29 PM Bug #13232: Comparing BigDecimal to float or Rational fails sometimes
Sorry if it is not the right place to ask this question, but is it possible to backport this fix in ruby 2.4 and 2.3 ... hrsht (Harshit Chopra)
03:56 PM Feature #13767 (Closed): add something like python's buffer protocol to share memory between different narray like classes
In order for ruby to be used in more scientific or machine learning applications, it will be necessary to be able to ... dsisnero (Dominic Sisneros)
04:03 AM Bug #13764 (Rejected): Ruby 2.3.4 build problem with "-fstack-check"
hsbt (Hiroshi SHIBATA)
03:53 AM Bug #13764: Ruby 2.3.4 build problem with "-fstack-check"
Please close this Issue since I posted to wrong language and I re-posted as Bug #13766. taca (Takahiro Kambe)
02:51 AM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
Sorry, original patch was broken :x (yet "make exam" passed...)
(it leaked memory and used sizeof improperly)

Ca...
normalperson (Eric Wong)
12:27 AM Bug #13716 (Open): Unexpected or undocumented (or maybe both) behaviour when mixing String#scan with named captures
akr (Akira Tanaka) wrote:
> When you use a named capture, parenthesises are not considered as a capture.
Where ca...
shyouhei (Shyouhei Urabe)

07/24/2017

10:40 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
There isn't noticable difference on Linux, it's even slightly faster.
Linux
~~~
2.1.9 77991 i/s
2.4.1 78497 i...
ahorek (Pavel Rosický)
09:41 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
Eric Wong <[email protected]> wrote:
> $ strace -c -e getdents ruby --disable=gems -e 'Dir.glob("*/*.{flac}")'
...
normalperson (Eric Wong)
08:32 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
[email protected] wrote:
> Bug #13167: Dir.glob is 25x slower since Ruby 2.2
> https://bugs.ruby-lang.org/issues/...
normalperson (Eric Wong)
07:42 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
I used Procmon.exe https://live.sysinternals.com to monitor system calls
and it looks like ruby 2.4.1 is traversing ...
ahorek (Pavel Rosický)
09:08 PM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
[email protected] wrote:
> Ruby CI on AIX have frequently hit SystemStackError since this change was introduced....
normalperson (Eric Wong)
08:28 PM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
Ruby CI on AIX have frequently hit SystemStackError since this change was introduced.
http://rubyci.s3.amazonaws.com...
ReiOdaira (Rei Odaira)
09:04 PM Feature #13765 (Open): Add Proc#bind
`Proc` has [`curry`](https://ruby-doc.org/core-2.4.1/Proc.html#method-i-curry) but no method to do [partial applicati... davidcornu (David Cornu)
06:09 PM Feature #13763: Trigger "unused variable warning" for unused variables in parameter lists
I am indifferent, so neither pro or con. I can see both points, more warnings or "hints"
and less warnings. There ma...
shevegen (Robert A. Heiler)
04:25 PM Feature #13763: Trigger "unused variable warning" for unused variables in parameter lists
i am against this, becauese such functions could be used as hookups too for other functions to overwrite them.
lik...
Hanmac (Hans Mackowiak)
12:16 PM Feature #13763 (Open): Trigger "unused variable warning" for unused variables in parameter lists
Consider the following program nowa.rb:
~~~
def foo(a)
end
%w(x).each {|y|}
foo(1)
z=5
~~~
If I syntax-ch...
rovf (Ronald Fischer)
02:04 PM Bug #13764 (Rejected): Ruby 2.3.4 build problem with "-fstack-check"
pkgsrcで PKGSRC_USE_STACK_CHECK を yes に設定すると Ruby 2.3.4 のビルドに失敗します。
現象としては、tool/generic_erb.rb で encdb.h を生成する際に erb....
taca (Takahiro Kambe)
05:31 AM Bug #13716 (Feedback): Unexpected or undocumented (or maybe both) behaviour when mixing String#scan with named captures
When you use a named capture, parenthesises are not considered as a capture.
So, you need to add name for all capt...
akr (Akira Tanaka)
03:14 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
Hiroshi,
Thank you for the patch. I just decided to start doing regular MinGW builds with ruby_2_3 & ruby_2_4. I...
MSP-Greg (Greg L)
01:24 AM Bug #13742: SIGSEGV in parser_yyerror()
Note that this is not a vulnerability.
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11465 is invalid.
nobu (Nobuyoshi Nakada)
01:17 AM Bug #13762 (Rejected): Change in `#==` in Ruby 2.4?
When you write your custom `method_missing`, you have to write your custom `respond_to_missing?` too. nobu (Nobuyoshi Nakada)
12:29 AM Bug #13762 (Rejected): Change in `#==` in Ruby 2.4?
Given this code:
```ruby
# frozen_string_literal: true
class MyProxy < BasicObject
def initialize(target)
...
backus (John Backus)
12:26 AM Feature #13683: Add strict Enumerable#single
+1 to this proposal!! I have a `Util.one(...)` method in a half dozen or more projects. IMO `#one` is a nicer name th... backus (John Backus)

07/23/2017

08:59 AM Bug #13547: [].delete 1 { 'NG' }
ruby_2_4 r59409 merged revision(s) 58641. nagachika (Tomoyuki Chikanaga)
08:49 AM Bug #13595: rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
ruby_2_4 r59408 merged revision(s) 58902. nagachika (Tomoyuki Chikanaga)
08:39 AM Bug #13358: OpenStruct overriding allocate
ruby_2_4 r59407 merged revision(s) 58077,58229. nagachika (Tomoyuki Chikanaga)
08:22 AM Bug #13239: Bug with "special exceptions" when they are thrown in context of a rescue clause.
Backported into ruby_2_4 at r57939. nagachika (Tomoyuki Chikanaga)
08:16 AM Bug #11873: Syntax error and parse problem when calling a method without parentheses
ruby_2_4 r59406 merged revision(s) 58638,58640. nagachika (Tomoyuki Chikanaga)
08:05 AM Bug #13284: IA64 ruby 2.4 miniruby segfault
ruby_2_4 r59405 merged revision(s) 59307. nagachika (Tomoyuki Chikanaga)
07:50 AM Bug #13191: sample/pty/shl.rb がうまく動かない
ruby_2_4 r59404 merged revision(s) 57530. nagachika (Tomoyuki Chikanaga)
07:48 AM Bug #13621: String#split returns an array longer than given limit, when passing a regexp with groups
ruby_2_4 r59403 merged revision(s) 59002. nagachika (Tomoyuki Chikanaga)
07:46 AM Bug #13413: --with-static-linked-ext doesn't install extension files on `make install`
ruby_2_4 r59402 merged revision(s) 57446. nagachika (Tomoyuki Chikanaga)
07:45 AM Bug #13672: Garbage input hangs ruby (not responding ^C)
ruby_2_4 r59401 merged revision(s) 59161. nagachika (Tomoyuki Chikanaga)
07:36 AM Bug #13515: Pathname#join doesn't add separator on UNC paths
ruby_2_4 r59400 merged revision(s) 59102. nagachika (Tomoyuki Chikanaga)
07:33 AM Bug #13636: REXML::Document.parse_stream doesn't handle when closing tag not provided
ruby_2_4 r59399 merged revision(s) 59033,59034. nagachika (Tomoyuki Chikanaga)
07:30 AM Bug #13558: Array#insert does not typecheck the position argument if it's the only argument
ruby_2_4 r59398 merged revision(s) 58693. nagachika (Tomoyuki Chikanaga)
07:21 AM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
ruby_2_4 r59397 merged revision(s) 58643. nagachika (Tomoyuki Chikanaga)
07:20 AM Bug #13531: RSS: a feed with empty channel description has completely empty '#to_xml' conversion
ruby_2_4 r59396 merged revision(s) 58552. nagachika (Tomoyuki Chikanaga)
07:02 AM Bug #13656: Method#super_method returns incorrect result dependent on unrelated module
ruby_2_4 r59395 merged revision(s) 59080,59082. nagachika (Tomoyuki Chikanaga)
06:47 AM Bug #13720 (Closed): appveyor.yml nmake arguments - not *nix style
nobu (Nobuyoshi Nakada)
 

Also available in: Atom