Project

General

Profile

Activity

From 09/17/2012 to 09/23/2012

09/23/2012

11:19 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
... although I guess there is no real use-case for the continuing dot with a method ending with "=", so it might be p... Eregon (Benoit Daloze)
11:14 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
alexeymuranov (Alexey Muranov) wrote:
> [...] it does not just use the previous statement value as the receiver, it i...
Eregon (Benoit Daloze)
09:42 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
Thanks, I didn't know about this!
However, this use of a beginning dot does not excite me: it does not just use t...
alexeymuranov (Alexey Muranov)
08:06 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
It would collide with existing notation:
h = {}
.default = 3

p h # => 3
A dot beginning a l...
Eregon (Benoit Daloze)
05:25 PM Feature #7055 (Rejected): Allow `.foo=` as a synonym of `self.foo=`
=begin
I propose to make the use of `self` in method calls optional:
.foo = 'bar'
instead of
self.foo =...
alexeymuranov (Alexey Muranov)
10:40 PM Bug #7042: String#=~ is not equal to Regexp#=~
=begin
From the documentation for Regexp:
"When named capture groups are used with a literal regexp on the left-h...
stomar (Marcus Stollsteimer)
09:52 PM Bug #7036 (Closed): Compiling extensions with Ruby in a path with spaces
This issue was solved with changeset r37017.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
03:46 PM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
also, lineno seems a bit of an odd name, should it be line_number? sam.saffron (Sam Saffron)
03:43 PM Feature #7051 (Closed): Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
The new caller_locations api allows one to get label, base_label, path, lineno, absolute_path.
I feel this API sh...
sam.saffron (Sam Saffron)
12:52 PM Revision aed254f3 (git): mkmf.rb: unspace
* lib/mkmf.rb (String#unspace): unescape with backslashes. normal
makes need to escape spaces with backslashes. n...
nobu (Nobuyoshi Nakada)
12:48 PM Revision ba3d6005 (git): mkmf.rb: directory timestamp
* lib/mkmf.rb (create_makefile): use timestamp file dependencies for
directories.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
12:46 PM Revision 9f4f1545 (git): mkmf.rb: unexpand macros
* lib/mkmf.rb: unexpand macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37015 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 255e1b05 (git): mkmf.rb: library path quote
* lib/mkmf.rb (LIBPATHFLAG): no needs to escape library path here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
12:44 PM Revision de9093ad (git): mkmf.rb: use internal path
* lib/mkmf.rb (MakeMakefile#configuration): make prefix paths
internal to deal with in Makefile.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:42 PM Revision 87fe2bfd (git): mkmf.rb: fallback mkintpath
* lib/mkmf.rb (MakeMakefile#mkintpath): not a global function now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
05:09 AM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
I would of course also add Aaron's test for SecureRandom hexdigests if this is fine to be merged. Eregon (Benoit Daloze)
05:03 AM Bug #7050 (Closed): encoding of String#unpack for 'H', 'h', 'B' and 'b'
Originally mentioned in #6799, I think the encoding of the resulting Strings for the 'H', 'h', 'B' and 'b' directives... Eregon (Benoit Daloze)
02:58 AM Feature #6637: Add HTML5 support to CGI
=begin
Hi Takeyuki,
have you come to any conclusions?
In case you consider support of all new HTML5 tags,
inc...
stomar (Marcus Stollsteimer)
01:12 AM Bug #7045: DelegateClass array subtraction
This seems like a duplicate of http://bugs.ruby-lang.org/issues/6408. Not sure how to close this, but it can be closed. Anonymous

09/22/2012

08:59 PM Feature #5481: Gemifying Ruby standard library
Thanks for your reply.
> I did the presentation at the last dev meeting and I think I/we need to clarify a part of...
kou (Kouhei Sutou)
05:36 PM Revision ca7ffa34 (git): * 2012-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:36 PM Revision 63f6cda8 (git): * complex.c: Fix examples of r36993.
Keep the simple definition, mathematics define the result.
Based on patch by Robin Dupret. Fixes #188 on github.
g...
Eregon (Benoit Daloze)
03:45 PM Bug #6822: Race Condition with Fiber and Process
ko1 (Koichi Sasada) wrote:
> No. You don't need Mutex at all.
> You only need to use variables (such as global...
MartinBosslet (Martin Bosslet)
02:29 PM Bug #6822: Race Condition with Fiber and Process
(2012/09/21 22:14), MartinBosslet (Martin Bosslet) wrote:
>
> Issue #6822 has been updated by MartinBosslet (Ma...
ko1 (Koichi Sasada)
02:14 PM Bug #6822: Race Condition with Fiber and Process
ko1 (Koichi Sasada) wrote:
> In general, you can sync with variables because Fibers are not changed automatically. ...
MartinBosslet (Martin Bosslet)
07:44 AM Bug #6822 (Closed): Race Condition with Fiber and Process
In general, you can sync with variables because Fibers are not changed automatically. In other words, you can comple... ko1 (Koichi Sasada)
02:57 PM Feature #7047 (Closed): Add new C API: rb_newobj_with
nariです。
現在のCRubyではオブジェクトを割り当てる際に rb_newobj() という関数を利
用していますが、引数にtypeやklassがないため、たとえばT_STRINGだけ違うと
ころに割り当てるなどの特別な...
authorNari (Narihiro Nakamura)
01:23 PM Bug #4911: timer_thread_function() が thead unsafe
(2012/09/21 17:44), kosaki (Motohiro KOSAKI) wrote:
> で、Comment#4のパッチだと残念なことにタイマースレッドとスレッド解放ルートに共通のロックがないため、グローバル変...
ko1 (Koichi Sasada)
09:44 AM Bug #4911: timer_thread_function() が thead unsafe
で、Comment#4のパッチだと残念なことにタイマースレッドとスレッド解放ルートに共通のロックがないため、グローバル変数に代入してもメモリバリア的な意味でthread_free() からは可視にならなさそう kosaki (Motohiro KOSAKI)
09:41 AM Bug #4911: timer_thread_function() が thead unsafe
> 問題はわかったのですが,
> これがどうして解決するのかわかりません.
>(結局,+ if (!vm->running_thread->yielding) の部分で running_thread を触っているように見える)
...
kosaki (Motohiro KOSAKI)
07:32 AM Bug #4911: timer_thread_function() が thead unsafe
(2012/09/21 15:10), ko1 (Koichi Sasada) wrote:
> では,どうやって解決するかというと難しいですね.タイマスレッドが動いている間は free しない,とか,そういうのになりそうな感じ...
ko1 (Koichi Sasada)
07:10 AM Bug #4911: timer_thread_function() が thead unsafe
問題はわかったのですが,
これがどうして解決するのかわかりません.
(結局,+ if (!vm->running_thread->yielding) の部分で running_thread を触っているように見える)
解説...
ko1 (Koichi Sasada)
09:40 AM Bug #4559: Proc#== does not match the documented behaviour
To solve this ticket, I only need to remove Proc#== from proc.c, isn't it?
ko1 (Koichi Sasada)
09:23 AM Feature #4328 (Closed): export rb_thread_call_with_gvl()
Now we have include/ruby/thread.h: void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
ko1 (Koichi Sasada)
09:14 AM Bug #4285: Ruby don't have asynchrounous exception safe syntax and It should have.
I don't follow all of discussion about it, this is solved by [ruby-trunk - Feature #6762]?
ko1 (Koichi Sasada)
09:05 AM Feature #4085: Refinements and nested methods
Any problem now? ko1 (Koichi Sasada)
09:02 AM Feature #3944 (Feedback): Add Fiber#root? method
ko1 (Koichi Sasada)
09:00 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
ping.
ko1 (Koichi Sasada)
08:54 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
前も書いたけど特に意見はないのでてきとうに入れといてもらってもいいでしょうか. ko1 (Koichi Sasada)
07:22 AM Bug #7045: DelegateClass array subtraction
I'm not sure that explains it. The first and third tests pass, and all of them used to pass in 1.8. Anonymous
03:41 AM Bug #7045: DelegateClass array subtraction
The issue is that most classes' method `eql?` return false unless the object has the same class
require 'deleg...
marcandre (Marc-Andre Lafortune)
02:56 AM Bug #7045: DelegateClass array subtraction
The failing test is "test_nested_array_subtraction" Anonymous
02:56 AM Bug #7045 (Closed): DelegateClass array subtraction
When I have an array that contains an array that contains a single instance of a class that inherits from DelegateCla... Anonymous
12:26 AM Bug #7044 (Closed): BigDecimal#power randomly raises coercion errors
When running the following code:
require 'bigdecimal'
10000.times { BigDecimal.new('1001.10')**0.75; pu...
twooster (Tony Wooster)

09/21/2012

11:35 PM Feature #5481: Gemifying Ruby standard library
Kou, thanks for the cooperation. We would need your help soon.
kou (Kouhei Sutou) wrote:
> NaHi, could you tell u...
nahi (Hiroshi Nakamura)
10:15 PM Revision f9ff1505 (git): * 2012-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:15 PM Revision e4ac8fa2 (git): * ext/ripper/lib/ripper.rb:
Match sample output to Ripper.sexp from current trunk version.
[Bug #6929]
git-svn-id: svn+ssh://ci.ruby-lang.org...
zzak (zzak _)
10:12 PM Bug #7043: bug with Require
hm, i found a difference "./"
ruby ./a/bins/bin.rb
OK
ruby a/bins/bin.rb
/home/kostya/.rvm/rubies/ruby-1.9.3-...
eyeshield21 (Eyeshield 21)
09:51 PM Bug #7043 (Rejected): bug with Require
~/projects/a/bins/bin.rb
~/projects/a/env.rb
cat ~/projects/a/bins/bin.rb
require File.join(File.dirname(__FILE_...
eyeshield21 (Eyeshield 21)
02:00 PM Bug #7042 (Rejected): String#=~ is not equal to Regexp#=~
i found out that string =~ regexp is not equal to regexp =~ string
when you use named captures:
"6:15 PM" =~ /(?<...
Hanmac (Hans Mackowiak)
10:53 AM Revision 01865d5b (git): merge revision(s) 35485: [Backport #7013]
* ext/dl/cfunc.c (rb_dlcfunc_call): should convert a Bignum value to
unsigned long long on Win64.
...
naruse (Yui NARUSE)
09:45 AM Revision a0a7608b (git): merge revision(s) 33989:["7012"]
* include/ruby/win32.h: undef stat to silence mingw-w64 stat
redefinition warnings (GCC 4.6.3).
git-svn-i...
naruse (Yui NARUSE)
08:55 AM Revision 9b6f7d38 (git): merge revision(s) 33830: [Backport #7011]
* configure.in: add -Wall always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37005 b2dd03c8-39...
naruse (Yui NARUSE)
06:29 AM Feature #7022: add event hook for garbage collection
I looked into this on JRuby/JVM last night, and found that they have
recently added a nonstandard API for getting G...
headius (Charles Nutter)
12:57 AM Bug #6929: Documentation for Ripper
nagachika: That is correct. I just tried again on ruby-trunk, there are 6 +nil+s zzak (zzak _)
12:45 AM Bug #6929: Documentation for Ripper
Hello,
In r36992, sample output from Ripper.sexp seems not from current trunk version. doesn't it?
-# ...
nagachika (Tomoyuki Chikanaga)
12:35 AM Revision 523290ac (git): * 2012-09-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:35 AM Revision ecc80b3c (git): mkmf.rb: untabify
* lib/mkmf.rb: untabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/20/2012

11:16 PM Bug #7041 (Closed): Memory leak in Mutex
This issue was solved with changeset r37001.
Stanislav, thank you for reporting this issue.
Your contribution to Ruby...
kosaki (Motohiro KOSAKI)
10:54 PM Bug #7041: Memory leak in Mutex
good catch.
kosaki (Motohiro KOSAKI)
04:28 PM Bug #7041 (Assigned): Memory leak in Mutex
shyouhei (Shyouhei Urabe)
04:22 PM Bug #7041: Memory leak in Mutex
Ruby does not destroy pthread condattr structure after allocating and using it in pthread_thread.c:native_cond_initia... stass (Stanislav Sedov)
04:20 PM Bug #7041 (Closed): Memory leak in Mutex
=begin
Ruby does not destroy pthread condattr structure after allocating and using it in pthread_thread.c:native_con...
stass (Stanislav Sedov)
03:26 PM Bug #7036: Compiling extensions with Ruby in a path with spaces
Nobu,
Looking at some of the changes you did couldn't understand entirely, but understood that $extmk gets set onl...
luislavena (Luis Lavena)
02:22 PM Bug #7036: Compiling extensions with Ruby in a path with spaces
=begin
nobu (Nobuyoshi Nakada) wrote:
> Now trying: https://github.com/ruby/ruby/pull/185
Thank you Nobu, but th...
luislavena (Luis Lavena)
01:38 AM Bug #7036: Compiling extensions with Ruby in a path with spaces
Now trying: https://github.com/ruby/ruby/pull/185 nobu (Nobuyoshi Nakada)
01:25 AM Bug #7036: Compiling extensions with Ruby in a path with spaces
nobu (Nobuyoshi Nakada) wrote:
> Does your patch work to compile an extension library after installing in a director...
luislavena (Luis Lavena)
12:48 AM Bug #7036: Compiling extensions with Ruby in a path with spaces
Does your patch work to compile an extension library after installing in a directory with spaces? nobu (Nobuyoshi Nakada)
02:34 PM Revision 3ae3c424 (git): * thread_pthread.c (native_cond_initialize): destroy condattr
after using it. Patch by Stanislav Sedov. Thank you.
[Bug #7041] [ruby-core:47619]
git-svn-id: svn+ssh://ci.ruby...
kosaki (Motohiro KOSAKI)
02:33 PM Bug #6246 (Closed): 1.9.3-p125 intermittent segfault
Hi!
I think ruby-1.9.3-p194 fixed this bug.
if you see the crash with ruby-1.9.3-p194, please reopen this ticket....
authorNari (Narihiro Nakamura)
02:16 PM Revision d9dfe2e5 (git): * thread_pthread.c (native_cond_initialize): destroy condattr
after using it. Patch by Stanislav Sedov. Thank you.
[Bug #7041] [ruby-core:47619]
git-svn-id: svn+ssh://ci.ruby-l...
kosaki (Motohiro KOSAKI)
02:15 PM Revision 187d2bc1 (git): * thread_pthread.c (native_cond_initialize): clean up #ifdef condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:06 PM Bug #6441 (Rejected): IO.pipe on ENFILE
私の環境でも調べて見ましたが、近永さんからご報告いただいたいのと同じ状況で、ゴミ参照が残っていて ulimit で絞り過ぎると落ちるみたいでした。
これは仕方ないかなぁと思います。
追加の情報などがあればreopenをお願いします。
authorNari (Narihiro Nakamura)
11:57 AM Bug #7040: gem install で特定の gem がインストールできない
Hello,
I'd like to switch to ruby-core, but I don't know how to do it on redmine...
Anyway, I've found that zstream...
nagachika (Tomoyuki Chikanaga)
10:29 AM Bug #7040 (Closed): gem install で特定の gem がインストールできない
trunk で特定の gem(例えば libv8等)をインストールしようとすると必ず失敗してしまいます。
% gem i libv8
ERROR: While executing gem ... (Zlib::BufEr...
hsbt (Hiroshi SHIBATA)
11:38 AM Bug #7037: float formatting inconsistently rounds half to even
I would agree with leaving this behavior unspecified. Our behavior also matches underlying platform. headius (Charles Nutter)
10:55 AM Bug #7037 (Assigned): float formatting inconsistently rounds half to even
Anyway I'm assigning this to matz, as it turned out to be a spec issue. How do you feel matz? shyouhei (Shyouhei Urabe)
10:52 AM Bug #7037: float formatting inconsistently rounds half to even
It seems Ruby is just following C here.
zsh % cat tmp.c
#include <stdio.h>
#include <stdlib.h>
int main(void)
...
shyouhei (Shyouhei Urabe)
10:18 AM Bug #7037: float formatting inconsistently rounds half to even
Oh, and if we agree that rounding for float formatting is implementation-defined (like rounding for arithmetic, accor... headius (Charles Nutter)
10:15 AM Bug #7037: float formatting inconsistently rounds half to even
The only definition I could find is a sideways use of "processor" to mean "Ruby processor", as in a Ruby language pro... headius (Charles Nutter)
09:58 AM Bug #7037: float formatting inconsistently rounds half to even
If we want to go by the letter of the spec (and I may have an older copy...please confirm), it says "if the underlyin... headius (Charles Nutter)
07:56 AM Bug #7037: float formatting inconsistently rounds half to even
headius (Charles Nutter) wrote:
> * Is strict IEEE 754 floating-point precision a specified behavior of Ruby?
ISO...
naruse (Yui NARUSE)
01:04 AM Bug #7037: float formatting inconsistently rounds half to even
Ok, I can buy the precision argument, and it fits if I expand my example to all values of 1.x5:
irb(main):002:0> "...
headius (Charles Nutter)
10:45 AM Feature #6530 (Closed): Improve Racc documentation coverage
Closing in favor of github pull request for racc:
https://github.com/tenderlove/racc/pull/10
zzak (zzak _)
10:32 AM Bug #7027: Tempfile#inspect is Confusing
In my opinion, Tempfile should not use Delegator at all.
In JRuby, Tempfile actually is a File.
irb(main):001:0...
headius (Charles Nutter)
12:51 AM Bug #7027: Tempfile#inspect is Confusing
in my opinion Delegator should be improved
so it shows that its a Tempfile, but is_a? should also show that its a Fi...
Hanmac (Hans Mackowiak)
10:21 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
I was mistaken...it is ARGF, not ARGV that is a special class. ARGV is a normal array.
Another option: ENV, which ...
headius (Charles Nutter)
08:05 AM Revision 025a2479 (git): * lib/drb/ssl.rb (DRb::DRbSSLSocket::SSLConfig::DEFAULT): add
SSLTmpDhCallback for configuration option.
* lib/drb/ssl.rb (setup_ssl_context): copy the value of tmp_dh_callback.
...
naruse (Yui NARUSE)
08:05 AM Revision 796700ac (git): check @there if it is nil to prevent infinite loop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:14 AM Revision 4e195e0f (git): Revert r36994 "* lib/find.rb: Error in documentation example"
* lib/find.rb: revert wrong example.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36997 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
07:07 AM Bug #6880 (Closed): csv: nodoc native classes Object, String and Array
This issue was solved with changeset r36991.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
zzak (zzak _)
07:06 AM Revision 2b64e10f (git): remove garbages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:29 AM Feature #7019: allow `private` and `protected` keywords to take blocks
Probably not much, but it is possible. Could be "`protected`" instead as well. Also, other helpers can be created bes... trans (Thomas Sawyer)
05:10 AM Feature #7019: allow `private` and `protected` keywords to take blocks
Excuse me Thomas, what's the point in a "`private attribute accessor`"? alexeymuranov (Alexey Muranov)
01:59 AM Revision a9fefe75 (git): * test/drb/ut_drb.rb: revert a part of r36987, and get rid of a warning
with another method. if the substitution is removed, the ExtSrv
object will be GC'ed and some tests will be blocke...
U.Nakamura
01:32 AM Revision 2a50ceca (git): * lib/find.rb: Error in documentation example
Found by Herwin Weststrate, thank you!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36994 b2dd03c8-39d4-4d8f-9...
zzak (zzak _)
12:42 AM Bug #7038 (Closed): Array#zip に配列以外のオブジェクトを指定した場合の例外がわかり辛い
This issue was solved with changeset r36989.
Sho, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)

09/19/2012

11:47 PM Feature #7019: allow `private` and `protected` keywords to take blocks
Would need to accept array of those too (whether its a method or symbol) for things like:
~~~ruby
private attr_ac...
trans (Thomas Sawyer)
11:43 PM Feature #6669: A method like Hash#map but returns hash
> * mash
> Such a created word is not good.
I think when no other choices suffice one is left with two options, e...
trans (Thomas Sawyer)
04:15 PM Feature #6669: A method like Hash#map but returns hash
Please ignore my previous comment; I see that you want a new Hash rather than replacing the keys/values of the existi... david_macmahon (David MacMahon)
03:09 PM Feature #6669: A method like Hash#map but returns hash
What about #map! (or are bang methods frowned upon these days)? david_macmahon (David MacMahon)
02:30 PM Feature #6669: A method like Hash#map but returns hash
What about #remap
#select and #reject only change the number of k/v pairs and do not change the mapping.
Compared t...
ryenus (_ ryenus)
11:32 PM Bug #6441: IO.pipe on ENFILE
どこから mark されてるんだろうかと追跡してみたところ
mark_current_machine_context() の rb_gc_mark_locations() から、つまり machine stack からでした。
...
nagachika (Tomoyuki Chikanaga)
09:25 PM Bug #6441: IO.pipe on ENFILE
どうも IO.pipe で最後に開いた IO 2つは GC.start で手動で GC を実行しても回収されないみたいです。
$ ruby -ve 'GC.start;loop{IO.pipe.tap{|i|p i}.clea...
nagachika (Tomoyuki Chikanaga)
05:53 PM Bug #6441: IO.pipe on ENFILE
shyouhei (Shyouhei Urabe) wrote:
> authorNari (Narihiro Nakamura) wrote:
> > naruse (Yui NARUSE) wrote:
> > > 今の R...
authorNari (Narihiro Nakamura)
10:46 PM Bug #7038 (Closed): Array#zip に配列以外のオブジェクトを指定した場合の例外がわかり辛い
=begin
1.9 以降でArray#zip に配列以外のオブジェクトを指定した場合の例外が NoMethodError ではわかり辛いのではないかと思います。
$ ruby -ve 'p [1,2,3].zip(1)'...
sho-h (Sho Hashimoto)
10:23 PM Revision 7c4d0468 (git): * complex.c: Examples for Complex Documentation.
Patch by Robin Dupret.
Fixes #184 on github.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36993 b2dd03c8-39d...
zzak (zzak _)
10:17 PM Revision cca61daf (git): * ext/ripper/lib/ripper.rb: Documentation for Ripper.
+:void_stmt+ is meaningless
[Bug #6929] [ruby-core:47507]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36992...
zzak (zzak _)
10:07 PM Revision 0503756f (git): * lib/csv.rb (Object#CSV, Array#to_csv, String#parse_csv):
Examples and documentation for CSV.
[Bug #6880] [ruby-core:47218]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
zzak (zzak _)
08:08 PM Bug #7037: float formatting inconsistently rounds half to even
Sorry, it's my bad.
Indeed, "half even" not "half up".
nobu (Nobuyoshi Nakada)
06:05 PM Bug #7037: float formatting inconsistently rounds half to even
I can't under stand what @nobu says so I did this myself.
@headius mixed two points.
* 1.15 for instance is not...
shyouhei (Shyouhei Urabe)
05:13 PM Bug #7037 (Closed): float formatting inconsistently rounds half to even
=begin
Just formats the value with full precision and "rounds half up" the next char.
(gdb) printf "%.17f\n", 1....
nobu (Nobuyoshi Nakada)
04:05 PM Bug #7037 (Closed): float formatting inconsistently rounds half to even
MRI does not appear to consistently round half to even. I'm not sure what rounding strategy this is, but it rounds xx... headius (Charles Nutter)
07:53 PM Feature #6668: Multiple assignment should not return an Array object
(2012/09/19 0:08), headius (Charles Nutter) wrote:
> This is an artifact of MRI's implementation, since multiple a...
ko1 (Koichi Sasada)
04:08 PM Feature #6668: Multiple assignment should not return an Array object
Ping! headius (Charles Nutter)
06:35 PM Bug #7031: Date::mjd_to_jd disappeared
thanks for your lecture.
foolish man who doesn't know details
make me irritated.
tadf (tadayoshi funaba)
01:36 PM Bug #7031: Date::mjd_to_jd disappeared
Well, what's done is done. One cannot put the toothpaste back in the tube. It looks like "wew" (William Webber, I p... david_macmahon (David MacMahon)
07:49 AM Bug #7031: Date::mjd_to_jd disappeared
the latest 1.8 documentation is by William Webber.
he wanted to describe nearly all even private.
he should have re...
tadf (tadayoshi funaba)
02:57 AM Bug #7031: Date::mjd_to_jd disappeared
Removing undocumented methods that have "escaped into the wild" is reasonable, but since these well documented method... david_macmahon (David MacMahon)
04:36 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
Just a technical comment, not for the feature itself:
headius (Charles Nutter) wrote:
> to by ptr, realloc()...
shyouhei (Shyouhei Urabe)
04:17 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
Trying to wake this beast up...
mame: I don't think we can say it would not help MRI without testing an implementa...
headius (Charles Nutter)
04:09 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
ARGV is a special class; perhaps ARGV could have the methods? headius (Charles Nutter)
04:07 PM Bug #6994: yield plus splat unwraps too much
Ok, I accept the explanation. We will support the MRI behavior in JRuby. headius (Charles Nutter)
03:42 PM Revision f205ac49 (git): * 2012-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:42 PM Revision abeedb08 (git): array.c, enum.c: TypeError in zip
* array.c (take_items), enum.c (enum_zip): raise TypeError at
non-enumerable objects, not NoMethodError. [ruby-dev...
nobu (Nobuyoshi Nakada)
02:49 PM Revision b70f99d1 (git): * 2012-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:49 PM Revision 18181542 (git): suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

09/18/2012

11:47 PM Feature #7019: allow `private` and `protected` keywords to take blocks
headius (Charles Nutter) wrote:
> +1 for "`private def foo`". I have never seen a good justification for why visibil...
luislavena (Luis Lavena)
11:38 PM Feature #7019: allow `private` and `protected` keywords to take blocks
+1 for "`private def foo`". I have never seen a good justification for why visibility is better as a value on the cur... headius (Charles Nutter)
11:50 AM Feature #7019: allow `private` and `protected` keywords to take blocks
I don't know why you would expect this to work, `private`, `public`, etc. are methods on `Module` and your context is... drbrain (Eric Hodel)
04:36 AM Feature #7019: allow `private` and `protected` keywords to take blocks
Here is a usecase i have made up. The following does not work now:
~~~ruby
class C
def f
def g
#
...
alexeymuranov (Alexey Muranov)
11:04 PM Bug #7036: Compiling extensions with Ruby in a path with spaces
usa (Usaku NAKAMURA) wrote:
> Building something with the path containing spaces is not recommended, IMO.
> (see th...
luislavena (Luis Lavena)
03:32 PM Bug #7036 (Assigned): Compiling extensions with Ruby in a path with spaces
Building something with the path containing spaces is not recommended, IMO.
(see the end of win32/README.win32)
O...
usa (Usaku NAKAMURA)
07:18 AM Bug #7036 (Closed): Compiling extensions with Ruby in a path with spaces
=begin
Hello,
This has been reported several times to RubyInstaller: inability to install gems when Ruby has been...
luislavena (Luis Lavena)
08:24 PM Bug #7031 (Rejected): Date::mjd_to_jd disappeared
is just for internal use and debugging.
try the following code.
class Date
MJD_EPOCH_IN_CJD = 2400001
def...
tadf (tadayoshi funaba)
03:23 PM Feature #5481: Gemifying Ruby standard library
NaHi, could you tell us status of this work?
If you doesn't have a time to implement it, I'll implement it.
NOTE:...
kou (Kouhei Sutou)
10:18 AM Bug #6441: IO.pipe on ENFILE
authorNari (Narihiro Nakamura) wrote:
> naruse (Yui NARUSE) wrote:
> > 今の Ruby は open(2) などで、errno=ENFILE が発生した場合、
...
shyouhei (Shyouhei Urabe)
08:52 AM Revision aab70ee3 (git): * 2012-09-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:52 AM Revision e8854f8c (git): * ext/openssl/ossl_ssl.c (ossl_sslctx_attrs): add npn_select_db to
suppress warning: instance variable @npn_select_cb not initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
naruse (Yui NARUSE)
04:06 AM Feature #7035: defined? should return cached, frozen strings
> I like the idea.
I like it too.
kosaki (Motohiro KOSAKI)
04:00 AM Feature #7035: defined? should return cached, frozen strings
=begin
I like the idea.
Considering recent changes like (({respond_to?})) and protected methods, I think this cha...
luislavena (Luis Lavena)
03:22 AM Feature #7035: defined? should return cached, frozen strings
IMO, I think it should be fine for `defined?` to return a symbol in Ruby 2.0.0, if that really going to fix the alloc... sikachu (Prem Sichanugrist)
02:57 AM Feature #7035 (Closed): defined? should return cached, frozen strings
Yehuda and I have been looking into allocation rates in Rails under both MRI and JRuby, and one of the big standouts ... headius (Charles Nutter)

09/17/2012

11:24 PM Feature #7019: allow `private` and `protected` keywords to take blocks
What about
~~~ruby
privately do
end
~~~
? :)
(I understand that a good reason is needed to add a new keyword).
alexeymuranov (Alexey Muranov)
10:13 PM Feature #7019: allow `private` and `protected` keywords to take blocks
I know you like blocks but this proposal doesn't make sense to me because `public`/`private`/`protected` are declarat... shyouhei (Shyouhei Urabe)
07:42 AM Bug #7018 (Rejected): unexpected behavior that constant is overridden and redefined
Ruby 1.9.2's normal maintenance is finished.
https://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering
naruse (Yui NARUSE)
03:03 AM Bug #7031: Date::mjd_to_jd disappeared
FWIW, they were part of 1.8.7:
http://www.ruby-doc.org/stdlib-1.8.7/libdoc/date/rdoc/Date.html#method-c-mjd_to_j...
david_macmahon (David MacMahon)
 

Also available in: Atom