[#41772] [Feature #3513] spawn ..., err: nil — Shyouhei Urabe <redmine@...>
Feature #3513: spawn ..., err: nil
10 messages
2010/07/01
[#41773] Re: [Feature #3513] spawn ..., err: nil
— Tanaka Akira <akr@...>
2010/07/01
2010年7月1日19:09 Shyouhei Urabe <redmine@ruby-lang.org>:
[#41780] Re: [Feature #3513] spawn ..., err: nil
— Urabe Shyouhei <shyouhei@...>
2010/07/02
卜部です。
[#41774] 動的ローディングの仕様について — Hidetoshi NAGAI <nagai@...>
永井@知能.九工大です.
7 messages
2010/07/01
[#41778] [Bug #3515] FreeBSD wrongly raises ECONNRESET on close(2) — Yui NARUSE <redmine@...>
Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
12 messages
2010/07/02
[#41826] Re: [Bug #3515] FreeBSD wrongly raises ECONNRESET on close(2)
— Tanaka Akira <akr@...>
2010/07/06
2010年7月2日12:20 Yui NARUSE <redmine@ruby-lang.org>:
[#41828] Re: [Bug #3515] FreeBSD wrongly raises ECONNRESET on close(2)
— Takahiro Kambe <taca@...>
2010/07/06
In message <AANLkTimD2geIuuhr0GQZ4fprYTv3m4kuESajvsrxaItm@mail.gmail.com>
[#41782] [Bug #3522] String::size return invalid size on mswin64 — shintaro kuwamoto <redmine@...>
Bug #3522: String::size return invalid size on mswin64
5 messages
2010/07/02
[#41800] Tempfile#size returns 0 under windows — take_tk <ggb03124@...>
たけ(tk)です。
6 messages
2010/07/03
[#41833] [bug:trunk] GNU/Linux select hang on a socket which TCP state is CLOSED — Tanaka Akira <akr@...>
GNU/Linux で、以下のプログラムがハングします。
7 messages
2010/07/06
[#41834] Re: [bug:trunk] GNU/Linux select hang on a socket which TCP state is CLOSED
— Yukihiro Matsumoto <matz@...>
2010/07/06
まつもと ゆきひろです
[#41835] Re: [bug:trunk] GNU/Linux select hang on a socket which TCP state is CLOSED
— KOSAKI Motohiro <kosaki.motohiro@...>
2010/07/06
kosakiです
[#41856] [Bug #3579] RHEL5のautoconf-2.59だとruby-1.8.7-p299でautoconfが失敗する — Motohiro KOSAKI <redmine@...>
Bug #3579: RHEL5のautoconf-2.59だとruby-1.8.7-p299でautoconfが失敗する
5 messages
2010/07/16
[#41858] Re: [Bug #3579] RHEL5のautoconf-2.59だとruby-1.8.7-p299でautoconfが失敗する
— Nobuyoshi Nakada <nobu@...>
2010/07/17
なかだです。
[#41862] [bug:trunk] rb_data_type_t should be extensible — Nobuyoshi Nakada <nobu@...>
なかだです。
5 messages
2010/07/17
[#41876] redmine.ruby-lang.orgが落ちてる? — kimura wataru <kimuraw@...>
木村(わ)といいます。
4 messages
2010/07/25
[#41883] failed to build ext/tk of ruby-1.9.2-rc2 on Mac OS X — Yutaka Hara <yutaka.hara@...>
yharaです。
6 messages
2010/07/28
[#41884] Re: failed to build ext/tk of ruby-1.9.2-rc2 on Mac OS X
— Hidetoshi NAGAI <nagai@...>
2010/07/28
永井@知能.九工大です.
[#41892] [Feature #3627] catchのブロックを再実行するメソッド — Makoto Kishimoto <redmine@...>
Feature #3627: catchのブロックを再実行するメソッド
6 messages
2010/07/29
[#41893] thread.bind(sym, val) { ... } — Tanaka Akira <akr@...>
スレッド変数を一時的に設定するメソッドを加えるのはどうでしょうか。
7 messages
2010/07/29
[ruby-dev:41820] Re: respond_to?(<protected method name>) returns true
From:
Yusuke ENDOH <mame@...>
Date:
2010-07-05 15:28:07 UTC
List:
ruby-dev #41820
遠藤です。 2010年6月27日0:09 Akinori MUSHA <knu@idaemons.org>: > At Wed, 24 Feb 2010 01:25:45 +0900, > matz wrote: >> In message "Re: [ruby-dev:40465] Re: respond_to?(<protected method name>) returns true" >> on Wed, 24 Feb 2010 01:12:55 +0900, "Akinori MUSHA" <knu@iDaemons.org> writes: >> >> |> 前のメールでも書いたように method_missing による偽陰性は存在 >> |> するので、本質的には指摘は当たっているのですが。で、偽陰性の >> |> 排除についてですが、ちょっと考えた結果、賛成します。 >> | >> | ご検討ありがとうございます。賛成くださるのは偽陽性の排除ですよね。 >> >> あ、そうです。protectedに対してrespond_to?が真を返しているの >> を偽に統一するということですね。 > > だいぶ間が空いてしまいましたが、これでどうでしょうか。 これによって rubyspec が以下のようにエラーを出すようになりました。 # marc-andre が直してくれるかなあ 2) Kernel#respond_to_missing? isn't called when obj responds to the given protected method FAILED Expected false to be true /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:65:in `block (3 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in `block in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in `<top (required)>' 3) An exception occurred during: Mock.verify_count Kernel#respond_to_missing? isn't called when obj responds to the given protected method FAILED Mock '#<KernelSpecs::A:0x859f65c>' expected to receive 'respond_to_missing?' exactly 0 times but received it 1 times /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in `block in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in `<top (required)>' 4) Kernel#respond_to_missing? isn't called when obj responds to the given protected method, include_private = true FAILED Expected false to be true /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:70:in `block (3 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in `block in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in `<top (required)>' 5) An exception occurred during: Mock.verify_count Kernel#respond_to_missing? isn't called when obj responds to the given protected method, include_private = true FAILED Mock '#<KernelSpecs::A:0x8224f90>' expected to receive 'respond_to_missing?' exactly 0 times but received it 1 times /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in `block in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in `<top (required)>' 6) Kernel#respond_to? returns true if obj responds to the given protected method FAILED Expected false to equal true /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:30:in `block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:12:in `<top (required)>' 7) Kernel#respond_to? returns true if obj responds to the given protected method, include_private = true FAILED Expected false to equal true /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:36:in `block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:12:in `<top (required)>' 8) Kernel#respond_to? returns true if obj responds to the given protected method FAILED Expected false to equal true /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:42:in `block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:12:in `<top (required)>' 9) Delegator#method returns a method object for protected methods of the delegate object ERROR NameError: undefined method `prot' for class `DelegateSpecs::Delegator' /home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/method_spec.rb:17:in `method' /home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/method_spec.rb:17:in `block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/method_spec.rb:4:in `<top (required)>' 10) SimpleDelegator.new forwards protected method calls ERROR NoMethodError: undefined method `prot' for #<DelegateSpecs::Simple:0xf73daac> /home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/send_spec.rb:15:in `block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/send_spec.rb:4:in `<top (required)>' -- Yusuke Endoh <mame@tsg.ne.jp>