Project

General

Profile

Activity

From 08/26/2013 to 09/01/2013

09/01/2013

08:33 PM Bug #8676: ruby 2.0 can not require or load the source file with non-ascii path name
This patch makes the file functions explicitly call the *W version of the file functions. Isn't it better to provide ... thomthom (Thomas Thomassen)
01:23 PM Feature #8840: Yielder#state
2013/9/1 marcandre (Marc-Andre Lafortune) <[email protected]>:
>
> Your example will fail if iterated a se...
akr (Akira Tanaka)
04:39 AM Feature #8840: Yielder#state
judofyr (Magnus Holm) wrote:
> Can't you just use the closure?
Your example will fail if iterated a second time....
marcandre (Marc-Andre Lafortune)
10:55 AM Bug #7716: Readdressing Autoload
Hmmm.. require and load are never invoked asynchronously?
I am not sure it matters though. Its use is for very spe...
trans (Thomas Sawyer)
05:32 AM Feature #6721: Object#yield_self
Another idea for the name: `Object#cast`.
```ruby
class Object
def cast(*args)
if block_given?
yie...
alexeymuranov (Alexey Muranov)
04:47 AM Feature #2509: Recursive freezing?
Thanks for considering it.
I am a bit surprised about the reason for your rejection.
I mean, there are many way...
marcandre (Marc-Andre Lafortune)
04:20 AM Feature #8846: Publicize Module#include
Great :-)
Taking Rails as an example, I find that the next in line are `define_method`, `remove_const`, `alias_met...
marcandre (Marc-Andre Lafortune)
04:05 AM Feature #7292 (Open): Enumerable#to_h
matz (Yukihiro Matsumoto) wrote:
> What I wanted was coner case behavior of #to_h, e.g. what if elements are not 2 e...
marcandre (Marc-Andre Lafortune)
03:41 AM Feature #7274: UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
matz (Yukihiro Matsumoto) wrote:
> The structure of instances of subclass (TT_XXX) may be different from superclasse...
marcandre (Marc-Andre Lafortune)
12:09 AM Feature #8700 (Closed): Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
This issue was solved with changeset r42746.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
akr (Akira Tanaka)

08/31/2013

11:09 PM Bug #8730: "rescue Exception" rescues Timeout::ExitException
timeout の変更自体について特に意見はないのですが。
`rescue Exception` は timeout に限定した問題ではなく、
exit ができないとか、Ctrl-C が効かないとか、トラブルになりがちです。
...
mame (Yusuke Endoh)
10:45 PM Bug #8730: "rescue Exception" rescues Timeout::ExitException
すでに修正されているようなので蛇足気味ですが、
githubなどで公開されているソースコードを調べますと、
`rescue Exception` を使っているライブラリコードは広く散見され、
書籍などで紹介されている wor...
takiuchi (Genki Takiuchi)
10:44 PM Bug #8847: opt_regexpmatch2 does not use method caching
Ah! I was misunderstanding that this is a bug fix.
Sorry for bother you.
nagachika (Tomoyuki Chikanaga)
10:27 PM Bug #8847: opt_regexpmatch2 does not use method caching
nagachika: There's no incorrect behaviour that r42742 fixes - it is merely a performance improvement.
You can use ...
Anonymous
10:21 PM Bug #8847: opt_regexpmatch2 does not use method caching
Hello, charlisome.
I think this fix should be backported to ruby_2_0_0.
Could you give me a testcase to cover thi...
nagachika (Tomoyuki Chikanaga)
03:07 PM Bug #8847 (Closed): opt_regexpmatch2 does not use method caching
This issue was solved with changeset r42742.
Charlie, thank you for reporting this issue.
Your contribution to Ruby i...
Anonymous
02:56 PM Bug #8847 (Closed): opt_regexpmatch2 does not use method caching
The opt_regexpmatch2 instruction does not use method caching, instead it uses rb_funcall internally.
opt_regexpmat...
Anonymous
10:34 PM Bug #8845 (Rejected): Timeout::ExitException が意図せずに rescue される事がある
削除はできないので、閉じますね。
(勘違いの勘違いか…)
sorah (Sorah Fukumori)
10:30 PM Bug #8845: Timeout::ExitException が意図せずに rescue される事がある
すみません、重複ですね。
自分で削除する権限が無いので、削除いただけるとありがたいです。
takiuchi (Genki Takiuchi)
01:40 PM Bug #8845 (Open): Timeout::ExitException が意図せずに rescue される事がある
おおっと、ごめんなさい。勘違いだったようです… sorah (Sorah Fukumori)
01:38 PM Bug #8845 (Rejected): Timeout::ExitException が意図せずに rescue される事がある
https://bugs.ruby-lang.org/issues/8730 と重複しているように思えます
sorah (Sorah Fukumori)
01:33 PM Bug #8845 (Rejected): Timeout::ExitException が意図せずに rescue される事がある
timeout.rb の実装が内部的に利用している Timeout::ExitException の無名派生クラスが、
意図しないタイミングで rescue され、timeout処理が実行されないケースがある。
以下の例では、Ti...
takiuchi (Genki Takiuchi)
10:21 PM Feature #8809 (Closed): Process.clock_getres
This issue was solved with changeset r42744.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
akr (Akira Tanaka)
09:26 PM Feature #7292: Enumerable#to_h
=begin
[omit verbose intro] suffice to say we can figure the most fitting definition for (({Enumerable#to_h})) is sim...
trans (Thomas Sawyer)
01:38 PM Feature #7292 (Feedback): Enumerable#to_h
What I wanted was coner case behavior of #to_h, e.g. what if elements are not 2 elements arrays.
What kind of checks...
matz (Yukihiro Matsumoto)
07:38 AM Feature #7292 (Open): Enumerable#to_h
matz (Yukihiro Matsumoto) wrote:
> But I am not sure the following simple implementation works OK, e.g. what if an e...
marcandre (Marc-Andre Lafortune)
09:22 PM Feature #8842: Integer#[] with range
> I take it that the use of '&&' operator in the first 2 corner cases is a typo.
Yes, sorry.
> in the 4th corne...
mame (Yusuke Endoh)
07:24 PM Feature #8842: Integer#[] with range
I take it that the use of '&&' operator in the first 2 corner cases is a typo. But, pardon my ignorance,
in the 4th ...
Anonymous
02:25 PM Feature #8842: Integer#[] with range
Accepted.
Matz.
matz (Yukihiro Matsumoto)
10:48 AM Feature #8842 (Closed): Integer#[] with range
=begin
I propose to extend Integer#[] accepting a range.
0b01001101[2, 4] == 0b0011
0bHGFEDCBA[2, 4] == ...
mame (Yusuke Endoh)
08:57 PM Feature #8748: Integer#popcount (Fixnum#popcount and Bignum#popcount)
boris_stitnicky (Boris Stitnicky) wrote:
> The issue here seems to be, whether BitArray (like https://github.com/pete...
alexeymuranov (Alexey Muranov)
07:54 PM Feature #8748: Integer#popcount (Fixnum#popcount and Bignum#popcount)
The issue here seems to be, whether BitArray (like https://github.com/peterc/bitarray ) is desirable in stdlib or core.
Anonymous
03:51 PM Feature #8748 (Rejected): Integer#popcount (Fixnum#popcount and Bignum#popcount)
I don't see the needs to add methods to use integers as bit-arrays.
Matz.
matz (Yukihiro Matsumoto)
07:23 PM Feature #8840: Yielder#state
On Sat, Aug 31, 2013 at 12:52 AM, marcandre (Marc-Andre Lafortune) <
[email protected]> wrote:

> Defini...
judofyr (Magnus Holm)
01:54 PM Feature #8840 (Feedback): Yielder#state
I understand the motivation, and how it works. It is very simple.
But I hesitate to introduce state easily in this ...
matz (Yukihiro Matsumoto)
07:52 AM Feature #8840 (Rejected): Yielder#state
Defining an Enumerator that require a state is currently troublesome. For example, it is not really possible to defin... marcandre (Marc-Andre Lafortune)
06:26 PM Feature #8839: Class and module should return the class or module that was opened
+1 Anonymous
03:34 AM Feature #8839: Class and module should return the class or module that was opened
When thinking of potential incompatibilities, the only case I could think of where I'd ever used the result of `class... marcandre (Marc-Andre Lafortune)
02:57 AM Feature #8839 (Assigned): Class and module should return the class or module that was opened
With the change for https://bugs.ruby-lang.org/issues/3753, "def" forms now return the symbolic name of the method de... headius (Charles Nutter)
06:17 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
I would also be interested in the answer to se8's question. Anonymous
05:30 PM Feature #8849 (Rejected): Thread#throw
Thread#raise と同様に、Threadのcontextでthrowする。
t = Thread.current
catch :foo do
Thread.new do
t.throw :foo
...
takiuchi (Genki Takiuchi)
05:29 PM Feature #8838 (Assigned): Enhancing Numeric#step
=begin
[[DevelopersMeeting20130831Japan]]にてまつもとさんにOKをいただきましたので、近いうちに入れます。
=end
knu (Akinori MUSHA)
12:47 AM Feature #8838 (Closed): Enhancing Numeric#step
DevelopersMeeting20130831Japan用に起票します。
ちょうど3年ほど前、 [ruby-dev:42194] で私が提案したのが以下の内容です。
>  Numeric#step の仕様の拡張を提案し...
knu (Akinori MUSHA)
05:27 PM Feature #8696: Process.setproctitle
プラットフォーム依存についてはすでに書いてありますが、
サポートされない環境でも例外は発生しない旨、追記しておきます。
knu (Akinori MUSHA)
03:10 PM Feature #8696: Process.setproctitle
この提案そのものには賛成なんですが、プラットフォーム依存になりそうなので、環境依存、処理系依存が明記されれば。
まつもと ゆきひろ /:|)
matz (Yukihiro Matsumoto)
05:18 PM Feature #8779: Binding#yourself
Ruby開発社会議20130831での議論の結果、
Binding#receiver
ということに。
takiuchi (Genki Takiuchi)
04:47 PM Bug #7716 (Feedback): Readdressing Autoload
I understand your motivation.
But autoload is invoked asynchronously so hooking it may be dangerous sometimes espe...
matz (Yukihiro Matsumoto)
04:44 PM Feature #8804 (Open): ONCE syntax
matz: Here's some code I wrote recently that would benefit from ONCE:
https://github.com/charliesome/better_errors...
Anonymous
04:42 PM Feature #8804 (Rejected): ONCE syntax
I don't see any major use-case for the function.
Reopen if you (or anyone else) have.
Matz.
matz (Yukihiro Matsumoto)
04:37 PM Misc #8843: ChangeLog のエンコーディングを UTF-8 に変更しませんか
ラテン文字圏の (一部の) 新聞や雑誌、学実雑誌、書籍などは大体次のようにします。
ラテン文字の場合 (アクセントなど付も含む)、そのまま。
ラテン文字以外の場合、ラテン文字 (アクセントなど付も含む) に変更されたものと、都合に...
duerst (Martin Dürst)
11:46 AM Misc #8843: ChangeLog のエンコーディングを UTF-8 に変更しませんか
例えばアラビア文字の名前でも原語表記するんですかね?
もしそうなら一部のエディタで ChangeLog がメンテナンスできなくなりそうな気がしました。
英語圏の人は日本語人名も書いてほしくないだろうし、どこまで許すかという基準...
mame (Yusuke Endoh)
11:19 AM Misc #8843 (Rejected): ChangeLog のエンコーディングを UTF-8 に変更しませんか
このチケットは [Bug #8819] からのforkです。
本日は開発者会議ということなので、ChangeLogのエンコーディングをUTF-8に変更することを
提案したいと思います。
kosaki (Motohiro KOSAKI)
03:59 PM Feature #8848 (Open): Syntax for binary strings
In commit 37486, Yui (Naruse) added a String#b method as proposed in http://bugs.ruby-lang.org/issues/6767.
String...
duerst (Martin Dürst)
03:57 PM Feature #8796: Use GMP to accelerate Bignum operations
This is internal. So go ahead and experiment.
Matz.
matz (Yukihiro Matsumoto)
03:52 PM Feature #8738 (Rejected): Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
I don't see the needs to add methods to use integers as bit-arrays.
Matz.
matz (Yukihiro Matsumoto)
03:47 PM Feature #8700: Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
Accepted. It should be work as 2's complement for negative numbers.
Matz.
matz (Yukihiro Matsumoto)
03:21 PM Feature #8579: Frozen string syntax
I accept the suffix idea ("frozen string"f), and string concatenation for frozen strings will be invalid ("foo"f "bar... matz (Yukihiro Matsumoto)
03:13 PM Feature #8657: Make Find.find respect the encodings of arguments
現在findのメンテナがいないようなのであわせて立候補します。 ktsj (Kazuki Tsujimoto)
03:06 PM Feature #8846: Publicize Module#include
The basic motivation behind #include (and #prepend) being private is we didn't assume that kind of coding style.
As ...
matz (Yukihiro Matsumoto)
02:15 PM Feature #8846 (Closed): Publicize Module#include
I propose changing Module#include to a public method.
* Background
Module#include is currently a private method.
...
matsuda (Akira Matsuda)
03:00 PM Feature #8026 (Feedback): Need Module#prepended_modules
I basically accept the idea.
But according to the slide, the optional `include_ancestors` is true, but it does mea...
matz (Yukihiro Matsumoto)
08:29 AM Feature #8026: Need Module#prepended_modules
Slide added. I'm also proposing an optional flag to search only the receiver and not the ancestors.
I didn't put i...
marcandre (Marc-Andre Lafortune)
02:46 PM Feature #7274 (Rejected): UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
It is due to implementation limitation of CRuby.
The structure of instances of subclass (TT_XXX) may be different ...
matz (Yukihiro Matsumoto)
02:38 PM Feature #2509 (Rejected): Recursive freezing?
`Object#deep_freeze` means you can freeze everything recursively, by definition.
But what if the target object accid...
matz (Yukihiro Matsumoto)
08:59 AM Feature #2509: Recursive freezing?
Slide added for `deep_freeze`
marcandre (Marc-Andre Lafortune)
01:29 PM Bug #8844 (Closed): Nested ParseError in rexml
以下のように不正なXMLをパースすると
require 'rexml/document'
REXML::Document.new("<a>foo</b>")
例外が発生し、以下のようなメッセージが表示されます(完全なもの...
ohai (Ippei Obayashi)
01:29 PM Feature #8726: Class#source_location
了解です。Timeoutのバグは別なissueにしますね。 takiuchi (Genki Takiuchi)
01:25 PM Feature #6373: public #self
I can accept `#itself`. I want to see it isn't conflict with existing methods.
Matz.
matz (Yukihiro Matsumoto)
12:14 PM Feature #6373: public #self
marcandre: I think you made a mistake in your slide. It says "Returns the class of obj", but it should say "Returns obj" Anonymous
06:59 AM Feature #6373: public #self
Slide attached.
I hope to win the prize for simplest slide too.
marcandre (Marc-Andre Lafortune)
12:53 PM Misc #8835: Introducing a semantic versioning scheme and branching policy
>> えっ。
>> いまのパッチレベルリリースはほとんどのケースでシンボルの追加があると思いますが。
>
> はい。意味を変えるという提案なので。仮に 2.0 系列に新しいスキームを適用
> していたとすると、パッチ...
kosaki (Motohiro KOSAKI)
12:23 PM Misc #8835: Introducing a semantic versioning scheme and branching policy
At Fri, 30 Aug 2013 19:49:59 -0400,
KOSAKI Motohiro wrote:
> えっ。
> いまのパッチレベルリリースはほとんどのケースでシンボルの追加があると思いますが。
...
Anonymous
11:23 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
>> というわけで、カウンタープロポーサルとして、TEENYを0固定にして、パッチレベルはsymbol削減方向の非互換はしないが、symbol追加の非互換はあり(rb_,
>> ruby_ prefixの関数を自モジュールにつか...
kosaki (Motohiro KOSAKI)
09:53 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
(13/08/31 8:49), KOSAKI Motohiro wrote:
> というわけで、カウンタープロポーサルとして、TEENYを0固定にして、パッチレベルはsymbol削減方向の非互換はしないが、symbol追加の非...
nobu (Nobuyoshi Nakada)
08:53 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
2013/8/30 Akinori MUSHA <[email protected]>:
> At Fri, 30 Aug 2013 21:49:34 +0900,
> I wrote:
>> misc #8835: In...
kosaki (Motohiro KOSAKI)
02:53 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
At Fri, 30 Aug 2013 21:49:34 +0900,
I wrote:
> misc #8835: Introducing a semantic versioning scheme and branchin...
Anonymous
08:17 AM Bug #8841 (Closed): Module#included_modules and prepended modules
The documentation for Module#included_modules currently states "Returns the list of modules included in +mod+."
Th...
marcandre (Marc-Andre Lafortune)
07:57 AM Bug #7696 (Closed): Lazy enumerators with state can't be rewound
I created a new feature request #8840, so I'm closing this. marcandre (Marc-Andre Lafortune)
02:20 AM Bug #7648 (Rejected): GServer does not close cleanly from signal interrupt context
Holding mutex in trap is deadlockable. It is what ruby complained. The best workaround is to make new thread in trap... kosaki (Motohiro KOSAKI)
02:16 AM Feature #7918 (Assigned): Create Signal.in_trap?()
kosaki (Motohiro KOSAKI)
01:10 AM Feature #8793 (Feedback): Ruby 2.0 and Threads under HPUX
Thank you, and does this patch work? nobu (Nobuyoshi Nakada)
12:38 AM Feature #8426: Implement class hierarchy method caching
nobu: I see you've already fixed the problem. I've removed the commit that changes ruby/encoding.h from the pull requ... Anonymous
12:14 AM Feature #8426: Implement class hierarchy method caching
Why do you remove prototype declarations in ruby/encoding.h, but add old K&R style declarations instead? nobu (Nobuyoshi Nakada)

08/30/2013

11:38 PM Feature #8426: Implement class hierarchy method caching
ko1, have you had a chance to review https://github.com/ruby/ruby/pull/387 ?
Thanks
Anonymous
11:32 PM Bug #8837: net/telnet: strange implementation
Seems that it should be:
```ruby
if pt = buf.rindex(/\r\z/no)
buf, rest = buf[0 ... ...
nobu (Nobuyoshi Nakada)
10:33 PM Bug #8837 (Rejected): net/telnet: strange implementation
=begin
Net::Telnet#waitfor has IMHO a very strange line. See https://github.com/ruby/ruby/blob/trunk/lib/net/telnet....
paddor (Patrik Wenger)
10:13 PM Bug #8836 (Closed): [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
rbenv -v
rbenv 0.4.0-49-g8b04303
bundle --ver...
dammer (Damir Sharipov)
09:49 PM Misc #8835 (Closed): Introducing a semantic versioning scheme and branching policy
=begin
[This is a presentation for [[ruby:DevelopersMeeting20130831Japan]].]
Ruby's versioning scheme is curren...
knu (Akinori MUSHA)
08:53 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
(13/08/30 15:26), Nobuyoshi Nakada wrote:
> (13/08/29 18:54), ko1 (Koichi Sasada) wrote:
>> Problems are
>> ...
nobu (Nobuyoshi Nakada)
03:29 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
(13/08/29 18:54), ko1 (Koichi Sasada) wrote:
> Problems are
> (a) miniruby can't require extension libraries
...
nobu (Nobuyoshi Nakada)
02:53 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
(2013/08/30 12:14), SASADA Koichi wrote:
> A patch for this approach:
http://www.atdot.net/sp/raw/m5xbsm

No...
ko1 (Koichi Sasada)
02:23 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
"ko1 (Koichi Sasada)" <[email protected]> wrote:
> Another solution is to embed thread.rb features (CV and Que...
normalperson (Eric Wong)
01:53 PM Feature #8834: Kernel#load_relative
(13/08/30 12:53), Joel VanderWerf wrote:
> On 08/29/2013 07:27 PM, sawa (Tsuyoshi Sawada) wrote:
>> It seems to ...
nobu (Nobuyoshi Nakada)
12:59 PM Feature #8834: Kernel#load_relative
On 08/29/2013 07:27 PM, sawa (Tsuyoshi Sawada) wrote:
> It seems to me that people are using `Kernel#require_relat...
Anonymous
12:02 PM Feature #8834: Kernel#load_relative
sawa (Tsuyoshi Sawada) wrote:
> > phluid61
>
> I think what you wrote is the other way around. The only-once feat...
phluid61 (Matthew Kerwin)
11:27 AM Feature #8834: Kernel#load_relative
> phluid61
I think what you wrote is the other way around. The only-once feature is due to the division of labor, no...
sawa (Tsuyoshi Sawada)
10:39 AM Feature #8834: Kernel#load_relative
This is an unusual description of the "intended difference" between the methods. I understood the difference between ... phluid61 (Matthew Kerwin)
10:32 AM Feature #8834 (Open): Kernel#load_relative
The intended difference between `Kernel#require` and `Kernel#load` is that the former is for external libraries and t... sawa (Tsuyoshi Sawada)
11:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
(2013/08/30 10:45), Tanaka Akira wrote:
> I think you should write toy example application.

For example:

...
ko1 (Koichi Sasada)
10:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
2013/8/29 ko1 (Koichi Sasada) <[email protected]>:

> How about to permit Queue operation in trap handler wi...
akr (Akira Tanaka)
10:17 AM Bug #8831: test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry
FreeBSD also has failures:
4) Failure:
OpenSSL::TestPair#test_read_nonblock_no_exception [/home/chkbuild/build/...
naruse (Yui NARUSE)

08/29/2013

08:09 PM Feature #8833 (Feedback): [PATCH] IPAddr#pred
Add a IPAddr#pred method to return the predecessor of the ip address. iosctr (Brian Burns)
08:08 PM Feature #8793: Ruby 2.0 and Threads under HPUX
On systems, I have a access to, the vps_pagesize is set to 16.
> /usr/sbin/kctune -v vps_pagesize
Tunable ...
[email protected] (Michal Rokos)
03:08 PM Feature #8793: Ruby 2.0 and Threads under HPUX
Thank you.
I'm unsure about vps_pagesize and its default value, could you check it?
And, it might be better to us...
nobu (Nobuyoshi Nakada)
07:07 PM Feature #8823 (Feedback): Run trap handler in an independent thread called "Signal thread"
After discussion, I decide to reject this feature.
How about to permit Queue operation in trap handler with [ruby-...
ko1 (Koichi Sasada)
04:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
>> If you mean, trap handler automatically disable nested trap, we
>> already do since 1.9.3.
>
> That's what ...
kosaki (Motohiro KOSAKI)
03:28 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
> Alternatively, queue trap handler execution in VM and make them
> uninterruptible (at Ruby-level) when running. T...
kosaki (Motohiro KOSAKI)
06:54 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
I rewrite to use T_STRUCT instead of T_DATA (attached).
Matsushita-san:
Could you check it?
Issue:
With ext/t...
ko1 (Koichi Sasada)
02:43 PM Bug #8831 (Closed): test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry
There is a test-all error on some environments from r42695.
It seems depend on openssl's version.
http://www.ruby...
ko1 (Koichi Sasada)
01:06 PM Bug #8830 (Closed): Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)
nobu (Nobuyoshi Nakada)
09:40 AM Bug #8830 (Closed): Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)
The file ext/tk/extconf.rb seems to contain a typo (misplaced parenthesis line 318; see output of 'diff -u ' below.
...
mceruso (Marco Ceruso)
12:52 PM Bug #8730: "rescue Exception" rescues Timeout::ExitException
kosaki (Motohiro KOSAKI) wrote:
> > 具体的にはどのように解説されてどう利用されているんでしょうか。
>
> 残念ながら紙の書籍は手元にありませんが、
>
> 一番多いのは http:/...
nobu (Nobuyoshi Nakada)
01:53 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
> 具体的にはどのように解説されてどう利用されているんでしょうか。

残念ながら紙の書籍は手元にありませんが、

一番多いのは http://kwfsws.g.hatena.ne.jp/kiwofusi/201112...
kosaki (Motohiro KOSAKI)
10:04 AM Bug #8656: Cannot Build Ruby-Tk
backported to ruby_2_0_0 by r42370. nagachika (Tomoyuki Chikanaga)
06:14 AM Feature #8811: Counterpart to `Hash#key?` for `Array`
phluid61 (Matthew Kerwin) wrote:
> matz (Yukihiro Matsumoto) wrote:
> > Concrete use-case please? Besides that, I ...
alexeymuranov (Alexey Muranov)
05:59 AM Feature #8827: A method that flips the receiver and the first argument
I think this request is mostly a duplicate of #6721. alexeymuranov (Alexey Muranov)

08/28/2013

09:05 PM Feature #8793: Ruby 2.0 and Threads under HPUX
Nobu, thank you for your effort. I am going to test trunk ruby soon and I will let you know. [email protected] (Michal Rokos)
05:20 PM Feature #8793 (Closed): Ruby 2.0 and Threads under HPUX
This issue was solved with changeset r42716.
Michal, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
08:41 PM Bug #8828 (Rejected): regex matching not correct
Your bug.
Lookbehind matches the preceding part, which matches \s* in your regexp.
nobu (Nobuyoshi Nakada)
05:25 PM Bug #8828 (Rejected): regex matching not correct
str = " [1]: http://google.com/ &quot;Google&quot;"
str =~ /\A\s*\[(.+)\]\:\ (\S+)\s*((?<=&quot;).+(?=&qu...
jjyr (Jinyang Jiang)
01:48 PM Feature #8827: A method that flips the receiver and the first argument
charliesome, that has the same problem as nobu's. It does not return the final result. It gives back the receiver. sawa (Tsuyoshi Sawada)
01:38 PM Feature #8827: A method that flips the receiver and the first argument
=begin
some_chain_of_operations_that_ends_up_with_an_array.tap(&Hash.method(:[]))
=end
Anonymous
01:35 PM Feature #8827: A method that flips the receiver and the first argument
nobu, I think you mean `tap{|ary| break ...}`, etc. That does not look concise enough for me. It might look like a sm... sawa (Tsuyoshi Sawada)
01:30 PM Feature #8827: A method that flips the receiver and the first argument
=begin
You can write as:
some_chain_of_operations_that_ends_up_with_an_array.tap {|ary| Hash[ary]}
some_chain_of...
nobu (Nobuyoshi Nakada)
01:18 PM Feature #8827 (Closed): A method that flips the receiver and the first argument
=begin
If it often happens that we need to pass to a method an argument that is the result of a long chain of operat...
sawa (Tsuyoshi Sawada)
11:25 AM Bug #8792 (Closed): HP-UX needs sys/pstat.h for missing/setproctitle.c
This issue was solved with changeset r42713.
Michal, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
10:45 AM Feature #8825 (Feedback): Symbol Argument to any?
=begin
Do you mean it is same as this?
foo.any? {|e| e.bar}
=end
nobu (Nobuyoshi Nakada)
02:54 AM Feature #8825 (Rejected): Symbol Argument to any?
It would be nice if `any?` could take a symbol much like `map`. For example:
foo.any?(&:bar)
kyledecot (Kyle Decot)
04:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
"ko1 (Koichi Sasada)" <[email protected]> wrote:
> == Disadvantage:
> * There is a small compatibility issue...
normalperson (Eric Wong)
03:43 AM Bug #8826 (Third Party's Issue): BigDecimal#div and #quo different behavior and inconsistencies
BigDecimal's #div and #quo method behave differently despite the #div documentation says: "See BigDecimal#quo"
#di...
karatedog (Földes László)
03:36 AM Feature #8773: Binding#local_variables should work like #local_variable_set and #local_variable_get
@ko1 do you have any thoughts about this? tenderlovemaking (Aaron Patterson)
01:11 AM Bug #8815: Enumerable.drop_while returns an Enumerator. Calling next twice on the Enumerator raises StopIteration even if there are still items available
Isn't that backwards?
>> [1, 2, 3].drop_while { nil }
=> [1, 2, 3]
>> [1, 2, 3].drop_while { false }...
JEG2 (James Gray)
12:07 AM Bug #6702: Date should be either required or not
Just a short update from my side: Since my issue from comment #8 was mostly caused by bad .gemspec files from gems wh... kommen (Dieter Komendera)

08/27/2013

09:23 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
2013/8/27 SASADA Koichi <[email protected]>:

> I think this spec reduce incompatibility problems.
> What do you t...
akr (Akira Tanaka)
08:53 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
(2013/08/27 20:45), Tanaka Akira wrote:
> I suspect "raise RubyLex::TerminateLineInput" doesn't work as expected a...
ko1 (Koichi Sasada)
08:53 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
2013/8/27 ko1 (Koichi Sasada) <[email protected]>:
> Feature #8823: Run trap handler in an independent thread c...
akr (Akira Tanaka)
08:52 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
I add an additonal implementation plan (called plan2) in attached PDF. ko1 (Koichi Sasada)
08:13 PM Feature #8823 (Rejected): Run trap handler in an independent thread called "Signal thread"
= Abstract
How about to make an "Signal thread" to run trap handler?
= Problem
Now, all of thread synchroniz...
ko1 (Koichi Sasada)
06:11 PM Bug #8822: Incorrect encoding for ENV in Windows
In Ruby 2.0 when assigning to ENV, seems it double encodes it.
But in Ruby 1.9 it's interesting that after assigning...
davispuh (Dāvis Mosāns)
05:57 PM Bug #8822 (Closed): Incorrect encoding for ENV in Windows
When reading `ENV` and if it contains non-ASCII - string won't have correct encoding.
In Ruby 2.0 we can force it to...
davispuh (Dāvis Mosāns)
05:03 PM Bug #8767 (Closed): IO.copy_stream should write in binary mode.
This issue was solved with changeset r42709.
Lin, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
04:46 PM Feature #8820 (Closed): Speed up Array#index
This issue was solved with changeset r42704.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
08:19 AM Feature #8820: Speed up Array#index
Yes, sorry. I meant to use a random index with each iteration, not `i`. But per the suggestion, I think `i % 100` wou... trans (Thomas Sawyer)
06:59 AM Feature #8820: Speed up Array#index
Joel VanderWerf <[email protected]> wrote:
> On 08/26/2013 12:57 PM, Eric Wong wrote:
> >The performance ...
normalperson (Eric Wong)
05:23 AM Feature #8820: Speed up Array#index
On 08/26/2013 12:57 PM, Eric Wong wrote:
> "trans (Thomas Sawyer)" <[email protected]> wrote:
>> def ma...
Anonymous
04:59 AM Feature #8820: Speed up Array#index
"trans (Thomas Sawyer)" <[email protected]> wrote:
> def main
> n = 10000000 # ten million
> ...
normalperson (Eric Wong)
02:31 AM Feature #8820 (Closed): Speed up Array#index
I did a quick comparison:
In Ruby
def main
n = 10000000 # ten million
a = randPerm(100)
...
trans (Thomas Sawyer)
04:45 PM Bug #8592: when outputing to console, it's encoding is ignored for Windows
Raster fonts are also default for PowerShell and it does crash there too.
Is it just for my Win8 installation or e...
davispuh (Dāvis Mosāns)
04:28 PM Bug #8592: when outputing to console, it's encoding is ignored for Windows
Is it some MinGW lib's fault for this?
It's still happening with ruby 1.9.3p448 and 2.0.0p247
seems very simila...
davispuh (Dāvis Mosāns)
11:50 AM Bug #8641 (Closed): Enumerator size argument is either mis-documented or should accept any callable
This issue was solved with changeset r42698.
Avdi, thank you for reporting this issue.
Your contribution to Ruby is g...
marcandre (Marc-Andre Lafortune)
10:43 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
具体的にはどのように解説されてどう利用されているんでしょうか。 nobu (Nobuyoshi Nakada)
05:07 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
ちょっと待った。
現在の挙動は様々な書籍などでも解説されており広く共有されている挙動なので
NEWSも書かずに変えてしまうのは適切じゃないように思います。
そもそもどこで議論した結果?
kosaki (Motohiro KOSAKI)
10:21 AM Feature #8437: custom operators, unicode
boris_stitnicky (Boris Stitnicky) wrote:
> EDIT: .... Can't take my mind of this ... that unsightly dot, as in
>
...
phluid61 (Matthew Kerwin)
09:04 AM Feature #8811: Counterpart to `Hash#key?` for `Array`
matz (Yukihiro Matsumoto) wrote:
> Concrete use-case please? Besides that, I don't think #index? is a good name for...
phluid61 (Matthew Kerwin)
07:41 AM Feature #5138 (Closed): Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
This issue was solved with changeset r42695.
Yehuda, thank you for reporting this issue.
Your contribution to Ruby is...
tenderlovemaking (Aaron Patterson)
06:23 AM Feature #8726: Class#source_location
> Timeoutのバグの本質は、timeoutブロック内で rescue Exception した場合に、timeoutの実装が
> 内部的に使っている Timeout::ExitException を拾ってしまうことのようで...
kosaki (Motohiro KOSAKI)
06:15 AM Bug #8821 (Closed): Add documentation for Time#w3cdtf
These monkey-patches on Time weren't documented inside of RSS. Now they are. steveklabnik (Steve Klabnik)
04:04 AM Bug #8819: ChangeLog includes non us-ascii character
I would suggest to change an encoding of Changelog to UTF-8.
Please remember why we credit contributor's name in Cha...
kosaki (Motohiro KOSAKI)

08/26/2013

05:27 PM Feature #8793: Ruby 2.0 and Threads under HPUX
Nope, pthread_attr_init() populates default values. [email protected] (Michal Rokos)
04:53 PM Bug #8792: HP-UX needs sys/pstat.h for missing/setproctitle.c
Hello,
it seems that I forgot to include a patch for...
I am sorry for that.
Michal
[email protected] (Michal Rokos)
04:25 PM Feature #8699 (Closed): Feature request: Detect line encoding problems
This issue was solved with changeset r42691.
Matthew, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
01:27 PM Bug #8819 (Closed): ChangeLog includes non us-ascii character
This issue was solved with changeset r42687.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
10:13 AM Bug #8819 (Closed): ChangeLog includes non us-ascii character
ChangeLog should be us-ascii because local variables for emacs set "coding: us-ascii".
% ruby -e 'ARGF.each_line{|...
znz (Kazuhiro NISHIYAMA)
01:23 PM Feature #8579: Frozen string syntax
24.08.2013 23:55 пользователь "kstephens (Kurt Stephens)" <
[email protected]> написал:
>
>
> Issue #8579 ha...
funny_falcon (Yura Sokolov)
 

Also available in: Atom