Project

General

Profile

Activity

From 01/20/2017 to 01/26/2017

01/26/2017

09:12 PM Bug #13161 (Closed): [DOC] Enumerable#{min,min_by,max,max_by} didn't mention they return a sorted array
* Enumerable#{min,min_by,max,max_by} return a sorted array when +n+ argument is used. This isn't mentioned from the c... eric_duminil (Eric Duminil)
05:41 PM Bug #13127: DRb `load': connection closed (DRb::DRbConnError) when client exit's from within a loop iterating over remote objects
The Kernel.exit! works.
But why does the problem happen with the exit called? Isn't that a bug.
[email protected] (Madhu Kanoor)
05:39 PM Bug #13102: Confusing method name: Set#delete?
Kai Kuchenbecker wrote:
> I think it is very surprising for a method ending in a question mark to have a side effect...
sos4nt (Stefan Schüßler)
05:11 PM Bug #13160 (Closed): Socket c code breaks ruby interpreter
When a client connects to a socket, the ruby interpreter crashes with the backtrace at the bottom (used the current v... fabianfrz (Fabian Franz)
03:14 PM Revision c71e1223 (git): [DOC] Use Integer instead of Fixnum [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:14 PM Revision 8eeadfe0 (git): * 2017-01-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision e7cc3900 (git): lib/weakref.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:03 PM Feature #13153: Inconsistent sprintf formatting for 0 value
Old ruby's results are `0x00`.
It changed between `1.9.0-0` and `1.9.0-5`.
```
% rbenv each ruby -ve 'puts "%#0....
znz (Kazuhiro NISHIYAMA)
01:44 PM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
I encountered this bug myself today and while searching for a reason behind it, I found this:
https://github.com/r...
sos4nt (Stefan Schüßler)
01:29 PM Bug #13146: Float::NANs in Hashes are confusing (more than usual).
Somehow, using `-Float::NAN` (for example in a hash or array) results in new objects being created:
```ruby
-Floa...
sos4nt (Stefan Schüßler)
12:47 PM Revision fdbb4bb3 (git): Add document for lib/rss/atom.rb
[fix GH-1520]
Patch by Tsehau Chao. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57428 b2dd03c8-39d...
Sutou Kouhei
10:38 AM Bug #12688 (Feedback): Thread unsafety in autoload
I can't reproduce headius's issue. It shows 50 dots and stop at next iteration because autoload is failed.
Inserti...
ko1 (Koichi Sasada)
10:25 AM Feature #12967 (Rejected): Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
> My suggestion is to ship with a far safer default of: RUBY_GC_HEAP_GROWTH_MAX_SLOTS=100000
To define "safe" is ...
ko1 (Koichi Sasada)
09:57 AM Bug #13030 (Closed): Unexpected T_IMEMO object when building with VMDEBUG
Applied in changeset r57427.
----------
skip T_IMEMO for VMDEBUG
* vm_dump.c (vm_stack_dump_each): skip T_IMEMO obj...
ko1 (Koichi Sasada)
09:57 AM Revision 8fa99e64 (git): skip T_IMEMO for VMDEBUG
* vm_dump.c (vm_stack_dump_each): skip T_IMEMO object to display
for VMDEBUG=3. [Bug #13030]
git-svn-id: svn+ssh:...
ko1 (Koichi Sasada)
09:40 AM Revision a4bc6c27 (git): * vm_dump.c: enable to compile with VMDEBUG == 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:19 AM Revision 599d7511 (git): * 2017-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:19 AM Revision 72ad0019 (git): Parallel gem configuration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:09 AM Revision 17ee9196 (git): Fix function name for DBM on extension document.
Patch by Yuji Yaginuma, @y-yagi <[email protected]>
[ci skip][fix GH-1519]
git-svn-id: svn+ssh://ci.ruby-la...
hsbt (Hiroshi SHIBATA)

01/25/2017

09:03 PM Bug #13159 (Closed): [DOC] Revise documentation for OpenStruct
```
* update paragraph on implementation:
define_singleton_method is used, not define_method
* add call-seq with...
stomar (Marcus Stollsteimer)
02:34 PM Bug #13158 (Closed): UNIXServer#closed? returns false after UNIXServer#close called
Applied in changeset r57422.
----------
io.c: close before wait
* io.c (io_close_fptr): notify then close, and wait...
nobu (Nobuyoshi Nakada)
10:16 AM Bug #13158 (Closed): UNIXServer#closed? returns false after UNIXServer#close called
When I tried the simple script below, ruby trunk works unexpectedly:
```ruby
require 'socket'
server = UNIXSer...
tagomoris (Satoshi Tagomori)
02:34 PM Revision 61701ae1 (git): io.c: close before wait
* io.c (io_close_fptr): notify then close, and wait for other
threads before free fptr. [ruby-core:79262] [Bug #13...
nobu (Nobuyoshi Nakada)
02:28 PM Revision a7bc6c1b (git): [DOC] Add empty example to enum.all? and any?
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:35 AM Feature #13156: In-tree copy of ruby/spec
Koichi Sasada wrote:
> I'm not sure because I'm not a heavy github user, but most of github users feel happy on gith...
Eregon (Benoit Daloze)
02:07 AM Feature #13156: In-tree copy of ruby/spec
I'm not sure because I'm not a heavy github user, but most of github users feel happy on github contribution, doesn't... ko1 (Koichi Sasada)
01:23 AM Feature #13156: In-tree copy of ruby/spec
I'm neutral or somewhat positive to this. It sounds worth trying. At least I have no reason to object. shyouhei (Shyouhei Urabe)
12:55 AM Feature #13156: In-tree copy of ruby/spec
Benoit Daloze wrote:
> Was this discussed in the last developer meeting?
Apparently not (see https://docs.google....
duerst (Martin Dürst)
06:08 AM Revision 7db9fbdf (git): regcomp.c: debug function [ci skip]
* regcomp.c (print_indent_tree): make a function for debug static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
06:05 AM Revision 4f1a54d2 (git): .gdbinit: fix on empty strings [ci skip]
* .gdbinit (output_string): get rid of "Invalid number 0 of
repetitions" error on empty strings.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
06:05 AM Revision 0da52e56 (git): .gdbinit: op symbols [ci skip]
* .gdbinit (rp_id): add unhandled operator symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57418 b2dd03c8...
nobu (Nobuyoshi Nakada)
05:45 AM Misc #13072: Current state of date standard library
Victor Shepelev wrote:
> > Time is kept in core
> > date library will be separeted from Ruby repository (stdlib) to...
naruse (Yui NARUSE)
03:28 AM Feature #12901: Anonymous functions without scope lookup overhead
I have thought about this a number of times, but never got around to writing a feature request: we already have a way... jwmittag (Jörg W Mittag)
03:13 AM Feature #12901: Anonymous functions without scope lookup overhead
Jeremy Evans wrote:
> It would probably be better if ruby could do analysis and if there are no references to local ...
jwmittag (Jörg W Mittag)
03:07 AM Feature #12180: switch id_table.c variant
Yura:
Sorry for my laziness. I committed it (remain only your algorithm) and cleanup source code.
Pls make another ...
ko1 (Koichi Sasada)
03:03 AM Feature #12180 (Closed): switch id_table.c variant
Applied in changeset r57416.
----------
swithc id_table data structure.
* id_table.c: swtich to "simple open addres...
ko1 (Koichi Sasada)
03:03 AM Revision 26270bd2 (git): * 2017-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 AM Revision 4c2d014e (git): swithc id_table data structure.
* id_table.c: swtich to "simple open addressing with quadratic probing"
by Yura Sokolov. For more detail measureme...
ko1 (Koichi Sasada)
01:13 AM Bug #13157 (Closed): Rational doc bug
On the ruby-doc page for Rational, the following example appears.
Rational(900) + Rational(1) #=> (900/1)
...
criglerj (Jim Crigler)
01:10 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
~~~
$ nawk --version
awk version 20121220 (FreeBSD)
$ nawk 'END { printf("%d\n", -2 ** 4) }' < /dev/null
-16
~~~
metanest (Makoto Kishimoto)
01:10 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
By the way, about "/" and "%" operators, in Ruby:
~~~
irb(main):001:0> -10%3 # (-10) % 3 == 2
=> 2
irb(main):00...
ytomino (yuta tomino)
12:54 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
Ada
~~~
with Ada.Integer_Text_IO;
procedure pow is
begin
Ada.Integer_Text_IO.Put (-2 ** 4);
end;
~~~
...
ytomino (yuta tomino)

01/24/2017

11:23 PM Feature #13153: Inconsistent sprintf formatting for 0 value
FWIW, this is the exact same behavior in C since we're just calling through to `snprintf` for these format specifiers... zenspider (Ryan Davis)
11:33 AM Feature #13153 (Open): Inconsistent sprintf formatting for 0 value
```ruby
0.upto(5).map { |i| "%#0.2x" % i }
# expect: ["0x00", "0x01", "0x02", "0x03", "0x04", "0x05"]
# actual...
RickHull (Rick Hull)
09:08 PM Feature #13156: In-tree copy of ruby/spec
Was this discussed in the last developer meeting?
Sorry for making this feature request a bit late.
Eregon (Benoit Daloze)
09:05 PM Feature #13156 (Closed): In-tree copy of ruby/spec
I would like to integrate an in-tree copy of ruby/spec under spec/rubyspec/
(at the same location ruby/spec is curre...
Eregon (Benoit Daloze)
08:55 PM Feature #13124: Should #puts convert to external encoding?
Thank you for the reply and pointer.
What do you think of having STDOUT, STDERR and STDIN internal_encoding be set...
Eregon (Benoit Daloze)
08:43 PM Feature #12957: A more OO way to create lambda Procs
Actually, it is possible to create a single block of code that can be proc or lambda with #send:
> Kernel.send...
Eregon (Benoit Daloze)
02:52 PM Revision 54fa9f9e (git): eval.c: copy special exception
* eval.c (setup_exception): make unfrozen copy of special
exception before setting up a cause.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
01:43 PM Bug #13152: Numeric parsing differences between ruby <-> crystal
FORTRAN
```
PROGRAM POW
WRITE (*,*) -2**4
STOP
END
```
=> -16
yasu (Yasuyuki Hirata)
01:32 PM Bug #13152: Numeric parsing differences between ruby <-> crystal
Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
Lua ...
ka (k a)
01:15 PM Bug #13152: Numeric parsing differences between ruby <-> crystal
https://www.google.co.jp/search?q=-2**4
> -(2 ** 4) =
> -16
znz (Kazuhiro NISHIYAMA)
10:05 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
here i...
kaoru (Kaoru TAKAHASHI)
09:23 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
Here...
repeatedly (Masahiro Nakagawa)
09:17 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
I tr...
yancya (Shinta Koyanagi)
05:26 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
Here w...
shyouhei (Shyouhei Urabe)
05:17 AM Bug #13152 (Rejected): Numeric parsing differences between ruby <-> crystal
It is intentional.
That unary minus is not considered a part of an integer literal.
nobu (Nobuyoshi Nakada)
01:08 PM Bug #13155: Segfault testing Pry
This appears to crash on Travis (Ubuntu) as well:
https://travis-ci.org/pry/pry/jobs/183781286
vo.x (Vit Ondruch)
12:53 PM Bug #13155 (Closed): Segfault testing Pry
Trying to fix Pry on Fedora Rawhide, I get random segfaults. Unfortunately, I can't see any pattern in them. The back... vo.x (Vit Ondruch)
12:11 PM Bug #13154: URI::Generic, == operator, normalize!
Dmitry Sk wrote:
> But nil scheme actually equivalent to file
Are you sure? I thought a `URI::Generic` object wit...
phluid61 (Matthew Kerwin)
11:45 AM Bug #13154 (Rejected): URI::Generic, == operator, normalize!
This two URI means the same:
```
uri1 = URI::parse '/1/2/3'
uri2 = URI::parse 'file:///1/2/3'
```
but `uri1 == u...
deman_killer (Dmitry Sk)
07:52 AM Revision 7bf450d0 (git): parse.y (parser_yylex): remove wrong warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:38 AM Revision e22aa951 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision 5d438215 (git): Update Rubygems 2.6.10
* https://github.com/rubygems/rubygems/commit/2ee5bf9fd3bd7649d3e244bc40107ff32070ef47
* https://github.com/rubygems...
hsbt (Hiroshi SHIBATA)

01/23/2017

11:49 PM Bug #13152 (Feedback): Numeric parsing differences between ruby <-> crystal
A few questions:
- What is the result if this expression is written as a formula (i.e. with the exponent as a supe...
duerst (Martin Dürst)
07:29 PM Bug #13152: Numeric parsing differences between ruby <-> crystal

I noticed this difference between ruby and crystal when converting a gem.
puts `-2**4` -> -16 (ruby) || 16 (cr...
jzakiya (Jabari Zakiya)
07:26 PM Bug #13152 (Rejected): Numeric parsing differences between ruby <-> crystal
I noticed this difference between ruby and crystal when converting a gem.
```ruby
puts -2**4 -> -16 (ruby) || 1...
jzakiya (Jabari Zakiya)
07:41 PM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
[email protected] wrote:
> Prevent GC by volatile [Bug #13150]
>
> test/ruby/test_marshal.rb test...
normalperson (Eric Wong)
04:58 PM Bug #13150 (Closed): TestMarshal failures on FreeBSD with gcc7 because of GC
Applied in changeset r57410.
----------
Prevent GC by volatile [Bug #13150]
test/ruby/test_marshal.rb test_context_...
naruse (Yui NARUSE)
04:58 PM Bug #13150 (Closed): TestMarshal failures on FreeBSD with gcc7 because of GC
```
1) Failure:
TestMarshal#test_context_switch [/home/naruse/ruby/test/ruby/test_marshal.rb:368]:
[StopIteratio...
naruse (Yui NARUSE)
05:46 PM Bug #13151 (Open): File.writable? doesn't report correctly if a directory is writable on Windows.
I've tried installing a gem per user using a 64 Bit version of Ruby for Windows and recognized that this failed becau... tschoening (Thorsten Schöning)
05:02 PM Bug #13147 (Closed): Update documentation for URI#escape
Applied in changeset r57411.
----------
Fix typo of URI#escape [Bug #13147]
patched by Steve Hill <sghill.dev@gmail...
naruse (Yui NARUSE)
05:02 PM Revision 6219b68f (git): Fix typo of URI#escape [Bug #13147]
patched by Steve Hill <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57411 b2dd03c8-39d4-4...
naruse (Yui NARUSE)
04:58 PM Revision 7c1b30a6 (git): Prevent GC by volatile [Bug #13150]
test/ruby/test_marshal.rb test_context_switch (load) and test_gc (dump)
are failed on FreeBSD 10.3 and gcc7 (FreeBSD ...
naruse (Yui NARUSE)
03:47 PM Revision be220c4f (git): * 2017-01-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 PM Revision 0c9e2cf2 (git): test/test_tmpdir.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:16 AM Bug #13145 (Closed): Symbol#clone doesn't work correctly
Applied in changeset r57407.
----------
object.c: no TypeError at Symbol
* object.c (special_object_p): uninterned ...
nobu (Nobuyoshi Nakada)
06:16 AM Revision 11e6bd5a (git): object.c: no TypeError at Symbol
* object.c (special_object_p): uninterned Symbol also should not
raise a TypeError but return itself instead, as we...
nobu (Nobuyoshi Nakada)
05:59 AM Bug #13149 (Closed): Ruby 2.4.0 の CSV の field_size_limit オプションで先読み文字数を制限できない
Applied in changeset r57406.
----------
csv.rb: fix field_size_limit check
* lib/csv.rb (CSV#shift): the last colum...
nobu (Nobuyoshi Nakada)
04:27 AM Bug #13149 (Closed): Ruby 2.4.0 の CSV の field_size_limit オプションで先読み文字数を制限できない
Ruby 2.4.0 から、指定文字数未満で例外が出る事も、指定文字数以上で例外が出ない事もあります。
以下、指定文字数未満で例外が出るケース。
~~~ruby
require 'csv'
CSV.new(DATA...
koshigoe (Masataka SUZUKI)
05:59 AM Revision 5bb125c6 (git): csv.rb: fix field_size_limit check
* lib/csv.rb (CSV#shift): the last column is an Array in extended
column since r55985. [ruby-dev:49964] [Bug #1314...
nobu (Nobuyoshi Nakada)
04:49 AM Revision 9600fb38 (git): error.c: fixed doc [ci skip]
* error.c (exc_message): fixed doc regarding the presence of
to_str. [Fix GH-1517]
Author: Marc Gauthier <marc...
nobu (Nobuyoshi Nakada)
04:22 AM Revision 48d48903 (git): configure-ext.mk.tmpl: embed macros
* template/configure-ext.mk.tmpl: embed MINIRUBY and SCRIPT_ARGS
to get rid of quoting problems of nmake.
git-svn-...
nobu (Nobuyoshi Nakada)
03:51 AM Revision f41b7517 (git): Fix for nmake
* common.mk (EXT_MK): use double-quotes and remove SCRIPT_ARGS
which contains both types of quotes.
* template/con...
nobu (Nobuyoshi Nakada)
03:43 AM Revision abb8fc1b (git): configure-ext.mk.tmpl: FORCE
* template/configure-ext.mk.tmpl (FORCE): add missing target for
BSD make.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
02:50 AM Revision 17b748df (git): Parallel ext configuration
* ext/configure-ext.mk: configure each directories underneath ext
in parallel.
* template/exts.mk.tmpl: then colle...
nobu (Nobuyoshi Nakada)
02:47 AM Revision ee9f6fdf (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:47 AM Revision 80040c16 (git): improve C0 coverage of insns.def from 65.9% to 96.1%
While I was developing my private topic branch I found that the VM
itself is not tested very much in `make test` test...
shyouhei (Shyouhei Urabe)
02:19 AM Revision ea87854c (git): extinit.c.tmpl: drop after dot
* template/extinit.c.tmpl: drop rest from the first dot in the
base name of a feature is ignored since r30464.
git...
nobu (Nobuyoshi Nakada)
02:18 AM Revision 7c30524b (git): * 2017-01-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:18 AM Revision eb411fad (git): extmk.rb: EXTINITS to sub make
* ext/extmk.rb: pass EXTINITS to sub make. if the template for
extinit.c is modified after extinit.c got compiled,...
nobu (Nobuyoshi Nakada)

01/22/2017

09:31 PM Bug #13146: Float::NANs in Hashes are confusing (more than usual).
Robert A. Heiler wrote:
> To me I guess the surprise is that NAN in itself should be unique?
NaN is defined by ...
yxhuvud (Linus Sellberg)
08:56 PM Bug #13146: Float::NANs in Hashes are confusing (more than usual).
This is actually interesting altogether.
First that Float::NAN becomes NaN in the display; this is the first surpr...
shevegen (Robert A. Heiler)
03:46 PM Bug #13146 (Rejected): Float::NANs in Hashes are confusing (more than usual).
```ruby
test = {Float::NAN => 1, -Float::NAN => 2}
=> {NaN=>1, NaN=>2}
test.values_at(Float::NAN, -Float::NAN)
...
yxhuvud (Linus Sellberg)
09:23 PM Bug #13148 (Closed): [DOC] Small doc fix for Hash#dig and Struct#dig
Use the correct parameter name in the method description. stomar (Marcus Stollsteimer)
06:50 PM Feature #6284: Add composition for procs
fyi: Composing procs is way faster now. It beats all other algorithms in Paul's benchmark on ruby 2.3.3:
~~~
Wa...
thorstenhirsch (Thorsten Hirsch)
05:44 PM Bug #13147 (Closed): Update documentation for URI#escape
URI#escape documentation references URI.www_form_encode and URI.www_form_encode_component, but neither method exists.... sghill (Steve Hill)
12:50 PM Revision 78b95b49 (git): template/extinit.c.tmpl
* template/extinit.c.tmpl: separate from ext/extmk.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57395 b2dd0...
nobu (Nobuyoshi Nakada)
08:04 AM Revision 709a60f9 (git): Makefile.sub: refine distclean-ext
* win32/Makefile.sub (distclean-ext, realclean-ext): remove
extinit.c and suppress error message when failed to rem...
nobu (Nobuyoshi Nakada)
07:08 AM Bug #13145 (Closed): Symbol#clone doesn't work correctly
Ruby 2.4.0 has a bug that `Symbol` converted from `String` at first cannot be cloned:
~~~ ruby
user@mypc ~$ irb
...
hiro4bbh (Tatsuhiro Aoshima)
04:14 AM Revision 75dbfa13 (git): NEWS for SecureRandom's random source [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
04:02 AM Revision e80ae20c (git): NEWS for SipHash13 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:20 AM Feature #12508 (Assigned): Integer#mod_pow
ko1 (Koichi Sasada)
03:19 AM Bug #13127 (Closed): DRb `load': connection closed (DRb::DRbConnError) when client exit's from within a loop iterating over remote objects
what's happen?
~~~
# S: drb_server_test.rb
# C: drb_client_test.rb
# (1) C send :each_with_index, &block t...
seki (Masatoshi Seki)
03:06 AM Revision 8115e24a (git): * 2017-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 AM Revision 9985b759 (git): Hash#fetch: fix grammar in documentation.
[Fix GH-1515][ci skip]
Author: Alyssa Ross <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/...
znz (Kazuhiro NISHIYAMA)
03:02 AM Bug #13141 (Assigned): Spurious Net::FTPReplyError
Could you send us the debug output setting Net::FTP#debug_mode to true?
```
Net::FTP.open(SITE) do |ftp|
ftp.d...
shugo (Shugo Maeda)
02:57 AM Feature #13129: Refinements cannot refine method_missing and respond_to_missing?
Akira Matsuda wrote:
> Refinements with method_missing and respond_to_missing? behaves very strangely.
>
> ```rub...
shugo (Shugo Maeda)
01:57 AM Bug #13144: prettyprint doesn't detect cycles when wrapped inside Delegators
Pull request with my fix and new test case: https://github.com/ruby/ruby/pull/1518 richardviney (Richard Viney)
01:49 AM Bug #13144 (Closed): prettyprint doesn't detect cycles when wrapped inside Delegators
The line count of the pretty print output for the following class grows factorially with the number of self-referenci... richardviney (Richard Viney)

01/21/2017

09:33 PM Bug #13142 (Closed): Forwardable regression: cannot delegate to a constant since 2.4.0
Before this commit
https://github.com/ch1c0t/tra/commit/96b15f042183f488413db99d6ede304d20503cbd
it works just ...
ch1c0t (Anatoly Chernow)
06:36 PM Feature #13137: Hash Shorthand
My apologies – I searched extensively and did not find the previous feature request. Thank you for the consideration. trevorlynnsmith (Trevor Smith)
12:21 PM Revision 562bbdf9 (git): lib/tempfile.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:24 AM Feature #13125: MRI has too much Qtrue : Qfalse;
Someone suggested `RB_BOOL` at the meeting. nobu (Nobuyoshi Nakada)
05:54 AM Feature #13125: MRI has too much Qtrue : Qfalse;
Seem to me like `VALUE2BOOL`, except perhaps for the way it casts Qnil to Qtrue phluid61 (Matthew Kerwin)
06:17 AM Revision e81ed936 (git): * 2017-01-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:17 AM Revision ca3fe508 (git): Makefile.in: clean ruby-runner [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

01/20/2017

05:11 PM Bug #13141 (Third Party's Issue): Spurious Net::FTPReplyError
I have a script that downloads many files via FTP. `ftp.getbinaryfile` occasionally fails (about 7 times while downlo... Phrogz (Gavin Kistner)
05:11 PM Feature #12180: switch id_table.c variant
Oh, to reduce hash size either max serial_id should be 0x7fffffff instead of 0xffffffff
(cause 1 bit is stolen for c...
funny_falcon (Yura Sokolov)
03:46 PM Feature #12180: switch id_table.c variant
Excuse me for not reacting on discussion.
I forgot to turn on mail notifications for this issue.
> can you make a...
funny_falcon (Yura Sokolov)
03:17 AM Feature #12180: switch id_table.c variant
We looked at this issue in yesterday's developer meeting.
(As ko1 measured before,) we confirmed that ffalcon's im...
shyouhei (Shyouhei Urabe)
04:15 PM Bug #9285 (Rejected): Exception message of Errno::ENOENT contains strings @ rb_sysopen and @ dir_initialize in Ruby 2.1
Through the experience in this three years, this error message sometimes help us to debug.
It is useful and kept as is.
naruse (Yui NARUSE)
03:23 PM Bug #9285: Exception message of Errno::ENOENT contains strings @ rb_sysopen and @ dir_initialize in Ruby 2.1
Is this worth of keeping open? It does not look it will be reverted. And seeing "temporary" workarounds such as [1] d... vo.x (Vit Ondruch)
03:04 PM Feature #13125: MRI has too much Qtrue : Qfalse;
How about `BOOL2RBOOL`? znz (Kazuhiro NISHIYAMA)
02:11 PM Feature #13125: MRI has too much Qtrue : Qfalse;
> "reverse" of RTEST()
How about ...
- CTEST()
- TEST2BOOL()
- C2BOOL()
Hope those help brainstorm a bi...
rmosolgo (Robert Mosolgo)
04:37 AM Feature #13125: MRI has too much Qtrue : Qfalse;
We looked at this issue at yesterday's developer meeting. Nobody was against introducing a macro. No consensus over... shyouhei (Shyouhei Urabe)
01:33 PM Revision 121984da (git): Remove deprecated rbconfig/datadir
This is deleted at
https://github.com/rubygems/rubygems/commit/0e3c2c1f04182990c4c7a0aa53435ad8427342fd
in upstream.
...
znz (Kazuhiro NISHIYAMA)
12:26 PM Feature #13110: Byte-based operations for String
> The "buffer gap" technique is very well known, I'm familiar with it since the early 90ies. I was thinking about it,... shugo (Shugo Maeda)
10:21 AM Feature #13110: Byte-based operations for String
Benoit Daloze wrote:
> Shugo Maeda wrote:

> > UTF-32 is not useful because it's a dummy encoding.
>
> What ab...
duerst (Martin Dürst)
11:16 AM Misc #13072: Current state of date standard library
> Time is kept in core
> date library will be separeted from Ruby repository (stdlib) to date.gem.
What problems ...
zverok (Victor Shepelev)
10:36 AM Misc #13072: Current state of date standard library
Victor Shepelev wrote:
> The facts that I've been able to gather (not supported by links, so please forgive me if I ...
naruse (Yui NARUSE)
10:59 AM Revision ef31fedd (git): extmk.rb: ignore generated sources
* ext/extmk.rb (extract_makefile): ignore generated source files
not to reconfigure when in-place build.
git-svn-i...
nobu (Nobuyoshi Nakada)
10:10 AM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
The use of `:nodoc:` for these situations it is not a valid option in my opinion.
The reason being because `Object#p...
dsferreira (Daniel Ferreira)
09:54 AM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
My proposal of [Internal intefaces](https://bugs.ruby-lang.org/issues/9992) comes in line with this proposal.
I woul...
dsferreira (Daniel Ferreira)
03:29 AM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
We looked at this issue yesterday at developers meeting.
While I understand the needs to distinguish official API ...
shyouhei (Shyouhei Urabe)
09:47 AM Feature #9992: Access Modifiers (Internal Interfaces)
Matthew Draper presented a feature request to [extended 'protected' access modifier](https://bugs.ruby-lang.org/issue... dsferreira (Daniel Ferreira)
08:19 AM Feature #12969: Allow optional parameter in String#strip and related
Yukihiro Matsumoto wrote:
> Removing pattern may not be set of single character, or may be complex.
> Considering t...
duerst (Martin Dürst)
08:00 AM Bug #9569 (Closed): SecureRandom should try /dev/urandom first
Applied in changeset r57384.
----------
SecureRandom should try /dev/urandom first [Bug #9569]
* random.c (InitVM_...
shyouhei (Shyouhei Urabe)
08:00 AM Revision abae70d6 (git): SecureRandom should try /dev/urandom first [Bug #9569]
* random.c (InitVM_Random): rename Random.raw_seed to
Random.urandom. A quick search seems there are no pr...
shyouhei (Shyouhei Urabe)
07:50 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
Herwin W wrote:
> Regarding `String#gsb` and `String#sb`: It is far from clear what the difference between `#sub` an...
duerst (Martin Dürst)
07:45 AM Revision e95eb958 (git): Keep -jN option
* {cygwin,template}/GNUmakefile.in (MFLAGS, MAKEFLAGS): keep -jN
option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
06:01 AM Feature #13017 (Closed): Switch SipHash from SipHash24 to SipHash13
Applied in changeset r57382.
----------
switch SipHash from SipHash24 to SipHash13 variant
SipHash13 is secure enou...
shyouhei (Shyouhei Urabe)
06:01 AM Revision 04c94f95 (git): switch SipHash from SipHash24 to SipHash13 variant
SipHash13 is secure enough to be used in hash-tables,
and SipHash's author confirms that.
Rust already considered swi...
shyouhei (Shyouhei Urabe)
05:34 AM Bug #13140 (Rejected): unmatched parenthesis error on regexp with "x" option when all parens are matched
http://ruby-doc.org/core-2.4.0/doc/regexp_rdoc.html#label-Free-Spacing+Mode+and+Comments nobu (Nobuyoshi Nakada)
05:08 AM Bug #13140: unmatched parenthesis error on regexp with "x" option when all parens are matched
Realized the problem.
The error is caused because the x option also ignores text after # and two # appear in the reg...
jdmeta (jake meta)
04:42 AM Bug #13140 (Rejected): unmatched parenthesis error on regexp with "x" option when all parens are matched
See the attached source file.
When the attached file is executed as is, the following error is emitted:
test.r...
jdmeta (jake meta)
05:24 AM Bug #13104: mathn.rb affects Rational literals
Just "don't use math"? nobu (Nobuyoshi Nakada)
04:26 AM Bug #13104: mathn.rb affects Rational literals
We looked at this issue at yesterday's developer meeting.
The intension was not made clear, but we confirmed that ...
shyouhei (Shyouhei Urabe)
05:14 AM Bug #13079 (Feedback): linked list corruption (probable race condition)
I'm not sure correctly, but you may violate something MRI requires.
Currently, I can't understand anything.
If you ...
ko1 (Koichi Sasada)
04:41 AM Feature #11925: Struct construction with kwargs
Another idea is introducing another method to define own struct, such as `T = Struct.define(:a, :b); T.new(a: 1, b: 2... ko1 (Koichi Sasada)
04:28 AM Bug #13139 (Closed): bug in the Ruby interpreter or extension for new AIX VM chef-client run.
Good to hear the problem disappeared. shyouhei (Shyouhei Urabe)
03:10 AM Bug #13139: bug in the Ruby interpreter or extension for new AIX VM chef-client run.
This problem goes away either after waiting for a while and retrying... or by forcing the upload of the missing cookb... ibellinf (Ian Bellinfantie)
04:27 AM Revision f81c1c24 (git): compile.c: optimization of defined? in condition
* compile.c (compile_branch_condition): trivial optimization of
defined? expression in a branch condition, where a ...
nobu (Nobuyoshi Nakada)
04:22 AM Bug #13064: Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
We looked at this issue at yesterday's developer meeting.
While Ko1 and Matz already replied that the current MRI ...
shyouhei (Shyouhei Urabe)
04:01 AM Feature #13048: Better way to do Regexp.new(Regexp.escape("some string"))
We looked at this issue at yesterday's developer meeting.
While looking at "Regexp.new Regexp.escape" search resul...
shyouhei (Shyouhei Urabe)
03:41 AM Feature #13016 (Rejected): String#gsub(hash)
We looked at this issue in yesterday's developer meeting.
While I claimed the use of regular expression is an impl...
shyouhei (Shyouhei Urabe)
03:33 AM Feature #12967: Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
We looked at this issue at yesterday's developer meeting.
Ko1 said he was not sure if the proposed default value i...
shyouhei (Shyouhei Urabe)
03:23 AM Misc #12935: Webrick: Update HTTP Status codes, share them
We looked at this issue at yesterday's developer meeting and decided to let naruse (who was there) handle this issue. shyouhei (Shyouhei Urabe)
02:39 AM Bug #13136 (Closed): large_array.sample(11)が遅い
Applied in changeset r57380.
----------
array.c: improve Array#sample
* array.c (rb_ary_sample): improve performanc...
nobu (Nobuyoshi Nakada)
12:59 AM Bug #13136: large_array.sample(11)が遅い
別案としてhashの代わりに配列で覚えておくという方法もありますが、元の配列に比例した作業領域を使うのでそのコストが高いかもしれません。
```diff
diff --git a/array.c b/array.c
inde...
nobu (Nobuyoshi Nakada)
02:39 AM Revision 2de1dbdf (git): array.c: improve Array#sample
* array.c (rb_ary_sample): improve performance when many samples
from a large array. based on the patch by tomoya ...
nobu (Nobuyoshi Nakada)
02:27 AM Revision 8f76ad37 (git): benchmarks for Bug#13136
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:27 AM Feature #13137: Hash Shorthand
While I understand the primary reasoning behind it - less to type - I do not like the syntax proposal.
To me it lo...
shevegen (Robert A. Heiler)
01:02 AM Revision dfac1f5a (git): * 2017-01-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:02 AM Revision 1d4976c0 (git): error.c: print default RS
* error.c (rb_warn_m): print the default RS instead of an empty
string with a newline. [Feature #12944]
git-svn-i...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom