[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65763] Re: [ruby-cvs:55121] normal:r47971 (trunk): test/ruby/test_rubyoptions.rb: fix race

From: Eric Wong <normalperson@...>
Date: 2014-10-16 09:12:46 UTC
List: ruby-core #65763
Tanaka Akira <akr@fsij.org> wrote:
> 2014-10-16 12:48 GMT+09:00 Eric Wong <normalperson@yhbt.net>:
> > That said, I do not know why we need special-cases for signals to self.
> > Seems like it can hide bugs for alternative Ruby implementations.
> 
> I think signals to self should be synchronous.
> 
> As far as I remember, Ruby 1.8 was synchronous.
> Ruby 1.9 was asynchronous at beginning but we found sometimes the
> synchronous behavior is useful.
> So Ruby 1.9 was fixed the behavior.

OK.  I never thought there should be a distinction for self signal.
I guess there is too much existing code which relies on (subtle)
behavior to change :/  Not a big deal to keep synchronous for
the sake of compatibility.

Should I revert r47971 + r47972 ?

In This Thread