[#82311] [Ruby trunk Bug#13794] Infinite loop of sched_yield — charlie@...
Issue #13794 has been reported by catphish (Charlie Smurthwaite).
4 messages
2017/08/09
[#82518] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — mame@...
Issue #13618 has been updated by mame (Yusuke Endoh).
5 messages
2017/08/30
[#82552] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Eric Wong <normalperson@...>
2017/08/31
mame@ruby-lang.org wrote:
[#82756] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Eric Wrong <normalperson@...>
2017/09/12
Eric Wrong <normalperson@yhbt.net> wrote:
[ruby-core:82254] [Ruby trunk Bug#13669] Enumerable#uniq is ignoring second and following block arguments
From:
nagachika00@...
Date:
2017-08-05 03:24:59 UTC
List:
ruby-core #82254
Issue #13669 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE
ruby_2_4 r59515 merged revision(s) 59128.
----------------------------------------
Bug #13669: Enumerable#uniq is ignoring second and following block arguments
https://bugs.ruby-lang.org/issues/13669#change-66034
* Author: kachick (Kenichi Kamiya)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.0dev (2017-06-20 trunk 59122) [x86_64-darwin16]
* Backport: 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE
----------------------------------------
github: https://github.com/ruby/ruby/pull/1658
```ruby
enum = Object.new.to_enum
class << enum
def each
yield
yield nil
yield 0
yield 1
yield 0, :LABEL
yield [0, :LABEL]
yield 1, :LABEL
yield 1, :LABEL
yield 1, :DIFFERENT
end
end
p enum.uniq
```
Current
---
```ruby
[nil, 0, 1, [0, :LABEL]]
```
Is this intentional?
Expected
---
```ruby
[nil, 0, 1, [0, :LABEL], [1, :LABEL], [1, :DIFFERENT]]
```
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>