Project

General

Profile

Activity

From 10/11/2011 to 10/17/2011

10/17/2011

11:53 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
Hi,

2011/10/17 Luis Lavena <luislavena@gmail.com>

> On Mon, Oct 17, 2011 at 11:59 AM, Heesob Park <phasis@gmail.com> wrote:
> >
> > Issue #5407 has been updated by Heesob Park.
> >
> >
> > After some trial and error,...
phasis68 (Heesob Park)
11:23 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
On Mon, Oct 17, 2011 at 11:59 AM, Heesob Park <phasis@gmail.com> wrote:
>
> Issue #5407 has been updated by Heesob Park.
>
>
> After some trial and error, it turns out this bug is GCC 4.6.1 optimization flag issue.
>
> According ...
luislavena (Luis Lavena)
06:59 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
After some trial and error, it turns out this bug is GCC 4.6.1 optimization flag issue.
According to the document of gcc 4.6.1(http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Optimize-Options.html#index-fomit_002dframe_002dpointer-691):
...
phasis68 (Heesob Park)
10:00 PM Bug #5450 (Third Party's Issue): rake 0.9.2.2 does not exist in rubygems.org
It just seems a bug of bundler or a mis-release of rake.
Why do we have to remove rake "gem"?
nobu (Nobuyoshi Nakada)
07:18 PM Feature #5453 (Third Party's Issue): Add gemspecs to auto-mode-alist for ruby-mode
ruby-mode is now a part of GNU Emacs so please report there.
The one we have is for older Emacs versions, like Emacs 21.
shyouhei (Shyouhei Urabe)
06:27 PM Feature #5453 (Third Party's Issue): Add gemspecs to auto-mode-alist for ruby-mode
"\\.gemspec\\'" should be added to auto-mode-alist for ruby-mode, as they are Ruby files. now (Nikolai Weibull)
06:20 PM Feature #4523: Kernel#require to return the path of the loaded file
False, the same as currently. regularfry (Alex Young)
05:50 PM Bug #5437: Using fibers leads to huge memory leak
I tried to use your setting but as you can see in the results files it does not change very much. Also I added finalizers to those fibers to make sure that they are garbage collected and most of them are. So why is the memory increasing ... rupert (Robert Pankowecki)
05:34 PM Revision 1a3f365c (git): * 2011-10-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:33 PM Revision 673448c2 (git): Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/core.rb (QueryExtension#read_multiparat): replace 'stdinput'
from '$stdin' because using fast cgi. [Bug #5451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA

10/16/2011

12:14 PM Feature #1081: add File::write() convenience method
It seems the docs here are wrong http://www.ruby-doc.org/core-1.9.3/IO.html#method-c-write -- they mention 4 arguments when only 3 are supported and the :mode isn't explained - please update the docs. hackeron (Roman Gaufman)
10:47 AM Revision 4db34663 (git): * 2011-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:46 AM Revision e6ce15c6 (git): * ext/bigdecimal/bigdecimal.gemspec (files): fixed typo, and
removed nonexistent file.
* ext/bigdecimal/bigdecimal.gemspec (homepage): added.
* ext/io/console/io-console.gemspec (homepage): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:43 AM Bug #5451 (Closed): cgi/core.rbのread_multipart()で$stdioを直接使っているために、ruby-fcgiでmultipart/form-dataが使えない
ruby-fcgiを使うと、multipart/form-dataの時にPOSTできないことに気づきました。
調べたところ、ruby-fcgiでは、CGI#stdinputを@request.inに上書きしているのに、cgi/core.rbのread_multipart()でだけ$stdinを直接使っているために、以下のように例外が発生します。 ( https://github.com/tdiary/tdiary-core/issues/102 )
/usr/l...
kazuhiko (Kazuhiko Shiozaki)
04:06 AM Feature #4969: Subtle issue with require
Then it works.
>> $LOADED_FEATURES.reject! { |i| i =~/abbrev/ }
>> require 'abbrev'
true
trans (Thomas Sawyer)
02:23 AM Feature #4969: Subtle issue with require
what happens when you put `$LOADED_FEATURES.reject! { |i| i =~/abbrev/ }` before the last `require`
jonforums (Jon Forums)
01:36 AM Feature #4969: Subtle issue with require
Okay, I finally got around to digging into this a bit more. The issue can be seen from this simple example.
Given a local directory containing:
fixture/
abbrev.rb
Then:
$ irb
>> $LOAD_PATH.unshift('./fixture')
...
trans (Thomas Sawyer)
12:24 AM Feature #5448: Singleton module's ::instance method should forward parameters
Nobuyoshi Nakada wrote:
> Singleton has only one instance, why do you need parameters?
Maybe you're right, because one could do it with accessors as well. However, beside that a Singleton can just have one instance, there's nothing s...
Quintus (Marvin Gülker)

10/15/2011

09:55 PM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
Hello,
This seems to be a regression of the VM perhaps? Using same compiler (GCC 4.6.1) but against trunk, it works perfectly:
V:\>ruby -v
ruby 1.9.4dev (2011-10-14 trunk 33469) [i386-mingw32]
V:\>ruby -rpsych -ve "puts Psych.l...
luislavena (Luis Lavena)
12:48 PM Bug #5450 (Closed): rake 0.9.2.2 does not exist in rubygems.org
1.9.3 installs rake as a 'default gems' which version is 0.9.2.2, but the version does not exist in RubyGems's source repository.
I heard that it makes bundler confuse. For some environment (not 100%), bundler generates Gemfile.lock w...
nahi (Hiroshi Nakamura)
09:33 AM Feature #4523 (Feedback): Kernel#require to return the path of the loaded file
What do you expect when the library has loaded already? nobu (Nobuyoshi Nakada)
08:52 AM Feature #4523: Kernel#require to return the path of the loaded file
+1 trans (Thomas Sawyer)
08:32 AM Bug #5449 (Closed): nested constant opasign not working
=begin
This code works on 1.9:
Foo ||= 42
However, (({ ::Foo ||= 42 })) and
Foo ||= Module.new
Foo::Bar ||= 42
both raise a SyntaxError: constant re-assignment.
(Note: I had to use the (({...})) syntax so Redmine wou...
rkh (Konstantin Haase)

10/14/2011

11:54 PM Feature #5448 (Feedback): Singleton module's ::instance method should forward parameters
=begin
Singleton has only one instance, why do you need parameters?
What's wrong with:
class FooSingleton < Foo
include Singleton
def initialize
super(1)
end
end
=end
nobu (Nobuyoshi Nakada)
11:30 PM Feature #5448 (Rejected): Singleton module's ::instance method should forward parameters
Hi there,
Classes mixing in the Singleton module currently aren't allowed to have parameters for their initialize method. This should be changed, because sometimes it's necessary to give some initial state information to the single(t...
Quintus (Marvin Gülker)
08:53 PM Feature #5445: Need RUBYOPT -r before ARGV -r
Hello,

2011/10/14 Thomas Sawyer <transfire@gmail.com>:
> Libraries given by -r options in RUBYOPT should be loaded before ones in direct command line arguments.


How about adding a new environment variable, such as RUBYOPT...
mame (Yusuke Endoh)
11:25 AM Feature #5445: Need RUBYOPT -r before ARGV -r
=begin
A patch follows.
diff --git i/ruby.c w/ruby.c
index 2e6751f..3c8bb3a 100644
--- i/ruby.c
+++ w/ruby.c
@@ -1251,9 +1251,13 @@ process_options(int argc, char **argv, struct cmdline_options *opt)
VALUE src_enc_name = opt->src...
nobu (Nobuyoshi Nakada)
12:47 AM Feature #5445 (Assigned): Need RUBYOPT -r before ARGV -r
Libraries given by -r options in RUBYOPT should be loaded before ones in direct command line arguments.
I use a custom load system for development that I have been using for years and it works very well for me. But Ruby has some edge ...
trans (Thomas Sawyer)
06:07 PM Bug #5447 (Third Party's Issue): Rails can't create a new app when a folder with accented letter is in the path
It's thor's bug. naruse (Yui NARUSE)
05:03 PM Bug #5447 (Closed): Rails can't create a new app when a folder with accented letter is in the path
On OS X Lion 10.7.2
With ruby 1.9.3-RC1 and ruby 1.9.3-head
rvm install 1.9.3-head
rvm --create 1.9.3-head@rails3.1.1
rvm --default use 1.9.3-head@rails3.1.1
gem install rails
cd Documents/EMC/Émilie/rails/
rails new test_app
...
gnal-ybur (Joël Brogniart)
05:15 PM Feature #5446: at_fork callback API
As you know, we can only call asynchronous-signal-safe function between fork and exec when the process is multi threaded.
but ruby code invocation definitely need to use malloc which not async-signal-safe. so, it's pretty hard to implem...
kosaki (Motohiro KOSAKI)
11:10 AM Feature #5446 (Closed): at_fork callback API
It would be good if Ruby provides an API for registering fork() handlers.
This allows libraries to automatically and agnostically reinitialize resources
such as open IO objects in child processes whenever fork() is called by a user
...
normalperson (Eric Wong)
01:54 PM Revision 6d7df91c (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
08:19 AM Bug #5244: Continuation causes Bus Error on Debian sparc
Discussion of this issue is ongoing in this thread on sparclinux mailing list: http://marc.info/?t=131806608400002&r=1&w=2. jurij (Jurij Smakov)
07:12 AM Feature #5444: Object.free
And, of course, the gem is not guaranteed across revisions. nobu (Nobuyoshi Nakada)
01:17 AM Feature #5444 (Rejected): Object.free
While it might be considered useful from some brave power users, we are not going to add such unsafe features to the core.
Use the gem.
matz.
matz (Yukihiro Matsumoto)
12:28 AM Feature #5444 (Rejected): Object.free
I came across this gem today:
http://github.com/banister/free
Which led me to wonder if it might not be good to have this feature built-in to the core language. While not useful in most cases, it could be very useful to power-use...
trans (Thomas Sawyer)
03:14 AM Revision 039f12b5 (git): * ext/pty/pty.c (pty_check): should return nil until the child
terminates or stops. [ruby-dev:44600] [Bug #2642]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:19 AM Revision 3a0e582e (git): * include/ruby/intern.h (rb_ary_reverse): export.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:50 AM Feature #5421: -r option useless
Thank you, Eric. I do believe that may be the most helpful comment you have ever given me. Even beyond this particular issue, it provides me some additional clarity on how best to present issues in the future. trans (Thomas Sawyer)

10/13/2011

10:37 PM Bug #5442: heredoc inside Hash initialization
I see, thanks jhej (Jonatan Hejzlar)
10:23 PM Bug #5442 (Rejected): heredoc inside Hash initialization
That's identical to
Hash[:a, "some text\n"
,:b,'other']
and produces a same error. So it is consistent. Place the comma beforehand. i.e.
Hash[:a, <<-EOS, :b, 'other']
some text
EOS
shyouhei (Shyouhei Urabe)
10:06 PM Bug #5442 (Rejected): heredoc inside Hash initialization
Shouldn't this initialization be valid?
Hash[:a,<<-EOS
some text
EOS
,:b,'other']
gives the following error
syntax error, unexpected ',', expecting ']'
jhej (Jonatan Hejzlar)
09:16 PM Revision 4f731db7 (git): * cont.c (fiber_store): balance braces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:58 PM Revision f3a62db7 (git): * 2011-10-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:58 PM Revision c96c193e (git): * atomic.h (ATOMIC_INC, ATOMIC_DEC): return old values.
[ruby-dev:44596] [Bug #5439]
* signal.c (ruby_atomic_exchange): no needs to define on the
platforms where atomic.h is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:04 PM Bug #5439 (Closed): r33361以降sample/test.rb:systemがFになる
This issue was solved with changeset r33460.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (rb_gc_finalize_deferred, rb_objspace_call_finalizer):
...
nobu (Nobuyoshi Nakada)
03:41 PM Bug #5439: r33361以降sample/test.rb:systemがFになる
> 3.いまatomicに対応してるのはgccとVCだけなので、#if defined(__SUNPRO_CC) だったら http://www.unix.com/man-page/OpenSolaris/9f/atomic_ops/ の命令つかって、atomicに動くように実装する
Solaris10ではヘッダの場所が #include <atomic.h> となっているのがOpenSolarisと違いますが、関数の仕様は同じのようです。(もっとも、Solar...
ngoto (Naohisa Goto)
03:13 PM Bug #5439: r33361以降sample/test.rb:systemがFになる
代入前の値を知りたいときは ATOMIC_EXCHANGE 使わないとダメ。
やらないといけないことが3つあって
1.ATOMIC_SETに void キャストいれて、戻り値使おうとしたらコンパイルエラーになるようにする
2.指摘されてる間違った ATOMIC_SEC を ATOMIC_EXCHANGEに変換
3.いまatomicに対応してるのはgccとVCだけなので、#if defined(__SUNPRO_CC) だったら
http://w...
kosaki (Motohiro KOSAKI)
03:12 PM Bug #5439: r33361以降sample/test.rb:systemがFになる
その他のコンパイラの場合はそれはそれで修正すべきと思いますが、sparc上のccにはatomic test and setみたいなインストラクション(があるのか存じ上げませんが)を生成する方法はないのでしょうか? あるのならそちらを使うようにするのが筋という気がします。 shyouhei (Shyouhei Urabe)
01:48 PM Bug #5439 (Closed): r33361以降sample/test.rb:systemがFになる
r33361の変更により、ccでコンパイルすると、プログラム終了時にfinalizerが呼ばれなくなり、sample/test.rb:system にFが出ます。
(Solaris 10, sparc, Sun Studio 11 にて確認)
% make test
(中略)
sample/test.rb:eval .............................
sample/test.rb:system .FFFF.F.
samp...
ngoto (Naohisa Goto)
10:39 AM Revision 5558de40 (git): * atomic.h (ATOMIC_*): use atomic_ops(3C) when SunStudio on Solaris.
[ruby-dev:44596] [Bug #5439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
09:19 AM Revision 123645aa (git): * atomic.h(ATOMIC_SET): add cast to void to prevent misuse.
[ruby-dev:44596] [Bug #5439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:04 AM Revision 09d18bec (git): * 2011-10-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:04 AM Revision c180eabf (git): * gc.c (rb_gc_finalize_deferred, rb_objspace_call_finalizer):
should use ATOMIC_EXCHANGE() to check the previous value.
[ruby-dev:44596] [Bug #5439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:44 AM Feature #3631 (Closed): [PATCH] lib/rake.rb: allow passing nil to sh() and ruby()
drbrain (Eric Hodel)
06:50 AM Feature #3631: [PATCH] lib/rake.rb: allow passing nil to sh() and ruby()
Patch was rejected upstream, so please close this issue. sunaku (Suraj Kurapati)
05:23 AM Bug #5437: Using fibers leads to huge memory leak
Robert Pankowecki <robert.pankowecki@gmail.com> wrote:
> ruby -v: ruby 1.9.3dev (2011-10-11 revision 33457) [x86_64-linux]

> fibers = []
>
> GC.start

GC.start is never guaranteed to release memory (especially not with
...
normalperson (Eric Wong)
04:23 AM Feature #5427: Not complex patch to improve `require` time (load.c)
On Mon, Oct 10, 2011 at 1:53 AM, Yui NARUSE <naruse@airemix.jp> wrote:
[...]
> It's too late for 1.9.3.
> Its feature is frozen on July 10.

It is not a feature, just an optimization. So if it works well, it can
be included,...
yeban (Anurag Priyam)
01:15 AM Feature #5427: Not complex patch to improve `require` time (load.c)
Patch applies cleanly, builds on my Win7 32bit using TDM-GCC 4.6.1 at `ruby 1.9.3dev (2011-10-11 revision 33457) [i386-mingw32]` and passes all `make test-all TESTS='openssl fiddle psych' && make test`
Planning to benchmark and test s...
jonforums (Jon Forums)
02:19 AM Bug #5438 (Closed): [PATCH] Add exception hierarchy in Exception class documentation.
[PATCH] * error.c: Add exception hierarchy in Exception class documentation. sdaubert (Sylvain Daubert)

10/12/2011

10:41 PM Bug #5433: PTY.spawn Kernel panic on macos lion
@argami_toro It seems there may be some circumstances for Lion kernel to panic.
It is not always. 1.9.3 happen to hit that.
When Apple disclose that exact condition, we are possible to workaround.
shyouhei (Shyouhei Urabe)
10:20 PM Bug #5433: PTY.spawn Kernel panic on macos lion
So i have a question if is kernel bug why give a kernel error in 1.9.2 and not 1.9.3 or 1.8.7. argami (Gamaliel Toro)
09:09 PM Bug #5433: PTY.spawn Kernel panic on macos lion
Motohiro KOSAKI wrote:
> > Obviously, kernel bug.
> ...
It is an Apple's fault.
The first thing to be done is to blame Apple, not to report here.
You are a customer of Apple, not us.
However if you are not a customer but an employ...
shyouhei (Shyouhei Urabe)
08:51 PM Bug #5433: PTY.spawn Kernel panic on macos lion
> Obviously, kernel bug.
Even if so, we need workaround. isn't it?
kosaki (Motohiro KOSAKI)
05:50 PM Bug #5433 (Third Party's Issue): PTY.spawn Kernel panic on macos lion
Obviously, kernel bug. nobu (Nobuyoshi Nakada)
10:06 PM Bug #5437 (Rejected): Using fibers leads to huge memory leak
It appears to me that there is something wrong with reallocating (reusing?) memory used by fibers. Here is a little script: rupert (Robert Pankowecki)
09:42 PM Feature #3187: Allow dynamic Fiber stack size
I would also welcome such improvement. rupert (Robert Pankowecki)
07:08 PM Bug #5432: ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
On my machine running Solaris 10 on sparc, with Oracle Solaris Studio 12.2 and openssl 1.0.0d, the issue does not occur, and "make test" is finished without error.
% export PATH=/opt/solstudio12.2/bin:$PATH
% ./configure --prefix=/...
ngoto (Naohisa Goto)
02:54 PM Feature #3631: [PATCH] lib/rake.rb: allow passing nil to sh() and ruby()
I submitted this patch directly to the Rake project:
https://github.com/jimweirich/rake/pull/79
If it is accepted there, then perhaps someday it will
find its way back into ruby-core. One can only dream. :)
sunaku (Suraj Kurapati)
02:41 PM Revision 9f3f24e2 (git): * 2011-10-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:41 PM Revision a31495b1 (git): * test/openssl/test_ssl.rb: Move duplicated tests for SSL::Session to
test_ssl_session.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
11:23 AM Bug #4157: test_pty で、たまに出る Failure
きしもとです

> 同じことができるというのは事実誤認です。
>
> 少なくとも PTY.open と spawn には制御端末を設定する機能がありません。

わかりました。deprecated 以降についての提案は一旦ひっこめます。

あと、るりまの記述を確認していったところ、確認しきれなかったので、
どなたかわかるかたに質問したいのですが、

> 子プロセスの状態を監視するために SIGCHLD シグナルを捕捉します。...
metanest (Makoto Kishimoto)
09:29 AM Bug #4157: test_pty で、たまに出る Failure
2011年10月12日9:03 KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>:

> 「テストがたまに fail」の原因は、ktrace してみると read の時点で読めて
> ない、ということ以外、皆目掴めないのですが、PTY.open と Kernel#spawn
> を組み合わせて同じことをやった場合は問題が出ないようですし、Kernel#spawn
> の新しい機能を使えば PTY#getpty(...
akr (Akira Tanaka)
09:23 AM Bug #4157: test_pty で、たまに出る Failure
きしもとです

PTY についてですが、さらにいくつか気になったので、中間まとめを作ります。

・(るりま)1.9.2 で protect_signal が削除されたことに対応していない
・(るりま)1.9.2 (?) で SIGCHLD の捕捉をおこなわなくなったことに
 対応していない
・PTY.check を第二引数 raise=true で実行すると、子プロセスが実行中でも
 PTY::ChildExited が発生する(これは...
metanest (Makoto Kishimoto)
07:33 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
I updated a patch.
> % ./ruby -e 'a = (1.0..12.7).step(1.3).to_a; p a.all? {|n| n <= 12.7 }, a.last'
> ...
This issue has 3 options:
(1) ignore
(2) return end
(3) change step
In this thread, we don't ignore it, so (2) or (3).
...
naruse (Yui NARUSE)
03:51 AM Feature #5427: Not complex patch to improve `require` time (load.c)
On 11 October 2011 04:42, Urabe Shyouhei wrote:
> On 10/10/2011 07:51 PM, Yura Sokolov wrote:
> ...
I was also curious how it performed so I made a benchmark.
Please have a look at https://gist.github.com/1278881
Eregon (Benoit Daloze)
01:02 AM Feature #5427: Not complex patch to improve `require` time (load.c)
11.10.2011 06:42, Urabe Shyouhei пишет:
> On 10/10/2011 07:51 PM, Yura Sokolov wrote:
> ...
With my application
Before patch:
RAILS_ENV=production rails runner 'puts $LOADED_FEATURES.size'
985
real 0m6.089s
user 0m5.644s
sys 0m0.308s
...
funny_falcon (Yura Sokolov)

10/11/2011

11:23 PM Feature #5434: Allow per-class whitelisting of methods safe to expose through DRb
えっと、ブラックリストもそうなんですけど
ホワイトリスト以外のメソッドも工夫したら
すり抜けられると思いますけどどうしますか?

うっかりミスを防ぐことはできるから
宣言としての効果があるという意味でしょうか。


盲腸みたいなもんでこの辺はなかったことにしたい
ので入れたくないですが、積極的に反対を表明する
元気もない感じ...。


On 2011/10/11, at 13:11, Shyouhei Urabe wrote:

>
...
Anonymous
01:11 PM Feature #5434 (Assigned): Allow per-class whitelisting of methods safe to expose through DRb
We have following pull-request.
https://github.com/ruby/ruby/pull/50
How do you feel? I can merge this if you are OK.
shyouhei (Shyouhei Urabe)
09:53 PM Bug #4157: test_pty で、たまに出る Failure
がさごそやっていてちょっと気になったのですが、

PTY.getpty の rdoc には、疑似端末のマスターデバイスにつながった r と w
のオブジェクトが IO と書かれていますが、コードのほうは File を生成して
います。
metanest (Makoto Kishimoto)
07:47 PM Bug #5433: PTY.spawn Kernel panic on macos lion
ok in this 2 i have the issue
ruby 1.9.2p312 (2011-08-11 revision 32926) [x86_64-darwin11.0.1]
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin11.0.1]
Both installed with RVM compiler is gcc-4.2
here is the log:
Interval Sin...
argami (Gamaliel Toro)
05:44 PM Bug #5433 (Feedback): PTY.spawn Kernel panic on macos lion
mrkn (Kenta Murata)
05:43 PM Bug #5433: PTY.spawn Kernel panic on macos lion
Gamaliel, please give us the precise information of "ruby -v".
Moreover, please tell us what compiler you use for compiling your ruby.
mrkn (Kenta Murata)
05:42 PM Bug #5433: PTY.spawn Kernel panic on macos lion
Any kernel panic logs? sorah (Sorah Fukumori)
06:48 AM Bug #5433: PTY.spawn Kernel panic on macos lion
On Ruby 1.9.2-p290 compiled with GCC (not LLVM-GCC) OS X 10.7.1 panics when I run your command. drbrain (Eric Hodel)
06:17 AM Bug #5433: PTY.spawn Kernel panic on macos lion
Just happen in 1.9.2 in 1.9.3-head its ok argami (Gamaliel Toro)
05:58 AM Bug #5433 (Third Party's Issue): PTY.spawn Kernel panic on macos lion
If you execute a PTY.spawn with a non existing command give a kernel panic.
Example
require 'pty'
PTY.spawn('nonexistent-command')
argami (Gamaliel Toro)
10:55 AM Bug #5432 (Assigned): ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
MartinBosslet (Martin Bosslet)
05:29 AM Bug #5432 (Closed): ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
I've tried building ruby 1.9.2-p290 and ruby 1.8.7-p352 on x86_64-sun-solaris2.10 (Solaris 10 10/08, update 6) with the no-cost Sun/Oracle Workshop toolchain. I've tried both the Workshop 12.1 and the latest, 12.2, with the same results... enchanter (Tim Mooney)
10:27 AM Bug #5425: Improves Array's uniq/uniq! example
Eric Hodel wrote:
> Please watch for trailing whitespace in your patches.
Will do. Sorry for that. The idea is to ease your work, not burden it :P.
alvaropereyra (Alvaro Pereyra Rabanal)
08:50 AM Bug #5425 (Closed): Improves Array's uniq/uniq! example
This issue was solved with changeset r33453.
Alvaro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_initialize): Improve explanation of Array.ne...
drbrain (Eric Hodel)
08:44 AM Bug #5425: Improves Array's uniq/uniq! example
Please watch for trailing whitespace in your patches. drbrain (Eric Hodel)
07:58 AM Bug #5412: Array documentation
I made a few minor changes to your patch:
I aligned the various example result (#=>) markers for better readability
I changed edited some wording for flow and removed some fancy words (like heterogenous) because they were explained...
drbrain (Eric Hodel)
07:55 AM Bug #5412 (Closed): Array documentation
This issue was solved with changeset r33451.
Andrea, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c: Add a description to Array, minor cleanups. Patch ...
drbrain (Eric Hodel)
06:10 AM Bug #5430 (Closed): [PATCH] Update documentation for PP
This issue was solved with changeset r33450.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/pp.rb: Move PP documentation to top of class PP. Patch...
drbrain (Eric Hodel)
06:06 AM Bug #5428 (Closed): [PATCH] Update documentation for Coverage
This issue was solved with changeset r33449.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/coverage/coverage.c (Init_coverage): Change list format...
drbrain (Eric Hodel)
05:54 AM Bug #5426 (Closed): Adds reference to BasicObject on Object
This issue was solved with changeset r33447.
Alvaro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (Init_Object): Add reference to BasicObject, brief
...
drbrain (Eric Hodel)
05:54 AM Bug #5426: Adds reference to BasicObject on Object
Please trim your trailing whitespace.
I modified your patch slightly to make it a bit more readable.
drbrain (Eric Hodel)
05:18 AM Feature #5431: Check issue with ruby-1.9.3-rc1
> /home/verbus/ruby-1.9.3-rc1/test/dl/test_func.rb:92: [BUG] Segmentation fault
> ...
This is DL & S390 specific issue. and I don't think dl has s390 port.
Moreover, we haven't tested ruby on s390. So, we are welcome if you can contrib...
kosaki (Motohiro KOSAKI)
04:13 AM Feature #5431 (Rejected): Check issue with ruby-1.9.3-rc1
Error Message: You may have encountered a bug in the Ruby interpreter or extension libraries.
See attached file for details.
Verbus
verbus (Verbus Counts)
02:50 AM Revision 14c3e60d (git): Skip too heavy test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:33 AM Revision 62b19328 (git): merge revision(s) 33296:
* test/-ext-/old_thread_select/test_old_thread_select.rb:
select() with timeout may return early in old Linux kernels
with 250 Hz tickrate and no dynticks, so skip everything older
than 2.6.32 (which has lon...
kosaki (Motohiro KOSAKI)
02:21 AM Revision 82f2c168 (git): * 2011-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:21 AM Revision 2f75c644 (git): merge revision(s) 33203:
------------------------------------------------------------------------
r33203 | naruse | 2011-09-06 04:11:21 -0400 (Tue, 06 Sep 2011) | 1 line
Use assert_operator to show clear message.
------------------------------------------------...
kosaki (Motohiro KOSAKI)
12:53 AM Feature #5400: Remove flip-flops in 2.0
> I have no objection to deletion, but I'm just curious.
> Why do you want to delete it aggressively?
>
> --
> Yusuke Endoh <mame@tsg.ne.jp>

I just want to get rid of complexity in the language.

Currently, flip-flops a...
judofyr (Magnus Holm)
 

Also available in: Atom