Project

General

Profile

Activity

From 04/11/2012 to 04/17/2012

04/17/2012

11:47 PM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
I found that this issue is related with the auto-close flag of IO.
The following code fails with Errno::EBADF
f...
phasis68 (Heesob Park)
10:27 PM Bug #6228 (Open): [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
Who should be the responsible for GC? Seems to me that open file descriptor shouldn't be garbage collected while stil... luislavena (Luis Lavena)
10:14 PM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
I tried to create simplified test case of this issue.
> cat gc_io_test.rb
f = open("test_file", "w")
p f.fileno
...
h.shirosaki (Hiroshi Shirosaki)
07:23 AM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
This issue seems to be related to GC finalizer.
GC is triggered just before Errno::EBADF occurs, and finalizer close...
h.shirosaki (Hiroshi Shirosaki)
11:32 PM Feature #6311 (Closed): memmem()によるrb_memsearch()の高速化
[Feature #6129][ruby-dev:45344]と類似していますが、memmem()によるre.cのrb_memsearch()の高速化を試みました。
次のベンチマークを実行したところ以下の結果となり、有意な性能向...
Glass_saga (Masaki Matsushita)
10:52 PM Feature #5007: Proc#call_under: Unifying instance_eval and instance_exec
Hello,
I made a proof-of-concept patch.
Not tested yet. Please try it and find a bug.
It (and some related func...
mame (Yusuke Endoh)
04:08 AM Feature #5007: Proc#call_under: Unifying instance_eval and instance_exec
I don't see how this solves the case presented in #6298.
Given:
```ruby
class BlockCollection
def initi...
trans (Thomas Sawyer)
10:18 PM Bug #4458 (Closed): Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない
This issue was solved with changeset r35366.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby...
nobu (Nobuyoshi Nakada)
12:41 AM Bug #4458: Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない
何度もすみません。
出すべきpatchはこちらでした。
Glass_saga (Masaki Matsushita)
12:29 AM Bug #4458: Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない
空白以外のpaddingを指定した時に正しく動かないので修正しました。 Glass_saga (Masaki Matsushita)
10:06 PM Bug #6266 (Closed): encoding related exception with recent integrated psych
Okay, closing. Thanks!
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
09:58 PM Bug #6266: encoding related exception with recent integrated psych
r35245 fixed this issue, and r35251 backported to ruby_1_9_3 jonforums (Jon Forums)
09:19 PM Bug #6266 (Assigned): encoding related exception with recent integrated psych
mame (Yusuke Endoh)
09:20 PM Bug #6301 (Assigned): irb 起動後に conf.debug_level を変更するとエラーになる
mame (Yusuke Endoh)
09:20 PM Bug #6302 (Assigned): irb で math-mode 中でも conf.math_mode に nil を代入すると math-mode を抜ける事ができる
mame (Yusuke Endoh)
09:19 PM Bug #6278 (Assigned): in `join': deadlock detected (fatal)
mame (Yusuke Endoh)
09:19 PM Bug #6252 (Assigned): OpenSSL - ECDSA signature reliability
mame (Yusuke Endoh)
09:18 PM Bug #6227 (Assigned): [mingw] openssl backport causing test error
mame (Yusuke Endoh)
09:18 PM Bug #6221 (Assigned): OpenSSL 1.0.1 is breaking the drb test suite
mame (Yusuke Endoh)
09:18 PM Bug #6195 (Assigned): String#[] に逆順の Range を渡した場合の挙動
mame (Yusuke Endoh)
09:17 PM Bug #6181 (Assigned): Ruby crash when trying to send a mail (tls/gmail)
mame (Yusuke Endoh)
09:00 PM Bug #6246 (Assigned): 1.9.3-p125 intermittent segfault
Hello,
Perhaps I could reproduce this issue with small example:
class Foo
def Foo.shutdown(*args)
...
mame (Yusuke Endoh)
08:30 PM Bug #3128 (Assigned): Randomness specs
Marc-Andre, do you need discussion about this?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:29 PM Feature #6310 (Assigned): add EC_POINT_mul and EC_POINTs_mul to the ruby openssl ec wrapper
mame (Yusuke Endoh)
08:05 PM Feature #6310 (Closed): add EC_POINT_mul and EC_POINTs_mul to the ruby openssl ec wrapper
The ruby openssl wrapper currently does not interface with either of these, which are required for those who wish to ... roobiedoo (roobie doo)
08:02 PM Bug #6066 (Closed): Fix "control may reach end of non-void function" warnings for clang
nobu (Nobuyoshi Nakada)
08:01 PM Feature #6308: Eliminate delegation from WeakRef
It should be another new class, I think. nobu (Nobuyoshi Nakada)
05:02 PM Feature #6308 (Assigned): Eliminate delegation from WeakRef
WeakRef's delegation features are a really awful pattern that should not be allowed in future versions of Ruby.
We...
headius (Charles Nutter)
06:09 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
A video of Bob Lee explaining the various JVM references, and why using finalizers is bad: http://www.youtube.com/wat... headius (Charles Nutter)
05:25 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
The implementation looks fine to me.
I still believe that most interesting uses of WeakRef would be more efficient...
headius (Charles Nutter)
05:10 PM Feature #6309 (Assigned): Add a reference queue for weak references
Most interesting uses of WeakRef are much harder to do efficiently without a reference queue.
A reference queue, a...
headius (Charles Nutter)
01:11 PM Bug #6303 (Closed): dln_load and rb_w32_check_imported cause segfault in Ruby 1.9.3 for some extension
This issue was solved with changeset r35354.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
12:41 PM Feature #6305 (Feedback): Lazy
Explain why a gem does not work for you.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
04:39 AM Feature #6305 (Rejected): Lazy
I believe we discussed before but I couldn't find the issue, so I'll just bring it up again.
Might MenTaLguY's Laz...
trans (Thomas Sawyer)
12:38 PM Bug #6306 (Rejected): Ripper lexes :on_kw when it should find :on_ident
Hello,
2012/4/17, turboladen (Steve Loveless) <[email protected]>:
> I'd expect (({[[1, 1], :on_kw, "def"]...
mame (Yusuke Endoh)
05:33 AM Bug #6306 (Rejected): Ripper lexes :on_kw when it should find :on_ident
=begin
1.9.3-p125 :001 > require 'ripper'
=> true
1.9.3-p125 :002 > Ripper.lex %Q{:def}
=> [[[1, 0], :on...
turboladen (Steve Loveless)
08:27 AM Bug #5925: Lazy initialization is not thread safe.
Thanks Aaron
http://remotedatabackuptips.posterous.com/
thomasinareckers (Thomas Inareckers)
12:59 AM Feature #6183: Enumerator::Lazy performance issue
> It's a 'proof of concept' patch (only map and select added) - let me know if it makes sense.
> I believe that us...
Anonymous
12:59 AM Bug #6274: Float addition incorrect
> Issue #6274 has been updated by marcandre (Marc-Andre Lafortune).
>
> Status changed from Open to Rejected
>...
Anonymous
12:29 AM Feature #6293: new queue / blocking queues
On Mon, Apr 16, 2012 at 06:25:59PM +0900, SASADA Koichi wrote:
> Hi,
>
> Just an idea.
>
> (2012/04/14 11:25)...
Anonymous

04/16/2012

11:38 PM Bug #6301: irb 起動後に conf.debug_level を変更するとエラーになる
すみません。昨日は気づきませんでしたが、conf.debug_level は irb の起動後に再度代入するまでは効いていないようでした。
$ irb
> RubyLex.debug_level
=> 0
> conf....
sho-h (Sho Hashimoto)
01:44 AM Bug #6301 (Closed): irb 起動後に conf.debug_level を変更するとエラーになる
$ irb --irb_debug <数字> などでは問題ありませんが、irb の起動後に conf.debug_level を設定するとエラーになるようです。(1.9.3-p125 で確認しましたが、trunk でも同様のようです)... sho-h (Sho Hashimoto)
10:43 PM Bug #4458: Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない
patchを作りました。 Glass_saga (Masaki Matsushita)
10:34 PM Bug #6303 (Assigned): dln_load and rb_w32_check_imported cause segfault in Ruby 1.9.3 for some extension
luislavena (Luis Lavena)
10:27 PM Bug #6303: dln_load and rb_w32_check_imported cause segfault in Ruby 1.9.3 for some extension
The changeset r35352 is not same to my patch and the bug #6303 is not fixed.
After applying r35352,
require 'msw...
phasis68 (Heesob Park)
09:25 PM Bug #6303 (Closed): dln_load and rb_w32_check_imported cause segfault in Ruby 1.9.3 for some extension
This issue was solved with changeset r35352.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
03:34 PM Bug #6303: dln_load and rb_w32_check_imported cause segfault in Ruby 1.9.3 for some extension
The segfault is due to the invalid pointer reference in getting PIMAGE_IMPORT_BY_NAME pointer like this:
PIMAGE_IM...
phasis68 (Heesob Park)
09:27 AM Bug #6303 (Closed): dln_load and rb_w32_check_imported cause segfault in Ruby 1.9.3 for some extension
Hello,

NOTE: Reporting this here since bugs.ruby-lang.org seems to be down.

Recently a user reported to Ru...
luislavena (Luis Lavena)
10:23 PM Bug #6288: Change error message for thread block to be less misleading
Hello,

2012/4/16 rklemme (Robert Klemme) <[email protected]>:
>> If so, you should write "sleep" simply...
mame (Yusuke Endoh)
09:07 PM Bug #6288: Change error message for thread block to be less misleading
mame (Yusuke Endoh) wrote:
> Hello,
>
> 2012/4/14 rklemme (Robert Klemme) <[email protected]>:
> > mame...
rklemme (Robert Klemme)
09:02 PM Feature #6276: to_h as explicit conversion to Hash
+1 to Naruse-san. Apparently test in the same repository is a must. nahi (Hiroshi Nakamura)
02:24 PM Feature #6276 (Assigned): to_h as explicit conversion to Hash
You didn't add tests for test-all.
If you won't add them, I'll revert them.
naruse (Yui NARUSE)
12:15 PM Feature #6276 (Closed): to_h as explicit conversion to Hash
This issue was solved with changeset r35339.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)
08:57 PM Feature #6286: Add Exception#format method
Yet I'm not sure whether it's worth, made a patch. nobu (Nobuyoshi Nakada)
06:29 PM Feature #6293: new queue / blocking queues
Hi,

Just an idea.

(2012/04/14 11:25), Aaron Patterson wrote:
> I could, but I think the changes I want w...
ko1 (Koichi Sasada)
01:28 PM Bug #5973 (Closed): Bus Error in simple project requiring YARD
naruse (Yui NARUSE)
01:28 PM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
mbleigh (Michael Bleigh) wrote:
> I'm sorry, but I'm not sure what the resolution of this is for it to be closed. I'...
naruse (Yui NARUSE)
01:25 PM Bug #5701 (Rejected): Compilation under Lion with clang 2.1 fails
Try ruby 1.9.3-p125. naruse (Yui NARUSE)
12:37 PM Feature #6298 (Rejected): Proc#+
Hello,
I think you have valid concern. AFAIK, there is no way to do this.
But #5007 (Proc#call_under) is apparen...
mame (Yusuke Endoh)
12:17 PM Bug #6290 (Closed): Matrix#hermitian? fails to check diagonal elements
This issue was solved with changeset r35344.
George, thank you for reporting this issue.
Your contribution to Ruby is...
marcandre (Marc-Andre Lafortune)
11:59 AM Feature #6284: Add composition for procs
alexeymuranov (Alexey Muranov) wrote:
>
> Update: i think having the both was a bad idea, it would be redundant.
...
pabloh (Pablo Herrero)
03:21 AM Feature #5455: $SAFE should be removed
My plan at the moment (in rough form) is to break out the individual restrictions the SAFE levels are intended to gov... headius (Charles Nutter)
01:54 AM Bug #6302 (Closed): irb で math-mode 中でも conf.math_mode に nil を代入すると math-mode を抜ける事ができる
irb では、一度 math-mode になった場合は抜ける事ができない仕様だと思いますが、conf.math_mode に nil を代入すると math-mode を抜ける事ができてしまうようです。(1.9.3-p125 で確認し... sho-h (Sho Hashimoto)
12:22 AM Misc #6299 (Closed): Adding PATCH to Net::HTTP
This uses the semantics from #post to implement #patch. isaacsanders (Isaac Sanders)

04/15/2012

09:07 PM Bug #953: 深い入れ子の配列の取り扱いで落ちる
ulimit -s 4096とすることで、Ubuntu {10.04,11.10} {x86,x64}で再現できましたが
どうでしょうか。
ktsj (Kazuki Tsujimoto)
11:57 AM Bug #953: 深い入れ子の配列の取り扱いで落ちる
手元のUbuntu 10.04 x64ではr35333でも再現しました。
ですが、一からOSをインストールし直した環境では正常に動作しているので
正確な再現条件は不明です。
ktsj (Kazuki Tsujimoto)
05:31 PM Feature #6298 (Rejected): Proc#+
=begin
Maybe there is another way to do this, and if so please enlighten me.
I have a case where collection of bl...
trans (Thomas Sawyer)
05:10 PM Feature #6284: Add composition for procs
I agree, `#*` is appropriate for composition.
trans (Thomas Sawyer)

04/14/2012

02:16 PM Bug #6066 (Assigned): Fix "control may reach end of non-void function" warnings for clang
Thank you for the commit, and found r35322 let older compilers and non-gcc compilers warn unreachable code.
UNREACHA...
nobu (Nobuyoshi Nakada)
09:38 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
r35322 is also part of this bug, but I forgot to mention it in my commit message. drbrain (Eric Hodel)
08:45 AM Bug #6066 (Closed): Fix "control may reach end of non-void function" warnings for clang
This issue was solved with changeset r35321.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
12:42 PM Bug #6292: Incorrect GC cleanup order with C extension classes
I understand the concern. At least I'm clear on the behavior.
matz (Yukihiro Matsumoto) wrote:
> The GC sweeper d...
owensmk (Mike Owens)
09:16 AM Bug #6292 (Rejected): Incorrect GC cleanup order with C extension classes
The GC sweeper does not keep the reference dependency. If it does, the GC will be far slower, or will consume too mu... matz (Yukihiro Matsumoto)
06:16 AM Bug #6292 (Rejected): Incorrect GC cleanup order with C extension classes
I have two classes as C extensions. One (the child) holds a reference to the other (parent). The child references par... owensmk (Mike Owens)
11:30 AM Feature #6236 (Closed): WEBrick::HTTPServer swallows Exception
This issue was solved with changeset r35323.
Alex, thank you for reporting this issue.
Your contribution to Ruby is g...
naruse (Yui NARUSE)
11:21 AM Feature #6236 (Assigned): WEBrick::HTTPServer swallows Exception
regularfry (Alex Young) wrote:
> On 13/04/12 09:01, naruse (Yui NARUSE) wrote:
> >
> > Issue #6236 has been upda...
naruse (Yui NARUSE)
07:50 AM Feature #6236: WEBrick::HTTPServer swallows Exception
Since process-management libraries use other signals than SIGINT to terminate processes, such as SIGTERM, I think WEB... drbrain (Eric Hodel)
11:29 AM Feature #6293: new queue / blocking queues
On Sat, Apr 14, 2012 at 10:58:12AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #6293 has been updated by mame (Yu...
Anonymous
11:23 AM Feature #6293: new queue / blocking queues
On Sat, Apr 14, 2012 at 10:23:56AM +0900, Eric Wong wrote:
> "tenderlovemaking (Aaron Patterson)" <aaron@tenderlove...
Anonymous
10:57 AM Feature #6293 (Assigned): new queue / blocking queues
Hello,
2012/4/14 tenderlovemaking (Aaron Patterson) <[email protected]>:
> I'd like to add new Queue obj...
mame (Yusuke Endoh)
10:29 AM Feature #6293: new queue / blocking queues
"tenderlovemaking (Aaron Patterson)" <[email protected]> wrote:
> Whenever I use queues, I either use the...
normalperson (Eric Wong)
08:28 AM Feature #6293 (Assigned): new queue / blocking queues
Hi,
I'd like to add new Queue objects to ruby. Whenever I use queues, I either use them in a blocking or non-bloc...
tenderlovemaking (Aaron Patterson)
09:12 AM Bug #6288 (Assigned): Change error message for thread block to be less misleading
Hello,
2012/4/14 rklemme (Robert Klemme) <[email protected]>:
> mame (Yusuke Endoh) wrote:
>> Is "possi...
mame (Yusuke Endoh)
12:10 AM Bug #6288: Change error message for thread block to be less misleading
Hi,
thanks for looking into this!
mame (Yusuke Endoh) wrote:
> Is "possible deadlock detected" better?
If I...
rklemme (Robert Klemme)
07:50 AM Feature #6289 (Closed): メソッドのインライン化について
Feature request は決意表明の場とは違うので,とりあえず閉じます.
頑張って下さい.
ちなみに,Rubinius という実装が LLVM で JIT compiler を実装しており,inline 化もやっている...
ko1 (Koichi Sasada)
01:24 AM Feature #6289 (Closed): メソッドのインライン化について
Rubyはメソッド呼び出しが重いです。
一方でC++などはmov数個とcall一個で終わりますね?
そこでインライン化を考えてみようと思ったのですが、C++と違って動的なクラス定義が許されている言語なので安易にインライン化はで...
watashinoid1 (moe info)
04:50 AM Bug #6291 (Closed): Backtrace printout halts for an extremely long time when large amounts of data are allocated
=begin
When large amounts of data are allocated, it can take an eternity for the backtrace printout to complete. Her...
cuthbert (Christoffer Lervag)
03:53 AM Bug #6290 (Assigned): Matrix#hermitian? fails to check diagonal elements
marcandre (Marc-Andre Lafortune)
03:48 AM Bug #6290 (Closed): Matrix#hermitian? fails to check diagonal elements
=begin
A Hermitian matrix is equal to its own conjugate transpose.
matrix == matrix.conj.t
The bug is that Ma...
kernigh (George Koehler)
12:59 AM Feature #6287: nested method should only be visible by nesting/enclosing method
On Fri, 2012-04-13 at 22:58 +0900, mame (Yusnuke Endoh) wrote:
> In the same manner, a "nested" method definition ...
cout (Paul Brannan)

04/13/2012

11:07 PM Bug #6288 (Feedback): Change error message for thread block to be less misleading
Is "possible deadlock detected" better?
Please elaborate "a more complex scenario" with small example.
--
Yus...
mame (Yusuke Endoh)
06:51 PM Bug #6288 (Closed): Change error message for thread block to be less misleading
Test case:
11:50:07 ~$ ruby19 -r thread -e 'q=SizedQueue.new 10;1_000_000.times {|i| p i;q.enq i}'
0
1
2
3
4
...
rklemme (Robert Klemme)
10:58 PM Feature #6287 (Assigned): nested method should only be visible by nesting/enclosing method
Hello,
There is a similar proposal #4085 based on more general idea.
Below is my personal opinion.
Ruby's ...
mame (Yusuke Endoh)
05:34 PM Feature #6287: nested method should only be visible by nesting/enclosing method
I know what you mean, but I think this is a limitation of Ruby's OOP nature. In Ruby, everything belongs to an objec... shyouhei (Shyouhei Urabe)
04:55 PM Feature #6287 (Closed): nested method should only be visible by nesting/enclosing method
> def test1
def test2
p "i am test2"
end
test2
end

> test1
"i am test2" # ok
> test2 ...
botp (bot pena)
08:51 PM Feature #5663: Combined map/select method
+1 rosenfeld (Rodrigo Rosenfeld Rosas)
11:21 AM Feature #5663: Combined map/select method
matz (Yukihiro Matsumoto) wrote:
> I am OK with the original map_select behavior, but I don't like the name #map_sel...
shugo (Shugo Maeda)
05:58 PM Feature #6286: Add Exception#format method
It is actually surprising that the formatting of exception is not provided by the Exception class. I realise that it ... vo.x (Vit Ondruch)
05:40 PM Feature #6286: Add Exception#format method
nobu (Nobuyoshi Nakada) wrote:
> Why and how would it be nice?
I'm trying to develop Ruby support for ABRT [1]....
vo.x (Vit Ondruch)
05:10 PM Feature #6286 (Feedback): Add Exception#format method
vo.x (Vit Ondruch) wrote:
> It would be nice if Exception class could be extended by #format method (or method with ...
nobu (Nobuyoshi Nakada)
04:53 PM Feature #6286 (Closed): Add Exception#format method
It would be nice if Exception class could be extended by #format method (or method with some more suitable name), whi... vo.x (Vit Ondruch)
05:53 PM Feature #6236: WEBrick::HTTPServer swallows Exception
On 13/04/12 09:01, naruse (Yui NARUSE) wrote:
>
> Issue #6236 has been updated by naruse (Yui NARUSE).
>
> Statu...
regularfry (Alex Young)
05:01 PM Feature #6236 (Closed): WEBrick::HTTPServer swallows Exception
This ticket looks intended to allow ^C shutting down the server.
So current change to shutdown other than StandardEr...
naruse (Yui NARUSE)
05:25 AM Feature #6236: WEBrick::HTTPServer swallows Exception
=begin
I misunderstood the intended use of start/stop/shutdown, so I think your patch should be applied.
I assume...
drbrain (Eric Hodel)
02:56 PM Feature #6284: Add composition for procs
What about `#*` for composing traditionally (right to left) and `#|` for piping (left to right)? In mathematics, depe... alexeymuranov (Alexey Muranov)
08:59 AM Feature #6284: Add composition for procs
aprescott (Adam Prescott) wrote:
> See also: http://web.archive.org/web/20101228224741/http://drmcawesome.com/Functi...
pabloh (Pablo Herrero)
07:53 AM Feature #6284 (Assigned): Add composition for procs
mame (Yusuke Endoh)
06:53 AM Feature #6284: Add composition for procs
See also:
http://web.archive.org/web/20101228224741/http://drmcawesome.com/FunctionCompositionInRuby
aprescott (Adam Prescott)
06:26 AM Feature #6284: Add composition for procs
I would vote for `#*`. I think `#<<` is usually changing the left argument (in place). alexeymuranov (Alexey Muranov)
02:02 AM Feature #6284: Add composition for procs
trans (Thomas Sawyer) wrote:
> Also, I think `#+` is better.
I saw facets has some similar feature that uses `#*`...
pabloh (Pablo Herrero)
09:57 AM Bug #6283: Segmentation fault pg_ext.bundle
This ticket has roughly the same stack trace as #6281 drbrain (Eric Hodel)
09:25 AM Feature #4969 (Rejected): Subtle issue with require
If you still need this, please make the issue clear and refine the proposal, then reopen this or file a new ticket. nobu (Nobuyoshi Nakada)
07:54 AM Feature #6277 (Assigned): Hash#convert_key
mame (Yusuke Endoh)
06:03 AM Bug #6285 (Assigned): Documents of IO#read, IO#readpartial, etc. should describe how they are executed when second argument is not empty String
drbrain (Eric Hodel)
02:47 AM Bug #6285 (Closed): Documents of IO#read, IO#readpartial, etc. should describe how they are executed when second argument is not empty String
IO#read, IO#readpartial, IO#read_nonblock, and IO#sysread methods can receive a String object as second argument ((|o... nobuoka (yu nobuoka)
05:27 AM Feature #6225: Hash#+
How about `Hash#|` for `Hash#reverse_merge`, and `Hash#|=` for `Hash#reverse_merge!` from *Rails*? (Instead of `#+` f... alexeymuranov (Alexey Muranov)
04:00 AM Feature #6225: Hash#+
Martin, _in math_, it is common to use `*` for both commutative and non-commutative operations but `+` for only commu... alexeymuranov (Alexey Muranov)
01:10 AM Bug #6282: strptime and fractions of seconds
Great!. Thanks. lparra (Luis Parravicini)
12:27 AM Bug #6282: strptime and fractions of seconds
lparra (Luis Parravicini) wrote:
> I know, but where on the docs say so?
r35312 adds the doc.
naruse (Yui NARUSE)

04/12/2012

11:36 PM Feature #6225: Hash#+
@jacksonwillis `#<<` makes sense as an alias for `#update`, not `#merge`. However I use `Hash#<<` with this meaning:
...
trans (Thomas Sawyer)
11:28 PM Feature #6284: Add composition for procs
Also, I think `#+` is better. trans (Thomas Sawyer)
11:25 PM Feature #6284: Add composition for procs
Or
```ruby
format_as_title = ->{ |val| add_header[to_camel[val.strip]] }
```
trans (Thomas Sawyer)
03:21 PM Feature #6284 (Closed): Add composition for procs
It would be nice to be able to compose procs like functions in functional programming languages:
```ruby
to_camel...
pabloh (Pablo Herrero)
08:48 PM Bug #6282: strptime and fractions of seconds
I know, but where on the docs say so? lparra (Luis Parravicini)
07:35 PM Bug #6282 (Rejected): strptime and fractions of seconds
strptime does not support such an extension. tadf (tadayoshi funaba)
10:12 AM Bug #6282 (Assigned): strptime and fractions of seconds
naruse (Yui NARUSE)
05:57 AM Bug #6282 (Rejected): strptime and fractions of seconds
=begin
DateTime::strptime refers us to #strftime to check the format to use.
DateTime#strftime says fractions of se...
lparra (Luis Parravicini)
07:00 PM Bug #982: stack level too deep for long Array initialization
前田です。
ko1 (Koichi Sasada) wrote:
> なおしました.
> 命令をいじるのではなく,core メソッドを呼ぶようにしてみました.
> ちょっと,余計な配列が増えちゃうのが良くないかも....
...
shugo (Shugo Maeda)
10:51 AM Bug #982 (Closed): stack level too deep for long Array initialization
なおしました.
命令をいじるのではなく,core メソッドを呼ぶようにしてみました.
ちょっと,余計な配列が増えちゃうのが良くないかも....
誰か性能評価してくれると助かります.
ko1 (Koichi Sasada)
06:23 PM Feature #6236: WEBrick::HTTPServer swallows Exception
On 11/04/12 21:31, drbrain (Eric Hodel) wrote:
>
> Issue #6236 has been updated by drbrain (Eric Hodel).
>
>...
regularfry (Alex Young)
10:53 AM Feature #6236 (Assigned): WEBrick::HTTPServer swallows Exception
r35303 looks buggy.
WERBrick::GenericServer#stop's is a method to deny a new connection.
Even if the method is ca...
naruse (Yui NARUSE)
07:53 AM Feature #6236: WEBrick::HTTPServer swallows Exception
Oops, sorry. Nahi-san, could you please review drbrain's commit (r35303) ?


2012/4/12 nahi (Hiroshi Nakamura...
mame (Yusuke Endoh)
06:00 AM Feature #6236: WEBrick::HTTPServer swallows Exception
WEBrick has a maintainer now :) nahi (Hiroshi Nakamura)
05:31 AM Feature #6236: WEBrick::HTTPServer swallows Exception
I extended Alex's patch to include safe shutdown and to allow ^C to work from within accept_client.
Since each con...
drbrain (Eric Hodel)
05:28 AM Feature #6236 (Closed): WEBrick::HTTPServer swallows Exception
This issue was solved with changeset r35303.
Alex, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
04:49 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
Hi again,
mame (Yusuke Endoh) wrote:
> 2012/4/11 rklemme (Robert Klemme) <[email protected]>:
> > nob...
rklemme (Robert Klemme)
12:29 AM Bug #5258: SizedQueueにBug #5195と同様のバグ
Hello,

2012/4/11 rklemme (Robert Klemme) <[email protected]>:
> nobu (Nobuyoshi Nakada) wrote:
>> It s...
mame (Yusuke Endoh)
02:36 PM Bug #6283 (Feedback): Segmentation fault pg_ext.bundle
What is "a Rails project" ?
Anyway it seems Third Party's Issue.
naruse (Yui NARUSE)
01:42 PM Bug #6283 (Closed): Segmentation fault pg_ext.bundle
*Steps to reproduce:*
1. rvm reinstall 1.9.3 --with-openssl-dir=/usr/local
2. Install a Rails project that uses 1...
patrickberkeley (Patrick Berkeley)
11:19 AM Bug #6281 (Feedback): 1.9.3-p125 crashes when using therubyracer 0.9.10
I can't reproduce it.
I think you should reinstall therubyracer.
Anyone can do?
naruse (Yui NARUSE)
12:52 AM Bug #6281 (Rejected): 1.9.3-p125 crashes when using therubyracer 0.9.10
I'm on Mac OS X 10.7.3, and I'm unable to run 1.9.3-p125 when I require therubyracer 0.9.10. Note that ruby 1.9.3-p0... benson88 (Ben Rogers)
10:42 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
Feel free. nobu (Nobuyoshi Nakada)
06:35 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
Nobu, may I commit this? drbrain (Eric Hodel)
07:11 AM Feature #4551 (Closed): uri.set_scheme should downcase schemes
This issue was solved with changeset r35305.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
06:20 AM Feature #6088 (Closed): Add Net::ReadTimeout to distinguish which operation failed
This issue was solved with changeset r35304.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
03:28 AM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
naruse (Yui NARUSE) wrote:
> marcandre (Marc-Andre Lafortune) wrote:
> > I simply want to lighten the load for Matz...
ferrous26 (Mark Rada)

04/11/2012

11:37 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
nobu (Nobuyoshi Nakada) wrote:
> It seems natural because the only thread is about to sleep.
I would expect the t...
rklemme (Robert Klemme)
08:09 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
It seems natural because the only thread is about to sleep. nobu (Nobuyoshi Nakada)
07:43 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
This is also present in 1.9.3 and there is an even simpler test case:
$ ruby19 -r thread -e 'q=SizedQueue.new 10;1...
rklemme (Robert Klemme)
09:05 PM Bug #6271 (Closed): textmode File#read on CRLF
This issue was solved with changeset r35296.
riskwa, thank you for reporting this issue.
Your contribution to Ruby is...
Anonymous
06:34 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
I've attached a new patch -- this implements the same functionality but refers to it as `all_values` and reverts the ... erikh (Erik Hollensbe)
03:57 PM Bug #6223 (Closed): Strange crash in GC while thread creation - 1.9.2 only
naruse (Yui NARUSE)
03:49 PM Bug #6223: Strange crash in GC while thread creation - 1.9.2 only
Ok, with 1.9.3p125 works.
zhum (Sergey Zhumatiy)
11:19 AM Feature #6276: to_h as explicit conversion to Hash
Great.
I'll do it with pleasure, expect a slight delay as I'm going in vacation for 10 days.
Thanks
marcandre (Marc-Andre Lafortune)
09:40 AM Feature #6276: to_h as explicit conversion to Hash
OK, accepted, include adding nil.to_h.
Marc, could you make patch and check in?
Matz.
matz (Yukihiro Matsumoto)
12:06 AM Feature #6276 (Closed): to_h as explicit conversion to Hash
Dear Matz.
We should establish #to_h as the method for explicit conversion to Hash:
1) Add Hash#to_h: returns `...
marcandre (Marc-Andre Lafortune)
07:56 AM Feature #6130: inspect using to_s is pain
Eregon (Benoit Daloze) wrote:
> I've been working on this and wondered what to do if there is no instance variable. ...
Eregon (Benoit Daloze)
07:34 AM Feature #5219 (Closed): Array#pack should warn (or raise) if an invalid pack string is given
This issue was solved with changeset r35292.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
06:31 AM Bug #6278: in `join': deadlock detected (fatal)
I'm the one who originally came across this issue and wrote the program that triggers this bug (the poorly-named cpu_... jeremyevans0 (Jeremy Evans)
06:01 AM Bug #6278: in `join': deadlock detected (fatal)
Thank you for your analysis.
Because I can't understand this situation yet, I'll check it later.
# Can I reproduc...
ko1 (Koichi Sasada)
03:48 AM Bug #6278 (Closed): in `join': deadlock detected (fatal)
There is a race condition between native_sleep(), thread_start_func_2() where thread_start_func_2() holds the gvl loc... [email protected] (Kurt Miller)
06:11 AM Bug #6161 (Closed): Document interpretation of backslashes in string transliterations
This issue was solved with changeset r35291.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
05:15 AM Bug #6107 (Closed): Documentation Abbrev (stdlib) confusing
This issue was solved with changeset r35290.
siep, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
05:09 AM Bug #6211: Ripper lexes :on_rbrace when it should find :on_embexpr_end
Hooray! Thank you! turboladen (Steve Loveless)
03:46 AM Bug #953: 深い入れ子の配列の取り扱いで落ちる
わたしの FreeBSD 9.0 amd64 や Ubuntu 10.04 x64 では再現しますね naruse (Yui NARUSE)
03:30 AM Bug #6174: Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
Hi Yura,
If nobody reviews months, I'll reveiw this. The description is completely sane. :)
kosaki (Motohiro KOSAKI)
02:51 AM Feature #5555: rename #include? to #includes?
Thanks for the explanation, i didn't know about "key?". alexeymuranov (Alexey Muranov)
01:12 AM Feature #6277 (Assigned): Hash#convert_key
=begin
Many times a hash with uniform keys is needed (or is at least preferable) for a particular usecase. To this e...
trans (Thomas Sawyer)
 

Also available in: Atom