[#41134] [Bug:trunk] ext/tk on cygwin — Nobuyoshi Nakada <nobu@...>
なかだです。
[#41138] [Bug #3243] Can't build Ruby after r26506 — Yuki Sonoda <redmine@...>
Bug #3243: Can't build Ruby after r26506
[#41140] [Bug:trunk] the behavior of Tempfile#size was changed — Yusuke ENDOH <mame@...>
なかださん
Hi,
[#41173] [Feature #3251] allow to unlock mutex locked by another thread — Yusuke Endoh <redmine@...>
Feature #3251: allow to unlock mutex locked by another thread
[#41192] Re: [ruby-cvs:34848] Ruby:r27635 (trunk): * cont.c: apply FIBER_USE_NATIVE patch. This patch improve — "U.Nakamura" <usa@...>
こんにちは、なかむら(う)です。
まつもと ゆきひろです
こんにちは、なかむら(う)です。
[#41212] 実装凍結解除とリリース協力のお願い — Yugui <yugui@...>
Yuguiです。
[#41219] [ruby_1_9_2] コンパイルエラー — Takahiro Kambe <taca@...>
ruby_1_9_2ブランチのコンパイルでエラーが起きます。
[#41223] 正規表現オブジェクト中のキャプチャの数 — "KISHIMOTO, Makoto" <ksmakoto@...4u.or.jp>
きしもとです
[#41225] io/console IO#raw error when io is closed in the block — Tanaka Akira <akr@...>
io/console を使ってみたのですが、ちょっとうまく使えません。
[#41247] Regexpの仕様について — Masaya TARUI <tarui@...>
樽家です。
[#41259] Re: [ruby-cvs:34935] Ruby:r27723 (trunk): * ext/psych/parser.c (parse): Return strings encoded as — "U.Nakamura" <usa@...>
こんにちは、なかむら(う)です。
[#41278] [BUG:1.9] BINARY should not be ASCII-compatible — Yugui <yugui@...>
WXVndWkbJEIkRyQ5ISMbKEIKCgo+IBskQiRHISIkKiQqJGAkTSQzJDMkXiRHJE41RE9AJEclKyVQ
普段、あまりM17Nの件に反応しない卜部ですが、
2010/5/11 Urabe Shyouhei <shyouhei@ruby-lang.org>:
[#41286] ruby_1_9_2 on NetBSD 5.1_RC1(+) — Takahiro Kambe <taca@...>
再び、こんばんは。
[#41316] [Bug #3295] make test aborted — Kazuhiro NISHIYAMA <redmine@...>
Bug #3295: make test aborted
チケット #3295 が更新されました。 (by Yusuke Endoh)
[#41329] NoMethodErrorなどのmessage — Masatoshi SEKI <m_seki@...>
咳といいます。
まつもと ゆきひろです
[#41334] [Bug #3307] ext/tk がheader fileの有無を誤判定する — Masaya Tarui <redmine@...>
Bug #3307: ext/tk がheader fileの有無を誤判定する
[#41348] [Bug #3316] Kernel#caller returns nil as well — Nobuhiro IMAI <redmine@...>
Bug #3316: Kernel#caller returns nil as well
遠藤です。
[#41350] [Bug #3318] net/imap/test_imap.rb reports an error on Windows — Usaku NAKAMURA <redmine@...>
Bug #3318: net/imap/test_imap.rb reports an error on Windows
[#41353] [Bug #3037] testrb の動作が1.8.7 の testrb と違いすぎる — Yusuke Endoh <redmine@...>
チケット #3037 が更新されました。 (by Yusuke Endoh)
2010年5月19日21:04 Yusuke Endoh <redmine@ruby-lang.org>:
[#41377] [Bug #3326] ruby_1_8がAIXでコンパイルできません。 — Yutaka Kanemoto <redmine@...>
Bug #3326: ruby_1_8がAIXでコンパイルできません。
[#41382] [Feature #3328] Kernel#p outputs as default_internal encoding, and so on — Masaya Tarui <redmine@...>
Feature #3328: Kernel#p outputs as default_internal encoding, and so on
[#41407] [Bug #3339] win32ole test failure — Usaku NAKAMURA <redmine@...>
Bug #3339: win32ole test failure
助田です。
こんにちは、なかむら(う)です。
助田です。
こんにちは、なかむら(う)です。
志村と申します
[#41423] [Bug #3345] webrick test failure on Windows(?) — Usaku NAKAMURA <redmine@...>
Bug #3345: webrick test failure on Windows(?)
[#41430] [bug:trunk] rubyspec: Kernel.spawn redirects both STDERR and STDOUT to the given name ERROR — Yusuke ENDOH <mame@...>
遠藤です。
[#41452] [Bug #3360] rdoc fails when including BOM — white leaf <redmine@...>
Bug #3360: rdoc fails when including BOM
チケット #3360 が更新されました。 (by Nobuyoshi Nakada)
[#41481] [Bug #3370] test failure of drb — Usaku NAKAMURA <redmine@...>
Bug #3370: test failure of drb
[ruby-dev:41471] Re: NoMethodErrorなどのmessage
=1B$B31$H$$$$$^$9!#=1B(B
=1B$B$^$D$b$H$5$s!"$*JV;v$"$j$,$H$&$4$6$$$^$9!#=1B(B
On 2010/05/30, at 15:19, Yukihiro Matsumoto wrote:
> =1B$B$^$D$b$H=1B(B =1B$B$f$-$R$m$G$9=1B(B
>=20
> In message "Re: [ruby-dev:41329] NoMethodError=1B$B$J$I$N=1B(Bmessage"
> on Sun, 16 May 2010 23:06:00 +0900, Masatoshi SEKI =
<m_seki@mva.biglobe.ne.jp> writes:
>=20
> |=1B$B$A$g$C$HA0$+$i=1B(BRWiki=1B$B$H$$$&=1B(BWiki=1B$BIw$N%"%W%j%1!<%7%=
g%s$r=1B(B
> |=1B$B=3Dq$$$F$$$^$9!#=1B(B
> =
|=1B$B$?$/$5$s$N%*%V%8%'%/%H$r;2>H$7$F$$$k=1B(BRWiki=1B$B$N%*%V%8%'%/%H$K!=
"=1B(B
> |irb=1B$B$GBPOCE*$K%a%C%;!<%8$rAw$k$3$H$,$h$/$"$k$N$G$9$,!"=1B(B
> |=1B$B$=3D$N:]$K%a%=3D%C%IL>$r4V0c$($k$H$H$F$bD9$$;~4VBT$?$5$l$F=1B(B
> |=1B$B:$$C$F$$$^$9!#=1B(B
>=20
> =1B$B$b$&$A$g$C$H>u67$r@bL@$7$F$/$@$5$$!#=1B(B
>=20
> =
=1B$B$^$:!"=1B(Binspect=1B$B$rHr$1$k$+$I$&$+$r9M$($kA0$K!"=1B(BNameError=1B=
$B7O$O$^$5=1B(B
> =
=1B$B$K$3$N$h$&$J!V$H$F$bD9$$!W=3DhM}$rHr$1$k$?$a$K!"=1B(Bto_str=1B$B$rCY1=
d$7=1B(B
> =1B$B$F$$$^$9!#Nc30$r0u;z$7$h$&$H$9$k$J$IL@<(E*$KMW5a$7$J$$8B$j!"=1B(B
> to_str=1B$B$r8F$P$J$$$O$:$G$9!#$H$$$&$3$H$O!"K\Mh=1B(B
>=20
> =
|=1B$B$3$N4X?t$O=1B(BMarshal=1B$B$N:]$K$b8F$P$l$k$h$&$G!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1B$B$=3D$N:,$K$J$k%*%V%8%'%/%H$X$N=1B(BNoMethodError=1B$B$N$H$-$J$I$K=1B(=
B
=1B$B$H$F$bBT$?$5$l$^$9!"$C$F46$8$G$9!#=1B(B
=1B$B<+?.$NL5$5$K$O<+?.$,$"$k$N$G!":G=3Di$K=1B(BdRuby=1B$B$r5?$$$^$7$?$,!"=
=1B(B
=1B$B%j%b!<%H$G$J$/$F$bCY$$$h$&$G$9!#=1B(B
nme.rb
--
a =3D Array.new(ARGV.shift.to_i)
begin
a.foo
rescue
Marshal.dump($!)
end
--
=
=1B$B$3$s$J$N$r=3Dq$$$F!"=1B(Bprofile=1B$B$H$k$H=1B(Binspect=1B$B$,8F$P$l$=
F$$$k$N$,$o$+$j$^$9!#=1B(B
% ruby -r profile nme.rb 10000
% cumulative self self total
time seconds seconds calls ms/call ms/call name
59.26 0.16 0.16 1 160.00 260.00 Array#inspect
37.04 0.26 0.10 10000 0.01 0.01 NilClass#inspect
3.70 0.27 0.01 1 10.00 10.00 Symbol#to_s
0.00 0.27 0.00 1 0.00 0.00 Class#new
0.00 0.27 0.00 1 0.00 0.00 =
NoMethodError#initialize
0.00 0.27 0.00 1 0.00 0.00 =
Exception#exception
0.00 0.27 0.00 1 0.00 0.00 =
NameError::message#!
0.00 0.27 0.00 1 0.00 0.00 =
Exception#backtrace
0.00 0.27 0.00 1 0.00 0.00 String#to_i
0.00 0.27 0.00 1 0.00 0.00 =
NameError#initialize
0.00 0.27 0.00 1 0.00 270.00 Marshal.dump
0.00 0.27 0.00 1 0.00 0.00 =
Kernel.method_missing
0.00 0.27 0.00 1 0.00 0.00 =
Exception#set_backtrace
0.00 0.27 0.00 1 0.00 0.00 =
Exception#initialize
0.00 0.27 0.00 1 0.00 270.00 =
NameError::message#_dump
0.00 0.27 0.00 1 0.00 0.00 Array#initialize
0.00 0.27 0.00 1 0.00 0.00 Array#shift
0.00 0.27 0.00 1 0.00 270.00 #toplevel
% ruby -r profile nme.rb 1
% cumulative self self total
time seconds seconds calls ms/call ms/call name
0.00 0.00 0.00 1 0.00 0.00 Array#inspect
0.00 0.00 0.00 1 0.00 0.00 =
Kernel.method_missing
0.00 0.00 0.00 1 0.00 0.00 Marshal.dump
0.00 0.00 0.00 1 0.00 0.00 String#to_i
0.00 0.00 0.00 1 0.00 0.00 =
NoMethodError#initialize
0.00 0.00 0.00 1 0.00 0.00 =
Exception#exception
0.00 0.00 0.00 1 0.00 0.00 =
NameError::message#!
0.00 0.00 0.00 1 0.00 0.00 =
Exception#backtrace
0.00 0.00 0.00 1 0.00 0.00 Class#new
0.00 0.00 0.00 1 0.00 0.00 =
NameError#initialize
0.00 0.00 0.00 1 0.00 0.00 Symbol#to_s
0.00 0.00 0.00 1 0.00 0.00 NilClass#inspect
0.00 0.00 0.00 1 0.00 0.00 =
Exception#set_backtrace
0.00 0.00 0.00 1 0.00 0.00 =
Exception#initialize
0.00 0.00 0.00 1 0.00 0.00 =
NameError::message#_dump
0.00 0.00 0.00 1 0.00 0.00 Array#initialize
0.00 0.00 0.00 1 0.00 0.00 Array#shift
0.00 0.01 0.00 1 0.00 10.00 #toplevel
=
=1B$B$G!"=1B(BMarshal.dump=1B$B$r%3%a%s%H%"%&%H$9$k$H<!$N$h$&$K=1B(Binspec=
t=1B$B$O8F$P$l$^$;$s!#=1B(B
nme2.rb
--
a =3D Array.new(ARGV.shift.to_i)
begin
a.foo
rescue
# Marshal.dump($!)
end
--
% ruby -r profile nme2.rb 10000
% cumulative self self total
time seconds seconds calls ms/call ms/call name
0.00 0.00 0.00 1 0.00 0.00 =
Kernel.method_missing
0.00 0.00 0.00 1 0.00 0.00 String#to_i
0.00 0.00 0.00 1 0.00 0.00 =
NoMethodError#initialize
0.00 0.00 0.00 1 0.00 0.00 =
Exception#exception
0.00 0.00 0.00 1 0.00 0.00 =
NameError::message#!
0.00 0.00 0.00 1 0.00 0.00 =
Exception#backtrace
0.00 0.00 0.00 1 0.00 0.00 Class#new
0.00 0.00 0.00 1 0.00 0.00 =
NameError#initialize
0.00 0.00 0.00 1 0.00 0.00 =
Exception#set_backtrace
0.00 0.00 0.00 1 0.00 0.00 =
Exception#initialize
0.00 0.00 0.00 1 0.00 0.00 Array#initialize
0.00 0.00 0.00 1 0.00 0.00 Array#shift
0.00 0.01 0.00 1 0.00 10.00 #toplevel
> |=1B$B$=3D$l$GDs0F$G$9!#=1B(B
> |
> |inspect=1B$B$O8F$P$:$K!"$$$D$b=1B(Brb_any_to_s()=1B$B!"$"$k$$$O=1B(B
> |
> |#<=1B$B%/%i%9L>=1B(B:=1B$B%*%V%8%'%/%H=1B(Bid>=20
> |
> |=1B$B$N7A<0=1B(B(=1B$B$J$s$F$$$&$N=1B(B?)=1B$B$r%a%C%;!<%8$KF~$l$k$N$O$=
I$&$G=1B(B
> |=1B$B$7$g$&$+!)=1B(B
>=20
> =1B$B$=3D$l$@$H=1B(Bnil=1B$B$d=1B(Bfalse=1B$B!"=1B(BFixnum=1B$B$N$h$&$J$=
b$N$^$G=1B(B
>=20
> #<=1B$B%/%i%9L>=1B(B:=1B$B%*%V%8%'%/%H=1B(Bid>=20
>=20
> =1B$B$K$J$C$A$c$$$^$9$+$i$M$(!#=1B(B
=1B$B$=3D$l$G!"=1B(Berror.c=1B$B$N=1B(Bname_err_mesg_to_str()=1B$B$rFI$_$^=
$7$?!#=1B(B
1.8=1B$B7O$O$3$s$J46$8$G$9!#=1B(B1.9=1B$B$b$[$\F1MM$G$9!#=1B(B
nil, true, false=1B$B$O%1%"$5$l$F$k$_$?$$!#=1B(B
default:=1B$B$G=1B(Binspect=1B$B$r$7$?8e$KD9$5$r?t$(!"=1B(B
=1B$B$=3D$l$,D9$$$H$-$K=1B(Brb_any_to_s()=1B$B$7$F$k$H$3$m$,=1B(B
=1B$B$"$j$^$9!#=1B(B
d =3D rb_protect(rb_inspect, obj, 0);
if (NIL_P(d) || RSTRING(d)->len > 65) {
d =3D rb_any_to_s(obj);
}
=1B$B$3$l$r=1B(B
d =3D rb_any_to_s(obj);
=1B$B$H$7$F$$$?$@$1$^$;$s$+!"$H$$$&Ds0F$G$9!#=1B(B
Marshal.dump=1B$B$N$[$&$O!"=1B(B
rb_define_method(rb_cNameErrorMesg, "_dump", name_err_mesg_to_str, =
1);
=1B$B$,4X78$"$k$N$+$J$"$HA[A|$7$F$^$9!#=1B(B
/* :nodoc: */
static VALUE
name_err_mesg_to_str(obj)
VALUE obj;
{
VALUE *ptr, mesg;
Data_Get_Struct(obj, VALUE, ptr);
mesg =3D ptr[0];
if (NIL_P(mesg)) return Qnil;
else {
const char *desc =3D 0;
VALUE d =3D 0, args[3];
obj =3D ptr[1];
switch (TYPE(obj)) {
case T_NIL:
desc =3D "nil";
break;
case T_TRUE:
desc =3D "true";
break;
case T_FALSE:
desc =3D "false";
break;
default:
d =3D rb_protect(rb_inspect, obj, 0);
if (NIL_P(d) || RSTRING(d)->len > 65) {
d =3D rb_any_to_s(obj);
}
desc =3D RSTRING(d)->ptr;
break;
}
if (desc && desc[0] !=3D '#') {
d =3D rb_str_new2(desc);
rb_str_cat2(d, ":");
rb_str_cat2(d, rb_obj_classname(obj));
}
args[0] =3D mesg;
args[1] =3D ptr[2];
args[2] =3D d;
mesg =3D rb_f_sprintf(3, args);
}
if (OBJ_TAINTED(obj)) OBJ_TAINT(mesg);
return mesg;
}