[#47562] [Backport 200 - Backport #8716][Open] segmation fault 正規表現で大量のグループを利用時 — "taka-yoshi (taka-yoshi taka)" <smokeonthewater222@...>

15 messages 2013/08/01

[#47569] [ruby-trunk - Feature #8726][Open] Class#source_location — "takiuchi (Genki Takiuchi)" <genki@...21g.com>

14 messages 2013/08/03

[#47663] Re: [ruby-core:56878] [ruby-trunk - misc #8835][Open] Introducing a semantic versioning scheme and branching policy — "Akinori MUSHA" <knu@...>

At Fri, 30 Aug 2013 21:49:34 +0900,

6 messages 2013/08/30

[ruby-dev:47040] Re: [ruby-cvs:49591] usa:r42439 (trunk): * test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'

From: Tanaka Akira <akr@...>
Date: 2013-08-08 10:56:31 UTC
List: ruby-dev #47040
2013/8/8  <usa@ruby-lang.org>:
>   New Revision: 42439
>     * test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
>       instead of `p' to get rid of a side effect.
>       Kernel#p without any argument seems to do nothing, but flushes stdout.
>       and, if stdout is redirected to file, fsync() will be called on
>       Windows.  so, when running test-all on Windows with redirection, such
>       as CI environment, this test took a lot of time.

これの変更以後、chkbuild で激しく警告が出ています。
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130808T070300Z.diff.html.gz
(chkbuild は意図的に警告を有効にしています)

リテラルじゃなくてなにか別のメソッド呼び出し (__id__ とか) に
しても問題ないでしょうか。
-- 
[田中 哲][たなか あきら][Tanaka Akira]

In This Thread

Prev Next