Ruby-dev summary 17714-17874

Summary of ruby-dev:

-------- #17714-17874 (2002-07-20 … 2002-08-01) --------

[ruby-dev:17840] Re: new mathn

In this topic, Keiju Ishitsuka introduced scope-in-state.rb to realize
dynamic scope. It is available at:

http://www.ruby-lang.org/en/raa-list.rhtml?name=scope-in-state

[ruby-dev:17855] non-blocking IO

Nobu Nakada mentioned that buffered data are discarded when EWOULDBLOCK
appears from an IO object which set the File::NONBLOCK flag.
Suggested solutions are as follows:

  • Ignore EWOULDBLOCK error.

  • Raise Errno::EWOULDBLOCK with buffered data.

  • Return buffered data.

It is not decided yet which solution we take.

[ruby-dev:17867] parenthesize argument(s) for future version

Koji Arai asked what the following message of ruby-1.7 means:

warning: parenthesize argument(s) for future version

Matz answered that the message means “Don’t omit parentheses of the
method call in arguments.”

···


Takaaki Tateishi ttate@kt.jaist.ac.jp

What code will produce this warning? I have never seen it.

Paul

···

On Mon, Aug 05, 2002 at 09:50:48PM +0900, Takaaki Tateishi wrote:

[ruby-dev:17867] parenthesize argument(s) for future version

Koji Arai asked what the following message of ruby-1.7 means:

warning: parenthesize argument(s) for future version

Matz answered that the message means “Don’t omit parentheses of the
method call in arguments.”

What code will produce this warning? I have never seen it.

pigeon% ruby -e 'a[b c]'
-e:1: warning: parenthesize argument(s) for future version
-e:1: undefined local variable or method `a' for #<Object:0x401bda9c> (NameError)
pigeon%

Guy Decoux

I have; asked the author about it and got it fixed. Using 1.7.2 on
Windows, require the “Mp3Tag” library.

···

— Paul Brannan pbrannan@atdesk.com wrote:

On Mon, Aug 05, 2002 at 09:50:48PM +0900, Takaaki Tateishi wrote:

[ruby-dev:17867] parenthesize argument(s) for future version

Koji Arai asked what the following message of ruby-1.7 means:

warning: parenthesize argument(s) for future version

Matz answered that the message means “Don’t omit parentheses of
the
method call in arguments.”

What code will produce this warning? I have never seen it.

=====

Use your computer to help find a cure for cancer: http://members.ud.com/projects/cancer/

Yahoo IM: michael_s_campbell


Do You Yahoo!?
Yahoo! Health - Feel better, live better