From: TAKAHASHI Masayoshi Date: 2002-06-04T03:00:19+09:00 Subject: ruby-dev summary #17208-17251 Hello, This is a summary of ruby-dev ML in these days. ---- ruby-dev #17208-17251 (2002-05-23 ... 2002-05-31) ---- [ruby-dev:17208] Etc Kazuhiro NISHIYAMA pointed out that Etc.passwd is not multithread(MT)-safe and ignores safe level. Since there is no MT-safe and portable way to access password database, it has not been solved yet. [ruby-dev:17220] safe-level Hidetoshi NAGAI asked whether Proc object should be closed under modification of $SAFE. It is true in current ruby, and he want to make this behavior specified. [ruby-dev:17221] Re: StringIO Wakou Aoyama proposed a method IO#size. It seems to be useful for StringIO and TempFile. But some subclasses of IO (ex. Socket) cannot know their size correctly, so StringIO#size and TempFile#size, not IO#size, will be implemented. [ruby-dev:17228] Re: ((1.2)..(3.4)).to_a Take_tk pointed out that (1.2)..(3.4) is something odd. p( ((1.2)..(3.4)).to_a ) #=> [1, 2, 3] But 1 is not included in 1.2 .. 3.4 The fundamental problem is that Range class has some functions of Interval. #to_a method is natural for Range (ordered discrete set), but not uniquely for Interval (continuous set). Therefore, for Range objects of some classes (ex. Time or Float), definitions of #to_a method (or #each method) do not seem to be unique. The issue is still open. Regards, TAKAHASHI 'Maki' Masayoshi E-mail: maki@rubycolor.org