Project

General

Profile

Activity

From 10/28/2011 to 11/03/2011

11/03/2011

11:45 PM Revision 00bfe194 (git): * ext/openssl/extconf.rb:
* ext/openssl/ossl_engine.c: add some missing OpenSSL engines.
Thanks, Yui Naruse, for providing the patch!
[Bug ...
MartinBosslet (Martin Bosslet)
08:48 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
API version is 1.9.1, so all the versioned directories inside Ruby 1.9.3 will be "1.9.1"
This is the same for Ruby...
luislavena (Luis Lavena)
08:24 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
There is also http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/388429 - not sure whether these are related. rklemme (Robert Klemme)
08:22 PM Bug #5560 (Closed): YAML installation not found and no /usr/local/lib/ruby/1.9.3
I configured the source with "$ ./configure --program-suffix=19" (see attachment) and built it with gcc 4.5.3 and did... rklemme (Robert Klemme)
08:44 PM Feature #5553: A method for Hash that works differently depending on whether a key exists
I see. But then you may also want to pass a second procedure which is run if the key does not exist, and to have bot... alexeymuranov (Alexey Muranov)
07:48 PM Feature #5553 (Feedback): A method for Hash that works differently depending on whether a key exists
「fetchや[]を頻繁に呼びたくない」という意図は伝わらないでも無いですが、でもそれよりもif_keyメソッドのほうが嬉しい局面というのがあまり想像できません。単にメソッドでラップすればいいんじゃないですか?
正直、この例では全...
matz (Yukihiro Matsumoto)
05:43 PM Feature #5553: A method for Hash that works differently depending on whether a key exists
The whole point of this suggestion is that I feel some redundancy to have to call the method `fetch` or `[]` on the h... sawa (Tsuyoshi Sawada)
07:22 AM Feature #5553: A method for Hash that works differently depending on whether a key exists
In your example, the :nothing key exists, so shouldn't it be
a.if_key(:nothing, "どうも"){|str| "#{str}世界!"} #=> "世界!" ...
alexeymuranov (Alexey Muranov)
03:41 AM Feature #5553 (Rejected): A method for Hash that works differently depending on whether a key exists
A method Hash#if_key(key, [default], &pr) which works like the following will be often used, and is useful.
a ...
sawa (Tsuyoshi Sawada)
07:56 PM Feature #5550 (Feedback): Hash#depth, Hash#flat_length for recursive hashes
Hashの本質はkey-valueのマッピングなので、valueが再帰的にHashであることを想定した(再帰的なHashでなければ役に立たない)メソッドを追加することには抵抗があります。
わずか6行のmonkey patchingを...
matz (Yukihiro Matsumoto)
03:10 AM Feature #5550 (Rejected): Hash#depth, Hash#flat_length for recursive hashes
I often have a hash whose value is recursively a hash, which may look like the following:
{"Japan" =>
...
sawa (Tsuyoshi Sawada)
07:55 PM Revision 3e6ea930 (git): * win32/configure.bat: disable delayed expansion of enironment variable.
[Bug #5517] [ruby-core:40531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33630 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
07:52 PM Feature #5549 (Rejected): Comparable#min, Comparable#max
なぜ、それが必要だと思いましたか?
この提案だと a.min(b) というスタイルになり、Enumerableの「もっとも小さい(大きい)要素を返す」という意味でなく、「ふたつの要素のうちより小さい(大きい)ものを返す」と記述してい...
matz (Yukihiro Matsumoto)
02:45 AM Feature #5549 (Rejected): Comparable#min, Comparable#max
I request the following methods
Comparable#min(other)
Comparable#max(other)
which will work the same a...
sawa (Tsuyoshi Sawada)
07:40 PM Feature #5554 (Feedback): A method that applies self to a Proc if self is a Symbol
ごめんなさい。「本当に意図したのは」という部分の意図が読み取れません。
どのような局面でどのように嬉しいか(たとえば劇的にシンプルに記述できるから)を表現してください。
ただ単に「こんな風に書きたいと私が感じる」だとたぶん不十分で...
matz (Yukihiro Matsumoto)
05:58 PM Feature #5554: A method that applies self to a Proc if self is a Symbol
本当は、意図したのは、どのようなSymbolがあるか簡単には分からない場合、もしくは別のところで関連するメソッドが定義されていて、Symbolの一覧を複数の場所で更新しなければならなくなる場合で、例えば次のような場合です:
  ...
sawa (Tsuyoshi Sawada)
09:53 AM Feature #5554: A method that applies self to a Proc if self is a Symbol
なかだです。

(11/11/03 3:51), Tsuyoshi Sawada wrote:
> Often, you want to apply a Proc to self if self is a Symbol,...
nobu (Nobuyoshi Nakada)
03:51 AM Feature #5554 (Rejected): A method that applies self to a Proc if self is a Symbol
Often, you want to apply a Proc to self if self is a Symbol, but not do anything if otherwise. In this case, somethin... sawa (Tsuyoshi Sawada)
07:36 PM Feature #5552 (Feedback): Array#ljust, Array#rjust
なぜそれが必要なのか提案に含めてください。Stringにあるから、では不十分です。
私にはArray#ljustなどがあって嬉しい局面が想像できません。
matz (Yukihiro Matsumoto)
06:02 PM Feature #5552: Array#ljust, Array#rjust
And also `Array#center` analogous to `String#center` as well. sawa (Tsuyoshi Sawada)
03:27 AM Feature #5552 (Rejected): Array#ljust, Array#rjust
I propose the following methods Array#ljust(length [, pad]), Array#rjust(length [, pad]), whose behaviour is analogou... sawa (Tsuyoshi Sawada)
07:36 PM Bug #5559 (Feedback): Intermittent Seg fault when using net-ssh
Please show the crash report log file under ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter.
nobu (Nobuyoshi Nakada)
04:25 PM Bug #5559 (Third Party's Issue): Intermittent Seg fault when using net-ssh
Hi,
This is probably a waste of a report - especially as my standalone 5 lines test of this generally works (it se...
kimptoc (Chris Kimpton)
07:33 PM Feature #5551 (Rejected): Enumerable#rdrop
Arrayに追加するのであれ、Enumeratorで遅延評価するのであれ、この提案の根幹部分の変更になりますので、いったんrejectします。
また、思いついたrandom ideasをなんでもRubyに入れようとするのでなく、なぜ...
matz (Yukihiro Matsumoto)
05:39 PM Feature #5551: Enumerable#rdrop
中田さんのコメントにあるような方向性(のどちらか)でいくのがよいと思います。 sawa (Tsuyoshi Sawada)
09:53 AM Feature #5551: Enumerable#rdrop
なかだです。

(11/11/03 3:18), Tsuyoshi Sawada wrote:
> There is Enumerable#drop(n), which drops elements on the lef...
nobu (Nobuyoshi Nakada)
03:18 AM Feature #5551 (Rejected): Enumerable#rdrop
There is Enumerable#drop(n), which drops elements on the left side, but there is no counterpart for dropping the righ... sawa (Tsuyoshi Sawada)
07:06 PM Revision a3ce3196 (git): * io.c (make_writeconv): fixed typo of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:45 PM Revision 102ec117 (git): * io.c (make_writeconv): fixed typo of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:31 PM Feature #5555: rename #include? to #includes?
Alias would be good enough for me. Thanks for comments. alexeymuranov (Alexey Muranov)
03:59 PM Feature #5555: rename #include? to #includes?
On Thu, Nov 3, 2011 at 00:00, markus heiler <[email protected]> wrote:

> Shouldn't the #include? method be ren...
now (Nikolai Weibull)
08:00 AM Feature #5555: rename #include? to #includes?
I am neutral on it, not pro, not con. But I think a simple alias could suffice here?
It is often a quite general q...
shevegen (Robert A. Heiler)
07:28 AM Feature #5555 (Rejected): rename #include? to #includes?
Shouldn't the #include? method be renamed to #includes? ?
I think this will be closer to correct English and consist...
alexeymuranov (Alexey Muranov)
04:59 PM Revision 932d63ef (git): * io.c (make_writeconv): unversal_newline converter is for reading.
so, if the io is text mode and has ECONV_UNIVERSAL_NEWLINE_DECORATOR
flag, use crlf_newline converter for writing.
...
U.Nakamura
04:23 PM Revision b2f90f4d (git): * ext/readline/readline.c (Init_readline): like r18313, libedit's
replace_history_entry may use offset instead of which.
so introduce history_replace_offset_func and initialize it.
...
naruse (Yui NARUSE)
03:54 PM Revision 21ab6bc3 (git): * ext/readline/readline.c (Init_readline): fix wrong condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 PM Revision a3ace91f (git): Don't define tests if there is no psych.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:19 PM Revision dae4acbe (git): * 2011-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 5a2758ed (git): * encoding.c (rb_locale_charmap): ignore calling nl_langinfo_codeset()
on Windows except cygwin. [experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33622 b2dd03c8-39d4-4d8f...
U.Nakamura
01:50 PM Revision ac46d76c (git): * thread.c (rb_fd_rcopy): suppress warnings on mingw32.
* win32/win32.c (overlapped_socket_io, recvmsg, sendmsg, dupfd):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
01:46 PM Revision b45c882a (git): * ext/socket/socket.c (rsock_socketpair0): extracted from
rsock_socketpair to set close-on-exec flag for each socketpair()
call.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
akr (Akira Tanaka)
01:14 PM Revision a0b22b1a (git): * ext/socket/init.c (rsock_socket): set close-on-exec flag when
SOCK_CLOEXEC is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33619 b2dd03c8-39d4-4d8f-98ff-823fe...
nagachika (Tomoyuki Chikanaga)
12:50 PM Revision 8731a38b (git): * test/ruby/test_process.rb: clean up a garbage character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:15 AM Revision 88f1b8cf (git): add test for close-on-exec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:55 AM Revision df6a0fe8 (git): close a socket in test_socket_new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:25 AM Feature #5558 (Assigned): String#% strange arity errors
When the number of arguments do not match the number of % parameters, the String#% method has some odd behavior.
W...
trans (Thomas Sawyer)
09:02 AM Bug #5556 (Assigned): SIGHUP no longer ignored when sent to process group from a subprocess
kosaki (Motohiro KOSAKI)
08:07 AM Bug #5556 (Closed): SIGHUP no longer ignored when sent to process group from a subprocess
Hi,
Prior to 2.0.0dev, this script:
sasha:rubinius brian$ cat process.rb
puts "before system"
system("ruby -...
brixen (Brian Shirai)
08:50 AM Bug #5542 (Assigned): Ruby 1.9.3-p0 changed arity on default initialization method
kosaki (Motohiro KOSAKI)
06:19 AM Bug #5542: Ruby 1.9.3-p0 changed arity on default initialization method
This was introduced in r29638:
* object.c: Make BasicObject.new accept no parameter.
Revert of r26135...
jballanc (Joshua Ballanco)
08:47 AM Bug #5540 (Assigned): Final comma in argument list before block causes syntax error
kosaki (Motohiro KOSAKI)
05:31 AM Bug #5540: Final comma in argument list before block causes syntax error
This was introduced by r32235:
* parse.y: comma at the end of line is no longer allowed.
A patch from Y...
jballanc (Joshua Ballanco)
08:43 AM Bug #5547 (Assigned): Cleanup engine after a test
I'll keep it open, I still want to find out why the behaviour changes! MartinBosslet (Martin Bosslet)
08:42 AM Bug #5547 (Closed): Cleanup engine after a test
This issue was solved with changeset r33614.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
Anonymous
08:30 AM Bug #5547: Cleanup engine after a test
Yui NARUSE wrote:
> OpenSSL::Engine.load() loads engines and register them, and it may change the behavior of some e...
MartinBosslet (Martin Bosslet)
08:07 AM Bug #5544: Lookup scope for class variables in class_eval'd procs changed in 1.9.3
This inconsistency was introduced in r31215:
* vm_insnhelper.h (COPY_CREF): should copy
the NODE_FL_CRE...
jballanc (Joshua Ballanco)
07:58 AM Bug #5244: Continuation causes Bus Error on Debian sparc
Attached is a patch for this problem, fixing the issue by moving the windows-flushing instruction into a separate fun... jurij (Jurij Smakov)
03:47 AM Bug #5517: Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
Category should have been set to "build" but redmine doesn't allow me to switch it now. Relevant to both 2.0.0 and 1.... jonforums (Jon Forums)
12:54 AM Bug #5541: Better configure error message when llvm-gcc is the default compiler
I completely agree. I was hit with "llvm-gcc has ended" this morning.
daneharrigan (Dane Harrigan)
12:53 AM Feature #5474: keyword argument
> |> It's Python way, and I won't take it.
> |What don't you like about this approach? I'd like to know so that hop...
Anonymous

11/02/2011

11:42 PM Revision cead180d (git): * 2011-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:42 PM Revision 576454a4 (git): * test/openssl/test_engine.rb: call Engine::cleanup on exit.
Patch provided by Yui Naruse, thanks!
[Bug #5547] [ruby-core:40669]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
MartinBosslet (Martin Bosslet)
10:33 PM Bug #5246: bootstraptest fails on ia64
Hi, I also get this with the just released 1.9.3p0 on Debian squeeze, ia64.
Can provide access to an ia64 box for te...
mato (Martin Lucina)
03:52 PM Bug #5532: Compile problem for bigdecimal on cygwin
eban-san says that libruby191.dll.a is correct (it was cygwin team's request).
So, please ignore above patch. orz
...
usa (Usaku NAKAMURA)
03:32 PM Bug #5532: Compile problem for bigdecimal on cygwin
Does this patch help you?
(Sorry, I've not tested it.)
Index: configure.in
=====================================...
usa (Usaku NAKAMURA)
12:53 PM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
むらたです。

(2011.11.01 21:13 ), Tadayoshi Funaba wrote:
>> これは私も気になりました。1.0.float? が真になるなら
>> 1.0.integer? は偽にな...
mrkn (Kenta Murata)
12:36 PM Revision 292b3e41 (git): * complex.c (nucomp_rationalize): fix function. [ruby-core:40667]
[Bug #5546]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:20 AM Bug #5548 (Closed): OpenSSL::Engine can't load some old engines/new engines
Current ext/openssl is missing a check for ENGINE_load_dynamic(),
and doesn't have checks/functions for new engines....
naruse (Yui NARUSE)
11:16 AM Bug #5547 (Closed): Cleanup engine after a test
OpenSSL::Engine.load() loads engines and register them, and it may change the behavior of some existing methods.
F...
naruse (Yui NARUSE)
09:29 AM Feature #5512: Integer#/ の改訂
むらたです。

(2011.11.01 23:40 ), Yusuke Endoh wrote:
> あと、現状の quo だと、4.quo(2) が Rational になるみたいですが、
> 整数で済む時は整数に...
mrkn (Kenta Murata)
08:52 AM Bug #5545 (Closed): Net::HTTP breaks with https URI objects
uri = URI('https://example.com/index.html?count=10')
Net::HTTP.get(uri)
will currently fail with an obscure error...
ferlatte (Mark Ferlatte)
07:53 AM Bug #5541: Better configure error message when llvm-gcc is the default compiler
> The error message ./configure gives when llvm-gcc is the default compiler is not very helpful.  This patch gives ... kosaki (Motohiro KOSAKI)
05:32 AM Bug #5541 (Closed): Better configure error message when llvm-gcc is the default compiler
The error message ./configure gives when llvm-gcc is the default compiler is not very helpful. This patch gives a be... drbrain (Eric Hodel)
07:17 AM Feature #4890: Enumerable#lazy
Yes, in a sense. But it also is more efficient and can handle iterating over infinities if the end result itself is f... trans (Thomas Sawyer)
06:29 AM Feature #4890: Enumerable#lazy
> No, the #force in that example produces the final result. (Note, #to_a should suffice, no need for a special metho... Anonymous
04:10 AM Feature #4890: Enumerable#lazy
No, the #force in that example produces the final result. (Note, #to_a should suffice, no need for a special method.) trans (Thomas Sawyer)
02:23 AM Feature #4890: Enumerable#lazy
>  p (1..10).delay.map{|i| i+1}.map{|i| i+2}.force

I assume this uses "lazy map" just for the first map, is that...
Anonymous
06:56 AM Feature #5543: rb_thread_blocking_region() API is poorly designed
Christopher Huff <[email protected]> wrote:
> First, rb_thread_blocking_region() requires the blocking code to ...
normalperson (Eric Wong)
05:40 AM Feature #5543 (Closed): rb_thread_blocking_region() API is poorly designed
First, rb_thread_blocking_region() requires the blocking code to be pulled out into a separate function, scattering c... cjameshuff (Christopher Huff)
06:44 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
By the way, i do not understand the use of ranges in conditional expressions in loops, and do not know how to be cons... alexeymuranov (Alexey Muranov)
06:29 AM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
2011/11/2 Eric Hodel <[email protected]>:
>
> Iñaki, perhaps you should open a feature request for new methods...
akr (Akira Tanaka)
05:04 AM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
Iñaki, perhaps you should open a feature request for new methods, perhaps UDPSocket::bind and UDPSocket::connect whic... drbrain (Eric Hodel)
06:24 AM Feature #5481: Gemifying Ruby standard library
=begin
If net/http, fileutils, optparse, psych or zlib are released as gems uninstalling them breaks RubyGems and yo...
drbrain (Eric Hodel)
05:46 AM Feature #5481: Gemifying Ruby standard library
> If you want to do extra work to uninstall default gems that should be allowed, but it should not happen without ext... vo.x (Vit Ondruch)
05:45 AM Bug #5544 (Closed): Lookup scope for class variables in class_eval'd procs changed in 1.9.3
When using class_eval with a proc, references to class variables scoped to the receiver in 1.9.2, but in 1.9.3 class ... jballanc (Joshua Ballanco)
05:32 AM Bug #5542 (Rejected): Ruby 1.9.3-p0 changed arity on default initialization method
The following code worked under 1.9.2-p290 but breaks with an Argument Error (1 for 0) under 1.9.3-p0:
class F...
jballanc (Joshua Ballanco)
05:24 AM Bug #5540 (Rejected): Final comma in argument list before block causes syntax error
The following code parses and runs correctly under 1.9.2-p290 but causes a syntax error under 1.9.3-p0:
def te...
jballanc (Joshua Ballanco)
03:57 AM Feature #5494: Proposal: Improved Finalizer Semantics
Kurt Stephens wrote:
> Nobuyoshi Nakada wrote:
> > Even if the object has not been freed, other objects referred b...
kstephens (Kurt Stephens)
02:23 AM Feature #5474: keyword argument
>> An alternative design is to treat all parameters as keyword
>> arguments (as Evan said in [ruby-core:40195]).
>...
Anonymous
01:23 AM Bug #5529: Bus error with Fibers on OSX Lion
On Tue Nov 01 2011 @ 11:11, Dave Thomas wrote:
> I have more information. I removed rvm totally from this machine ...
telemachus (Peter Aronoff)
12:52 AM Bug #5535 (Closed): test/psych/test_yamldbm.rb, test/syck/test_yamldbm.rb のDBM内部構造の順序に依存したテストがFailure
This issue was solved with changeset r33610.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ayumin (Ayumu AIZAWA)
12:32 AM Bug #5538 (Closed): ruby memory error running minitests
I have recently ported several applications from test-spec/ruby1.8.7 to minitest-spec/ruby1.9.2. For one (and only o... macklint (Tom Macklin)
12:03 AM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
Tests attached. Eregon (Benoit Daloze)

11/01/2011

11:53 PM Feature #5512: Integer#/ の改訂
まつもと ゆきひろです

In message "Re: [ruby-dev:44768] Re: [ruby-trunk - Feature #5512][Open] Integer#/ の改訂"
on Tu...
matz (Yukihiro Matsumoto)
11:53 PM Feature #5512: Integer#/ の改訂
ふなばさん、まつもとさん、
お返事ありがとうございます。

2011年11月1日22:46 Tadayoshi Funaba <[email protected]>:
>> 本気で変える予定があるのなら、特大の非互換になり...
mame (Yusuke Endoh)
11:23 PM Feature #5512: Integer#/ の改訂
まつもと ゆきひろです

In message "Re: [ruby-dev:44765] Re: [ruby-trunk - Feature #5512][Open] Integer#/ の改訂"
on Tu...
matz (Yukihiro Matsumoto)
10:53 PM Feature #5512: Integer#/ の改訂
> 本気で変える予定があるのなら、特大の非互換になりますので、今のうちに
> 切り捨てたい場合の推奨代替策を決めて ( (x/y).round ですかね?) 、
> 2.0 から啓蒙しておいたほうがいいと思います。(つまり推...
tadf (tadayoshi funaba)
10:23 PM Feature #5512: Integer#/ の改訂
遠藤です。

2011年11月1日3:45 Yukihiro Matsumoto <[email protected]>:
> In message "Re: [ruby-dev:44707] [ruby-trunk ...
mame (Yusuke Endoh)
09:53 AM Feature #5512: Integer#/ の改訂
(2011.11.01 03:45 ), Yukihiro Matsumoto wrote:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:44707] [ruby-trunk...
mrkn (Kenta Murata)
03:53 AM Feature #5512: Integer#/ の改訂
まつもと ゆきひろです

In message "Re: [ruby-dev:44707] [ruby-trunk - Feature #5512][Open] Integer#/ の改訂"
on Sun, 30...
matz (Yukihiro Matsumoto)
11:18 PM Revision bea5278a (git): * 2011-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:17 PM Revision c852d76f (git): * lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33611 b2dd03c8-39d4-4d8f-98ff-823fe69b...
akr (Akira Tanaka)
11:17 PM Revision cd53a652 (git): * lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33611 b2dd03c8-39d4-4d8f-9...
akr (Akira Tanaka)
11:11 PM Bug #5529: Bus error with Fibers on OSX Lion
Kenta Murata wrote:
> Dave Thomas wrote:
> > Also, looking at your output—why is it writing cat/dog/cat/dog? Should...
pragdave (Dave Thomas)
01:37 PM Bug #5529: Bus error with Fibers on OSX Lion
Dave Thomas wrote:
> Also, looking at your output—why is it writing cat/dog/cat/dog? Shouldn't it just be one 'cat' ...
mrkn (Kenta Murata)
01:26 PM Bug #5529: Bus error with Fibers on OSX Lion
Dave Thomas wrote:
> I've attached the rvm logs from the installation
Also, looking at your output—why is it wr...
pragdave (Dave Thomas)
01:18 PM Bug #5529: Bus error with Fibers on OSX Lion
I've attached the rvm logs from the installation pragdave (Dave Thomas)
09:29 AM Bug #5529: Bus error with Fibers on OSX Lion
=begin
Hi Dave,
I cannot reproduce the bus error.
[09:25:17#3]mrkn$ ruby -v ~/Downloads/prog.rb
ruby 1.9.3p0...
mrkn (Kenta Murata)
01:24 AM Bug #5529 (Rejected): Bus error with Fibers on OSX Lion
=begin
The attached program crashes with the following trace:
dave[ruby3/Book 11:18:39] ruby /tmp/prog.rb
cat
...
pragdave (Dave Thomas)
11:05 PM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
> Should I add in test_string.rb or test_m17n_comb.rb?
test_string.rb, I think.
nobu (Nobuyoshi Nakada)
11:01 PM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
> Issue #5536 has been updated by Nobuyoshi Nakada.
>
> (11/11/01 21:43), Benoit Daloze wrote:
>> P.S.: There is n...
Eregon (Benoit Daloze)
10:23 PM Bug #5536 (Assigned): String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
(11/11/01 21:43), Benoit Daloze wrote:
> Currently, String#start_with? and String#end_with? ignore arguments not con...
nobu (Nobuyoshi Nakada)
09:43 PM Bug #5536 (Closed): String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
Hi,
Currently, String#start_with? and String#end_with? ignore arguments not convertible to String.
I believe it...
Eregon (Benoit Daloze)
10:59 PM Feature #5427: Not complex patch to improve `require` time (load.c)
On Tue, Nov 1, 2011 at 14:24, Yura Sokolov <[email protected]> wrote:

> Nikolai Weibull wrote:

>> I don’t...
now (Nikolai Weibull)
10:24 PM Feature #5427: Not complex patch to improve `require` time (load.c)
Nikolai Weibull wrote:
> Yura Sokolov wrote:
>> Sorry, you are right, I confused `require_relative 'somelib'` with ...
funny_falcon (Yura Sokolov)
04:23 PM Feature #5427: Not complex patch to improve `require` time (load.c)
On Tue, Nov 1, 2011 at 07:35, Yura Sokolov <[email protected]> wrote:
>
> Issue #5427 has been updated by Yur...
now (Nikolai Weibull)
03:39 PM Feature #5427: Not complex patch to improve `require` time (load.c)
> `require_relative` still gains improvement from this patch, cause it use `require`, but improvement is a bit lesser... funny_falcon (Yura Sokolov)
03:35 PM Feature #5427: Not complex patch to improve `require` time (load.c)
> Slower than what? require_relative is a lot faster than require
Sorry, you are right, I confused `require_relative...
funny_falcon (Yura Sokolov)
03:23 PM Feature #5427: Not complex patch to improve `require` time (load.c)
On Tue, Nov 1, 2011 at 06:40, Yura Sokolov <[email protected]> wrote:

> In fact, be present relative require...
now (Nikolai Weibull)
02:40 PM Feature #5427: Not complex patch to improve `require` time (load.c)
Thomas Sawyer wrote:
> "After this patch `loaded_features` is kept sorted by basename without extension (/usr/lib/ru...
funny_falcon (Yura Sokolov)
10:14 AM Feature #5427: Not complex patch to improve `require` time (load.c)
Links broke for some reason, try again: http://redmine.ruby-lang.org/issues/4969 trans (Thomas Sawyer)
10:12 AM Feature #5427: Not complex patch to improve `require` time (load.c)
"After this patch `loaded_features` is kept sorted by basename without extension (/usr/lib/ruby/asdf.rb => asdf). Whe... trans (Thomas Sawyer)
08:23 AM Feature #5427: Not complex patch to improve `require` time (load.c)
On Mon, Oct 31, 2011 at 22:54, Yura Sokolov <[email protected]> wrote:

> I have a report from one man about ...
now (Nikolai Weibull)
06:54 AM Feature #5427: Not complex patch to improve `require` time (load.c)
I have a report from one man about it's application startup time with and without patch:
$ time ./bin/rails runner...
funny_falcon (Yura Sokolov)
06:47 AM Feature #5427: Not complex patch to improve `require` time (load.c)
Patch applies on trunk cleanly. funny_falcon (Yura Sokolov)
10:42 PM Feature #5531: deep_value for dealing with nested hashes
Nobuyoshi Nakada wrote:
> =begin
> What about:
>
> class Hash
> def [](*keys)
> keys.inject(self) {|cont...
alexeymuranov (Alexey Muranov)
10:33 PM Feature #5531: deep_value for dealing with nested hashes
=begin
What about:
class Hash
def [](*keys)
keys.inject(self) {|container, key| container.fetch(key...
nobu (Nobuyoshi Nakada)
09:45 PM Feature #5531: deep_value for dealing with nested hashes
I can think of the following questions/objections to the suggested method definition:
1. is `{ 1 => 2}.dv(1,1) # => n...
alexeymuranov (Alexey Muranov)
08:34 PM Feature #5531: deep_value for dealing with nested hashes
Konstantin Haase wrote:
> Never mind, got it.
>
> On Oct 31, 2011, at 17:32 , Haase, Konstantin wrote:
>
> > Wh...
alexeymuranov (Alexey Muranov)
08:23 PM Feature #5531: deep_value for dealing with nested hashes
On 1 November 2011 01:26, SASADA Koichi <[email protected]> wrote:
> (2011/11/01 8:52), Kyle Peyton wrote:
>> Exampl...
Eregon (Benoit Daloze)
09:53 AM Feature #5531: deep_value for dealing with nested hashes
Never mind, got it.

On Oct 31, 2011, at 17:32 , Haase, Konstantin wrote:

> What's the difference (usability wi...
rkh (Konstantin Haase)
09:53 AM Feature #5531: deep_value for dealing with nested hashes
What's the difference (usability wise) between

hash[:foo][:bar]

and

hash.dv(:foo, :bar)

Konstantin

...
rkh (Konstantin Haase)
09:53 AM Feature #5531: deep_value for dealing with nested hashes
What's the difference (usability wise) between

hash[:foo][:bar]

and

hash.dv(:foo, :bar)

Konstantin

...
rkh (Konstantin Haase)
09:29 AM Feature #5531: deep_value for dealing with nested hashes
(2011/11/01 8:52), Kyle Peyton wrote:
> Example:
>
>> foo = {:bar => {:baz => 'blah'}}
>> foo.dv(:bar, :baz...
ko1 (Koichi Sasada)
08:52 AM Feature #5531 (Closed): deep_value for dealing with nested hashes
This feature request stems from dealing with nested hashes, like the params from a request often dealt with in web fr... weexpectedTHIS (Kyle Peyton)
10:10 PM Bug #5535: test/psych/test_yamldbm.rb, test/syck/test_yamldbm.rb のDBM内部構造の順序に依存したテストがFailure
添付のパッチのように返り値をソートするとFailureは消えます。 ngoto (Naohisa Goto)
09:32 PM Bug #5535 (Closed): test/psych/test_yamldbm.rb, test/syck/test_yamldbm.rb のDBM内部構造の順序に依存したテストがFailure
x86_64-linux, sparc-solaris2.10 での make test-all にて、以下のFailureが出ます。
YAML::DBM#shift の rdoc によると、
> The order in w...
ngoto (Naohisa Goto)
09:23 PM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
> > complex? も同様です。
>
>
> complex?が偽になるのはどういう場合ですか?
>
> real?を作らず、complex?を作る理由は?

CL の complexp は、...
tadf (tadayoshi funaba)
09:23 PM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
> > 特定のクラスと一対一対応するのでないのであれば意味があるよう
> > な気がします。この場合 1.0 に対して integer? が真を返すので
> > あれば、1.0にかなり近い値、たとえば 1.0 / 3.0 *...
tadf (tadayoshi funaba)
09:53 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
むらたです。

(2011.11.01 04:04 ), Yukihiro Matsumoto wrote:
> |別の考えとして、Scheme のような述語に仕様変更する考えもあります。その場
> |合、クラスを見...
mrkn (Kenta Murata)
07:53 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
ふなばさん

> complex? も同様です。


complex?が偽になるのはどういう場合ですか?

real?を作らず、complex?を作る理由は?
--
Tomoaki NISHIYAMA

Ad...
Anonymous
04:23 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
まつもと ゆきひろです

In message "Re: [ruby-dev:44720] [ruby-trunk - Feature #5521][Open] Numeric#rational?、Numeric#compl...
matz (Yukihiro Matsumoto)
09:14 PM Feature #5321 (Assigned): Introducing Numeric#exact? and Numeric#inexact?
maybe miss operation tarui (Masaya Tarui)
12:52 PM Feature #5321 (Rejected): Introducing Numeric#exact? and Numeric#inexact?
mrkn (Kenta Murata)
12:32 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Kenta Murata wrote:
> Alexey Muranov wrote:
> > In my opinion, checking `x.class.exact?` would be good enough.
>
> I...
alexeymuranov (Alexey Muranov)
09:00 PM Feature #4976 (Feedback): Pathname#=~ が undef されている理由
akr (Akira Tanaka)
08:58 PM Bug #4934 (Closed): winsock listen backlog may only be set once, and is set to 5
akr (Akira Tanaka)
08:53 PM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
2011/11/1 Iñaki Baz Castillo <[email protected]>:
>
> Thanks a lot. But why is it required just for UDP? In TCP I can...
akr (Akira Tanaka)
12:36 PM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
Thanks a lot. But why is it required just for UDP? In TCP I can use "TCPServer.new some_ipv6, port" with no problem. ... ibc (Iñaki Baz Castillo)
04:57 AM Bug #5525 (Rejected): UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
=begin
You need to create an AF_INET6 UDP socket to bind to a UDP address:
$ ruby -vr 'socket' -e 'u = UDPSocke...
drbrain (Eric Hodel)
08:04 PM Feature #5534 (Rejected): Redefine Range class and introduce RelativeNumeric and RelativeRange
I started by commenting on Feature #4541, but ended up with proposing a new feature myself.
I suggest to redefine ...
alexeymuranov (Alexey Muranov)
03:52 PM Revision aea9c733 (git): * test/psych/test_yamldbm.rb: avoid platform dependency.
patch by Naohisa Goto. [ruby-dev:44763] [Bug #5535]
* test/syck/test_yamldbm.rb: ditto.
git-svn-id: svn+ssh://ci.rub...
ayumin (Ayumu AIZAWA)
03:21 PM Revision ebbd0df5 (git): * 2011-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 8188057b (git): * test/ruby/test_marshal.rb: renamed methods duplicated with those
of marshaltestlib.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:55 PM Feature #4969: Subtle issue with require
hi, abbrev.rb is not part of wedge. I just used 'abbrev.rb' as an easy to understand example of the potential problem... trans (Thomas Sawyer)
02:24 PM Feature #4969: Subtle issue with require
Why not put `abbrev.rb` into `lib/wedge`, and then call `require 'wedge/abbrev'` ? I thought it is standard way. funny_falcon (Yura Sokolov)
02:53 PM Feature #4890: Enumerable#lazy
Akinori MUSHA wrote:
> > It sounds fine for me, but I don't think Enumerable (or Enumerator) should have methods of ...
shugo (Shugo Maeda)
01:08 PM Feature #4890: Enumerable#lazy
> It sounds fine for me, but I don't think Enumerable (or Enumerator) should have methods of Array such as [] and siz... knu (Akinori MUSHA)
11:57 AM Feature #4890: Enumerable#lazy
One more question.
Shugo Maeda wrote:
> Akinori MUSHA wrote:
> > My suggestion is to turn Enumerator into a lazy...
shugo (Shugo Maeda)
10:12 AM Feature #4890: Enumerable#lazy
Akinori MUSHA wrote:
> My suggestion is to turn Enumerator into a lazy stream and make every Enumerable class includ...
shugo (Shugo Maeda)
02:44 PM Bug #5532: Compile problem for bigdecimal on cygwin
The following error is the matter of this issue.
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bi...
mrkn (Kenta Murata)
02:26 PM Bug #5532: Compile problem for bigdecimal on cygwin
mkmf.log attached. Hope this helps.
The pre-installed version of ruby, used as 'baseruby' I guess, is indeed 1.8.7...
duerst (Martin Dürst)
01:43 PM Bug #5532: Compile problem for bigdecimal on cygwin
> linking static-library libruby191-static.a
Is your ruby really version 1.8.7?
mrkn (Kenta Murata)
01:40 PM Bug #5532: Compile problem for bigdecimal on cygwin
Please attach your mkmf.log.
mrkn (Kenta Murata)
01:33 PM Bug #5532 (Closed): Compile problem for bigdecimal on cygwin
I tried to complile the current trunk on cygwin. However, I got a compile problem in 'bigdecimal'.
It says (see belo...
duerst (Martin Dürst)
01:08 PM Revision b9a7f8b4 (git): * configure.in: reject llvm-gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:52 PM Feature #5520 (Rejected): Numeric#exact?、Numeric#inexact? の追加
mrkn (Kenta Murata)
11:23 AM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
(2011.10.31 22:36 ), Yusuke Endoh wrote:
> というところで議論のまとめ役を mrkn さんにパスしていい?

了解しまじた。

続きは #5321 でやりましょう。この ...
mrkn (Kenta Murata)
03:53 AM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
まつもと ゆきひろです

#5321でBigDecimalはexactかinexactかという議論が出ているようで
すが、そちらでの結論が出れば私は反対しません。このissueは重複
になりますので、以後はあちらで話...
matz (Yukihiro Matsumoto)
12:43 PM Revision f0bd6396 (git): * io.c (rb_cloexec_pipe): remove workaround of r33587.
The bug of NetBSD is fixed on Mon Oct 31 21:31:29 UTC 2011.
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?numb...
naruse (Yui NARUSE)
10:49 AM Revision 809006f4 (git): * io.c (rb_io_reopen): call rb_fd_fix_cloexec instead of
rb_maygvl_fd_fix_cloexec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:01 AM Revision 89a12581 (git): * io.c (rb_io_reopen): call rb_maygvl_fd_fix_cloexec after freopen().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:17 AM Revision c882b8e8 (git): * file.c (file_expand_path): reset coderange after expanding path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:09 AM Feature #5481: Gemifying Ruby standard library
=begin
> While I like your proposal, I really don't see point, why it should be disabled to uninstall the "default" ...
drbrain (Eric Hodel)
07:05 AM Feature #5481: Gemifying Ruby standard library
Hiroshi Nakamura wrote:
> * Uninstalling 'default gems' should be blocked to avoid confusion. RubyGems bundled with...
vo.x (Vit Ondruch)
05:56 AM Revision f9269809 (git): * io.c (nogvl_io_cntl): rb_cloexec_fcntl_dupfd's 2nd argument is int.
* process.c (move_fds_to_avoid_crash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33602 b2dd03c8-39d4-...
naruse (Yui NARUSE)
05:06 AM Bug #5530 (Feedback): SEEK_SET malfunctions when used with 'append' File.open mode
kosaki (Motohiro KOSAKI)
05:06 AM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
The code is correct. Ruby's append mode is derived from C and C's append mode mean "ignore file position".
Which doc...
kosaki (Motohiro KOSAKI)
04:20 AM Bug #5530 (Closed): SEEK_SET malfunctions when used with 'append' File.open mode
The following code demonstrates the issue. As documented, IO#seek says "SEEK_SET" will move to a position relative to... jduck (Joshua J. Drake)
04:31 AM Revision cd3445ca (git): * vsnprintf.c (BSD_vfprintf): support 'll' prefix.
* vsnprintf.c (__sfeof): rename to avoid the collision with NetBSD's
one.
* vsnprintf.c (__sferror): ditto.
* vsn...
naruse (Yui NARUSE)
03:37 AM Revision b7d39734 (git): * internal.h (rb_maygvl_fd_fix_cloexec): change the visibility for
ext/socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:04 AM Revision 1bbae243 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:04 AM Revision c16f98ab (git): * io.c (rb_maygvl_fd_fix_cloexec): renamed from fd_set_cloexec.
* internal.h (rb_maygvl_fd_fix_cloexec): declared.
* ext/socket/init.c (cloexec_accept): use rb_maygvl_fd_fix_cloexe...
akr (Akira Tanaka)
02:53 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
小崎です

ええと、なるせさんの論旨がいまいちまだ把握できてない気がするのですが・・・・

> r31428 で、test_wait_for_invalid_fd ってテストを追加しており、
> IO.wait_...
kosaki (Motohiro KOSAKI)
12:42 AM Revision 632f4488 (git): On some platforms, object_id can be negative value like NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:22 AM Feature #5528 (Closed): OO API for tracing
It would be nice to see a better API for "set_trace_func" functionality.
I wrote a fairly simple library to do thi...
trans (Thomas Sawyer)
12:08 AM Bug #5527 (Closed): set_trace_func binding incorrect
set_trace_func seems to be broken. I traced the issue to the binding
(`b` below).
```
$ cat t.rb
fn = lam...
trans (Thomas Sawyer)
12:02 AM Bug #5526 (Closed): SEGV: ./ruby -rfiber -ve'f=Fiber.new{f.resume};f.transfer'
FreeBSD 9 にて、./ruby -rfiber -ve'f=Fiber.new{f.resume};f.transfer' で SEGV します。
他のプラットフォームでも dead fiber call 例外なのはおかしく...
naruse (Yui NARUSE)

10/31/2011

11:59 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
>But I don't mean that I'm against the proposal. I think the proposal is fine even if it is different from Scheme's. ... tadf (tadayoshi funaba)
11:54 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Alexey Muranov wrote:
> In my opinion, checking `x.class.exact?` would be good enough.
I don't think so for two r...
mrkn (Kenta Murata)
11:53 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Hello,

2011/10/31 tadayoshi funaba <[email protected]>:
> i've taken those from scheme.
> scheme's one ...
mame (Yusuke Endoh)
11:29 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Hello,

2011/10/31 Kenta Murata <[email protected]>:
> I want to create a mathematical function which behaves ...
mame (Yusuke Endoh)
11:13 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Kenta Murata wrote:
> So I want to raise Math::DomainError for the function with exact zero.
> But I don't want to r...
alexeymuranov (Alexey Muranov)
10:55 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Yusuke Endoh wrote:
> Can you show any actual use case?
I want to create a mathematical function which behaves li...
mrkn (Kenta Murata)
10:54 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
i've proposed this before 1.9.
and i've virtually used those predicates in Complex/Rational internally.
i've take...
tadf (tadayoshi funaba)
10:32 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Charles Nutter wrote:
> Why is BigDecimal considered inexact?
As Alexey pointed out, the reason is from BigDecima...
mrkn (Kenta Murata)
10:21 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
I misread the proposal, it was actually about adding instance `Numeric#exact?` method, and not class `Numeric.exact?`... alexeymuranov (Alexey Muranov)
09:55 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Hello,
2011/9/14 Kenta Murata <[email protected]>:
> Now, Ruby's numeric classes doesn't provide predicators to i...
mame (Yusuke Endoh)
09:13 PM Feature #5321 (Assigned): Introducing Numeric#exact? and Numeric#inexact?
Oops, sorry, I've closed this ticket by error. Reopen.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
09:10 PM Feature #5321 (Rejected): Introducing Numeric#exact? and Numeric#inexact?
#5321 と重複です。あちらで議論しましょう。
あちらの議論がまとまった上での作業は大歓迎です。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:23 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
On 30/10/11 12:29, Alexey Muranov wrote:
>
> Issue #5321 has been updated by Alexey Muranov.
>
>
> Char...
regularfry (Alex Young)
11:53 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
高尾です。

On 2011/10/31, at 6:36, Yusuke Endoh wrote:

> 遠藤です。
>
> 2011年10月31日22:26 Kouji Takao <[email protected]...
kouji (Kouji Takao)
10:53 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
mame (Yusuke Endoh)
10:53 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
#5321

http://redmine.ruby-lang.org/issues/5321
Introducing Numeric#exact? and Numeric#inexact?

> Numeric#rat...
Anonymous
10:26 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
=begin
Yusuke Endoh wrote:
> チケットの提案内容が #5321 と重複しているためです。
> (もし異なるのなら、相違点を明示してください)
この部分だけコメントします。
私は#5320(本チ...
kouji (Kouji Takao)
10:12 PM Feature #5520 (Assigned): Numeric#exact?、Numeric#inexact? の追加
チケットの提案内容が #5321 と重複しているためです。
(もし異なるのなら、相違点を明示してください)
内容的に否定しているわけではないです。
同じ提案に関する議論の拡散を避けるために閉じようと思いました。
どうしても...
mame (Yusuke Endoh)
09:58 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
Rejectされる意味がわからない tadf (tadayoshi funaba)
09:56 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
ええと、無言で reopen されたのはどういう意図でしょうか。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
09:36 PM Feature #5520 (Open): Numeric#exact?、Numeric#inexact? の追加
tadf (tadayoshi funaba)
09:10 PM Feature #5520 (Rejected): Numeric#exact?、Numeric#inexact? の追加
#5321 と重複です。あちらで議論しましょう。
あちらの議論がまとまった上での作業は大歓迎です。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:32 PM Feature #5520 (Rejected): Numeric#exact?、Numeric#inexact? の追加
暫く様子を見て特に反対がなければ決定します。
今の raitonal や complex の実装は、将来この述語が導入される事を期待して
実装しておいたので、その切り換えも含めて作業します。
tadf (tadayoshi funaba)
11:27 PM Feature #5427: Not complex patch to improve `require` time (load.c)
Made some changes to load.c patch https://gist.github.com/1272991 :
- made it configurable with RUBY_LOADED_FEATURES...
funny_falcon (Yura Sokolov)
11:26 PM Revision 5dbc3d1e (git): * ext/socket/init.c (cloexec_accept): new function to use accept4 if
available.
(rsock_s_accept_nonblock): use cloexec_accept.
(accept_blocking): ditto.
* ext/socket/extconf.rb: che...
akr (Akira Tanaka)
11:24 PM Revision 24176a8d (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 PM Bug #5525 (Rejected): UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
This bug can be reproduced in Ruby 1.8 as well.
The following script shows that UDPSocket#bind fails (Errno::EAFNO...
ibc (Iñaki Baz Castillo)
10:32 PM Revision 7ae60a6b (git): * ext/socket/ancdata.c (nogvl_recvmsg_func): use MSG_CMSG_CLOEXEC if
available.
* ext/socket/unixsocket.c (recvmsg_blocking): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
akr (Akira Tanaka)
10:23 PM Feature #2968: 数値の正負を返すメソッド
#5523 でも Numeric#sign が提案されてますね。
positive? や negative? は複素数に対応できないという #5513 でのまつもとさんの意見は確かに尤もだと思いました。
分かってないのは Co...
mrkn (Kenta Murata)
10:15 PM Feature #5523: Numeric#sign の追加
#2968 の重複なので閉じます naruse (Yui NARUSE)
09:55 PM Feature #5523: Numeric#sign の追加
負の零を見分けるのが主眼になっているので、0 も 1 になる事を考えています。
複素数はエラーを考えています。
Common Lisp の signum は複素数にも値を返しますが、これはちょっと望んで
いるのと違いますね。...
tadf (tadayoshi funaba)
09:16 PM Feature #5523: Numeric#sign の追加
0 については勿論 0 を返すのですよね。
http://ja.wikipedia.org/wiki/%E7%AC%A6%E5%8F%B7%E9%96%A2%E6%95%B0
複素数についてはどうですか。一般には z/|z...
hasari (Hiro Asari)
09:02 PM Feature #5523 (Closed): Numeric#sign の追加
負の零なども含め正しく符号を判断するために必要です。実際、complex や
lib/cmath.rb などの中ではこのような判断が必要ですが、標準では提供されて
いないため、不自然なものになっています。
値は-1か+1のい...
tadf (tadayoshi funaba)
09:34 PM Feature #5514: Numeric への quotient と quotrem の追加
丸めの方向の問題なので、ruby の場合 floor、ceil、truncate、round がある
ことから、4つのパターンが有り得ると思います。ruby の div-mod は、floor
系と考えればいいと思います。実際、C...
tadf (tadayoshi funaba)
10:29 AM Feature #5514: Numeric への quotient と quotrem の追加
対称性とか一貫性とか以外にquotientとquoremがあると嬉しい局面っ
てのは具体的に例示できますか?
matz (Yukihiro Matsumoto)
09:31 PM Bug #5524 (Closed): IO.wait_for_single_fd(closed fd) sticks on other than Linux
r31428 で、test_wait_for_invalid_fd ってテストを追加しており、
IO.wait_for_single_fd(close 済みの fd) が EBADF になることを確認しているのですが、
これ単体で...
naruse (Yui NARUSE)
09:03 PM Feature #5513 (Rejected): Numeric へ述語語の追加
tadf (tadayoshi funaba)
10:27 AM Feature #5513: Numeric へ述語語の追加
まつもと ゆきひろです
In message "Re: [ruby-dev:44708] [ruby-trunk - Feature #5513][Open] Numeric へ述語語の追加"
on Sun, 30 O...
matz (Yukihiro Matsumoto)
09:01 PM Revision ee5ae134 (git): * ext/socket/socket.c (rsock_socketpair): use SOCK_CLOEXEC if
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:54 PM Feature #5522 (Feedback): Numeric#finite?、Numeric#infinite?、Numeric#nan? の追加
一部のクラスでしか意味がない、という意見もありますが、無限大かどうかを
調べる正しいやり方は、今のところ他にないように思います。今のところ、決
め打ちするか、まずは respond_to? で述語があるかどうか確認するなどの真っ
...
tadf (tadayoshi funaba)
08:50 PM Feature #5521 (Feedback): Numeric#rational?、Numeric#complex?、Numeric#float? の追加
今のところ Common Lisp の rationalp などに似た仕様を考えています。
rational? は Integer や Rational に対しても真になります。float? は組み
込みに関しては Float だ...
tadf (tadayoshi funaba)
08:23 PM Feature #4890: Enumerable#lazy
I prefer to_lazy and to_a instead of delay and force

PS:
Here some student's code from
http://rails.vsevteme.ru...
greck (Artem Vorozhtsov)
05:52 PM Feature #4890: Enumerable#lazy
My suggestion is to turn Enumerator into a lazy stream and make every Enumerable class including the new Enumerator o... knu (Akinori MUSHA)
02:39 PM Feature #4890: Enumerable#lazy
Akinori MUSHA wrote:
> The idea of laziness can be or should be sublimated into a revamp of the Enumerable framework...
shugo (Shugo Maeda)
02:27 PM Feature #4890: Enumerable#lazy
One thing I should comment on the sample implementation: Enumerable::Lazy should not inherit from Enumerator which in... knu (Akinori MUSHA)
02:16 PM Feature #4890: Enumerable#lazy
The idea of laziness can be or should be sublimated into a revamp of the Enumerable framework.
- Make every Enumer...
knu (Akinori MUSHA)
12:04 PM Feature #4890: Enumerable#lazy
Please consider:
* http://github.com/rubyworks/facets/blob/master/lib/core/facets/enumerable/defer.rb
* http://gi...
trans (Thomas Sawyer)
11:58 AM Feature #4890: Enumerable#lazy
Shugo Maeda wrote:
> FYI, Scala has a similar method called view. I don't know whether
> the name view is better t...
shugo (Shugo Maeda)
11:48 AM Feature #4890: Enumerable#lazy
Hi,
Yutaka HARA wrote:
> require 'prime'
> INFINITY = 1.0 / 0
> p (1..INFINITY).lazy.map{|n| n**2+1}.s...
shugo (Shugo Maeda)
06:05 PM Revision 17f068b6 (git): * 2011-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:05 PM Revision 9b8aca6a (git): * ruby.c (load_file_internal): convert the encoding of load path if
needed by platform. calling open() was replaced by rb_cloexec_open()
at r33549, but the function expected UTF-8 pa...
U.Nakamura
03:06 PM Bug #2097: fork NotImplementedError on FreeBSD
Borys Kuzikov wrote:
> Hey, anybody! Hack this bug!
Use 7.2 or later.
naruse (Yui NARUSE)
02:51 PM Bug #2097: fork NotImplementedError on FreeBSD
Hey, anybody! Hack this bug! Potapuff (Borys Kuzikov)
02:49 PM Revision 8ce4a284 (git): * ext/socket/socket.c (rsock_socketpair): extracted from
rsock_sock_s_socketpair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:38 PM Revision 1a8fbff3 (git): * ext/socket/init.c (rsock_socket): use SOCK_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:50 PM Revision 6a96646d (git): Fix previous commit (r33586).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:21 PM Revision ca6311b0 (git): * io.c (rb_cloexec_pipe): NetBSD 6.0 will support pipe2(2),
but its return value is -1 or larger than 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33587 b2dd03c8-39d4-...
naruse (Yui NARUSE)
01:07 PM Revision a16c2745 (git): * ext/dbm/dbm.c (fdbm_initialize): use O_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:49 PM Revision 1a70dfe6 (git): * include/ruby/intern.h (rb_fd_fix_cloexec): renamed from
rb_fd_set_cloexec.
* io.c: follow the above renaming.
* ext/pty/pty.c: ditto.
* ext/socket/init.c: ditto.
* ext/s...
akr (Akira Tanaka)
12:03 PM Revision 6533f070 (git): * lib/resolv.rb (Resolv::DNS): retry IO.select for premature wakeup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:17 AM Revision 687c41dc (git): * io.c (fd_set_cloexec): clear CLOEXEC flag for standard file
descriptors.
(rb_cloexec_dup): use rb_cloexec_fcntl_dupfd.
(rb_cloexec_fcntl_dupfd): use F_DUPFD_CLOEXEC if avail...
akr (Akira Tanaka)
10:27 AM Bug #5519: Enumerator#next skips c-return hooks
=begin
This trace seems correct to me. There is no c-return because Array#each and Enumerator#each are not returning...
kernigh (George Koehler)
06:26 AM Bug #5519 (Rejected): Enumerator#next skips c-return hooks
In some cases, especially using #next, c-calls are traced, but corresponding c-returns are not.
tracing this snipp...
YenTheFirst (T S)
10:15 AM Revision c4dd8ca7 (git): * test/resolv/test_dns.rb: don't check maximum sleeped time.
ruby doesn't guarantee the maximum time because it is not a
realtime application.
git-svn-id: svn+ssh://ci.ruby-...
akr (Akira Tanaka)
09:31 AM Bug #5236: Including a module in a superclass after it has been included in a subclass leads to infinite recursion if the module uses `super`
This bug causes a lot of trouble for RSpec developers and end users alike:
https://github.com/rspec/rspec-rails/issu...
pda (Paul Annesley)
07:53 AM Feature #5474: keyword argument
On 30 October 2011 11:10, Yusuke Endoh <[email protected]> wrote:
> Hello,
>
> Koichi told me that I can commit my patch...
Eregon (Benoit Daloze)
07:53 AM Feature #3187: Allow dynamic Fiber stack size
Quick comments.

* JVM can specify per-thread stack size but always in bytes. Any API that
exposes stack size sho...
headius (Charles Nutter)
01:23 AM Feature #3187: Allow dynamic Fiber stack size
Hi,
I agree with this proposal. Also add same parameter setting feature for
Thread.
However, I can't make goo...
ko1 (Koichi Sasada)
07:11 AM Feature #5361: Lice?
Ruby 1.9.3 has been released with the method spelt byteslice. I suspect it will make this spelling change less likely... agrimm (Andrew Grimm)
04:16 AM Revision b2a1af15 (git): * win32/win32.c (setfl): extract from fcntl().
* win32/win32.c (dupfd): new function to support F_DUPFD. base on a
patch written by akr.
* win32/win32.c (fcntl):...
U.Nakamura
03:39 AM Revision 92a8bfac (git): * ext/pty/pty.c (get_device_once): use O_CLOEXEC for posix_openpt if
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:07 AM Revision da5ae554 (git): * io.c (rb_cloexec_dup2): check oldfd == newfd at first.
pointed by KOSAKI Motohiro. [ruby-dev:44713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33579 b2dd03c8-39d4...
akr (Akira Tanaka)
01:52 AM Revision bdc85361 (git): * io.c (rb_cloexec_fcntl_dupfd): this function needs F_DUPFD.
* io.c (nogvl_io_cntl): use rb_cloexec_fcntl_dupfd() only if the
platform has F_DUPFD.
git-svn-id: svn+ssh://ci.r...
U.Nakamura
12:53 AM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
Hello,
Closed this issue by mistake. This is solved now by r33577 on trunk.
Will request backport to 1.9.3
T...
luislavena (Luis Lavena)
12:36 AM Bug #5517 (Closed): Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
While attempting to build with Windows SDK for Windows 7 (7.1), 7.1.7600.0.30514 I get the following error:
C:\Use...
jonforums (Jon Forums)

10/30/2011

10:34 PM Bug #5516 (Closed): fill_standard_fds uses F_GETFD which is not defined on MinGW (broken build)
This issue was solved with changeset r33573.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
akr (Akira Tanaka)
10:15 PM Bug #5516 (Closed): fill_standard_fds uses F_GETFD which is not defined on MinGW (broken build)
Hello,
New fill_standard_fds broke build under MinGW:
compiling ../../../../ruby/ruby.c
../../../../ruby/ruby....
luislavena (Luis Lavena)
09:31 PM Bug #5297 (Closed): Either File.expand_path or File.join is corrupting string encoding
This has been solved already associated to another bug report. luislavena (Luis Lavena)
09:29 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Charles, this is from the documentation of BigDecimal: "If a computation results in a value which is too small to be ... alexeymuranov (Alexey Muranov)
08:57 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Why is BigDecimal considered inexact? Unlike a float, a value in a BigDrcimal is always represented exactly. The valu... headius (Charles Nutter)
07:09 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
I like this proposal. -Alexey. alexeymuranov (Alexey Muranov)
05:53 PM Bug #5515 (Closed): Integer#quo(aFloat) の結果が Rational になる
Integer#quo(aFloat) の結果が Rational になる。
5.quo(2.0) #=> (5/2)
1.9.2 では Float になります。
tadf (tadayoshi funaba)
05:27 PM Feature #5514 (Feedback): Numeric への quotient と quotrem の追加
Ruby では余りを求めるために modulo (%) と remainder が提供されています
が、modulo には対応する div があり、またその組み合わせである divmod も
存在しますが remainder には...
tadf (tadayoshi funaba)
05:23 PM Feature #5513 (Rejected): Numeric へ述語語の追加
現在の Numeric では、その表現の特徴について問合せる基本的な語が不足して
おり、プログラミングにおいて総称性の確保が難しくなっています。いくつか
の述語を追加することで、未知への数値表現への備えが出来、協調して働く基
盤...
tadf (tadayoshi funaba)
05:19 PM Feature #5512 (Rejected): Integer#/ の改訂
Integer#/ を Integer#quo の別名として定義しなおす事を提案します。
現在の Integer#/ はオペランドが整数である場合値が整数になります。整数を
与えた場合の結果だけを見て、あるいは整数ではない場合...
tadf (tadayoshi funaba)
03:51 PM Revision 0bbb8e89 (git): * configure.in: check -fno-omit-frame-pointer acceptance and usage
under MinGW. [ruby-core:39957] [Bug #5407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33577 b2dd03c8-39d4-4d8...
luislavena (Luis Lavena)
03:18 PM Bug #5511 (Closed): "make test" failure on HP-UX/PA
Building 1.9.2 with svn revision at 33531 produces an error during "make test":
$ ./configure --disable-rpath
....
twwlogin (The Written Word Inc)
03:17 PM Revision 64d4f3a4 (git): * 2011-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 5c19f077 (git): * include/ruby/intern.h (rb_cloexec_fcntl_dupfd): declared.
* io.c (rb_cloexec_fcntl_dupfd): new function.
(nogvl_io_cntl): use rb_cloexec_fcntl_dupfd.
* process.c (move_fds_...
akr (Akira Tanaka)
03:17 PM Bug #5510 (Closed): "make test" failure on HP-UX/IA
Building 1.9.2 with svn revision at 33531 produces an error during "make test":
$ ./configure --disable-rpath
....
twwlogin (The Written Word Inc)
01:48 PM Revision e7f8c038 (git): * configure.in: check pipe2.
* io.c (rb_cloexec_pipe): use pipe2 if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33574 b2dd03c8...
akr (Akira Tanaka)
01:34 PM Revision a3efca16 (git): * ruby.c (fill_standard_fds): use fstat() instead of fcntl(F_GETFD)
for MinGW. reported by Luis Lavena. [ruby-core:40526] [Bug #5516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
akr (Akira Tanaka)
12:13 PM Revision 0d2a92e0 (git): * include/ruby/intern.h (rb_cloexec_pipe): declared.
* io.c (rb_cloexec_pipe): new function.
(rb_pipe): use rb_cloexec_pipe.
* thread_pthread.c (rb_thread_create_timer...
akr (Akira Tanaka)
11:07 AM Revision 6e0ed044 (git): * io.c (rb_cloexec_dup): refine control flow.
(rb_cloexec_dup2): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:47 AM Revision 8f29ff7d (git): * 2011-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:47 AM Revision 2c1d1fb1 (git): Bump version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
09:46 AM Revision 7c43d852 (git): * ruby.c (fill_standard_fds): new function to open closed standard
file descriptors.
(ruby_sysinit): call fill_standard_fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3356...
akr (Akira Tanaka)
08:23 AM Feature #5474: keyword argument
Hi,
On 23 October 2011 14:53, Yusuke Endoh <[email protected]> wrote:
> Feature #5474: keyword argument
It sounds grea...
Eregon (Benoit Daloze)
07:39 AM Feature #3289: Division of negative numbers
I think that division with always rounding towards 0 is not logical. Rounding towards the closest integer, going towa... alexeymuranov (Alexey Muranov)
07:30 AM Feature #3653: Diferential behaviour of positives and negatives ranges as subindex of string or arrays.
I agree with this proposal. -Alexey. alexeymuranov (Alexey Muranov)
07:24 AM Feature #4541: Inconsistent Array.slice()
I better remove my previous comment, it was not a good idea. I agree that there seem to be an inconsistency between ... alexeymuranov (Alexey Muranov)
06:53 AM Bug #5243: VC 2010 Has stdint.h - Patch to Fix Build Files
Thanks! cfis (Charlie Savage)
01:50 AM Revision d67ac15c (git): * tool/rbinstall.rb (install_recursive, bin-comm): split mere
string not path name. [ruby-core:40462] [Bug #5492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33566 b2dd03c...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 54816d10 (git): * io.c (rb_cloexec_dup, rb_cloexec_dup2): CLOEXEC has been set if
dup3 succeeded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:02 AM Revision f0b021c0 (git): * io.c (rb_cloexec_dup): don't allocate standard file descriptors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:26 AM Bug #5508 (Closed): Is BigDecimal really not $SAFE?
Why does BigDecimal call SafeStringValue?
irb(main):001:0> $SAFE = 1; BigDecimal.new('1'.taint)
SecurityError: In...
angdraug (Dmitry Borodaenko)

10/29/2011

11:30 PM Revision e745a03c (git): * io.c (rb_cloexec_dup2): don't set CLOEXEC for standard file
descriptors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:48 PM Revision 503e5c97 (git): * 2011-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:48 PM Revision cb9f3040 (git): * configure.in: check dup3.
* io.c (rb_cloexec_dup2): use dup3 if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33561 b2dd03c8-...
akr (Akira Tanaka)
09:08 PM Bug #5243 (Closed): VC 2010 Has stdint.h - Patch to Fix Build Files
This issue was solved with changeset r33556.
Charlie, thank you for reporting this issue.
Your contribution to Ruby i...
arton (Akio Tajima)
08:56 PM Bug #5243 (Assigned): VC 2010 Has stdint.h - Patch to Fix Build Files
I've reproduced the bug and found it's harmful (one can't avoid it).
The patch is not fit for x64, so I reconfigure ...
arton (Akio Tajima)
03:49 PM Revision c1ad87aa (git): * 2011-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 PM Revision b146b430 (git): * configure.in (CXX): Set CXX when mkconfig.rb wants it defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
03:26 PM Bug #5497: Math.log10(10_000) error on HP-UX/PA
Yui NARUSE wrote:
> The Written Word Inc wrote:
> > (ia64)
> > p Math.log10(10_000)
> > 4
>
> Show...
twwlogin (The Written Word Inc)
02:29 PM Bug #5497: Math.log10(10_000) error on HP-UX/PA
The Written Word Inc wrote:
> (ia64)
> p Math.log10(10_000)
> 4
Show the result of `p 4.0`.
> ...
naruse (Yui NARUSE)
02:56 PM Revision 71804183 (git): * ChangeLog: style fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:11 PM Revision 0a9cb21e (git): * include/ruby/intern.h (rb_cloexec_dup2): declared.
* io.c (rb_cloexec_dup2): new function.
(io_reopen): use rb_cloexec_dup2.
git-svn-id: svn+ssh://ci.ruby-lang.org...
akr (Akira Tanaka)
12:08 PM Revision 195fbd18 (git): * win32/Makefile.sub (CONFIG_H): have stdint.h if VC2010. [Bug #5243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e arton (Akio Tajima)
11:59 AM Revision 54d7e826 (git): * io.c (rb_cloexec_dup): use F_DUPFD_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:58 AM Revision a9648d1e (git): add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:02 AM Revision 4ae2b925 (git): * include/ruby/intern.h (rb_cloexec_dup): declared.
* io.c (rb_cloexec_dup): new function.
(ruby_dup): use rb_cloexec_dup.
* ext/pty/pty.c (pty_getpty): use rb_cloexe...
akr (Akira Tanaka)
09:05 AM Bug #5491 (Closed): build failure on Tru64 UNIX 5.1
This issue was solved with changeset r33546.
The Written Word, thank you for reporting this issue.
Your contribution ...
nobu (Nobuyoshi Nakada)
08:33 AM Bug #5491: build failure on Tru64 UNIX 5.1
Yes, that should work. twwlogin (The Written Word Inc)
07:12 AM Revision 3bffb5f3 (git): * ext/sdbm/_sdbm.c (sdbm_prep): use O_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:27 AM Revision baa2d74d (git): * io.c (rb_cloexec_open): use O_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:01 AM Revision da74bc75 (git): * process.c (ruby_setsid): use rb_cloexec_open.
(rb_daemon): ditto.
* ruby.c (load_file_internal): ditto.
* file.c (rb_file_s_truncate): ditto.
(file_load_ok): d...
akr (Akira Tanaka)
02:33 AM Revision 3ae3cd74 (git): * include/ruby/intern.h (rb_cloexec_open): declared.
* io.c (fd_set_cloexec): extracted from rb_fd_set_cloexec.
(rb_cloexec_open): new function.
(sysopen_func): use r...
akr (Akira Tanaka)
12:06 AM Revision d498620a (git): * ChangeLog: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:05 AM Revision b9c3a33b (git): * 2011-10-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:05 AM Revision 2fd8753b (git): * thread_pthread.h: no Structured Exception Handling like macros.
[ruby-core:40432] [Bug #5491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33546 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)

10/28/2011

11:36 PM Feature #5505: BasicObject#__extend__
Ah, right I forgot about this... what do you call it? The "callback"?
It needs to be:
Enumerable.__send__(:ex...
trans (Thomas Sawyer)
11:29 PM Feature #5505: BasicObject#__extend__
On Fri, Oct 28, 2011 at 3:17 PM, Yukihiro Matsumoto <[email protected]>wrote:

> o = BasicObject.new
> clas...
aprescott (Adam Prescott)
11:17 PM Feature #5505 (Rejected): BasicObject#__extend__

o = BasicObject.new
class <<o
include Enumerable
end
should work.
matz (Yukihiro Matsumoto)
11:15 PM Feature #5505: BasicObject#__extend__
Try Kernel.__send__(:extend_object, BasicObject.new) nobu (Nobuyoshi Nakada)
11:07 PM Feature #5505 (Rejected): BasicObject#__extend__
Unless there is already some way to do it that I've overlooked, the it would be nice if there were still some way to ... trans (Thomas Sawyer)
07:23 PM Bug #5486: rb_stat() doesn’t respect input encoding
On Fri, Oct 28, 2011 at 09:20, Nobuyoshi Nakada <[email protected]> wrote:

> (11/10/28 15:35), Nikolai Weibull w...
now (Nikolai Weibull)
04:23 PM Bug #5486: rb_stat() doesn’t respect input encoding
Hi,

(11/10/28 15:35), Nikolai Weibull wrote:
> Actually, it’s probably easier than that. It can be done on a...
nobu (Nobuyoshi Nakada)
03:53 PM Bug #5486: rb_stat() doesn’t respect input encoding
On Fri, Oct 28, 2011 at 08:14, Nikolai Weibull <[email protected]> wrote:
> On Fri, Oct 28, 2011 at 07:28, Usaku NAKAMUR...
now (Nikolai Weibull)
03:23 PM Bug #5486: rb_stat() doesn’t respect input encoding
On Fri, Oct 28, 2011 at 07:28, Usaku NAKAMURA <[email protected]> wrote:

> Sorry, I can't understand your poi...
now (Nikolai Weibull)
02:28 PM Bug #5486: rb_stat() doesn’t respect input encoding
Sorry, I can't understand your point.
If you think there is a bug, would you show us the bug by code?
usa (Usaku NAKAMURA)
04:08 PM Bug #5497 (Closed): Math.log10(10_000) error on HP-UX/PA
I've built 1.9.2 from svn revision at 33531 on HP-UX/PA and HP-UX/IA. I'm getting two different results for Math.log1... twwlogin (The Written Word Inc)
03:54 PM Bug #5496: ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
Ok, thanks. Looking at mkmf.log reveals that --disable-rpath is the solution. -R isn't applicable to cc/ld on HP-UX. ... twwlogin (The Written Word Inc)
03:02 PM Bug #5496 (Feedback): ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
The patch is not acceptable.
Please show the mkmf.log file.
nobu (Nobuyoshi Nakada)
01:56 PM Bug #5496 (Rejected): ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
Building 1.9.2 with svn revision at 33531 produces an error while building ext/bigdecimal:
$ ./configure
...
...
twwlogin (The Written Word Inc)
02:43 PM Bug #5491: build failure on Tru64 UNIX 5.1
=begin
You mean this?
diff --git a/thread_pthread.h b/thread_pthread.h
index f180a79..b3e7c36 100644
--- ...
nobu (Nobuyoshi Nakada)
01:36 PM Bug #5491: build failure on Tru64 UNIX 5.1
For compile.c, we have:
#include "ruby/ruby.h"
#include "vm_core.h"
#include "thread_pthread.h"
#in...
twwlogin (The Written Word Inc)
02:35 PM Feature #5494: Proposal: Improved Finalizer Semantics
Nobuyoshi Nakada wrote:
> Even if the object has not been freed, other objects referred by the
> object might be fr...
kstephens (Kurt Stephens)
02:16 PM Feature #5494 (Rejected): Proposal: Improved Finalizer Semantics
Even if the object has not been freed, other objects referred by the
object might be freed already. It has to sort ...
nobu (Nobuyoshi Nakada)
12:53 PM Feature #5494: Proposal: Improved Finalizer Semantics
Hi,

In message "Re: [ruby-core:40474] [ruby-trunk - Feature #5494][Open] Proposal: Improved Finalizer Semantics...
matz (Yukihiro Matsumoto)
12:20 PM Feature #5494 (Rejected): Proposal: Improved Finalizer Semantics
Proposal: Improved Finalizer Semantics:
ObjectSpace.define_finalizer(object, proc):
** proc should have a single ...
kstephens (Kurt Stephens)
01:25 PM Revision 27295f10 (git): add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:06 PM Revision 769fcd70 (git): * ext/sdbm/_sdbm.c: RCS $Id$ removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:56 AM Bug #5493: Commit r33357 breaks build on Debian/sparc
Ok, the story is probably more complicated than just this commit breaking it. I tried reverting r33357 in the latest ... jurij (Jurij Smakov)
07:14 AM Bug #5493 (Rejected): Commit r33357 breaks build on Debian/sparc
While trying to build the Ruby SVN nightly snapshot I found that it fails while configuring fiddle:
[...]
config...
jurij (Jurij Smakov)
03:11 AM Revision 96031a6d (git): A test for r33542.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:59 AM Feature #5474: keyword argument
On Thu, Oct 27, 2011 at 11:42 AM, Nobuyoshi Nakada <[email protected]> wrote:
> You didn't know? ;)
>
> Anywa...
headius (Charles Nutter)
01:53 AM Feature #5474: keyword argument
Hi,

(11/10/27 18:56), Charles Oliver Nutter wrote:
> On Thu, Oct 27, 2011 at 3:16 AM, Nobuyoshi Nakada <nobu@...
nobu (Nobuyoshi Nakada)
12:59 AM Feature #5474: keyword argument
Hi,

In message "Re: [ruby-core:40454] Re: [ruby-trunk - Feature #5474][Assigned] keyword argument"
on Fri...
matz (Yukihiro Matsumoto)
12:53 AM Feature #5474: keyword argument
On Thu, Oct 27, 2011 at 17:16, Yusuke Endoh <[email protected]> wrote:

> 2011/10/27 Yukihiro Matsumoto <matz@ruby-la...
now (Nikolai Weibull)
12:23 AM Feature #5474: keyword argument
Hello,

2011/10/27 Yukihiro Matsumoto <[email protected]>:
> Yes, there could be a language with that kind of...
mame (Yusuke Endoh)
02:30 AM Revision 615d5068 (git): * parse.y (parser_nextc): set encoding for the buffer of ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom