Ruby-dev summary 19069-19150

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 :wink:

[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

and how about RDoc and my fav yamlrb?

···

On Monday 23 December 2002 05:07 pm, TAKAHASHI Masayoshi wrote:

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

I’d also vote for pp/prettyprint.

Cheers

Dave

···

On Mon, 2002-12-23 at 18:07, TAKAHASHI Masayoshi wrote:

  • REXML
  • Test::Unit
  • open-uri.rb
  • ipaddr.rb
  • zlib
  • bigdecimal
  • mmap
  • rbtree
  • io-wait
  • bz2
  • bdb1/bdb
  • bitset/bitvector
  • narray
  • xmlscan
  • bsearch
  • csv

  * mmap

not a good idea,

  * bz2

not a good idea,

  * bdb1/bdb

not a good idea.

Guy Decoux

Hi, all,

From: “TAKAHASHI Masayoshi” maki@rubycolor.org
Sent: Tuesday, December 24, 2002 9:07 AM

This is a summary of ruby-dev ML in these days.

Thank you.

[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.

FYI: those are for 1.8 though its subject stated 1.6.9.

And a special note about Test::Unit here.
1.8 won’t cancel trace_func before at_exit so default test runner
of Test::Unit will work fine with debugger. :slight_smile:

Regards,
// NaHi

And Test::Mock please? I think it is already in CVS /rough somewhere.


Signed,
Holden Glova

···

On Tue, 24 Dec 2002 13:07, TAKAHASHI Masayoshi wrote:

  • 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.

I’d love to see log4r in the standard distribution.
Having a flexible logger is a must, IMO.

-mark.

···

TAKAHASHI Masayoshi maki@rubycolor.org wrote:

Standard library candidates are listed below:

Matz wants comments from Rubyists.

A thought about the list below. We currently request packages for the Windows
Installer on WIki. [http://www.rubygarden.org/ruby?WindowsInstaller]
Perhaps we could salvage this page to build a new list of modules accepted
for the standard library. I’m thinking something like:

  • REXML [S-2.4.5] [D-2.5.3] [WS-2.4.1] [WD-2.4.1]

The bracketed entries represent acceptance of a module into a distribution,
along with the version included in that version. S=Ruby stable. D=Ruby dev.
W=Windows Installer.

Might be too much work, might be YAGNI, but could be very helpful in tracking
a package’s appearance in the various distributions. If I wanted to use
open-uri in a public project, I’d definitely want to know what distributions
included it.

···

On Monday 23 December 2002 05:07 pm, TAKAHASHI Masayoshi wrote:

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.

_why

TAKAHASHI Masayoshi wrote:

Matz wants comments from Rubyists [regarding stardard libs].

I am very happy to see: narray and test/unit.

I am sad that I do not see rdoc and ri. (Maybe these are already
in the standard list…?)

···


Bil Kleb
NASA Langley Research Center
Hampton, Virginia, USA

Hi,

···

In message “Re: ruby-dev summary 19069-19150” on 02/12/24, Dave Thomas dave@pragprog.com writes:

I’d also vote for pp/prettyprint.

Thay are in 1.7 already.

						matz.

Hi,

···

In message “Re: ruby-dev summary 19069-19150” on 02/12/24, ts decoux@moulon.inra.fr writes:

  • mmap

not a good idea,

  • bz2

not a good idea,

  • bdb1/bdb

not a good idea.

Why? You don’t trust your products?

						matz.

In article 011d01c2ab0e$a916c9d0$96222fc0@godiva,

···

NAKAMURA, Hiroshi nakahiro@sarion.co.jp wrote:

Hi, all,

From: “TAKAHASHI Masayoshi” maki@rubycolor.org
Sent: Tuesday, December 24, 2002 9:07 AM

This is a summary of ruby-dev ML in these days.

Thank you.

[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.

FYI: those are for 1.8 though its subject stated 1.6.9.

If it’s for 1.8, then I’d like to see raa-install included - yes it’s a
bit young, but it would be nice to have some package installer included in
the standard distribution and the current raa-install can upgrade itself.

Phil

“Or perhaps the truth is less interesting than the facts?”
Amy Weiss (accusing theregister.co.uk of engaging in ‘tabloid journalism’)
Senior VP, Communications
Recording Industry Association of America

Beautiful! I always appreciate it when others mark things off of my
to-do list for me :slight_smile:

Nathaniel

···

“NAKAMURA, Hiroshi” nakahiro@sarion.co.jp wrote:

And a special note about Test::Unit here.
1.8 won’t cancel trace_func before at_exit so default test runner
of Test::Unit will work fine with debugger. :slight_smile:

Why? You don't trust your products?

They have all the same bug : see bz2 and you'll find it because I've
seen too late that I was not able to hide it :-)))

Guy Decoux

Oh - I thought we were voting for 1.6.8/9

Sorry

Dave

···

On Monday, Dec 23, 2002, at 23:29 US/Central, Yukihiro Matsumoto wrote:

Hi,

In message “Re: ruby-dev summary 19069-19150” > on 02/12/24, Dave Thomas dave@pragprog.com writes:

I’d also vote for pp/prettyprint.

Thay are in 1.7 already.