Hello all,
This is a summary of ruby-dev ML in these days.
[ruby-dev:19066] ruby 1.6.9 preview4 Announcement
Yes, this article was an annoucement of ruby 1.6.8
preview4 (as last week summary posted by Tateishi-san).
This typo seems to reflect Matz’s desire,
as Freudian says, that it will be the final version
of 1.6.x and he will concentrate on development of
1.8 and Rite
[ruby-dev:19072] ruby 1.6.8 bug? on freebsd 4.7 stable
This thread was derived from [ruby-talk:59035]. This bug
was reproduced in Linux ([ruby-dev:19075] by Tanaka Akira)
and a patch was posted ([ruby-dev:19076] by Nobu Nakada).
[ruby-dev:19079] Re: ruby 1.6.9 preview4 Announcement
Akinori MUSHA asked for importing some libraries into
the Ruby standard distribution.
Standard library candidates are listed below:
- REXML
- Test::Unit
- open-uri.rb
- ipaddr.rb
- zlib
- bigdecimal
- mmap
- rbtree
- io-wait
- bz2
- bdb1/bdb
- bitset/bitvector
- narray
- xmlscan
- bsearch
- csv
Matz wants comments from Rubyists.
[ruby-dev:19119] class of substring
This topic is derived from [ruby-core:650]. Nobu Nakada
pointed out that the behavior of subclass of String was
changed.
class MyString < String; end
s = MyString.new(“abc”)30
s[1…-1].class # MyClass
s[/b./].class # String in previous, but now MyClass
Matz concluded that current behavior is correct and previous
one is wrong.
MatchData’s similar methods returning substring will be
changed.
[ruby-dev:19116] allocator
Nobu Nakada posted a patch for a bug of allocation framework.
To call allocator, Tanaka Akira requested to keep Class#allocate
removed by the patch. Matz agreed both of the requests.
[ruby-dev:19131] Movement for Appropriate Subject
Akinori MUSHA noted that thread is growing without fixing
a typo of the subject, and it is continued although its
topic is changed.
So he suggested to change the subject properly as changing
topic.
[ruby-dev:19147] Object#to_a in Ruby 1.7
ABE Shigeru asked Matz’s intention to add warning of
Object#to_a in Ruby 1.7.2.
user@host ~$ ruby16 -e ‘p 1.to_a’
[1]
user@host ~$ ruby17 -e ‘p 1.to_a’
-e:1: warning: default `to_a’ will be obsolete
[1]
Matz answered that it means you should define SomeClass#to_a
only when the class has a feature naturally convertible into
Array.
Regards,
TAKAHASHI ‘Maki’ Masayoshi E-mail: maki@rubycolor.org