General

Profile

runpaint (Run Paint Run Run)

  • Login: runpaint
  • Email: runrun@runpaint.org
  • Registered on: 05/26/2009
  • Last sign in: 01/28/2011

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 122 122

Activity

01/28/2011

11:10 AM Ruby Feature #4326: Fiber should respond to call() and []
=begin
I understood what you meant, and agree in principle. I wanted to think about the implications given that (a) #call is duck-typed on, and (b) Fibers cannot be called across Threads, and, possibly, (c) the root Fiber has special se...
runpaint (Run Paint Run Run)

01/26/2011

06:35 PM Ruby Bug #4323: Proc#hash is Ill-Behaved
=begin
> I'm not so sure I'd expect Proc#hash to be equal in these cases. Of course, I don't feel like
> Procs that simply have the same code and closure should be expected to be eql? either.

Perhaps, but the Rdoc is clear that ...
runpaint (Run Paint Run Run)
06:35 AM Ruby Bug #4323 (Closed): Proc#hash is Ill-Behaved
=begin
Proc#hash is not predictable for receivers that are #eql?

irb> ->{}.hash
=> -1250381286238705236
irb> ->{}.hash
=> 2684657672161532106
irb> ->{true}.hash
=> -2939885723276364833
irb> ...
runpaint (Run Paint Run Run)

01/06/2011

01:11 AM Ruby Feature #4234 (Closed): Hash#default_proc= Doesn't Accept nil Argument
=begin
The initial value of a Hash's default Proc is the block passed to Hash.new or nil. Hash#default_proc= can set the default Proc to a given Proc, but can't reset it to nil. This is unsymmetrical.

The attached patch lets #def...
runpaint (Run Paint Run Run)
12:20 AM Ruby Feature #4233 (Closed): autoload Can't Require Gems
=begin
Is it intentional that when used via `autoload`, `require` can't handle Gem names?

run@desktop:~/mir/ruby$ → ruby -e 'p require "nokogiri"'
true
run@desktop:~/mir/ruby$ → ruby -e 'autoload(:N, "nokogiri"...
runpaint (Run Paint Run Run)
12:06 AM Ruby Bug #4058: __method__ does not return correct method name for aliased methods
=begin
> This is intended. Originally, __callee__ and __method__ were equivalent, except in aliased methods where the former returned the
> aliased name, and the latter returned the non-aliased name. Then, later, matz changed __call...
runpaint (Run Paint Run Run)

12/28/2010

02:20 AM Ruby Bug #3760: help "String.new" (for example) no longer works in irb
=begin
Please reopen.

>> RUBY_REVISION
=> 30404
>> help 'String.new'
NoMethodError: undefined method `get_info_for' for #<RDoc::RI::Driver:0x9a6f730>
from /usr/local/lib/ruby/1.9.1/irb/cmd/help.rb:29:in `block in ex...
runpaint (Run Paint Run Run)

12/16/2010

10:56 PM Ruby Feature #4038: IO#advise
=begin
> Please check-in, but I think symbol initialization (:normal etc.) is
> needed only when posix_fadvise(2) is available.

The advantage of the current approach is that we can fail earlier.
Otherwise, a script containing `io.a...
runpaint (Run Paint Run Run)
03:18 AM Ruby Feature #4015: File::DIRECT Constant for O_DIRECT
=begin
> May I ask current status of this proposal? (Why no assignment)

I was wondering the same thing.

> I think io-advise.patch works enough and we can't make O_DIRECT emulation and
> good fallback logic. Also, O_DIRECT is de-f...
runpaint (Run Paint Run Run)
03:01 AM Ruby Feature #4151: Enumerable#categorize
=begin
> pp ary.categorize {|e| [e[1], e[0]] }
> #=>
> {"Yukihiro Matsumoto"=>["matz"],
> "Nobuyoshi Nakada"=>["nobu"],
> "Tanaka Akira"=>["akr"],
> "Usaku NAKAMURA"=>["usa"],
> "NARUSE, Yui"=>["naruse"],
> "SASADA Koic...
runpaint (Run Paint Run Run)

Also available in: Atom