Project

General

Profile

Activity

From 01/07/2017 to 01/13/2017

01/13/2017

06:04 PM Bug #13127 (Closed): DRb `load': connection closed (DRb::DRbConnError) when client exit's from within a loop iterating over remote objects
Calling exit from a DRb client inside a do block while iterating over remote objects causes a DRb connection closed e... [email protected] (Madhu Kanoor)
03:54 PM Bug #13126: __dir__ in eval returns nil
Shyouhei Urabe wrote:
> Can you show us your expectation? Should what be the value for `__dir__` inside of an `eval...
metadeus (Artem Shein)
12:34 AM Bug #13126 (Feedback): __dir__ in eval returns nil
Can you show us your expectation? Should what be the value for `__dir__` inside of an `eval`? shyouhei (Shyouhei Urabe)
02:15 PM Revision bc388526 (git): fix prolog in gem wrapper scripts
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:08 PM Revision 82f61a13 (git): lib/observer.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:31 AM Bug #13085: io.c io_fwrite creates garbage
[email protected] wrote:
> File 0001-v2-io.c-io_fwrite-copy-to-hidden-buffer-when-writing.patch added
>
> OK...
normalperson (Eric Wong)
05:58 AM Revision 0f78a6a1 (git): rbinstall.rb: LIBRUBY_RELATIVE
* tool/rbinstall.rb: see LIBRUBY_RELATIVE in CONFIG instead of
reading config.h.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
05:49 AM Revision 5dc87d5b (git): insns.def: float comparison
* insns.def (opt_lt, opt_le, opt_gt, opt_ge): optimize flonum and
on-heap float comparison.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
03:24 AM Revision c2c01570 (git): error.c: moved
* error.c (preface_dump, postscript_dump): CrashReporter directory
was used before Mac OS X 10.6.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
02:57 AM Revision 81cb9aa5 (git): error.c: moved
* error.c (preface_dump, postscript_dump): moved from
rb_vm_bugreport to place the last important message at the ve...
nobu (Nobuyoshi Nakada)
01:46 AM Revision a51cf134 (git): * 2017-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:46 AM Revision d569c0c5 (git): vm_dump.c: postscript_dump
* vm_dump.c (postscript_dump): mention crash report log twice
because important.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)

01/12/2017

05:07 PM Feature #12957: A more OO way to create lambda Procs
I want this too
```ruby
MyLambda = Class.new Proc
```
I want `MyLambda{|x| x + 1}.lambda?` to == `true`
I...
dsisnero (Dominic Sisneros)
12:57 PM Bug #13126 (Closed): __dir__ in eval returns nil
~~~
$ ruby -e 'eval "p File.dirname(__FILE__); p __dir__"'
"."
nil
~~~
metadeus (Artem Shein)
12:17 PM Revision 6ca3028e (git): lib/net/smtp.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:56 AM Feature #13125 (Closed): MRI has too much Qtrue : Qfalse;
```
% git grep -P 'Q(true|false|nil|undef)\s+:\s+Q(true|false|nil|undef)' | wc -l
211
```
Out of those 211 occu...
shyouhei (Shyouhei Urabe)
07:41 AM Revision 14a730e9 (git): immediate message mode of compile error
* compile.c (append_compile_error): set Qtrue for erred state with
showing the message immediately.
* iseq.c (prep...
nobu (Nobuyoshi Nakada)
05:43 AM Revision 257fd901 (git): compile.c: invalid yield in main
* compile.c (iseq_compile_each): yield cannot be in the main
context as well as a top context.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
02:20 AM Bug #13018: end of file reached (EOFError) from SMTP
Shugo Maeda wrote:
> Can we close this issue by fixing backtrace information?
Closed by r57311, but feel free to...
shugo (Shugo Maeda)
02:19 AM Bug #13018 (Closed): end of file reached (EOFError) from SMTP
Applied in changeset r57311.
----------
lib/net/protocol.rb: preserve backtrace information
BufferedIO#rbuf_fill sh...
shugo (Shugo Maeda)
01:42 AM Bug #13018: end of file reached (EOFError) from SMTP
Shugo Maeda <[email protected]> wrote:
> May I fix it to preserve the backtrace information, or would you?

Sur...
normalperson (Eric Wong)
01:32 AM Bug #13018: end of file reached (EOFError) from SMTP
Toby Murray wrote:
> Someone has commented on the Rails issue here: https://github.com/rails/rails/issues/27298#is...
shugo (Shugo Maeda)
02:19 AM Revision 58935eb8 (git): lib/net/protocol.rb: preserve backtrace information
BufferedIO#rbuf_fill should preserve backtrace information when raising
EOFError. Otherwise, users get confused when...
shugo (Shugo Maeda)

01/11/2017

11:53 PM Revision d9421e13 (git): test/rinda/test_rinda: skip multicast tests for unsupported systems
This allows "test-all" to pass on systems without multicast
support. I leave CONFIG_IP_MULTICAST unset in my Linux k...
Eric Wong
11:46 PM Revision 5c244d73 (git): test/fiddle/helper: remove special case for x86_64-linux
RUBY_PLATFORM is "x86_64-linux" on a 32-bit (x86) Ruby built and
running on a 64-bit Linux kernel. I also have a /li...
Eric Wong
11:07 PM Bug #13116 (Rejected): modulo, divmod range problem: float_val % 1 may return 1.0
`1.0 - 0.0.prev_float` results in 1.0 because of the finite precision. nobu (Nobuyoshi Nakada)
04:51 PM Bug #13116: modulo, divmod range problem: float_val % 1 may return 1.0
For what it's worth, this result fits in with with `modulo` is documented to be. The documentation states
> `x.modu...
snood1205 (Eli Sadoff)
10:51 PM Feature #13103: [PATCH] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
[email protected] wrote:
> SYS_getrandom and __NR_getrandom are defined in different headers. but
> your p...
normalperson (Eric Wong)
02:44 PM Feature #13103: [PATCH] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
SYS_getrandom and __NR_getrandom are defined in different headers. but your patch doesn't change any #include directi... kosaki (Motohiro KOSAKI)
04:41 AM Feature #13103: [PATCH] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
[email protected] wrote:
> ----------------------------------------
> Feature #13103: [PATCH] random.c: use "_...
normalperson (Eric Wong)
10:38 PM Revision 1807c052 (git): * 2017-01-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:38 PM Revision 208018fb (git): random.c (fill_random_bytes_syscall): use "__NR_" prefix on Linux
glibc still does not define the SYS_getrandom alias for
__NR_getrandom in the Linux kernel. However, installing
up-t...
Eric Wong
10:03 PM Bug #13018: end of file reached (EOFError) from SMTP
[email protected] wrote:
> Assignee changed from Shugo Maeda to Eric Wong
>
> Toby Murray wrote:
> > Yields `...
normalperson (Eric Wong)
09:32 PM Bug #13018: end of file reached (EOFError) from SMTP
Someone has commented on the Rails issue here: https://github.com/rails/rails/issues/27298#issuecomment-269980037 tha... tobymurray-nanometrics (Toby Murray)
03:13 PM Bug #13120: p [].class shows ThreadSafe::Array when it expects to show Array
Verified that it has been addressed by using revision 57306.
~~~
$ ruby -v
ruby 2.5.0dev (2017-01-11 trunk 5730...
yahonda (Yasuo Honda)
04:13 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
Applied in changeset r57305.
----------
variable.c: fix the condition to cache
* variable.c (rb_const_set): fix the...
nobu (Nobuyoshi Nakada)
02:25 AM Bug #13120 (Open): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
02:18 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
01:42 AM Bug #13120 (Open): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
01:03 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
02:54 PM Bug #13114 (Closed): test failures since r57284
r57305 で直ったようなので閉じます。 znz (Kazuhiro NISHIYAMA)
02:48 PM Revision 3e34d8a4 (git): lib/net/protocol.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:48 PM Feature #13124 (Open): Should #puts convert to external encoding?
For instance:
puts "?\x00\x42\x30".force_encoding(Encoding::UTF_16LE)
?B0
puts "?\x00\x42\x30".for...
Eregon (Benoit Daloze)
01:32 PM Bug #13119: String#scrub ignores the block if the string encoding is not ASCII-compatible
Thanks nobu for the amazingly quick fix! Eregon (Benoit Daloze)
01:41 AM Bug #13119 (Closed): String#scrub ignores the block if the string encoding is not ASCII-compatible
nobu (Nobuyoshi Nakada)
09:35 AM Feature #13123: NilClass#dig
Tl;dr: use &.
Longer story:
Generally speaking, there are two major ways of how a null-ish object behaves; wheth...
shyouhei (Shyouhei Urabe)
07:07 AM Feature #13123 (Closed): NilClass#dig
We now have `Hash#dig`. We often have a variable that is either a hash or nil but we are not sure which. In such case... sawa (Tsuyoshi Sawada)
05:06 AM Feature #13122: Special syntax for Hash#default_proc
Realized I forgot commas in the examples:
~~~ruby
my_hash = {
key: "value",
*: proc { |h, k| h[k] = "other ...
woodruffw (William Woodruff)
04:52 AM Feature #13122: Special syntax for Hash#default_proc
Nobuyoshi Nakada wrote:
> What about
>
> ```ruby
> MY_HASH = Hash.new {|h, k| "other value"}.update(
> key: "...
woodruffw (William Woodruff)
02:12 AM Feature #13122: Special syntax for Hash#default_proc
What about
```ruby
MY_HASH = Hash.new {|h, k| "other value"}.update(
key: "value",
).freeze
```
?
nobu (Nobuyoshi Nakada)
01:46 AM Feature #13122 (Rejected): Special syntax for Hash#default_proc
The current Hash#default_proc flow usually looks something like this:
~~~ ruby
my_hash = { key: "value" }
my_has...
woodruffw (William Woodruff)
04:12 AM Revision 1df80905 (git): variable.c: fix the condition to cache
* variable.c (rb_const_set): fix the condition to cache the class
path and cache permanent or temporary path corres...
nobu (Nobuyoshi Nakada)
02:31 AM Revision 90294641 (git): string.c: replacement and block
* string.c (rb_enc_str_scrub): only one of replacement and block
is allowed. [ruby-core:79038] [Bug #13119]
git-s...
nobu (Nobuyoshi Nakada)
02:18 AM Revision a3aa4da7 (git): string.c: yield invalid part
* string.c (rb_enc_str_scrub): yield the invalid part only with
ASCII-incompatible. [ruby-core:79039] [Bug #13120]...
nobu (Nobuyoshi Nakada)
01:06 AM Bug #13121 (Closed): Backport r57108 (fix memory corruption by width underflow)
nagachika (Tomoyuki Chikanaga)
01:03 AM Revision c763f0fb (git): string.c: block for scrub with ASCII-incompatible
* string.c (rb_enc_str_scrub): honor the given block with
ASCII-incompatible encoding. [ruby-core:79039] [Bug #131...
nobu (Nobuyoshi Nakada)
12:54 AM Bug #12924: Fiddle::TestFunction#test_nogvl_poll fails on macOS 10.12-10.12.1 Sierra
Yes. This issue is marked "Third Party's Issue", which means we have nothing to do. This state is kind of close. shyouhei (Shyouhei Urabe)
12:50 AM Feature #13118 (Closed): Array#at(*indexes); Array#at([indexes])
No problem. Thank you anyway. shyouhei (Shyouhei Urabe)
12:40 AM Feature #13118: Array#at(*indexes); Array#at([indexes])
Well, I am an idiot. Read through the array spec twice and missed it both times. Please close. crb002 (Chad Brewbaker)

01/10/2017

10:31 PM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
It has been filed as Rails issue https://github.com/rails/rails/issues/27631 and found there was a similar bug report... yahonda (Yasuo Honda)
04:50 PM Bug #13119 (Closed): String#scrub ignores the block if the string encoding is not ASCII-compatible
String#scrub completely ignores the block if the string encoding is not ASCII-compatible.
This does not seem intende...
Eregon (Benoit Daloze)
03:42 PM Feature #13118: Array#at(*indexes); Array#at([indexes])
`Array#values_at` already exists for this purpose:
~~~ ruby
a.values_at(0,1) #=> ["a", "b"]
a.values_at(0,0) #=>...
jeremyevans0 (Jeremy Evans)
01:52 PM Feature #13118 (Closed): Array#at(*indexes); Array#at([indexes])
It is useful to have Array return a repeated permutation. Rather than add another method, we could overload Array#at ... crb002 (Chad Brewbaker)
03:28 PM Bug #12613 (Closed): iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
Applied in changeset r57300.
----------
compile.c: check compile
* compile.c (iseq_compile_each): check if sub node...
nobu (Nobuyoshi Nakada)
03:28 PM Revision e4a2dd5f (git): * 2017-01-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:28 PM Revision 52b02ad2 (git): compile.c: check compile
* compile.c (iseq_compile_each): check if sub nodes succeeded.
[ruby-core:76531] [Bug #12613]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
02:10 PM Bug #12924: Fiddle::TestFunction#test_nogvl_poll fails on macOS 10.12-10.12.1 Sierra
Close? Seems to be fixed. OSX Sierra introduced breaking changes for loading dynamic libraries. Haskell 8 was broken... crb002 (Chad Brewbaker)
01:41 PM Revision a3fb17f3 (git): rational.c: short circuit optimization
* rational.c (nurat_reduce): short circuit when arguments are ONE,
nothing is needed.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
01:37 PM Revision 14b3dc1e (git): rational.c: f_idiv
* rational.c (f_idiv): call rb_int_idiv directly if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5729...
nobu (Nobuyoshi Nakada)
01:29 PM Feature #12854: Proc#curry should return an instance of the class, not Proc
Another pattern is Proc#multilens(tin, lenses, tout); where "tin" is a transformation from the input argument list to... crb002 (Chad Brewbaker)
02:06 AM Feature #12854: Proc#curry should return an instance of the class, not Proc
Defining complex functions with curry would be nontrivial:
~~~ ruby
double = ->(a)(a+a)
g = ->(a,b,c){ f.call(1,...
crb002 (Chad Brewbaker)
12:32 PM Revision 1dd076c5 (git): lib/net/pop.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:18 PM Revision 3c199bb7 (git): numeric.c: short circuit optimization
* numeric.c (fix_mul): short circuit when multiplication of Bignum
and 0 or 1 not to make a Bignum unnecessarily.
...
nobu (Nobuyoshi Nakada)
10:57 AM Revision 93ff30bf (git): * 2017-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:57 AM Revision c54c60da (git): thread.c: fix todo
* thread.c (rb_threadptr_pending_interrupt_check_mask): traverse
the super class chain instead of making ancestors ...
nobu (Nobuyoshi Nakada)
07:56 AM Misc #13117 (Closed): Remove Japanese comment from lib/irb/slex.rb
OK, closing. Please reopen in case something remains. shyouhei (Shyouhei Urabe)
03:16 AM Misc #13117: Remove Japanese comment from lib/irb/slex.rb
Can this ticket be closed now that Nobu change the comment to english? rafaelfranca (Rafael França)

01/09/2017

10:50 PM Feature #13110: Byte-based operations for String
Benoit Daloze wrote:
> Shugo Maeda wrote:
> > Martin Dürst wrote:
> > > What about using UTF-32? It will use some ...
shugo (Shugo Maeda)
03:03 PM Feature #13110: Byte-based operations for String
Shugo Maeda wrote:
> Martin Dürst wrote:
> > What about using UTF-32? It will use some additional memory, but give ...
Eregon (Benoit Daloze)
12:41 PM Feature #13110: Byte-based operations for String
Martin Dürst wrote:
> Shugo Maeda wrote:
> > Let me clarify my intention.
> >
> > I'd like to handle not only si...
shugo (Shugo Maeda)
09:35 AM Feature #13110: Byte-based operations for String
Shugo Maeda wrote:
> Let me clarify my intention.
>
> I'd like to handle not only singlebyte characters but multi...
duerst (Martin Dürst)
09:47 PM Bug #13107: def_delegators causes random errors in MRI 2.4.0
This appears to be fixed in latest trunk now. Is there any info on when a 2.4.1 will be released - seems like a pret... [email protected] (Thomas Walpole)
03:01 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
When interrupted by a finalizer during setting up tailcall frame, a block argument on the stack was overwritten by th... nobu (Nobuyoshi Nakada)
02:55 AM Bug #13107 (Closed): def_delegators causes random errors in MRI 2.4.0
Applied in changeset r57293.
----------
vm_insnhelper.c: block argument at tailcall
* vm_insnhelper.c (vm_call_iseq...
nobu (Nobuyoshi Nakada)
12:32 AM Bug #13107 (Feedback): def_delegators causes random errors in MRI 2.4.0
Enabling trace instruction disables tail call optimization, too.
It seems like a bug of the optimization and GC.
Ho...
nobu (Nobuyoshi Nakada)
10:21 AM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
[email protected] wrote:
> Kernel.syscall was a wrapper around syscall() or \_\_syscall() in libc, but it didn'...
normalperson (Eric Wong)
04:25 AM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
`Kernel.syscall` was a wrapper around `syscall()` or `__syscall()` in libc, but it didn't use the correct types for a... kernigh (George Koehler)
09:06 AM Bug #13102: Confusing method name: Set#delete?
Ryan Davis wrote:
> http://ruby-doc.org/stdlib-2.4.0/libdoc/set/rdoc/Set.html#method-i-delete-3F
>
> Compare to r...
kaikuchn (Kai Kuchenbecker)
08:07 AM Bug #9569: SecureRandom should try /dev/urandom first
Bart de Water wrote:
> Akira Tanaka wrote:
> > Please update the man page first, if it is really out-dated.
>
> ...
shyouhei (Shyouhei Urabe)
07:51 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
Yura Sokolov wrote:
> Crypto-analyse of SipHash (and best result for SipHash13)
> https://eprint.iacr.org/2014/722....
shyouhei (Shyouhei Urabe)
03:52 AM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
What's the status?
Is the current behavior on a lambda proc is intentional, and has the spec been changed since 2....
nobu (Nobuyoshi Nakada)
03:32 AM Bug #12705 (Assigned): yielding args to a lambda uses block/proc rather than lambda/method semantics
nobu (Nobuyoshi Nakada)
02:55 AM Revision ff3496b0 (git): vm_insnhelper.c: block argument at tailcall
* vm_insnhelper.c (vm_call_iseq_setup_tailcall): check interrupts
after set up the new frame, not the passed block ...
nobu (Nobuyoshi Nakada)
02:45 AM Revision d4983225 (git): * 2017-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:45 AM Revision 474a7301 (git): slex.rb: japanese comment [ci skip]
* lib/irb/slex.rb (postproc): translated a japanese comment in
ISO-2022-JP. [ruby-core:79017] [Misc #13117]
git-s...
nobu (Nobuyoshi Nakada)
02:09 AM Misc #13117 (Closed): Remove Japanese comment from lib/irb/slex.rb
The file lib/irb/slex.rb contains Japanese comment in ISO-2022-JP. This patch removes it. aycabta (aycabta .)

01/08/2017

03:42 PM Bug #13116 (Rejected): modulo, divmod range problem: float_val % 1 may return 1.0
mod, divmod range problem: float_val % 1 may return 1.0
x % y sometimes returns y (not in 0 <= result < y)
```r...
tompng (tomoya ishida)
11:50 AM Bug #13115 (Closed): `YAML.dump` outputs deperecated message even with delegated object
`YAML.dump` outputs deprecated message if it calls with delegated object
but doesn't with inherited object:
~~~ r...
mtsmfm (Fumiaki Matsushima)
05:51 AM Bug #13100 (Assigned): OpenSSL::PKey::EC#public_keyでGroup情報がコピーされない。
znz (Kazuhiro NISHIYAMA)
05:49 AM Bug #13114 (Closed): test failures since r57284
r57284 の変更でいくつかのテストが失敗します。
最小の再現条件を絞り込もうとしたのですが、webrick/httpauth/basicauth だと再現するのに、個別の webrick/httpstatus と webri...
znz (Kazuhiro NISHIYAMA)
04:17 AM Revision 6a680a5c (git): lib/getoptlong.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:04 AM Revision 868700a7 (git): test_io_console.rb: fix of old CentOS5
* test/io/console/test_io_console.rb (test_winsize): on old CentOS5
window size seems unable to be set across a pty...
nobu (Nobuyoshi Nakada)
03:51 AM Revision 4794ce55 (git): driver.rb: measure_target option [ci skip]
* benchmark/driver.rb (BenchmarkDriver.load): restore
measure_target option from the loaded results.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
03:50 AM Revision 437a8cc4 (git): driver.rb: out output file when loading [ci skip]
* benchmark/driver.rb: default output file is not used when
loading rawdata.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
03:46 AM Revision caca9a47 (git): driver.rb: extract loop times [ci skip]
* benchmark/driver.rb (BenchmarkDriver.load): extract loop times
from the loaded results to adjust the results.
gi...
nobu (Nobuyoshi Nakada)
03:45 AM Revision 1bf10e33 (git): driver.rb: adjust name width [ci skip]
* benchmark/driver.rb (show_results): count adjusted result marks
as the name width.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
02:34 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
Here's another patch that also fixes the problem, while keeping the optimisation from r55376.
I'll admit that I ha...
eugeneius (Eugene Kenny)
02:11 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
The `mongo` gem is also affected by this bug (https://jira.mongodb.org/browse/RUBY-1191). Running the tests in the `s... eugeneius (Eugene Kenny)
02:13 AM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
benchmark results:
Execution time (sec)
name | 2.3.3| r57281| r57284
-------------------...
nobu (Nobuyoshi Nakada)
01:46 AM Bug #13113 (Closed): Performance issue, const_set Module.new is too slow in Ruby 2.4
Applied in changeset r57283.
----------
benchmarks for [Bug #13113] [ci skip]
nobu (Nobuyoshi Nakada)
12:14 AM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
Since r53376, anonymous module is resolved immediately by assignment to a constant, including the outer module. nobu (Nobuyoshi Nakada)
01:59 AM Revision faf472a2 (git): variable.c: resolve permanent name only
* variable.c (rb_const_set): resolve and cache class name
immediately only if the outer class/module has the name,
...
nobu (Nobuyoshi Nakada)
01:46 AM Revision 8e980027 (git): benchmarks for [Bug #13113] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

01/07/2017

11:02 PM Revision b4a55c1c (git): console.c: unpaired size
* ext/io/console/console.c (console_set_winsize): reject unpaired
pixel size.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
10:52 PM Bug #13112 (Closed): io/console io.winsize=[rows,cols] throws TypeError: no implicit conversion of false into Integer
Applied in changeset r57280.
----------
console.c: OOB access
* ext/io/console/console.c (console_set_winsize): fix...
nobu (Nobuyoshi Nakada)
06:19 AM Bug #13112 (Closed): io/console io.winsize=[rows,cols] throws TypeError: no implicit conversion of false into Integer
The doc says
~~~
winsize = [rows, columns]
Tries to set console size. The effect depends on the platform and the...
tompng (tomoya ishida)
10:52 PM Revision 945934cc (git): * 2017-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:52 PM Revision 5b856ee1 (git): console.c: OOB access
* ext/io/console/console.c (console_set_winsize): fix
out-of-bounds access. [ruby-core:79004] [Bug #13112]
git-sv...
nobu (Nobuyoshi Nakada)
02:51 PM Bug #13113 (Closed): Performance issue, const_set Module.new is too slow in Ruby 2.4
In Ruby 2.4, the following code is too slow.
~~~ ruby
5000000.times { Module.new.const_set(:X, Module.new) }
~...
pocke (Masataka Kuwabara)
11:54 AM Revision d59dfcdb (git): adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:31 AM Bug #12855 (Closed): Inconsistent keys identity in compare_by_identity Hash when using literals
Applied in changeset r57278.
----------
fix optimization for hash aset/aref with fstring
Patch by Eric Wong [ruby-c...
Eregon (Benoit Daloze)
11:31 AM Revision ac9f8145 (git): fix optimization for hash aset/aref with fstring
Patch by Eric Wong [ruby-core:78797].
I don't like the idea of making insns.def any bigger to support
a corner case, ...
Eregon (Benoit Daloze)
08:31 AM Revision 4dbbcc48 (git): bignum.c: unnecessary check
* bignum.c (rb_cstr_parse_inum): remove unnecessary check.
successive sign is rejected by conv_digit.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
06:40 AM Feature #13110: Byte-based operations for String
Nobuyoshi Nakada wrote:
> How about to let `s.index(/ああ/n, 4)` return 18?
What does `/ああ/n` represent in this con...
shugo (Shugo Maeda)
03:01 AM Feature #13110: Byte-based operations for String
How about to let `s.index(/ああ/n, 4)` return 18? nobu (Nobuyoshi Nakada)
04:39 AM Bug #13111: Degraded performance for delegated methods through Forwardable module
***Update***:
I talked to @Yuki Nishijima and he pointed out that it is an issue with an `UnboundMethod` instance ...
gonzedge (Edgar Gonzalez)
04:30 AM Bug #13111 (Closed): Degraded performance for delegated methods through Forwardable module
After upgrading to Ruby 2.4.0 on my local machine while developing some changes on this gem: https://github.com/gonze... gonzedge (Edgar Gonzalez)
02:14 AM Revision 60172f01 (git): * 2017-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 AM Revision 9144d57b (git): lib/fileutils.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom