[#75687] [Ruby trunk Bug#12416] struct rb_id_table lacks mark function — shyouhei@...
Issue #12416 has been reported by Shyouhei Urabe.
3 messages
2016/05/23
[#75763] [Ruby trunk Feature#12435] Using connect_nonblock to open TCP connections in Net::HTTP#connect — mohamed.m.m.hafez@...
Issue #12435 has been reported by Mohamed Hafez.
3 messages
2016/05/28
[#75774] Errno::EAGAIN thrown by OpenSSL::SSL::SSLSocket#connect_nonblock — Mohamed Hafez <mohamed.m.m.hafez@...>
Hi all, every now and then in my production server, I'm
4 messages
2016/05/30
[#75775] Re: Errno::EAGAIN thrown by OpenSSL::SSL::SSLSocket#connect_nonblock
— Mohamed Hafez <mohamed.m.m.hafez@...>
2016/05/30
Or does MRI's OpenSSL::SSL::SSLSocket#connect_nonblock just return
[#75782] Important: Somewhat backwards-incompatible change (Fwd: [ruby-cvs:62388] duerst:r55225 (trunk): * string.c: Activate full Unicode case mapping for UTF-8) — Martin J. Dürst <duerst@...>
With the change below, I have activated full Unicode case mapping for
4 messages
2016/05/31
[ruby-core:75346] [Ruby trunk Feature#12347] [PATCH] Make CSV::Row#each etc. return Enumerator when no block given
From:
kazuki@...
Date:
2016-05-04 04:00:39 UTC
List:
ruby-core #75346
Issue #12347 has been reported by Kazuki Tsujimoto.
----------------------------------------
Feature #12347: [PATCH] Make CSV::Row#each etc. return Enumerator when no block given
https://bugs.ruby-lang.org/issues/12347
* Author: Kazuki Tsujimoto
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
I propose to make following methods return Enumerator when no block given.
* CSV::Row#each
* CSV::Row#delete_if
* CSV::Table#each
* CSV::Table#delete_if
I think that the behavior without block is undefined (and several methods raise error in such a case as follows),
so it will not break compatibility.
~~~
$ ruby -rcsv -e 'CSV::Table.new([CSV::Row.new(%w{A}, [1])]).by_col.each'
/usr/local/ruby-2.3/lib/ruby/2.3.0/csv.rb:850:in `block in each': undefined method `[]' for nil:NilClass (NoMethodError)
from /usr/local/ruby-2.3/lib/ruby/2.3.0/csv.rb:850:in `each'
from /usr/local/ruby-2.3/lib/ruby/2.3.0/csv.rb:850:in `each'
from -e:1:in `<main>'
~~~
---Files--------------------------------
0001-lib-csv.rb-CSV-Row-Table-each-delete_if-Returns-an-e.patch (5.78 KB)
--
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>