Project

General

Profile

Activity

From 11/25/2016 to 12/01/2016

12/01/2016

05:43 PM Revision cf3ff02e (git): * 2016-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:43 PM Revision 7e1b5d8d (git): Remove unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:05 PM Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
Julia can do it, too.
~~~
julia> sum_kbn([1.0e10, 1.0e-10, -1.0e10])
1.0e-10
~~~
The source code is https://...
t-nissie (Takeshi Nishimatsu)
04:56 PM Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
A quick hack.
* Elongation (or reallocation) of the array of partials[] when nn exeeds NUM_PARTIALS.
* Tests.
* ...
t-nissie (Takeshi Nishimatsu)
02:49 PM Feature #10118: Double splat for non-symbol keys
It would be beneficial if one could do:
my_method(**hash_with_string_keys)
This for example you can read ...
akostadinov (Aleksandar Kostadinov)
02:18 PM Feature #12752 (Closed): Unpacking a value from a binary requires additional '.first'
Applied in changeset r56959.
----------
String#unpack1 [Feature #12752]
Returns the first value of String#unpack.
naruse (Yui NARUSE)
01:49 PM Feature #12752: Unpacking a value from a binary requires additional '.first'
Akinori MUSHA wrote:
> With a qualifier or multiple directives given, would it raise an ArgumentError or just go ahe...
naruse (Yui NARUSE)
10:25 AM Feature #12752: Unpacking a value from a binary requires additional '.first'
With a qualifier or multiple directives given, would it raise an ArgumentError or just go ahead with the process and ... knu (Akinori MUSHA)
09:52 AM Feature #12752: Unpacking a value from a binary requires additional '.first'
Go ahead.
Matz.
matz (Yukihiro Matsumoto)
02:18 PM Revision 306f43ac (git): String#unpack1 [Feature #12752]
Returns the first value of String#unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56959 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
02:12 PM Feature #12921: Retrieve user and password for proxy from env
Motohiro KOSAKI wrote:
> Modern OS don't have such mistake.
I can't make it sure but if environment variables ar...
shyouhei (Shyouhei Urabe)
12:41 PM Feature #12921: Retrieve user and password for proxy from env
> Yuri Samoilenko wrote:
>> What do you mean when say "insecure"? Storing login and password in filesystem and then...
kosaki (Motohiro KOSAKI)
01:20 PM Revision b6e137e9 (git): Remove `offset:` from `Array#pack`
* pack.c (pack_pack): can use `@` instead of `offset:`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56958 b2d...
U.Nakamura
01:08 PM Feature #12754 (Closed): Want to use prepared buffer with `Array#pack`
Applied in changeset r56957.
----------
Supports `buffer` and `offset` in `Array#pack`
* pack.c (pack_pack): Suppor...
usa (Usaku NAKAMURA)
01:08 PM Revision 0dd9c302 (git): Supports `buffer` and `offset` in `Array#pack`
* pack.c (pack_pack): Supports `buffer` and `offset` in `Array#pack`.
[Feature #12754] [ruby-dev:49798]
git-svn-i...
U.Nakamura
12:15 PM Feature #12995: Conditional expression taking a receiver outside the condition
You can do that with #tap. A very stupid example:
```ruby
array = [true]
res = array.to_a.tap do |obj|
if obj...
herwinw (Herwin Quarantainenet)
07:00 AM Feature #12995 (Rejected): Conditional expression taking a receiver outside the condition
Since a conditional expression has a return value, we can continue a method chain after a conditional expression like... sawa (Tsuyoshi Sawada)
09:21 AM Feature #12753: Useful operator to check bit-flag is true or false
Shugo Maeda wrote:
> IBM InfoSphere and MS FoxPro have BITTEST(), but its second argument is the bit position
> to ...
shugo (Shugo Maeda)
09:16 AM Feature #12753: Useful operator to check bit-flag is true or false
Yui NARUSE wrote:
> Herwin W wrote:
> > ```ruby
> > if n.bittest?(0b10100000)
> > ```
> >
> > If I encountered...
shugo (Shugo Maeda)
08:33 AM Feature #12753: Useful operator to check bit-flag is true or false
Herwin W wrote:
> ```ruby
> if n.bittest?(0b10100000)
> ```
>
> If I encountered that code without having the c...
naruse (Yui NARUSE)
08:26 AM Revision 74495cfa (git): parse.y: reject invalid codepoint
* parse.y (parser_tokadd_codepoint): reject invalid codepoint,
surrogate blocks and surrogate pair, as well as mrub...
nobu (Nobuyoshi Nakada)
05:24 AM Revision df53b142 (git): Update bundled_gems
* minitest-5.10.0
* test-unit-3.2.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56955 b2dd03c8-39d4-4d8f-98f...
hsbt (Hiroshi SHIBATA)
04:51 AM Revision d40495f1 (git): Wait until excpetion handling is ready.
Because RubyCI on Solaris 10 failed as follows:
1) Failure:
TestProcess#test_execopts_redirect_open_fifo_inter...
shugo (Shugo Maeda)
04:42 AM Revision 95dbfe0d (git): openssl: import fixes from upstream
Import the following two commits from upstream:
commit 72126d6c8b88abd69c3565fc3bbbd5ed1e401611
Author: Kazuki Y...
rhenium (Kazuki Yamaguchi)
03:55 AM Feature #12901: Anonymous functions without scope lookup overhead
It would also be very useful for making ObjectSpace#define_finalizer easier to use (to avoid the common memory leak p... justcolin (Colin Fulton)
12:34 AM Revision 671c929f (git): Use offsetof macro and shrink table size
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:34 AM Revision 4f7c3d35 (git): constify CaseMappingSpecials
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

11/30/2016

05:29 PM Feature #12831 (Closed): /\X/ (extended grapheme cluster) can't pass unicode.org's GraphemeBreakTest
Applied in changeset r56949.
----------
Regexp supports Unicoe 9.0.0's \X
* meta character \X matches Unicode 9.0.0...
naruse (Yui NARUSE)
05:29 PM Revision 48beedd5 (git): * 2016-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:29 PM Revision c11e6487 (git): Regexp supports Unicoe 9.0.0's \X
* meta character \X matches Unicode 9.0.0 characters with some workarounds
for UTR #51 Unicode Emoji, Version 4.0 e...
naruse (Yui NARUSE)
03:58 PM Feature #12906: do/end blocks work with ensure/rescue/else
Checking that I submitted this correctly, I usually do Github, so might have gotten this wrong. josh.cheek (Josh Cheek)
03:53 PM Bug #12994 (Feedback): Embedded ruby vs2015 build crashes
I don't know what is "an ruby embedded engine".
But I can say that you have to call `rb_w32_sysinit` before calling ...
usa (Usaku NAKAMURA)
03:38 PM Bug #12994 (Closed): Embedded ruby vs2015 build crashes
When an embedded ruby engine in a vs2015 application is initialised using ruby_init the function set_pioinfo_extra in... fjilderd (Freddy Jilderda)
03:18 PM Bug #12993: SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Actually, I thought the fix was applied in the package according to the OpenSSL changelog:
```
* Tue Nov 22 2016 ...
vo.x (Vit Ondruch)
02:46 PM Bug #12993 (Closed): SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Imported at r56946. rhenium (Kazuki Yamaguchi)
11:23 AM Bug #12993: SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Not really a segfault but rb_sys_fail() is calling rb_bug() because errno is 0. OpenSSL 1.1.0c introduced a breaking ... rhenium (Kazuki Yamaguchi)
11:06 AM Bug #12993: SEGV in OpenSSL::TestSSL#test_close_after_socket_close
r56693 used to build for me and now it fails, so this is apparently some change in Fedora Rawhide. vo.x (Vit Ondruch)
10:59 AM Bug #12993 (Closed): SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Testing the latest version of Ruby from trunk on Fedora Rawhide, the OpenSSL::TestSSL#test_close_after_socket_close s... vo.x (Vit Ondruch)
02:54 PM Revision e680bfb1 (git): ossl.c: cast
* ext/openssl/ossl.c (ossl_pem_passwd_cb): cast to int. it's safe
because len does not exceed int max_len.
git-sv...
nobu (Nobuyoshi Nakada)
02:46 PM Feature #12921: Retrieve user and password for proxy from env
Shyouhei Urabe wrote:
> Yuri Samoilenko wrote:
> > What do you mean when say "insecure"? Storing login and password...
wolfer (Sergey Fedosov)
02:42 PM Feature #12921: Retrieve user and password for proxy from env
Yuri Samoilenko wrote:
> What do you mean when say "insecure"? Storing login and password in filesystem and then rea...
shyouhei (Shyouhei Urabe)
08:08 AM Feature #12921: Retrieve user and password for proxy from env
Shyouhei Urabe wrote:
> You have to understand that environment variables are in fact insecure. It is a very bad id...
jerry_ru (Yuri Samoilenko)
02:43 PM Revision 88b745f0 (git): parse.y: refine error message
* parse.y (parser_tokadd_utf8): refine error message at bad char
in unicode escape, "invalid" instead of "untermina...
nobu (Nobuyoshi Nakada)
02:41 PM Revision aab0d67a (git): openssl: import v2.0.0
Import Ruby/OpenSSL 2.0.0. The full commit history since 2.0.0 beta.2
(imported at r56098) can be found at:
https:...
rhenium (Kazuki Yamaguchi)
02:24 PM Revision 0a5abaf7 (git): Fixed error with `make install`
rbinstall.rb couldn't load "psych/versions".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56945 b2dd03c8-39d4-4...
hsbt (Hiroshi SHIBATA)
01:55 PM Revision 48e251df (git): Update psych-2.2.1
It fixed segmentation fault related with GC.
https://github.com/ruby/psych/pull/296
and removed deprecated code ...
hsbt (Hiroshi SHIBATA)
01:09 PM Revision 5e4b8455 (git): parse.y: parser_tokadd_codepoint
* parse.y (parser_tokadd_codepoint): extract from
parser_tokadd_utf8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
01:09 PM Revision 94715bc6 (git): parse.y: brace constants
* parse.y (parser_tokadd_utf8): make open/close braces constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
10:50 AM Bug #12934: Make compressed debug section optional
Thx for implementing this. ```--with-compress-debug-sections=no``` seems to disable the compression of debug sections. vo.x (Vit Ondruch)
08:36 AM Bug #12990: unicode_case_mapping_tests
A short additional note: If cases like these increase with future versions of Unicode, I plan to change the special t... duerst (Martin Dürst)
08:25 AM Bug #12990 (Closed): unicode_case_mapping_tests
Applied in changeset r56941.
----------
fix uppercasing for U+A64B, CYRILLIC SMALL LETTER MONOGRAPH UK
* enc/unicod...
duerst (Martin Dürst)
05:56 AM Bug #12990: unicode_case_mapping_tests
Just for the record, I think this is where the problem was introduced:
https://bugs.ruby-lang.org/projects/ruby-trun...
duerst (Martin Dürst)
08:25 AM Revision 87b937bd (git): fix uppercasing for U+A64B, CYRILLIC SMALL LETTER MONOGRAPH UK
* enc/unicode.c: Add U+A64B to the special cases 03B9 and 03BC
at the end of onigenc_unicode_case_map (Bug #12990)....
duerst (Martin Dürst)
04:26 AM Bug #12958: Breaking change in how `#round` works
Shyouhei Urabe wrote:
> The new default is called the "banker's round" for reasons. Money related people should p...
duerst (Martin Dürst)
03:16 AM Bug #12958: Breaking change in how `#round` works
Jerome Cornet wrote:
> But does this mean that Float rounds in a different way as BigDecimal by default then ?
> So...
shyouhei (Shyouhei Urabe)
02:43 AM Bug #12958: Breaking change in how `#round` works
> Am I making myself understood? I am distinguishing Floats and BigDecimals. We did not change how a BigDecimal rou... jeromecornet (Jerome Cornet)
01:53 AM Bug #12958: Breaking change in how `#round` works
Jerome Cornet wrote:
> Unfortunately there are many instances where money math requires floating point calculation, ...
shyouhei (Shyouhei Urabe)
01:17 AM Bug #12958: Breaking change in how `#round` works
Unfortunately there are many instances where money math requires floating point calculation, like taxes for example (... jeromecornet (Jerome Cornet)
12:53 AM Bug #12958: Breaking change in how `#round` works
Jerome Cornet wrote:
> Shyouhei Urabe wrote:
> > As far as I can see the Rails breakage only happens in views, wher...
shyouhei (Shyouhei Urabe)
01:40 AM Revision 22c0994b (git): parse.y: no warning for lambda
* parse.y (parser_yylex): do not warn parentheses of lambda
argument list, because there is no name.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
01:22 AM Revision f7d130f4 (git): Supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
12:31 AM Bug #12988: Calling `inspect` sometimes causes a segv
You could close this issue by including `[Bug #12988]` in the commit message. nobu (Nobuyoshi Nakada)

11/29/2016

08:59 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Benoit Daloze wrote:
> `1.clone(freeze: false)` does not do what you say.
> The keyword :freeze has default value t...
MikeVastola (Mike Vastola)
08:39 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Mike Vastola wrote:
> Nobuyoshi Nakada wrote:
> > I remember `clone` has `freeze` option.
> > What should `1.clone...
Eregon (Benoit Daloze)
08:04 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Nobuyoshi Nakada wrote:
> Should `Kernel#clone` be same?
The original consensus was that the fix should be for bo...
MikeVastola (Mike Vastola)
02:52 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Integer (Fixnum) can dup now.
But Integer (Bignum) can't dup.
~~~
% ruby -ve '1.dup'
ruby 2.4.0dev (2016-11-29 ...
znz (Kazuhiro NISHIYAMA)
02:00 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
I vote for ArgumentError, because `clone(freeze: false)` is invalid operation for immediate (thus unfreezable) object... matz (Yukihiro Matsumoto)
01:58 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
I remember `clone` has `freeze` option.
What should `1.clone(freeze: false)` do, ignore the option, or raise an `Arg...
nobu (Nobuyoshi Nakada)
05:29 PM Bug #12988 (Closed): Calling `inspect` sometimes causes a segv
Should be fixed in r56938 tenderlovemaking (Aaron Patterson)
03:28 AM Bug #12988 (Assigned): Calling `inspect` sometimes causes a segv
Confirmed the overrun, although it didn't segfault.
Please commit the fix.
nobu (Nobuyoshi Nakada)
12:31 AM Bug #12988: Calling `inspect` sometimes causes a segv
tenderlove@ruby-lang.org wrote:
> * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: REQUIRED

I think a backport will ...
normalperson (Eric Wong)
05:06 PM Revision e04167bc (git): Stop reading past the end of `ivptr` array
If you have code like this:
```ruby
class A
def initialize
@a = nil
@b = nil
@c = nil
@d = nil
...
tenderlovemaking (Aaron Patterson)
04:06 PM Revision 716610ae (git): get rid of ambiguous parentheses warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:48 PM Revision db31f2fa (git): webrick: don't use OpenSSL::TestUtils from webrick tests
Follow net/http and open-uri. Don't rely on the constants/methods from
OpenSSL::TestUtils.
git-svn-id: svn+ssh://ci....
rhenium (Kazuki Yamaguchi)
03:48 PM Revision 0cc0080a (git): open-uri: don't use OpenSSL::TestUtils from open-uri tests
Follow net/http. Define own test DH parameters and use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56935 b2dd...
rhenium (Kazuki Yamaguchi)
03:48 PM Revision df769d9d (git): net/http: don't use OpenSSL::TestUtils from test code
Make test code independent of test/openssl/utils.rb. The development of
openssl library has moved to a separate repos...
rhenium (Kazuki Yamaguchi)
03:34 PM Revision 7f30d00b (git): object.c: no TypeError at special const
* object.c (special_object_p): no longer raise a TypeError for
Integer and Float, and return itself instead. [Feat...
nobu (Nobuyoshi Nakada)
03:31 PM Revision 7a480ae8 (git): NEWS: Add String/Symbol#casecmp? [Feature #12786]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:23 PM Revision 40c9f1f3 (git): get rid of test failures on CI introduced at r56927
* lib/matrix.rb: now ruby warns ambiguous parentheses after a space in method definitions.
git-svn-id: svn+ssh://ci...
U.Nakamura
03:14 PM Bug #12958: Breaking change in how `#round` works
Shyouhei Urabe wrote:
> As far as I can see the Rails breakage only happens in views, where 30secs is shown "less th...
jeromecornet (Jerome Cornet)
03:14 PM Revision 18658d7d (git): * 2016-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision fe3b21bb (git): object.c: no TypeError at special const clone
* object.c (rb_obj_clone2): no longer raise a TypeError for
special constants, and return itself instead. however,...
nobu (Nobuyoshi Nakada)
02:27 PM Feature #12992 (Open): ArgumentError if hostname is missing
Tue Nov 29 15:07:31 2016 Mohamed Osama <mohamed.o.alnagdy@gmail.com>
* lib/net/http/generic_request.rb: Throw ...
oss (Mohamed Osama)
12:54 PM Bug #12991 (Closed): Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
Applied in changeset r56928.
----------
thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_a...
nobu (Nobuyoshi Nakada)
12:09 PM Bug #12991 (Closed): Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
Currently, ruby doc says that:
```
When set to true, all threads will abort (the process will exit(0)) if an exce...
tagomoris (Satoshi Tagomori)
12:54 PM Revision 9e3afec0 (git): thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_abort_exc, rb_thread_s_abort_exc_set):
[DOC] the raised exception will be re-raised in the ...
nobu (Nobuyoshi Nakada)
10:47 AM Revision 65e27c8b (git): parse.y: ambiguous parentheses
* parse.y (parser_yylex): warn ambiguous parentheses after a space
in method definitions.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
10:45 AM Revision dacf977a (git): Fix/improve documentation of String/Symbol#casecmp[?]
Fix documentation of String#casecmp? (examples didn't have the '?').
Add an example with non-ASCII characters. Clarif...
duerst (Martin Dürst)
10:35 AM Feature #12786: String#casecmp?
Ryan Ringler wrote:
> I see the changeset implements the new method by calling `String#downcase` on both strings a...
duerst (Martin Dürst)
03:42 AM Feature #12786: String#casecmp?
Thank you for incorporating this!
I see the changeset implements the new method by calling `String#downcase` on bo...
rringler (Ryan Ringler)
09:28 AM Bug #12990: unicode_case_mapping_tests
The culprit is line 4555 in enc/unicode/9.0.0/casefold.h:
```
{0xa64b, {2, {0x1c88, 0xa64a}}},
```
With com...
duerst (Martin Dürst)
08:57 AM Bug #12990 (Open): unicode_case_mapping_tests
Nobuyoshi Nakada wrote:
> I found that tests generated by `TestComprehensiveCaseFold.unicode_case_mapping_tests` com...
duerst (Martin Dürst)
08:40 AM Bug #12990 (Closed): unicode_case_mapping_tests
Applied in changeset r56924.
----------
Fix erroneous test of target against target
* test/ruby/enc/test_case_compr...
duerst (Martin Dürst)
07:08 AM Bug #12990: unicode_case_mapping_tests
Failed results:
```
$ ./ruby test/runner.rb test/ruby/enc/test_case_comprehensive.rb
Run options:
# Running t...
nobu (Nobuyoshi Nakada)
07:06 AM Bug #12990 (Closed): unicode_case_mapping_tests
I found that tests generated by `TestComprehensiveCaseFold.unicode_case_mapping_tests` compares `target` with same `t... nobu (Nobuyoshi Nakada)
08:44 AM Revision fa7066f8 (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
08:39 AM Revision ddfa6e2b (git): Fix erroneous test of target against target
* test/ruby/enc/test_case_comprehensive.rb: fix test condition,
add a temporary check for U+A64B, the only characte...
duerst (Martin Dürst)
08:31 AM Revision c6f58ef1 (git): Ignore SystemCallError in case it is raised by SSLSocket#accept.
Errno::ECONNRESET was raised by test_tls_post_connection_check and
test_tls_unknown_ca on mswin64 CI.
git-svn-id: sv...
shugo (Shugo Maeda)
04:02 AM Bug #12989: Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
Encoding argument should be prior to `binmode` option.
```ruby
open(IO::NULL, "r", binmode: true){|f| p [f.binmod...
nobu (Nobuyoshi Nakada)
03:06 AM Revision 98763860 (git): test_keyword.rb: more assertions
* test/ruby/test_keyword.rb (test_block_required_keyword): more
assertions for positional and require keyword param...
nobu (Nobuyoshi Nakada)
03:06 AM Revision a65982f0 (git): test_keyword.rb: assert_raise_with_message value
* test/ruby/test_keyword.rb (test_block_required_keyword):
assert_raise_with_message returns the raised exception o...
nobu (Nobuyoshi Nakada)
03:06 AM Revision 07fb750f (git): string.c: use xmalloc
* string.c (rb_str_casemap): use xmalloc simply instead of
ALLOC_N.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
02:47 AM Revision 7242e6a9 (git): net/ftp: add a new option ssl_handshake_timeout to Net::FTP.new.
The TLS handshake timeout can be specified independently, because the TLS
handshake doesn't start just after the unde...
shugo (Shugo Maeda)
02:33 AM Revision a4072112 (git): net/ftp: close the socket directly when an error occurs during TLS handshake.
Otherwise, @sock.read in Net::FTP#close hungs until read_timeout exceeded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
shugo (Shugo Maeda)
02:21 AM Revision d8a0f14b (git): * 2016-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:21 AM Revision 2660dd5b (git): net/ftp: close the connection if the TLS handshake timeout is exceeded.
Otherwise, file descriptor leaks may occur in Net::FTP.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56916 ...
shugo (Shugo Maeda)

11/28/2016

11:01 PM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Hi,
> Is there any problem with the following code?
> Integer(str) rescue default_value
2 problems
1. It's ...
tenderlovemaking (Aaron Patterson)
10:31 PM Bug #12989 (Closed): Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
Here is a sample program:
~~~ruby
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encodi...
tenderlovemaking (Aaron Patterson)
06:00 PM Bug #12988 (Closed): Calling `inspect` sometimes causes a segv
`rb_obj_inspect` calls `rb_ivar_count ` to find the number of instance variables on an object. `rb_ivar_count` uses ... tenderlovemaking (Aaron Patterson)
05:31 PM Bug #12984: `rescue *[]` should be equivalent to `rescue` as `method_call(*[])` is equivalent to `method_call`
bug hit wrote:
> Nobuyoshi Nakada wrote:
> > It's similar to:
> >
> > ```ruby
> > super(*[])
> > ```
>
> I ...
bughit (bug hit)
04:27 PM Bug #12984: `rescue *[]` should be equivalent to `rescue` as `method_call(*[])` is equivalent to `method_call`
Nobuyoshi Nakada wrote:
> It's similar to:
>
> ```ruby
> super(*[])
> ```
I guess there's some similarity. ...
bughit (bug hit)
03:27 AM Bug #12984: `rescue *[]` should be equivalent to `rescue` as `method_call(*[])` is equivalent to `method_call`
It's similar to:
```ruby
super(*[])
```
nobu (Nobuyoshi Nakada)
01:16 PM Revision 78b0d7ac (git): string.c: fix zero-length array
* string.c (mapping_buffer): get rid of zero-length array member,
which is not a part of C90.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:47 PM Bug #12987: Win32 API.rb can not call function without argument.
Thank you very much.
I just learned that only nil was clearly stating that there are no arguments in the previous do...
katonbo (Masahiro Kitajima)
11:57 AM Bug #12987: Win32 API.rb can not call function without argument.
For workaround, you can use '' instead of '0'. usa (Usaku NAKAMURA)
11:24 AM Bug #12987 (Closed): Win32 API.rb can not call function without argument.
In Win32API.rb, it is not possible to call a function without arguments.
I could avoid it for the time being if I di...
katonbo (Masahiro Kitajima)
10:17 AM Revision f2a1f32f (git): hide exceptions in server thread
* test/net/ftp/test_ftp.rb (test_tls_connect_timeout): sleeping to give a chance of complete of accept is a timing is... U.Nakamura
09:37 AM Revision 196e8b44 (git): string.c: enable rdoc
* string.c (rb_str_casecmp_p): [DOC] move forward declaration of
rb_str_downcase to enable rdoc.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
08:37 AM Feature #12786 (Closed): String#casecmp?
Applied in changeset r56912.
----------
implement String/Symbol#casecmp? including Unicode case folding
* string.c:...
duerst (Martin Dürst)
08:30 AM Feature #12786 (Open): String#casecmp?
duerst (Martin Dürst)
08:37 AM Revision ad619e02 (git): implement String/Symbol#casecmp? including Unicode case folding
* string.c: Implement String#casecmp? and Symbol#casecmp? by using
String#downcase :fold for Unicode case folding. ...
duerst (Martin Dürst)
04:04 AM Feature #12986 (Open): HTTP/request basic_auth context should be switched
HTTP basic auth should be persisted over the HTTP object and not the request object. The consequence is having to au... bluebaron (James Baron)
03:58 AM Feature #12985: HTTP should handle cookies
I don't really care if this gets low priority. I'd just like to have a quick discussion and get it approved.
bluebaron (James Baron)
03:56 AM Feature #12985 (Open): HTTP should handle cookies
Need to implement an RFC-compliant cookie handling method. Specifically, set-cookies need to be handled properly; but... bluebaron (James Baron)
03:48 AM Revision bd2fd731 (git): insns.def: adjust index type
* insns.def (checkmatch): adjust type of the index variable, to
get rid of (potential) overflow.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
03:14 AM Revision 8e7e71d6 (git): Give a chance to complete server.accept
* test/net/ftp/test_ftp.rb (test_tls_connect_timeout): get rid of a test error on Windows.
git-svn-id: svn+ssh://ci...
U.Nakamura
02:02 AM Revision a530b970 (git): * 2016-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:02 AM Revision d6fdd1c3 (git): compile.c: splatarray peephole opt
* compile.c (iseq_peephole_optimize): remove splatarray following
always-array insn.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)

11/27/2016

10:23 PM Feature #12973: [RFC] net/http: use require_relative to reduce syscalls
I have no particular pro or con opinion, not that it would be relevant anyway - but I am watching this closely out of... shevegen (Robert A. Heiler)
06:11 PM Bug #12984 (Closed): `rescue *[]` should be equivalent to `rescue` as `method_call(*[])` is equivalent to `method_call`
Splatting an empty array to a construct that takes a list is supposed to be equivalent to specifying no list
```ru...
bughit (bug hit)
03:00 PM Bug #12950: irb: 'input-method.rb:151: [BUG] Segmentation fault' / 'malloc(): smallbin double linked list corrupted'
Umm, I guess the issue may be readine's and this can be reproduced without ruby.
```
#include <stdio.h>
#include...
wanabe (_ wanabe)
12:32 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Should `Kernel#clone` be same? nobu (Nobuyoshi Nakada)
11:22 AM Revision 8cbb7747 (git): signal.c: improve stack overflow check
* signal.c (check_stack_overflow): [EXPERIMENTAL] consider the
segfault a stack overflow when the fault address is ...
nobu (Nobuyoshi Nakada)
11:07 AM Revision 70d8e6cf (git): object.c: no TypeError at special const dup
* object.c (rb_obj_dup): no longer raise a TypeError for special
constants, and return itself instead. [Feature#12...
nobu (Nobuyoshi Nakada)
11:03 AM Feature #12982 (Feedback): ruby 2.3.1 got crash on macos
Seems a simple stack overflow, but it's strange that `sigsegv` handler hasn't been called.
Could you elaborate what ...
nobu (Nobuyoshi Nakada)
10:17 AM Bug #12983 (Closed): compatibility_version and current_version on Darwin are reversed
Committed as r56905. knu (Akinori MUSHA)
07:05 AM Bug #12983: compatibility_version and current_version on Darwin are reversed
Please commit it. nobu (Nobuyoshi Nakada)
05:37 AM Bug #12983 (Closed): compatibility_version and current_version on Darwin are reversed
The `compatibility_version` should have an API version and the `current_version` should have a program version of Rub... knu (Akinori MUSHA)
10:08 AM Revision 673a6ad9 (git): Reverse compatibility_version and current_version for Darwin
The `compatibility_version` should have an API version and the
`current_version` should have a program version of Rub...
Akinori MUSHA
09:40 AM Revision c46946ca (git): * 2016-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:40 AM Revision edaf46da (git): gems/bundled_gems: Update to power_assert 0.4.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
05:32 AM Feature #12786: String#casecmp?
Nobuyoshi Nakada wrote:
> `String#casecmp` also should have those options, I think.
I agree that once String#case...
duerst (Martin Dürst)
04:02 AM Feature #12786: String#casecmp?
Nobuyoshi Nakada wrote:
> `String#casecmp` also should have those options, I think.
I agree, and feel strongly th...
rringler (Ryan Ringler)
03:23 AM Feature #12786: String#casecmp?
`String#casecmp` also should have those options, I think. nobu (Nobuyoshi Nakada)
01:53 AM Feature #12786: String#casecmp?
Ryan Ringler wrote:
> The attached patch implements `#casecmp?` by calling `#casecmp` and checking whether the ret...
duerst (Martin Dürst)
04:12 AM Feature #10912: Add method(s) to IPAddr for determining whether an address is link local
I also want a method to determine whether an address is link-local.
There is a proposal for a fix on https://github....
knqyf263 (Teppei Fukuda)

11/26/2016

09:13 PM Feature #12786: String#casecmp?
Martin Dürst wrote:
> I gave an implementation in Ruby, but can somebody provide an equivalent patch in C?
The at...
rringler (Ryan Ringler)
09:09 PM Feature #12786: String#casecmp?
Yukihiro Matsumoto wrote:
> `casecmp?` accepted.
>
> Matz.
Thank you!
rringler (Ryan Ringler)
08:45 PM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
What about `sub_md` as a name? herwin (Herwin W)
02:54 PM Feature #12982 (Feedback): ruby 2.3.1 got crash on macos
```
VM Regions Near 0x7fff5920fc68:
MALLOC_TINY 00007fd315800000-00007fd315a00000 [ 2048K] rw-/rwx S...
hunterhu (Hunter Hu)
02:51 PM Feature #12753: Useful operator to check bit-flag is true or false
```ruby
if n.bittest?(0b10100000)
```
If I encountered that code without having the context of this case, I woul...
herwin (Herwin W)
01:33 PM Bug #12981 (Closed): Date.parse raises an Argument error under a specific condition
Date.parse cannot accept incomplete strings whose delimiter is a hyphen like: "2016-12", although it can accept if a ... kenta-s (Kenta SHIRAI)
12:08 PM Bug #12950: irb: 'input-method.rb:151: [BUG] Segmentation fault' / 'malloc(): smallbin double linked list corrupted'
_ wanabe wrote:
> after r42402, Readline.input in IRB::ReadlineInputMethod#gets causes "Too many open files - dup (E...
wanabe (_ wanabe)
08:04 AM Bug #12950: irb: 'input-method.rb:151: [BUG] Segmentation fault' / 'malloc(): smallbin double linked list corrupted'
after r42402, Readline.input in IRB::ReadlineInputMethod#gets causes "Too many open files - dup (Errno::EMFILE)".
af...
wanabe (_ wanabe)
11:37 AM Feature #12695 (Closed): File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
Applied in changeset r56902.
----------
file.c: home directory from system
* file.c (rb_default_home_dir): resolve ...
nobu (Nobuyoshi Nakada)
11:37 AM Revision 6b88dd26 (git): file.c: home directory from system
* file.c (rb_default_home_dir): resolve home directory from the
system database when HOME is not set. [Feature #12...
nobu (Nobuyoshi Nakada)
11:37 AM Revision 58742627 (git): win32.c: special folders as home dir
* win32/win32.c (rb_w32_home_dir): move from win32/file.c to try
special folders.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
10:57 AM Revision 8c08d2de (git): NEWS: mention [Feature #12953] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:29 AM Revision 2e2fa3dd (git): * 2016-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:29 AM Revision 473d0d32 (git): net/ftp: support timeout for TLS handshake.
Net::FTP inherits ssl_socket_connect from Net::Protocol to implement timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org...
shugo (Shugo Maeda)
07:47 AM Feature #12944: Change Kernel#warn to call Warning.warn
Here's an updated patch that uses str_end_with_asciichar instead of just manually checking the last byte for \n. jeremyevans0 (Jeremy Evans)
05:23 AM Feature #12944: Change Kernel#warn to call Warning.warn
You can't compare and append the last byte simply in wide character encodings.
E.g., `str_end_with_asciichar` in io.c.
nobu (Nobuyoshi Nakada)
03:57 AM Feature #12944: Change Kernel#warn to call Warning.warn
Here's an updated patch that uses rb_str_dup before calling rb_str_cat, so it doesn't modify a passed in string, and ... jeremyevans0 (Jeremy Evans)
06:16 AM Bug #12938: forwardable.rb is no longer compatible with any alternative implementation
This is great, thanks nobu! headius (Charles Nutter)
04:19 AM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
matz, did you want to modify the Kernel#warn API? Currently, I don't think modifying the Kernel#warn API can be done... jeremyevans0 (Jeremy Evans)

11/25/2016

10:05 PM Bug #12970: == Equality of recursive sets fails
Took me a while to understand what was going on.
The issue is that the Set would need to be rehashed. Indeed, when...
marcandre (Marc-Andre Lafortune)
09:40 PM Feature #12813: Calling chunk_while, slice_after, slice_before, slice_when with no block
It would help if you explained what is meant by "safe".
There is currently no valid usage of `chunk_while`, `slice...
marcandre (Marc-Andre Lafortune)
02:04 PM Feature #12813 (Assigned): Calling chunk_while, slice_after, slice_before, slice_when with no block
We briefly looked at this issue in todays developer meeting but had no time to fully agree that the proposed extensio... shyouhei (Shyouhei Urabe)
06:29 PM Feature #12953 (Closed): (Float, Integer, Rational)#round(half: :down)
nobu (Nobuyoshi Nakada)
01:15 PM Feature #12953: (Float, Integer, Rational)#round(half: :down)
We looked at this issue at todays developer meeting and no one (including matz who was there) was against it. I beli... shyouhei (Shyouhei Urabe)
03:01 PM Feature #12753: Useful operator to check bit-flag is true or false
Herwin Quarantainenet wrote:
> I can't say the usage of `bittest?` is directly clear to me. Does it test if resultin...
naruse (Yui NARUSE)
07:59 AM Feature #12753: Useful operator to check bit-flag is true or false
I can't say the usage of `bittest?` is directly clear to me. Does it test if resulting integer is not equal to `0`? A... herwinw (Herwin Quarantainenet)
07:45 AM Feature #12753: Useful operator to check bit-flag is true or false
`bittest?` sounds reasonable. Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:28 AM Feature #12753: Useful operator to check bit-flag is true or false
What about `bittest?` naruse (Yui NARUSE)
07:28 AM Feature #12753: Useful operator to check bit-flag is true or false
I understand the demand. But `and?` is an unacceptable name.
Any idea?
Matz.
matz (Yukihiro Matsumoto)
02:15 PM Feature #8960: Add Exception#backtrace_locations
We looked at this issue today. It turned out that ruby do not fully implement what was needed originally now. Reope... shyouhei (Shyouhei Urabe)
09:21 AM Feature #8960 (Assigned): Add Exception#backtrace_locations
shyouhei (Shyouhei Urabe)
01:59 PM Bug #12780: BigDecimal#round returns different types depending on argument
We (mainly mrkn and matz) discussed why Fixnum#round returns Integer today. The answer is because (unlike other lang... shyouhei (Shyouhei Urabe)
01:46 PM Feature #12697: Why shouldn't Module meta programming methods be public?
We looked at this issue at todays developer meeting. We referred issue #6539 and now we remember that each method (n... shyouhei (Shyouhei Urabe)
01:35 PM Bug #12688: Thread unsafety in autoload
We looked at this issue in todays developer meeting and had 2 feelings in common.
1. The autoload should not rend...
shyouhei (Shyouhei Urabe)
08:20 AM Bug #12688 (Assigned): Thread unsafety in autoload
shyouhei (Shyouhei Urabe)
01:31 PM Bug #12980: Time - Time to return a Rational
I think of one philosophical reason and one practical reason.
A philosophical reason: many Time objects are inhere...
mame (Yusuke Endoh)
09:25 AM Bug #12980 (Feedback): Time - Time to return a Rational
akr (Akira Tanaka)
09:25 AM Bug #12980: Time - Time to return a Rational
It is because ruby-dev:38446 by mame-san.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/38446
akr (Akira Tanaka)
08:26 AM Bug #12980: Time - Time to return a Rational
Well, my assumption seems wrong.
0.5r.round also becomes 0, so this isn't really related to #12952
Still I'm wond...
matsuda (Akira Matsuda)
08:18 AM Bug #12980 (Closed): Time - Time to return a Rational
Currently subtracting a Time from a Time returns a Float, which I guess causes #12952
Is there any reason this doe...
matsuda (Akira Matsuda)
01:30 PM Feature #12944: Change Kernel#warn to call Warning.warn
`rb_str_cat` modifies the argument, it is unexpected to `Kernel#warn`, I think.
Also it doesn't work on a frozen str...
nobu (Nobuyoshi Nakada)
09:32 AM Feature #12944: Change Kernel#warn to call Warning.warn
Accepted.
Matz.
matz (Yukihiro Matsumoto)
01:28 PM Bug #10290 (Assigned): segfault when calling a lambda recursively after rescuing SystemStackError
ping nobu. shyouhei (Shyouhei Urabe)
01:27 PM Feature #12775: Random subset of array
We looked at this issue at todays developer meeting but a "random subset with random size" still does not sound famil... shyouhei (Shyouhei Urabe)
01:18 PM Feature #12831: /\X/ (extended grapheme cluster) can't pass unicode.org's GraphemeBreakTest
We looked at this issue in todays developer meeting and assigned it to Yui. But no one there had implementation of t... shyouhei (Shyouhei Urabe)
06:37 AM Feature #12831 (Assigned): /\X/ (extended grapheme cluster) can't pass unicode.org's GraphemeBreakTest
shyouhei (Shyouhei Urabe)
01:13 PM Bug #12958: Breaking change in how `#round` works
Of course it changes behaviour. A change always is. The problem is how vital this (rounding an inexact number to a ... shyouhei (Shyouhei Urabe)
09:42 AM Bug #12958: Breaking change in how `#round` works
Tests are not the only problem. I believe this change is dangerous because this code may change behavior in productio... rafaelfranca (Rafael França)
07:41 AM Bug #12958 (Assigned): Breaking change in how `#round` works
shyouhei (Shyouhei Urabe)
09:41 AM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
LGTM, as long as we add a functionality to `warn` to include those info.
Matz.
matz (Yukihiro Matsumoto)
09:35 AM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
LGTM.
Matz.
matz (Yukihiro Matsumoto)
09:34 AM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Below is PoC; it may have a path which raises an exception.
```diff
diff --git a/object.c b/object.c
index 05bef...
naruse (Yui NARUSE)
07:01 AM Feature #12732 (Feedback): An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Is there any problem with the following code?
```
Integer(str) rescue default_value
```
Matz.
matz (Yukihiro Matsumoto)
09:21 AM Misc #11904: Why was Thread.exclusive deprecated?
shyouhei@ruby-lang.org wrote:
> P.S. we have /#{@mutex=Mutex.new}/o, so we already have such thing, to some extent ...
normalperson (Eric Wong)
03:41 AM Misc #11904: Why was Thread.exclusive deprecated?
I feel that Thread.exclusive is too big a primitive to merely initialize a mutex at a process startup. We could perh... shyouhei (Shyouhei Urabe)
09:11 AM Feature #12612: Switch Range#=== to use cover? instead of include?
I encountered the problem in production code, it was not strings, but specialized IPAddress class, to filter "if IP i... zverok (Victor Shepelev)
08:51 AM Feature #12612 (Rejected): Switch Range#=== to use cover? instead of include?
I see no real-world use-case for `Range#===` with strings.
Besides that, using `cover?` behavior for string ranges w...
matz (Yukihiro Matsumoto)
09:08 AM Feature #12698 (Feedback): Method to delete a substring by regex match
I don't think it's worth adding which is easily done by `sub/gsub`.
Matz.
matz (Yukihiro Matsumoto)
09:01 AM Feature #12715 (Feedback): Allow ruby hackers to omit having to specify class or module mandatory, if they know exactly what they want to do
matz (Yukihiro Matsumoto)
08:59 AM Feature #12719 (Feedback): `Struct#merge` for partial updates
I want to see a real-world use-case for the feature.
In addition, I don't think the name `merge` is the best for the...
matz (Yukihiro Matsumoto)
08:55 AM Bug #9244 (Rejected): unexpected behaviour of 'require' when $LOAD_PATH gets changed
I'd like to keep compatibility rather than reducing confusion slightly.
In any way, modifying $LOAD_PATH on the fly ...
matz (Yukihiro Matsumoto)
08:47 AM Feature #12786 (Feedback): String#casecmp?
I gave an implementation in Ruby, but can somebody provide an equivalent patch in C? duerst (Martin Dürst)
08:45 AM Feature #12786: String#casecmp?
I gave an implementation in Ruby, but can somebody provide an equivalent patch in C? duerst (Martin Dürst)
08:40 AM Feature #12786: String#casecmp?
`casecmp?` accepted.
Matz.
matz (Yukihiro Matsumoto)
08:43 AM Feature #12760: Optional block argument for `itself`
Well, I should say `yield_self` is not very readable in context (it raises question which is "self" in that context?)... zverok (Victor Shepelev)
08:10 AM Feature #12760: Optional block argument for `itself`
`yield_self` is OK, but I don't think we are going to add `object.{|x| ... }`.
Matz.
matz (Yukihiro Matsumoto)
08:08 AM Feature #12770 (Rejected): Hash#left_merge
Do you want to treat nils specially? If so, the name `left_merge` does not indicate the intention.
Besides that, you...
matz (Yukihiro Matsumoto)
07:55 AM Feature #12978 (Rejected): Symbol after keyword
Reject because it is too similar to string literals.
Matz.
matz (Yukihiro Matsumoto)
06:55 AM Feature #12978 (Rejected): Symbol after keyword
As the developers' meeting today, proposed syntax extension `key::"value"`.
https://github.com/ruby/ruby/compare/t...
nobu (Nobuyoshi Nakada)
07:51 AM Feature #12746: class Array: alias .prepend to .unshift ?
FIY both append and prepend are in ActiveSupport: https://github.com/rails/rails/blob/master/activesupport/lib/active... matsuda (Akira Matsuda)
07:46 AM Feature #12746: class Array: alias .prepend to .unshift ?
Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:48 AM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
I found that a rubygems test ,`TestGemSpecification#test_initialize_copy_broken` in test/rubygems/test_gem_specificat... nobu (Nobuyoshi Nakada)
07:20 AM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
If we don't care about dup-ability much, the proposal sounds reasonable.
And I agree this dup-ability matters less t...
matz (Yukihiro Matsumoto)
07:12 AM Feature #12979 (Closed): Avoid exception for #dup on Integer (and similar cases)
This is a proposal resulting from a discussion in Bug #11929. Because this is proposing a different solution from #11... duerst (Martin Dürst)
07:42 AM Feature #12752: Unpacking a value from a binary requires additional '.first'
`unpack1` looks so ad-hoc but surely is attractive.
Matz.
matz (Yukihiro Matsumoto)
07:39 AM Feature #12752: Unpacking a value from a binary requires additional '.first'
How about `Array#unpack1` ? naruse (Yui NARUSE)
07:31 AM Feature #12754: Want to use prepared buffer with `Array#pack`
Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:26 AM Feature #12871 (Assigned): Using the algorithm like math.fsum of Python for Array#sum
mrkn (Kenta Murata)
07:24 AM Bug #11929 (Closed): No programatic way to check ability to dup/clone an object
The issue closed by #12979
Matz.
matz (Yukihiro Matsumoto)
06:35 AM Bug #11929 (Feedback): No programatic way to check ability to dup/clone an object
1. ability to be duped cannot be checked by `respond_to?`. It's simply wrong.
2. the "fail silently" proposal is att...
matz (Yukihiro Matsumoto)
07:18 AM Feature #12745 (Feedback): String#(g)sub(!) should pass a MatchData to the block, not a String
Out of Shyouhei's 4 options,

1. not acceptable for compatibility's sake
2. not excited, may cause compatibility ...
matz (Yukihiro Matsumoto)
06:58 AM Feature #12721 (Rejected): public_module_function
I understand your proposal, but I don't see what it is for.
Do you have any no-artificial use-case for this feature?...
matz (Yukihiro Matsumoto)
06:49 AM Feature #4897 (Rejected): Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
For the time being, use `math-tau` gem.
I will add it after (and only after) it became time-proven major, probably d...
matz (Yukihiro Matsumoto)
06:41 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
Accepted.
Matz.
matz (Yukihiro Matsumoto)
06:28 AM Revision 631dde25 (git): round-down
* numeric.c (round_half_down, int_round_half_down): support
round-down mode.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
06:22 AM Feature #12063: KeyError#receiver and KeyError#name
Agreed.
Matz.
matz (Yukihiro Matsumoto)
05:54 AM Feature #12963 (Feedback): ?string longer than one char
Since ?up gives a string "up", it cannot be a replacement for :up symbol.
If someone come up with an use-case for th...
matz (Yukihiro Matsumoto)
 

Also available in: Atom