Project

General

Profile

Activity

From 10/19/2011 to 10/25/2011

10/25/2011

11:23 PM Feature #5474: keyword argument
On Mon, Oct 24, 2011 at 12:12 AM, Evan Phoenix <evan@phx.io> wrote:
>> |An alternative design is to treat all parameters as keyword
>> |arguments (as Evan said in [ruby-core:40195]).
>> |
>> | def create_point(x, y, color = "white",...
headius (Charles Nutter)
10:53 PM Feature #5481: Gemifying Ruby standard library
Hello,

2011/10/25 Lucas Nussbaum <lucas@lucas-nussbaum.net>:
> Instead, I would prefer a plan where the interpreter no longer releases with the stdlib, but just releases with a "core lib". Then the user would install the stdlib a...
mame (Yusuke Endoh)
10:23 PM Feature #5481: Gemifying Ruby standard library
Hello, Eric

Thank you. Your explanation helped me understand.

--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:23 PM Feature #5481: Gemifying Ruby standard library
Hello,

2011/10/25 Hiroshi Nakamura <nakahiro@gmail.com>:
> Sure, I will. But please don't wait to post your comment now. I should
> be still missing some issues like 'autoload'. I'll try to summarize
> per-role advantages/dis...
mame (Yusuke Endoh)
09:59 PM Feature #5481: Gemifying Ruby standard library
On Tue, Oct 25, 2011 at 14:45, Intransition <transfire@gmail.com> wrote:
>
>
> On Oct 25, 1:58 am, Lucas Nussbaum <lu...@lucas-nussbaum.net> wrote:
>> Issue #5481 has been updated by Lucas Nussbaum.
>>
>> (With my Debian hat)
>> ...
judofyr (Magnus Holm)
09:53 PM Feature #5481: Gemifying Ruby standard library
On Oct 25, 1:58 am, Lucas Nussbaum <lu...@lucas-nussbaum.net> wrote:
> Issue #5481 has been updated by Lucas Nussbaum.
>
> (With my Debian hat)
> I don't really like the plan of having releases of libraries both with the interprete...
trans (Thomas Sawyer)
02:57 PM Feature #5481: Gemifying Ruby standard library
(With my Debian hat)
I don't really like the plan of having releases of libraries both with the interpreter and as separate gems. Duplicating distribution paths for libraries will make things very complex since there would be no single ...
lucas (Lucas Nussbaum)
01:53 PM Feature #5481: Gemifying Ruby standard library
On Oct 24, 2011, at 8:49 PM, Yusuke Endoh wrote:
> Hello,
>
> Could you summarize advantages (if any) and disadvantages
> (or additional work) from POV of each person?

I will describe my thoughts

> - user

Users can obtai...
drbrain (Eric Hodel)
01:23 PM Feature #5481: Gemifying Ruby standard library
Hi,

On Tue, Oct 25, 2011 at 12:49, Yusuke Endoh <mame@tsg.ne.jp> wrote:
> Could you summarize advantages (if any) and disadvantages
> (or additional work) from POV of each person?

Sure, I will. But please don't wait to pos...
nahi (Hiroshi Nakamura)
06:51 AM Feature #5481: Gemifying Ruby standard library
=begin
== Background
There was an awesome keynote by Aaron at RubyKaigi2011.
* RubyKaigi 2011 keynote by Aaron Patterson (tenderlove) / AT&T Interactive: ((<URL:http://vimeo.com/26507951>))
* Most relevant parts for this topic
...
nahi (Hiroshi Nakamura)
06:49 AM Feature #5481: Gemifying Ruby standard library
=begin
== Implementation
=== Install stdlibs as 'default gems'
* Newly created stdlib gems version scheme: ruby's version + '.n'(dot plus a number)
* ex. WEBrick 'default gem': 2.0.0.0, 2.0.0.1, ...
* Gems which supports ...
nahi (Hiroshi Nakamura)
06:44 AM Feature #5481 (Closed): Gemifying Ruby standard library
=begin
Up-to-date summary of this proposal is at ((<URL:https://bugs.ruby-lang.org/projects/ruby/wiki/StdlibGem>))
== Motivation
* ruby's release cycle is slow for some standard libraries;
* ex. security fix for WEBrick, xm...
nahi (Hiroshi Nakamura)
10:14 PM Feature #5479: import StringIO into core, add String#to_io
I assume the IO produced from a StringIO would not have a real file descriptor, since...it doesn't have a real file descriptor.
Could be done in JRuby using a ByteArrayInputStream. I'm not sure what it would mean to have read *and* wr...
headius (Charles Nutter)
09:58 PM Feature #5479 (Rejected): import StringIO into core, add String#to_io
You propose two different feature requests at once.
I reject the first one, "import StringIO into core", because it doesn't seem necessary.
I'm considering the second one.
nobu (Nobuyoshi Nakada)
04:02 AM Feature #5479 (Rejected): import StringIO into core, add String#to_io
Currently, a lot of APIs accept both String and IO instances. To differentiate what has been handed to those methods, the code often checks the object's class. However, from statements made by Matz at this years RubyConf it became clear ... rkh (Konstantin Haase)
09:59 PM Feature #5482: Rubinius as basis for Ruby 2.0
How about we run on the Dalvik "I swear I'm not a JVM" VM and call it even? I think it can even fork! headius (Charles Nutter)
03:23 PM Feature #5482: Rubinius as basis for Ruby 2.0
Charles Nutter wrote:
>
> Remove fork, the C extension API, and ObjectSpace, and JRuby can be the new Ruby 2.0!

Add the JVM to the list and I'm sold!


;)

(Sorry Could Not Resist)

Bill
spatulasnout (B Kelly)
02:25 PM Feature #5482: Rubinius as basis for Ruby 2.0
Remove fork, the C extension API, and ObjectSpace, and JRuby can be the new Ruby 2.0! headius (Charles Nutter)
01:59 PM Feature #5482: Rubinius as basis for Ruby 2.0
(2011/10/25 12:46), Yusuke Endoh wrote:
> Come back when all 1.9 features and callcc are implemented :-)

Off topic:
I plan to propose that removing callcc from 2.0.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
11:36 AM Feature #5482: Rubinius as basis for Ruby 2.0
I think we should roll back to Evan's original pure-Ruby implementation and get rid of all that nasty C++. After all, if we truly believe that Ruby makes software development more enjoyable and more productive, then it only stands to rea... headius (Charles Nutter)
11:22 AM Feature #5482: Rubinius as basis for Ruby 2.0
Cute.
+1.
kosaki (Motohiro KOSAKI)
09:46 AM Feature #5482 (Rejected): Rubinius as basis for Ruby 2.0
I'll give you three great reasons why:
1. It's Ruby in Ruby (mostly).
2. Ruby is better.
3. Read #1 and #2, again.
As Rubyists, if we truly believe that Ruby makes software development more enjoyable and more productive, then it ...
trans (Thomas Sawyer)
07:40 PM Feature #5341: Add SSL session reuse to Net::HTTP
According to this tweet, ext/openssl in ruby 1.9.1 or earlier didn't work well with Google's SSL false-start servers, right?
https://twitter.com/#!/drbrain/status/115945404830449664
Then it might be a bug that existed in old version ...
nahi (Hiroshi Nakamura)
06:01 PM Feature #5341: Add SSL session reuse to Net::HTTP
The patch does;
- Let HTTP object keeps last SSLSession and reuse it when it tries to connect next time.
- Initializes a SSLContext only at first connection.
Comments;
- Is Net::HTTP object made for reusing? Is '5.times { http.s...
nahi (Hiroshi Nakamura)
05:48 PM Bug #5483 (Closed): Pathname doesn’t deal with encodings properly
Encoding.find('filesystem') # => Windows-1252
(Pathname('//Server/Share'.encode('filesystem'))+'Entry'.encode('filesystem')).to_path.encoding # => ASCII-8BIT
This actually seems to be a problem with File.join, as File.join doesn’t re...
now (Nikolai Weibull)
03:01 PM Feature #5480: remove GServer from stdlib
Agree for removal as the reasons Konstantin listed, but we might need migration period. How others think?
Do we add deprecation warning in 1.9.3 from now? (and remove GServer at 2.0.)
NB: We should remove lib/xmlrpc/httpserver.rb whi...
nahi (Hiroshi Nakamura)
04:12 AM Feature #5480 (Closed): remove GServer from stdlib
=begin
I propose removing the gserver library from Ruby's stdlib.
People should not use it for the following reasons:
* It has no tests at all.
* It does something completely different than it claims to do (the docs say it manage...
rkh (Konstantin Haase)
02:47 PM Bug #5476: ruby 1.9.3_rc1 segfaults in test_fork.rb on HPPA
Ruby on hppa is broken because hppa (at least last time I checked) was using a LinuxThreads-based thread implementation instead of NPTL.
Maybe it should not crash, but I don't expect that you will reach a working state anyway.
lucas (Lucas Nussbaum)
06:03 AM Bug #5476: ruby 1.9.3_rc1 segfaults in test_fork.rb on HPPA
Please give me C level backtrace.
kosaki (Motohiro KOSAKI)
01:52 AM Bug #5476 (Closed): ruby 1.9.3_rc1 segfaults in test_fork.rb on HPPA
Running tests on HPPA results in a segmentation fault when running test_fork.rb.
The downstream bug report at https://bugs.gentoo.org/show_bug.cgi?id=388123 has all the details and the full build log.
#246 test_fork.rb:24:in `<top ...
hansdegraaff (Hans de Graaff)
12:54 PM Revision 49f6242b (git): * include/ruby/defines.h: use "__sparc" instead of "sparc" and
"__sparc__".
* dln.c: ditto.
[ruby-dev:44694]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:23 AM Bug #5475: r33507以降SolarisでPTYが使えない
On Mon, 24 Oct 2011 22:59:20 +0900
Tanaka Akira <akr@fsij.org> wrote:

> ついでに、dln.c に
> #if defined(sun) && defined(sparc)
> というのがあって気がついたんですが、もしかして sparc も __sparc とかのほうが
> いいですかね。
> (うぅむ。SPARC の ABI を見ても載っていなかった...)

...
Anonymous
09:43 AM Bug #5477 (Rejected): to_f function / multiplication bug
Yes, see also:
http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#floats_imprecise
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
drbrain (Eric Hodel)
03:42 AM Bug #5477: to_f function / multiplication bug
I have been educated that this is more a floating number calculation issue than an issue with ruby itself by guys on stackoverflow see http://stackoverflow.com/questions/7879606/ruby-to-f-bug-or-multiplication-operator-bug
This document...
notomodungwa (Noto Modungwa)
03:26 AM Bug #5477 (Rejected): to_f function / multiplication bug
This is posted on stack overflow but I thought I should report it here
Hi I just ran into an issue where ruby's to_f function is giving me inconsistent results.
ruby-1.9.2-head :026 > 8.45.to_f * 100 => 844.9999999999999
ruby-1.9....
notomodungwa (Noto Modungwa)
09:34 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
I wonder if
str->:each_char
Would be viable.
trans (Thomas Sawyer)
03:46 AM Feature #5478 (Open): Add syntax to import Set into core
Set is a central data structure. However, a lot of Ruby developers use arrays for situations where it would be more reasonable to use a set. One reason for that is that it is way easier to use Array than Set at the moment. Another one is... rkh (Konstantin Haase)

10/24/2011

11:23 PM Bug #5475: r33507以降SolarisでPTYが使えない
2011年10月24日22:26 Naohisa GOTO <ngoto@gen-info.osaka-u.ac.jp>:
>
> なお、Solaris 9 およびそれ以前では posix_openpt が存在しないらしいため、
> defined(HAVE_PTSNAME) のところも同様に対策する必要がある気がしますが、
> 未だにSolaris9を使っている人が新しいRubyを求めることは無いと信じたい。

まぁ、分かっているのに直さない...
akr (Akira Tanaka)
10:40 PM Bug #5475 (Closed): r33507以降SolarisでPTYが使えない
This issue was solved with changeset r33519.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/pty/pty.c (get_device_once): delay rb_fd_set_cloexec() u...
akr (Akira Tanaka)
10:29 PM Bug #5475: r33507以降SolarisでPTYが使えない
On Mon, 24 Oct 2011 18:43:39 +0900
Tanaka Akira <akr@fsij.org> wrote:

> とりあえずワークアランドとして以下のようにすると避けられるでしょうか。

回避できました。以下のように正常終了します。
% ruby -rpty -e 'PTY.spawn("/bin/cat") { |r,w,id| p r; p w; p id }'
#<File:/dev/pts/28>...
Anonymous
04:56 PM Bug #5475 (Closed): r33507以降SolarisでPTYが使えない
r33507以降、SolarisでPTYがまともに使えません。
% ruby -rpty -e 'PTY.spawn("/bin/cat") { |r,w,id| p r; p w; p id }'
を実行すると、
-e:1:in `spawn': can't get Master/Slave device (RuntimeError)
from -e:1:in `<main>'
のようになります。
make test-all では...
ngoto (Naohisa Goto)
09:35 PM Revision 06a8e95f (git): * 2011-10-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:35 PM Revision 430f4da0 (git): * re.c (match_aref): Use <code> around indexing examples to prevent
hyperlinks. [ruby-talk:389396]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:57 PM Revision 2bb54418 (git): * complex.c: use "__sun" instead of "__sun__" to detect SunOS.
* math.c: ditto.
* hash.c: ditto.
* atomic.h: ditto.
* ext/io/wait/wait.c: ditto.
[ruby-dev:44693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:53 PM Feature #5474: keyword argument
Hi,

In message "Re: [ruby-core:40299] Re: [ruby-trunk - Feature #5474][Assigned] keyword argument"
on Mon, 24 Oct 2011 14:12:21 +0900, Evan Phoenix <evan@phx.io> writes:

|> | def create_point(x, y, color = "white", size ...
matz (Yukihiro Matsumoto)
09:53 AM Feature #5474: keyword argument
Hi,

In message "Re: [ruby-core:40290] [ruby-trunk - Feature #5474][Assigned] keyword argument"
on Sun, 23 Oct 2011 21:53:58 +0900, Yusuke Endoh <mame@tsg.ne.jp> writes:

|- it raises an TypeError when unknown keyword is g...
matz (Yukihiro Matsumoto)
01:49 PM Revision b317a4cd (git): * io.c: use "__sun" instead of "sun" to detect SunOS.
* dln.c: ditto.
* cont.c: ditto.
* ext/sdbm/_sdbm.c: ditto.
[ruby-dev:44693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:40 PM Revision 5153fd2a (git): * ext/pty/pty.c (get_device_once): delay rb_fd_set_cloexec() until
grantpt() on Solaris. grantpt() doesn't work with CLOEXEC on
Solaris 10.
reported by Naohisa GOTO. [ruby-dev:44688] [Bug #5475]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:08 AM Revision be561cbe (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:23 AM Feature #3187: Allow dynamic Fiber stack size
Tomoyuki Chikanaga wrote:
> I've written a patch. This patch adds some methods Fiber.default_vm_stacksize, Fiber.default_vm_stacksize=, Fiber#vm_stacksize and add an optional Hash argument to Fiber#initialize, and tests for them.
> ...
spatulasnout (B Kelly)
08:19 AM Bug #5237 (Closed): IO.copy_stream calls #read on an object infinitely many times
This issue was solved with changeset r33515.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (copy_stream_fallback_body): check nil for EOF of read me...
akr (Akira Tanaka)
06:41 AM Revision 9a82672c (git): Follow the error format changed by FreeBSD 9.
FreeBSD 8.2's last line is
"./configure: Can't open ./configure: No such file or directory\n""
but FreeBSD 9's is
"cannot open ./configure: No such file or directory\n"".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33517 b2dd03c8-...
naruse (Yui NARUSE)
06:16 AM Bug #5468: IPSocket#valid_v6? in ipaddr.rb contains incorrect regexps
=begin
'FF32:00FF:A12:34FF:FE56:7890::/96' is an IPv6 prefix, but Socket::AF_INET means IPv4 address. It works if I say Socket::AF_INET6.
$ ruby -v
ruby 1.9.4dev (2011-10-18 trunk 33473) [x86_64-openbsd4.9]
$ irb
irb(main):001...
kernigh (George Koehler)

10/23/2011

11:19 PM Revision 530160d6 (git): * 2011-10-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:19 PM Revision a28fe36c (git): * io.c (copy_stream_fallback_body): check nil for EOF of read method.
patch by Eric Wong. [ruby-core:39134] [Bug #5237]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:53 PM Feature #5474 (Closed): keyword argument
Hello,
I'm sending a patch for keyword arguments.
(This feature had been discussed in #5454, but I'm re-creating
a new ticket because the old ticket was resigtered in ruby-dev)
Matz himself proposed this feature. It is also...
mame (Yusuke Endoh)
08:39 PM Bug #5473 (Closed): Raise in method_missing causes infinite loop
=begin
The following code causes an infinite loop:
class ::Object

def method_missing(m, *a, &b)
raise ArgumentError.new("haha")
end

end
1.foo
This is due to the raise calling (({to_str})) on the ...
calamitas (Peter Vanbroekhoven)
07:25 PM Feature #5454 (Rejected): keyword arguments
すみません、メールがあちこちに言って議論が混乱しそうですね。
一度 close して立て直します。
Sorry for scattering the mails and confusing the discussion.
I close this once and I'll create a new ticket.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:52 PM Feature #5454: keyword arguments
Hello,
I've updated the patch (keyword-argument-patch-20111023.zip).
It modifies the core much.
So I'd like to commit it after koichi's review.
The rough strategy of the implementation is to interpret:
def foo(str: "foo", nu...
mame (Yusuke Endoh)
04:43 PM Bug #5471 (Closed): tkのマニュアルファイルのtypo
This Issue was closed by r33511. Thanks :) ayumin (Ayumu AIZAWA)
04:29 PM Bug #5471 (Closed): tkのマニュアルファイルのtypo
tkMANUAL_tcltklib.engにtypoがありました。
Index: ext/tk/MANUAL_tcltklib.eng
===================================================================
--- ext/tk/MANUAL_tcltklib.eng (revision 33510)
+++ ext/tk/MANUAL_tcltklib.eng (working copy)
...
takkanm (三村 益隆)
09:22 AM Revision b062e608 (git): * ext/tk/MANUAL_tcltklib.eng: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
09:05 AM Bug #5470 (Closed): r33507 and r33508 break the build under MinGW
akr (Akira Tanaka)
07:53 AM Bug #5470: r33507 and r33508 break the build under MinGW
On Sun, Oct 23, 2011 at 12:43 AM, Tanaka Akira <akr@fsij.org> wrote:
>
> Would you show the error messages?
>

compiling ../../../../ruby/io.c
../../../../ruby/io.c: In function 'rb_fd_set_cloexec':
../../../../ruby/io.c:163:23: ...
luislavena (Luis Lavena)
07:53 AM Bug #5470: r33507 and r33508 break the build under MinGW
2011/10/23 Luis Lavena <luislavena@gmail.com>:

> Bug #5470: r33507 and r33508 break the build under MinGW
> http://redmine.ruby-lang.org/issues/5470

> Definition and usage of rb_fd_set_cloexec cause MinGW (GCC 4.5.2 and GCC ...
akr (Akira Tanaka)
07:17 AM Bug #5470 (Closed): r33507 and r33508 break the build under MinGW
Definition and usage of rb_fd_set_cloexec cause MinGW (GCC 4.5.2 and GCC 4.6.1)
Usage of F_GETFD FD_CLOEXEC and F_SETFD should be isolated per-platform.
PS: Since we are targeting 2.0, any desire to generate platform-specific code ...
luislavena (Luis Lavena)
09:03 AM Revision bb98e0ec (git): * numeric.c (rb_infinity, rb_nan): aggregated member initializers
need braces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:51 AM Revision d332891f (git): * ext/io/wait/wait.c: ioctl(2) is declared in unistd.h on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
07:39 AM Revision 965dba4f (git): * ext/tk/MANUAL_tcltklib.eng: fix typo. [ruby-dev:44683] [Bug #5471]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:37 AM Bug #5375 (Closed): [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
Closing it out as duplicate of #5407 as efforts on solve the issue has been made in that issue.
Thank you.
luislavena (Luis Lavena)
06:37 AM Bug #5407 (Closed): Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
Closing it out as duplicate of #5407 as efforts on solve the issue has been made in that issue.
Thank you.
luislavena (Luis Lavena)
06:35 AM Bug #5407 (Assigned): Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
Thank you Hiroshi Shirosaki for your patch.
There is one slight detail on this and is that it uses result from `uname` and NT-5.1 which might not work if you build on newer version of Windows (NT-6.1 for Windows 7)
I think -fno-om...
luislavena (Luis Lavena)
12:12 AM Bug #4870 (Rejected): forkのテストが非常にまれに失敗する
だめ。
二度と再現できない。自己クローズします
kosaki (Motohiro KOSAKI)
12:11 AM Feature #4512 (Closed): [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant
Akr committed #5041. so we can close this ticket too.
kosaki (Motohiro KOSAKI)

10/22/2011

11:03 PM Revision fc024f19 (git): * 2011-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:03 PM Revision e7ff2958 (git): * io.c (rb_fd_set_cloexec): set close-on-exec flag only if F_GETFD is
defined. reported by Luis Lavena. [ruby-core:40281] [Bug #5470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:58 PM Feature #5041 (Closed): Set FD_CLOEXEC for all fds (except 0, 1, 2)
This issue was solved with changeset r33507.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/intern.h (rb_fd_set_cloexec): declared.
* io.c (...
akr (Akira Tanaka)
05:46 PM Feature #5100 (Closed): allow configurable timeouts in resolv.rb
This issue was solved with changeset r33504.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/resolv.rb: make timeout configurable for DNS query.
patch...
akr (Akira Tanaka)
01:49 PM Feature #5455: $SAFE should be removed
A more granular safe system would be nice. trans (Thomas Sawyer)
01:47 PM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
> "The former doesn't sound appropriate, because "glob" does not imply brace expansion originally."
I'm only going by the functionality of `Dir.<b>glob</b>`. But, whatever name seems best.
> ...
Okay, I mistook your example's use o...
trans (Thomas Sawyer)
11:29 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
=begin
Thomas Sawyer wrote:
> I see. In that case, adding a new `File.glob_match?` (or maybe just `File.match?`) would be better.
The former doesn't sound appropriate, because "glob" does not imply brace
expansion originally.
...
nobu (Nobuyoshi Nakada)
11:35 AM Revision df8126f9 (git): * test/openssl/test_ssl.rb (test_multibyte_read_write): start server
for each length to avoid race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:58 AM Revision b574a4d4 (git): * include/ruby/intern.h (rb_fd_set_cloexec): declared.
* io.c (rb_fd_set_cloexec): new function.
(ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag.
(rb_sysopen_internal): ditto.
(rb_pipe): ditto.
(io_reopen): ditto.
(io_cntl): ditto.
* process.c (rb_f_exec): change the ...
akr (Akira Tanaka)
08:50 AM Revision 00715f4c (git): describe Resolv::DNS#timeouts= and Resolv::DNS::Config#timeouts=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:47 AM Revision 93122606 (git): * lib/resolv.rb: fix a exception name in previous patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:46 AM Revision 16f4ecbc (git): * lib/resolv.rb: make timeout configurable for DNS query.
patch by Eric Wong. [ruby-core:38533] [Feature #5100]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:04 AM Bug #5244: Continuation causes Bus Error on Debian sparc
Sorry, but this is not a proper fix. While it will fix the immediate problem for Debian, other systems will still be affected. Out of curiosity I tried building the latest svn snapshot (including this fix) on a freebsd/sparc64 system, an... jurij (Jurij Smakov)
02:35 AM Bug #5469 (Closed): Bus Error when accessing NAN and INFINITY
This issue was solved with changeset r33502.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (rb_infinity, rb_nan): use union to prevent bus er...
ngoto (Naohisa Goto)

10/21/2011

11:02 PM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
I see. In that case, adding a new `File.glob_match?` (or maybe just `File.match?`) would be better.
File.expand_brace won't really help here b/c it would be tied to the actual file system. Part of the usefulness of fnmatch? is that it...
trans (Thomas Sawyer)
07:26 PM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
Because it comes from POSIX fnmatch() function.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fnmatch.html
nobu (Nobuyoshi Nakada)
04:01 PM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
Why more complexity? Is there reason that fnmatch? can't do it? trans (Thomas Sawyer)
12:39 PM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
=begin
What about a new method to expand braces?
File.expand_brace("{.g,t}*").any? {|pat| File.fnmatch?(pat, name)}
or a shorthand
File.expand_brace("{.g,t}*") {|pat| File.fnmatch?(pat, name)}
=end
nobu (Nobuyoshi Nakada)
06:46 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
I have moved it to the Feature tracker for you. drbrain (Eric Hodel)
03:08 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
I have. Obviously it's not earth shattering, but it really SHOULD be the same, so that glob functionality can be exactly emulated within code on arrays of strings. I've had need of this a couple of times.
trans (Thomas Sawyer)
02:10 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
I suppose this issue could be filed as a feature request since nobody else has complained about it yet. Sorry for the wrong categorization. Thanks. sunaku (Suraj Kurapati)
05:35 PM Revision f600a558 (git): * 2011-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:34 PM Revision 971769cd (git): * numeric.c (rb_infinity, rb_nan): use union to prevent bus error
caused by misalignment. [Bug #5469] [ruby-dev:44657]
* include/ruby/missing.h (INFINITY, NAN): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
04:09 PM Feature #5445: Need RUBYOPT -r before ARGV -r
My thought is that it makes sense that RUBYOPT comes first, b/c it defines starting environment.
In production is -r even used? Likelihood of compatibility issue is probably extremely low.
trans (Thomas Sawyer)
03:20 PM Bug #5469: Bus Error when accessing NAN and INFINITY
stream より sequence でしょうかね。 mrkn (Kenta Murata)
02:34 PM Bug #5469 (Assigned): Bus Error when accessing NAN and INFINITY
バイナリ互換性は問題ないんじゃないでしょうか。
ただ、streamはunion中の配列なので{}が足りない気がします。
# streamという名前はちょっと違和感ありますが。
nobu (Nobuyoshi Nakada)
01:24 PM Bug #5469 (Closed): Bus Error when accessing NAN and INFINITY
現在、INFINITYやNANが処理系で定義されていない場合、numeric.c 内の以下の変数を使います。
const unsigned char rb_infinity[] = "\x00\x00\x80\x7f";
const unsigned char rb_nan[] = "\x00\x00\xc0\x7f";
(上記はlittle endianの場合のみピックアップ)
しかし、この記述はワード境界のアラインメントを一切考慮していないため、
処理...
ngoto (Naohisa Goto)
01:05 PM Bug #5468 (Closed): IPSocket#valid_v6? in ipaddr.rb contains incorrect regexps
Code to reproduce:
require 'ipaddr'
IPAddr.new('FF32:00FF:A12:34FF:FE56:7890::/96', Socket::AF_INET) # See RFC4489
Fails with:
ArgumentError: invalid address
from /Users/jnh/.rvm/rubies/ruby-1.9.2-p290/lib/rub...
jamesotron (James Harton)
01:02 PM Revision cb2a69d8 (git): * gc.c (initial_params): pack in a struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:01 PM Revision fd807aa2 (git): * gc.c (rb_gc_set_params): set parameters always.
[ruby-dev:44648] [Bug #5467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:04 AM Feature #4788: resolv.rb refactoring
It would be nice to get some movement on this - I'm getting bug reports from people trying to use 1.9.x and RubyDNS.
Kind regards,
Samuel
ioquatix (Samuel Williams)
03:26 AM Revision b073b534 (git): * atomic.h: change Solaris checking macro because atomic_ops can work
not only with Sun Studio but also with Fujitsu C Compiler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)

10/20/2011

11:08 PM Bug #5467 (Closed): ENABLE_VM_OBJSPACE on Windows
r25000 で導入されたENABLE_VM_OBJSPACEとかいうマクロですが、r25008 での
変更によると、Windowsではobject space initializationの前にst_tableを必
要とするのでこのマクロを1にセットできないそうです。
なので、r33496 で問題のst_tableの確保をobject space initializationの後
まで遅延するようにしました。(厳密には、socketを使わない限り確保しない...
usa (Usaku NAKAMURA)
09:35 PM Bug #5464 (Closed): compile error in vm_eval.c
This issue was solved with changeset r33494.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ChangeLog: forgot [Bug #5464] [ruby-dev:44632] for the previ...
ngoto (Naohisa Goto)
01:15 PM Bug #5464 (Assigned): compile error in vm_eval.c
nobu (Nobuyoshi Nakada)
12:06 PM Bug #5464 (Closed): compile error in vm_eval.c
Solaris 10 にて Fujitsu C Compiler Version 5.6 を使ってtrunkをコンパイルしたところ、以下のコンパイルエラーが出ました。
"./vm_eval.c", line 275: error: initialization: constant expression is expected for variable: `args'
このコンパイラでは、Cの配列の初期値としてコンパイル時に確定するものしか使えないようです。
...
ngoto (Naohisa Goto)
08:40 PM Feature #4969: Subtle issue with require
I've gone ahead and released the *loadable* gem. You can read about it at http://github.com/rubyworks/loadable. I know there has been some talk here about creating a more flexible load path. loadable works by adding load hook objects to ... trans (Thomas Sawyer)
05:22 PM Revision 9c223dd5 (git): * 2011-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:22 PM Revision b878cfa9 (git): * ext/openssl/ossl_ns_spki.c: Complete documentation.
* test/openssl/test_ns_spki.rb: Integrate SPKI#to_text.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:55 PM Revision 402c8cf9 (git): * win32/win32.c (socklist_insert, socklist_lookup, socklist_delete):
new functions to wrap of st_insert(), st_lookup() and st_delete() to
socklist.
allocating socklist is deferred until it is really needed.
* win32/win32.c (exit_handler): delete socklist only if it is
initialized.
* win32/win32.c ...
U.Nakamura
01:48 PM Revision 98490d1f (git): * ext/openssl/ossl_pkcs5.c: add note on timing attacks and general
documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:09 PM Bug #5244 (Closed): Continuation causes Bus Error on Debian sparc
This issue was solved with changeset r33492.
Lucas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/defines.h (flush_register_windows): use software
...
nobu (Nobuyoshi Nakada)
11:35 AM Bug #5244: Continuation causes Bus Error on Debian sparc
I think a possible workaroud to distinguish 32-bit on Debian Sparc (or on Sparc Linux) is to check SIZEOF_VOIDP (value of sizeof(void *) set by configure) in addition to sparc specific macros.
FYI, on Solars10, Sun compiler (Sun Studi...
ngoto (Naohisa Goto)
01:01 PM Feature #3187: Allow dynamic Fiber stack size
> I don't think we should export vm_stack. It's purely implementation
> ...
You're right. It's better to provide more abstract way to tune memory usage of Fiber.
How about like the following?
Fiber.stacksize = 2.0 # => twice the ...
nagachika (Tomoyuki Chikanaga)
03:53 AM Feature #3187: Allow dynamic Fiber stack size
> Note that the size of VM stack is number of Objects and memsize of stack is vm_stacksize * sizeof(VALUE) bytes.
> Also note that this patch enable to change only VM stack size, but not machine stack size. I think when Fiber is implem...
kosaki (Motohiro KOSAKI)
12:35 PM Revision 67db3f81 (git): * ChangeLog: forgot [Bug #5464] [ruby-dev:44632] for the previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
12:30 PM Revision a1d30845 (git): * vm_eval.c (check_funcall): set array elements one-by-one to fix
compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
04:09 AM Revision 9c497531 (git): * include/ruby/defines.h (flush_register_windows): use software
trap on Debian Sparc 32-bit userspace. [Bug #5244]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:09 AM Revision 4574aeb7 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Revision 359e7979 (git): * test/openssl/test_pkcs5.rb: add RFC 6070 tests for PBKDF2 with
HMAC-SHA1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
02:42 AM Revision 72cbec3f (git): * util.c (mmprepare): fix for fragmental size.
* util.c (mmswap_, mmrot3_): portability improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:00 AM Bug #5432: ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
Thanks for confirming that it works for you Naohisa. With the clue you've provided and some additional work I have done in the interim, I now have two ways around this issue.
The build directory was clean, as it gets removed and recr...
enchanter (Tim Mooney)

10/19/2011

11:26 PM Feature #3187: Allow dynamic Fiber stack size
Hi,
I've written a patch. This patch adds some methods Fiber.default_vm_stacksize, Fiber.default_vm_stacksize=, Fiber#vm_stacksize and add an optional Hash argument to Fiber#initialize, and tests for them.
You can specify default VM ...
nagachika (Tomoyuki Chikanaga)
09:05 PM Revision 2e32ad81 (git): * ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki): Stub documentation
for Netscape SPKI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:34 PM Revision 9bec8ef5 (git): Imported minitest 2.6.2 (r6712)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
08:05 PM Revision 9cfc7a65 (git): * 2011-10-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:05 PM Revision 65ca601b (git): * lib/openssl/buffering.rb: Force multi-byte strings to be treated as
binary data.
* test/openssl/test_ssl.rb: Add test for it.
Thanks to Niklas Baumstark for reporting the issue!
[Ruby 1.9 - Bug #5233] [ruby-core:39120]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33485 b2dd03c8-39d4-4d8f-98ff-82...
MartinBosslet (Martin Bosslet)
05:46 PM Feature #5065 (Rejected): Allow "}" as an alternative to "end"
Rejected because there's no discussion about this issue for three months. technohippy (Yasushi ANDO)
04:11 PM Bug #5244: Continuation causes Bus Error on Debian sparc
My machine is UltraSparc III based, so it's a v9 and 64-bit. For historical reasons though Debian is using 64-bit kernel and 32-bit userspace:
jurij@debian:~$ gcc -E -dM -xc /dev/null | grep -i -e sparc -e arch64
#define sparc 1
#de...
jurij (Jurij Smakov)
02:28 PM Bug #5244: Continuation causes Bus Error on Debian sparc
knu says that 'flushw' is correct for SparcV9, but not 'ta 0x03'.
And your platform seems 32bit, right?
Then why defined(__sparc_v9__) || defined(__sparcv9) || defined(__arch64__) is true?
Can't you show the result from:
$ gcc -E -...
nobu (Nobuyoshi Nakada)
11:29 AM Bug #5244 (Open): Continuation causes Bus Error on Debian sparc
At r3285, defined(__FreeBSD__) was lost.
I have no idea if 'flushw' is preferable to 'ta 0x03' on FreeBSD.
nobu (Nobuyoshi Nakada)
08:05 AM Bug #5244: Continuation causes Bus Error on Debian sparc
I think we figured it out. The problem arises in cont_save_machine_stack() function, where the register windows are flushed using 'flushw' assembler instruction, and the machine stack is then saved by memcpy'ing it from cont->machine_sta... jurij (Jurij Smakov)
12:04 PM Bug #5463: PTY or IO.select timing issue results in no EOF
Oops! I uploaded the wrong file. Apologies, here is the correct file (the 2.3 kB one). thinkerbot (Simon Chiang)
12:02 PM Bug #5463 (Rejected): PTY or IO.select timing issue results in no EOF
I have observed that when running a shell through PTY the slave will sometimes fail to produce an EOF after an exit command. As a result polling via IO.select can timeout. A full example is attached. This is a simplified example illus... thinkerbot (Simon Chiang)
11:44 AM Bug #5449: nested constant opasign not working
I checked this just for my curiosity.
Foo ||= 42
does not work on ruby1.8,
::Foo = 42 # constant re-assignment
Foo = Foo || 42 # uninitialized constant
and these two statements raise exceptions on ruby1.9. IMHO, ...
technohippy (Yasushi ANDO)
11:32 AM Bug #5438 (Closed): [PATCH] Add exception hierarchy in Exception class documentation.
This issue was solved with changeset r33481.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (Init_Exception): Add hierarchy of Exception subcla...
drbrain (Eric Hodel)
11:32 AM Bug #5438: [PATCH] Add exception hierarchy in Exception class documentation.
I modified your patch to use bullet lists and removed the top-most Exception bullet. I also added notes for the default require/rescue subclasses. drbrain (Eric Hodel)
11:27 AM Feature #5462 (Closed): TLS support for WEBrick::HTTPProxyServer
Currently, HTTPProxyServer does not proxy https requests. MartinBosslet (Martin Bosslet)
11:20 AM Revision 1a2f6357 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:14 AM Bug #5110 (Closed): Ruby SSL error - sslv3 alert unexpected message
If nobody disagrees, I would like to close this. MartinBosslet (Martin Bosslet)
11:07 AM Bug #5393 (Closed): some style fixes in enum.c docs
This issue was solved with changeset r33480.
b, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c: Reformat block args to a single standard, { |args| ... }.
...
drbrain (Eric Hodel)
08:07 AM Revision 6b8d4ab8 (git): * version.h (RUBY_RELEASE_DATE): finally declare start of 2.0 work!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
07:37 AM Feature #5461 (Assigned): Add pipelining to Net::HTTP
=begin
The attached patch adds HTTP/1.1 pipelining support to Net::HTTP.
Pipelining is only performed on HTTP/1.1 servers. Net::HTTP will check if the server supports pipelining by using the first request in the list. The user can ...
drbrain (Eric Hodel)
02:52 AM Revision 34fb3642 (git): * error.c (Init_Exception): Document $! and $@. Provide
recommendations for creating exceptions for a library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:32 AM Revision 62bd3dd4 (git): * error.c (Init_Exception): Add hierarchy of Exception subclasses.
Based on patch by Sylvain Daubert. [Ruby 1.9 - Bug #5438]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:07 AM Revision 2a4ce075 (git): * enum.c: Reformat block args to a single standard, { |args| ... }.
Patch by b t. [Ruby 1.9 - Bug #5393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
01:53 AM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
> There is only one proposal from me.
> In mswin, /Oy- is always specified.

Why is this required for mswin?
-roger-
Anonymous
01:52 AM Revision dc56a459 (git): Ignore extconf generated files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:23 AM Feature #5454: keyword arguments
Hello,
2011/10/19 Joshua Ballanco <jballanc / gmail.com>:
> For example, should this work:
> ...
Though the example will not work because x is in the different
variable scope, you can write any expression as a default value,
like:
de...
mame (Yusuke Endoh)
12:53 AM Feature #5454: keyword arguments
On Tue, Oct 18, 2011 at 11:31 AM, Yukihiro Matsumoto <matz@ruby-lang.org>wrote:

> Hi,
>
> In message "Re: [ruby-core:40207] Re: [Ruby 2.0 - Feature #5454] keyword
> arguments"
> on Wed, 19 Oct 2011 00:14:13 +0900, Joshu...
jballanc (Joshua Ballanco)
12:53 AM Feature #5454: keyword arguments
Hello,

2011/10/19 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |With the current proposal for keyword arguments, I think MacRuby would not
> |be able to implement this feature.
>
> I know.  But I have warned MacRuby guys for years...
mame (Yusuke Endoh)
12:53 AM Feature #5454: keyword arguments
Hi,

In message "Re: [ruby-core:40209] Re: [Ruby 2.0 - Feature #5454] keyword arguments"
on Wed, 19 Oct 2011 00:31:44 +0900, Yusuke Endoh <mame@tsg.ne.jp> writes:

|Interesting. Matz, which do you prefer?

I prefer th...
matz (Yukihiro Matsumoto)
12:53 AM Feature #5454: keyword arguments
Hello,

2011/10/19 Joshua Ballanco <jballanc@gmail.com>:
>     # Ruby 2.0 proposal:
>     def foo(a: 1, b: 2, c: 3)
>         puts [a, b, c]
>     end
>     foo(a: 'one', b: 'two', c: 'three') #
mame (Yusuke Endoh)
12:53 AM Feature #5454: keyword arguments
Hi,

In message "Re: [ruby-core:40207] Re: [Ruby 2.0 - Feature #5454] keyword arguments"
on Wed, 19 Oct 2011 00:14:13 +0900, Joshua Ballanco <jballanc@gmail.com> writes:

|With the current proposal for keyword arguments, I...
matz (Yukihiro Matsumoto)
12:23 AM Feature #5454: keyword arguments
On Tue, Oct 18, 2011 at 1:33 AM, Haase, Konstantin <
Konstantin.Haase@student.hpi.uni-potsdam.de> wrote:

> Also, these are really named arguments in a Python sense, not keyword
> arguments in a Smalltalk sense.
>

I just ...
jballanc (Joshua Ballanco)
01:15 AM Revision e4af86d6 (git): * 2011-10-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:15 AM Revision c35204f7 (git): * ext/openssl/ossl_ssl.c: Remove set, but unused variables.
ext/openssl/ossl_pkey.c: ditto
* ext/openssl/ossl_pkey_dh.c: Make functions passed to
rb_thread_blocking_region return VALUE instead of void.
ext/openssl/ossl_pkey_dsa.c: ditto
ext/openssl/ossl_pkey_rsa.c: ditto
git-svn-id: svn+...
MartinBosslet (Martin Bosslet)
 

Also available in: Atom