Project

General

Profile

Activity

From 04/07/2012 to 04/13/2012

04/13/2012

11:07 PM Bug #6288 (Feedback): Change error message for thread block to be less misleading
Is "possible deadlock detected" better?
Please elaborate "a more complex scenario" with small example.
--
Yus...
mame (Yusuke Endoh)
06:51 PM Bug #6288 (Closed): Change error message for thread block to be less misleading
Test case:
11:50:07 ~$ ruby19 -r thread -e 'q=SizedQueue.new 10;1_000_000.times {|i| p i;q.enq i}'
0
1
2
3
4
...
rklemme (Robert Klemme)
10:58 PM Feature #6287 (Assigned): nested method should only be visible by nesting/enclosing method
Hello,
There is a similar proposal #4085 based on more general idea.
Below is my personal opinion.
Ruby's ...
mame (Yusuke Endoh)
05:34 PM Feature #6287: nested method should only be visible by nesting/enclosing method
I know what you mean, but I think this is a limitation of Ruby's OOP nature. In Ruby, everything belongs to an objec... shyouhei (Shyouhei Urabe)
04:55 PM Feature #6287 (Closed): nested method should only be visible by nesting/enclosing method
> def test1
def test2
p "i am test2"
end
test2
end

> test1
"i am test2" # ok
> test2 ...
botp (bot pena)
08:51 PM Feature #5663: Combined map/select method
+1 rosenfeld (Rodrigo Rosenfeld Rosas)
11:21 AM Feature #5663: Combined map/select method
matz (Yukihiro Matsumoto) wrote:
> I am OK with the original map_select behavior, but I don't like the name #map_sel...
shugo (Shugo Maeda)
05:58 PM Feature #6286: Add Exception#format method
It is actually surprising that the formatting of exception is not provided by the Exception class. I realise that it ... vo.x (Vit Ondruch)
05:40 PM Feature #6286: Add Exception#format method
nobu (Nobuyoshi Nakada) wrote:
> Why and how would it be nice?
I'm trying to develop Ruby support for ABRT [1]....
vo.x (Vit Ondruch)
05:10 PM Feature #6286 (Feedback): Add Exception#format method
vo.x (Vit Ondruch) wrote:
> It would be nice if Exception class could be extended by #format method (or method with ...
nobu (Nobuyoshi Nakada)
04:53 PM Feature #6286 (Closed): Add Exception#format method
It would be nice if Exception class could be extended by #format method (or method with some more suitable name), whi... vo.x (Vit Ondruch)
05:53 PM Feature #6236: WEBrick::HTTPServer swallows Exception
On 13/04/12 09:01, naruse (Yui NARUSE) wrote:
>
> Issue #6236 has been updated by naruse (Yui NARUSE).
>
> Statu...
regularfry (Alex Young)
05:01 PM Feature #6236 (Closed): WEBrick::HTTPServer swallows Exception
This ticket looks intended to allow ^C shutting down the server.
So current change to shutdown other than StandardEr...
naruse (Yui NARUSE)
05:25 AM Feature #6236: WEBrick::HTTPServer swallows Exception
=begin
I misunderstood the intended use of start/stop/shutdown, so I think your patch should be applied.
I assume...
drbrain (Eric Hodel)
02:56 PM Feature #6284: Add composition for procs
What about `#*` for composing traditionally (right to left) and `#|` for piping (left to right)? In mathematics, depe... alexeymuranov (Alexey Muranov)
08:59 AM Feature #6284: Add composition for procs
aprescott (Adam Prescott) wrote:
> See also: http://web.archive.org/web/20101228224741/http://drmcawesome.com/Functi...
pabloh (Pablo Herrero)
07:53 AM Feature #6284 (Assigned): Add composition for procs
mame (Yusuke Endoh)
06:53 AM Feature #6284: Add composition for procs
See also:
http://web.archive.org/web/20101228224741/http://drmcawesome.com/FunctionCompositionInRuby
aprescott (Adam Prescott)
06:26 AM Feature #6284: Add composition for procs
I would vote for `#*`. I think `#<<` is usually changing the left argument (in place). alexeymuranov (Alexey Muranov)
02:02 AM Feature #6284: Add composition for procs
trans (Thomas Sawyer) wrote:
> Also, I think `#+` is better.
I saw facets has some similar feature that uses `#*`...
pabloh (Pablo Herrero)
09:57 AM Bug #6283: Segmentation fault pg_ext.bundle
This ticket has roughly the same stack trace as #6281 drbrain (Eric Hodel)
09:25 AM Feature #4969 (Rejected): Subtle issue with require
If you still need this, please make the issue clear and refine the proposal, then reopen this or file a new ticket. nobu (Nobuyoshi Nakada)
07:54 AM Feature #6277 (Assigned): Hash#convert_key
mame (Yusuke Endoh)
06:03 AM Bug #6285 (Assigned): Documents of IO#read, IO#readpartial, etc. should describe how they are executed when second argument is not empty String
drbrain (Eric Hodel)
02:47 AM Bug #6285 (Closed): Documents of IO#read, IO#readpartial, etc. should describe how they are executed when second argument is not empty String
IO#read, IO#readpartial, IO#read_nonblock, and IO#sysread methods can receive a String object as second argument ((|o... nobuoka (yu nobuoka)
05:27 AM Feature #6225: Hash#+
How about `Hash#|` for `Hash#reverse_merge`, and `Hash#|=` for `Hash#reverse_merge!` from *Rails*? (Instead of `#+` f... alexeymuranov (Alexey Muranov)
04:00 AM Feature #6225: Hash#+
Martin, _in math_, it is common to use `*` for both commutative and non-commutative operations but `+` for only commu... alexeymuranov (Alexey Muranov)
01:10 AM Bug #6282: strptime and fractions of seconds
Great!. Thanks. lparra (Luis Parravicini)
12:27 AM Bug #6282: strptime and fractions of seconds
lparra (Luis Parravicini) wrote:
> I know, but where on the docs say so?
r35312 adds the doc.
naruse (Yui NARUSE)

04/12/2012

11:36 PM Feature #6225: Hash#+
@jacksonwillis `#<<` makes sense as an alias for `#update`, not `#merge`. However I use `Hash#<<` with this meaning:
...
trans (Thomas Sawyer)
11:28 PM Feature #6284: Add composition for procs
Also, I think `#+` is better. trans (Thomas Sawyer)
11:25 PM Feature #6284: Add composition for procs
Or
```ruby
format_as_title = ->{ |val| add_header[to_camel[val.strip]] }
```
trans (Thomas Sawyer)
03:21 PM Feature #6284 (Closed): Add composition for procs
It would be nice to be able to compose procs like functions in functional programming languages:
```ruby
to_camel...
pabloh (Pablo Herrero)
08:48 PM Bug #6282: strptime and fractions of seconds
I know, but where on the docs say so? lparra (Luis Parravicini)
07:35 PM Bug #6282 (Rejected): strptime and fractions of seconds
strptime does not support such an extension. tadf (tadayoshi funaba)
10:12 AM Bug #6282 (Assigned): strptime and fractions of seconds
naruse (Yui NARUSE)
05:57 AM Bug #6282 (Rejected): strptime and fractions of seconds
=begin
DateTime::strptime refers us to #strftime to check the format to use.
DateTime#strftime says fractions of se...
lparra (Luis Parravicini)
07:00 PM Bug #982: stack level too deep for long Array initialization
前田です。
ko1 (Koichi Sasada) wrote:
> なおしました.
> 命令をいじるのではなく,core メソッドを呼ぶようにしてみました.
> ちょっと,余計な配列が増えちゃうのが良くないかも....
...
shugo (Shugo Maeda)
10:51 AM Bug #982 (Closed): stack level too deep for long Array initialization
なおしました.
命令をいじるのではなく,core メソッドを呼ぶようにしてみました.
ちょっと,余計な配列が増えちゃうのが良くないかも....
誰か性能評価してくれると助かります.
ko1 (Koichi Sasada)
06:23 PM Feature #6236: WEBrick::HTTPServer swallows Exception
On 11/04/12 21:31, drbrain (Eric Hodel) wrote:
>
> Issue #6236 has been updated by drbrain (Eric Hodel).
>
>...
regularfry (Alex Young)
10:53 AM Feature #6236 (Assigned): WEBrick::HTTPServer swallows Exception
r35303 looks buggy.
WERBrick::GenericServer#stop's is a method to deny a new connection.
Even if the method is ca...
naruse (Yui NARUSE)
07:53 AM Feature #6236: WEBrick::HTTPServer swallows Exception
Oops, sorry. Nahi-san, could you please review drbrain's commit (r35303) ?


2012/4/12 nahi (Hiroshi Nakamura...
mame (Yusuke Endoh)
06:00 AM Feature #6236: WEBrick::HTTPServer swallows Exception
WEBrick has a maintainer now :) nahi (Hiroshi Nakamura)
05:31 AM Feature #6236: WEBrick::HTTPServer swallows Exception
I extended Alex's patch to include safe shutdown and to allow ^C to work from within accept_client.
Since each con...
drbrain (Eric Hodel)
05:28 AM Feature #6236 (Closed): WEBrick::HTTPServer swallows Exception
This issue was solved with changeset r35303.
Alex, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
04:49 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
Hi again,
mame (Yusuke Endoh) wrote:
> 2012/4/11 rklemme (Robert Klemme) <[email protected]>:
> > nob...
rklemme (Robert Klemme)
12:29 AM Bug #5258: SizedQueueにBug #5195と同様のバグ
Hello,

2012/4/11 rklemme (Robert Klemme) <[email protected]>:
> nobu (Nobuyoshi Nakada) wrote:
>> It s...
mame (Yusuke Endoh)
02:36 PM Bug #6283 (Feedback): Segmentation fault pg_ext.bundle
What is "a Rails project" ?
Anyway it seems Third Party's Issue.
naruse (Yui NARUSE)
01:42 PM Bug #6283 (Closed): Segmentation fault pg_ext.bundle
*Steps to reproduce:*
1. rvm reinstall 1.9.3 --with-openssl-dir=/usr/local
2. Install a Rails project that uses 1...
patrickberkeley (Patrick Berkeley)
11:19 AM Bug #6281 (Feedback): 1.9.3-p125 crashes when using therubyracer 0.9.10
I can't reproduce it.
I think you should reinstall therubyracer.
Anyone can do?
naruse (Yui NARUSE)
12:52 AM Bug #6281 (Rejected): 1.9.3-p125 crashes when using therubyracer 0.9.10
I'm on Mac OS X 10.7.3, and I'm unable to run 1.9.3-p125 when I require therubyracer 0.9.10. Note that ruby 1.9.3-p0... benson88 (Ben Rogers)
10:42 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
Feel free. nobu (Nobuyoshi Nakada)
06:35 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
Nobu, may I commit this? drbrain (Eric Hodel)
07:11 AM Feature #4551 (Closed): uri.set_scheme should downcase schemes
This issue was solved with changeset r35305.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
06:20 AM Feature #6088 (Closed): Add Net::ReadTimeout to distinguish which operation failed
This issue was solved with changeset r35304.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
03:28 AM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
naruse (Yui NARUSE) wrote:
> marcandre (Marc-Andre Lafortune) wrote:
> > I simply want to lighten the load for Matz...
ferrous26 (Mark Rada)

04/11/2012

11:37 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
nobu (Nobuyoshi Nakada) wrote:
> It seems natural because the only thread is about to sleep.
I would expect the t...
rklemme (Robert Klemme)
08:09 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
It seems natural because the only thread is about to sleep. nobu (Nobuyoshi Nakada)
07:43 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
This is also present in 1.9.3 and there is an even simpler test case:
$ ruby19 -r thread -e 'q=SizedQueue.new 10;1...
rklemme (Robert Klemme)
09:05 PM Bug #6271 (Closed): textmode File#read on CRLF
This issue was solved with changeset r35296.
riskwa, thank you for reporting this issue.
Your contribution to Ruby is...
Anonymous
06:34 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
I've attached a new patch -- this implements the same functionality but refers to it as `all_values` and reverts the ... erikh (Erik Hollensbe)
03:57 PM Bug #6223 (Closed): Strange crash in GC while thread creation - 1.9.2 only
naruse (Yui NARUSE)
03:49 PM Bug #6223: Strange crash in GC while thread creation - 1.9.2 only
Ok, with 1.9.3p125 works.
zhum (Sergey Zhumatiy)
11:19 AM Feature #6276: to_h as explicit conversion to Hash
Great.
I'll do it with pleasure, expect a slight delay as I'm going in vacation for 10 days.
Thanks
marcandre (Marc-Andre Lafortune)
09:40 AM Feature #6276: to_h as explicit conversion to Hash
OK, accepted, include adding nil.to_h.
Marc, could you make patch and check in?
Matz.
matz (Yukihiro Matsumoto)
12:06 AM Feature #6276 (Closed): to_h as explicit conversion to Hash
Dear Matz.
We should establish #to_h as the method for explicit conversion to Hash:
1) Add Hash#to_h: returns `...
marcandre (Marc-Andre Lafortune)
07:56 AM Feature #6130: inspect using to_s is pain
Eregon (Benoit Daloze) wrote:
> I've been working on this and wondered what to do if there is no instance variable. ...
Eregon (Benoit Daloze)
07:34 AM Feature #5219 (Closed): Array#pack should warn (or raise) if an invalid pack string is given
This issue was solved with changeset r35292.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
06:31 AM Bug #6278: in `join': deadlock detected (fatal)
I'm the one who originally came across this issue and wrote the program that triggers this bug (the poorly-named cpu_... jeremyevans0 (Jeremy Evans)
06:01 AM Bug #6278: in `join': deadlock detected (fatal)
Thank you for your analysis.
Because I can't understand this situation yet, I'll check it later.
# Can I reproduc...
ko1 (Koichi Sasada)
03:48 AM Bug #6278 (Closed): in `join': deadlock detected (fatal)
There is a race condition between native_sleep(), thread_start_func_2() where thread_start_func_2() holds the gvl loc... [email protected] (Kurt Miller)
06:11 AM Bug #6161 (Closed): Document interpretation of backslashes in string transliterations
This issue was solved with changeset r35291.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
05:15 AM Bug #6107 (Closed): Documentation Abbrev (stdlib) confusing
This issue was solved with changeset r35290.
siep, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
05:09 AM Bug #6211: Ripper lexes :on_rbrace when it should find :on_embexpr_end
Hooray! Thank you! turboladen (Steve Loveless)
03:46 AM Bug #953: 深い入れ子の配列の取り扱いで落ちる
わたしの FreeBSD 9.0 amd64 や Ubuntu 10.04 x64 では再現しますね naruse (Yui NARUSE)
03:30 AM Bug #6174: Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
Hi Yura,
If nobody reviews months, I'll reveiw this. The description is completely sane. :)
kosaki (Motohiro KOSAKI)
02:51 AM Feature #5555: rename #include? to #includes?
Thanks for the explanation, i didn't know about "key?". alexeymuranov (Alexey Muranov)
01:12 AM Feature #6277 (Assigned): Hash#convert_key
=begin
Many times a hash with uniform keys is needed (or is at least preferable) for a particular usecase. To this e...
trans (Thomas Sawyer)

04/10/2012

10:31 PM Feature #6130: inspect using to_s is pain
mame (Yusuke Endoh) wrote:
> I'm not sure if it is trivial to fix this issue.
> Could anyone please create a patch ...
Eregon (Benoit Daloze)
10:25 PM Feature #6265: Remove 'useless' 'concatenation' syntax
trans (Thomas Sawyer) wrote:
> The only time I have found it useful is with `\` for multi-line string, for things li...
trans (Thomas Sawyer)
10:24 PM Feature #6265: Remove 'useless' 'concatenation' syntax
The only time I have found it useful is with `\` for multi-line string, for things like entry in Ruby based-config fi... trans (Thomas Sawyer)
05:40 PM Feature #6265: Remove 'useless' 'concatenation' syntax
I think it is nice to have a syntax to concatenate strings in compile time. I do not think that missing commas are h... alexeymuranov (Alexey Muranov)
09:49 AM Feature #6265: Remove 'useless' 'concatenation' syntax
ko1 (Koichi Sasada) wrote:
> I prefer current behavior because it is same as C and it is easy to
> remember.
...
duerst (Martin Dürst)
07:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
(2012/04/10 7:01), Rodrigo Rosenfeld Rosas wrote:
> Hi Koichi, I created this issue because I did have this proble...
ko1 (Koichi Sasada)
07:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
Em 09-04-2012 16:06, SASADA Koichi escreveu:
> (2012/04/09 14:19), Yukihiro Matsumoto wrote:
>> I agree with mak...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
(2012/04/09 14:19), Yukihiro Matsumoto wrote:
> I agree with making it deprecated. It is up to you to make it war...
ko1 (Koichi Sasada)
01:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
Em 09-04-2012 12:53, Nobuyoshi Nakada escreveu:
> Hi,
>
> (12/04/09 22:46), rosenfeld (Rodrigo Rosenfeld Rosas...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:59 AM Feature #6265: Remove 'useless' 'concatenation' syntax
Hi,

(12/04/09 22:46), rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Also, while on the subject, don't you thin...
nobu (Nobuyoshi Nakada)
10:19 PM Feature #5008 (Rejected): Equal rights for Hash (like Array, String, Integer, Float)
Submit new issue for new proposal, e.g. adding hash conversion method to Struct etc.
The reason I hesitate to add ...
matz (Yukihiro Matsumoto)
10:07 PM Feature #5008 (Open): Equal rights for Hash (like Array, String, Integer, Float)
Hi,
matz (Yukihiro Matsumoto) wrote:
> #to_hash protocol expects the object to be hash-compatible. Struct is not...
marcandre (Marc-Andre Lafortune)
06:48 PM Feature #5008 (Rejected): Equal rights for Hash (like Array, String, Integer, Float)
#to_hash protocol expects the object to be hash-compatible. Struct is not the case.
Matz.
matz (Yukihiro Matsumoto)
08:57 PM Bug #4443: odd evaluation order in a multiple assignment
まあ、それはそれでいいかなと思います。
ちなみに ISO とかの標準的にはどうなってるんでしょう?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
06:35 PM Bug #4443: odd evaluation order in a multiple assignment
Cから受け継いだ代入の評価順が「おかしい」のが原因である(本来は a → b と表記すべきか)ことを考えると、
むしろ foo[0] = bar が :bar, :fooと動作するようにすべきでしょうか。
いや、単なる思いつき...
matz (Yukihiro Matsumoto)
07:07 PM Feature #5650 (Closed): Add rb_enc_raise() to allow C extensions to raise errors with messages with correct encoding
This issue was solved with changeset r35283.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
06:53 PM Feature #3845 (Rejected): "in" infix operator
This proposal is only for cosmetics.
I don't want a new operator that does not introduce something new.
Matz.
matz (Yukihiro Matsumoto)
06:51 PM Feature #3963 (Rejected): Map class in standard library
I reject the original idea of Map inclusion to the core. Map and Hash are too similar.
Matz.
matz (Yukihiro Matsumoto)
06:48 PM Feature #4862 (Rejected): Struct#to_hash
#to_hash protocol expects the object to be hash-compatible. Struct is not the case.
Matz.
matz (Yukihiro Matsumoto)
06:47 PM Bug #4307 (Rejected): include fails after undef_method
lsegal's comment is right. undef_methods defies the definition of upper classes, include mixed modules.
So, this is...
matz (Yukihiro Matsumoto)
06:43 PM Feature #4574 (Rejected): Numeric#within
I reject this propsal, since the name discussion diverged.
If someone really wants this feature (and believes #clamp...
matz (Yukihiro Matsumoto)
06:27 PM Feature #4265 (Rejected): Provide a core method Kernel#ruby for invoking a new Ruby instance
No good name candidate. Maybe done via MVM change.
Matz.
matz (Yukihiro Matsumoto)
06:25 PM Feature #4086 (Rejected): Feature request: add String#contain? and {Enumerable,Array}#contain? methods
The proposal is ambiguous. Only valid point I see is String#contain? might be more intuitive than String#include?, b... matz (Yukihiro Matsumoto)
06:23 PM Feature #5605 (Closed): [PATCH] net/http: use IO.copy_stream for requests using body_stream
This issue was solved with changeset r35281.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
naruse (Yui NARUSE)
05:15 AM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
I prefer the original too. drbrain (Eric Hodel)
05:19 PM Bug #953 (Feedback): 深い入れ子の配列の取り扱いで落ちる
随分前のチケットに対してすみません.
こちら,まだ再現するでしょうか.手元の環境では,
動いちゃったり,stack level too deep (SystemStackError)
だったりで,それなりにちゃんと動いているよう...
ko1 (Koichi Sasada)
03:39 PM Feature #5716 (Closed): duplicated when clause is ignored -> Report which clause it is specifically.
This issue was solved with changeset r35277.
markus, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
03:27 PM Feature #6260 (Feedback): Relationship of collating sequence to === and <=> for Strings not documented
Hello,
Could you (or anyone) please make a draft in rdoc style?
Akr, could you please review the draft?
--
Y...
mame (Yusuke Endoh)
03:21 PM Bug #6269 (Assigned): Process.spawn does not work with Tempfile
Nobu has a patch. I know.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:18 PM Bug #6275: symbol not found: _environ on Mac OS X
Ok please go ahead.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:00 PM Bug #6275: symbol not found: _environ on Mac OS X
The patch seems fine, and hash.c has similar code already. nobu (Nobuyoshi Nakada)
02:42 PM Bug #6275 (Assigned): symbol not found: _environ on Mac OS X
Sorah, do you know anything about this?
--
yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
07:50 AM Bug #6275 (Closed): symbol not found: _environ on Mac OS X
1. download latest ruby
2. download vim7.3 and built with ruby support
3. run vim73, and type: ruby puts "ruby" at ...
stonep (dehui peng)
02:41 PM Bug #6262 (Assigned): [readline] reverse-i-search with multibyte chars
mame (Yusuke Endoh)
02:38 PM Bug #6249 (Assigned): Process.exec doesn't restore the environment if it fails
mame (Yusuke Endoh)
02:36 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
Correct.
Do you have any suggestion?
nobu (Nobuyoshi Nakada)
01:02 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
I'd like to clarify the fix here.
* ObjectSpace::WeakMap was added as a "proper" weak reference map
* WeakRef use...
headius (Charles Nutter)
02:35 PM Feature #6244 (Assigned): Removal of some unused functions from /ext/json/fbuffer/fbuffer.h
mame (Yusuke Endoh)
02:33 PM Bug #6170 (Rejected): Compile error: "implicit declaration of function 'pthread_get_stackaddr_np'", "'pthread_get_stacksize_np'"
Mac OS X prior to 10.5 has not been supported ever. nobu (Nobuyoshi Nakada)
02:00 PM Bug #6170 (Assigned): Compile error: "implicit declaration of function 'pthread_get_stackaddr_np'", "'pthread_get_stacksize_np'"
Sorah, do you know anything about this error?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
02:32 PM Feature #6236: WEBrick::HTTPServer swallows Exception
This is not a bug, is it? Moving to the feature tracker.
And there is no maintainer of WEBrick. I tentatively as...
mame (Yusuke Endoh)
02:07 PM Bug #6174 (Assigned): Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
mame (Yusuke Endoh)
01:57 PM Feature #6154 (Assigned): Eliminate extending WaitReadable/Writable at runtime
I think it is suitable to handle this issue in the feature tracker.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:47 PM Bug #6274 (Rejected): Float addition incorrect
This is due to the fact that floats are approximate. The results follow the IEEE standard. Try it in Javascript, you'... marcandre (Marc-Andre Lafortune)
05:10 AM Bug #6274 (Rejected): Float addition incorrect
Adding decimals with repeating values appears to lead to an error in returned value.
For example if you inspect:
...
swanboy (Michael Swan)
09:57 AM Feature #3575 (Closed): String#split is inconsistent with empty string and negative limit
This issue was solved with changeset r35275.
Conrad, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
09:48 AM Bug #6273 (Closed): confusing rdoc on Zlib
This issue was solved with changeset r35273.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
drbrain (Eric Hodel)
07:05 AM Feature #6201: do_something then return :special_case (include "then" operator)
Eregon (Benoit Daloze) wrote:
> Yes, and the "." match well ";" if you see what I mean in my return statement.
So...
rosenfeld (Rodrigo Rosenfeld Rosas)
03:45 AM Feature #6201: do_something then return :special_case (include "then" operator)
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Just forget about this then. By the way, did you like the pun? ;)
Ye...
Eregon (Benoit Daloze)
02:18 AM Feature #6201: do_something then return :special_case (include "then" operator)
You're right, Benoit, I completely forgot about the case statements.
Just forget about this then. By the way, did ...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:12 AM Feature #6201: do_something then return :special_case (include "then" operator)
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> My understanding is that adding a new keyword to Ruby will break backwa...
Eregon (Benoit Daloze)
01:32 AM Feature #6201: do_something then return :special_case (include "then" operator)
Sorry if I'm being boring here. Just let me know and I'll never ask about this again.
My understanding is that add...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:07 AM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
znz さん、naruse さん、
なるほど、確かにそうするのが良いですね。
ありがとうございます。
nobuoka (yu nobuoka)

04/09/2012

11:10 PM Feature #3399 (Closed): UNC path is not handled properly
This issue was solved with changeset r35271.
jojelino, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
10:52 PM Feature #6265: Remove 'useless' 'concatenation' syntax
Hi Yusuke, I guessed it was a joke, but I couldn't get it at that time. Actually I had a hard time reading "CONCAT" i... rosenfeld (Rodrigo Rosenfeld Rosas)
10:46 PM Feature #6265: Remove 'useless' 'concatenation' syntax
Thank you very much! I do also agree that we should warn users so that they have some time to change their "\" style ... rosenfeld (Rodrigo Rosenfeld Rosas)
02:23 PM Feature #6265: Remove 'useless' 'concatenation' syntax
Hi,
In message "Re: [ruby-core:44207] [ruby-trunk - Feature #6265] Remove 'useless' 'concatenation' syntax"
o...
matz (Yukihiro Matsumoto)
12:43 PM Feature #6265: Remove 'useless' 'concatenation' syntax
Matz,
> I agree with removing string concatenation in 3.0.
Okay. Then, is the syntax deprecated in 2.0?
If so...
mame (Yusuke Endoh)
08:04 AM Feature #6265: Remove 'useless' 'concatenation' syntax
I agree with removing string concatenation in 3.0.
matz (Yukihiro Matsumoto)
10:49 PM Bug #6246: 1.9.3-p125 intermittent segfault
Dennis, looking at your ruby trace, it looks like you've run into something else
It appears that you are on osx, a...
jshow (Jodi Showers)
09:51 PM Feature #4168 (Closed): WeakRef is unsafe to use in Ruby 1.9
I believe so.
If something goes wrong, please reopen this or file a new ticket.
nobu (Nobuyoshi Nakada)
09:46 PM Bug #6271 (Assigned): textmode File#read on CRLF
nobu (Nobuyoshi Nakada)
12:52 AM Bug #6271: textmode File#read on CRLF
I tested the code above in some environments.
(a) ruby 1.9.3p125 (2012-02-16 revision 34643) [i386-cygwin] : works f...
riskwa (riskwa anon)
07:05 PM Bug #6267 (Closed): Segmentation fault when exponentiating complex number
tadf fixed it at r35265. naruse (Yui NARUSE)
06:55 AM Bug #6267 (Open): Segmentation fault when exponentiating complex number
the following still does
Complex(0,1)**2
tadf (tadayoshi funaba)
02:53 AM Bug #6267 (Closed): Segmentation fault when exponentiating complex number
This issue was solved with changeset r35262.
Pablo, thank you for reporting this issue.
Your contribution to Ruby is ...
naruse (Yui NARUSE)
05:48 PM Bug #6235: Call to malloc not checked in thread_pthread.c
I'll fix it.
ko1 (Koichi Sasada)
05:48 PM Feature #5716: duplicated when clause is ignored -> Report which clause it is specifically.
Hi Koichi Sasada!
I have not tested it yet (will do so at the end of this week),
but I believe it will help me.
...
shevegen (Robert A. Heiler)
02:23 PM Feature #5716: duplicated when clause is ignored -> Report which clause it is specifically.
Thank you for your comment.

I added a small hint on it because if duplicated object was too big, the
output s...
ko1 (Koichi Sasada)
03:16 PM Bug #6211 (Closed): Ripper lexes :on_rbrace when it should find :on_embexpr_end
This issue was solved with changeset r35269.
Steve, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
01:53 PM Feature #5446: at_fork callback API
"mame (Yusuke Endoh)" <[email protected]> wrote:
> Do you still want this feature?

Yes, but lower priority.

...
normalperson (Eric Wong)
01:07 PM Feature #4234 (Closed): Hash#default_proc= Doesn't Accept nil Argument
This issue was solved with changeset r35268.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby...
marcandre (Marc-Andre Lafortune)
08:14 AM Feature #4234: Hash#default_proc= Doesn't Accept nil Argument
Agreed. Marc, could you check this patch in (with document update)?
Matz.
matz (Yukihiro Matsumoto)
12:53 PM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
"naruse (Yui NARUSE)" <[email protected]> wrote:
> Issue #5605 has been updated by naruse (Yui NARUSE).
>
> T...
normalperson (Eric Wong)
05:23 AM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
The original patch looks better than [ruby-core:40903]'s.
drbrain, do you have any idea?
If no one object it, I'l...
naruse (Yui NARUSE)
11:00 AM Feature #5669: Random thread scheduling based on a seed
I want to reject it.
reasons:
(1) It is difficult to implement it in portable way.
(2) I have a doubt about ...
ko1 (Koichi Sasada)
08:23 AM Feature #6270 (Rejected): add "??a" support for "not defined?(a) or a.nil?"
As Eric pointed out, it's conflicting existing syntax. I don't reject the basic idea (though I am excited), so try a... matz (Yukihiro Matsumoto)
01:33 AM Feature #6270: add "??a" support for "not defined?(a) or a.nil?"
=begin
This syntax seems too similar to the ?a character string syntax
Currently ?a returns "a", so how would the...
drbrain (Eric Hodel)
08:12 AM Feature #5632: Attempt to open included class shades it instead.
Quite reasonable. But the change would introduce serious incompatibility, so that we can not make this happen in 2.0.... matz (Yukihiro Matsumoto)
07:07 AM Bug #6273 (Closed): confusing rdoc on Zlib
=begin
The rdoc at ext/zlib/zlib.c gives some examples of code to deflate/inflate a string. If you try to use them t...
lparra (Luis Parravicini)
12:44 AM Bug #6247 (Assigned): Range not checked for day of year
naruse (Yui NARUSE)
12:38 AM Bug #6228 (Assigned): [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
naruse (Yui NARUSE)

04/08/2012

10:34 PM Bug #6271 (Open): textmode File#read on CRLF
I think that is not fixed yet.
io_unread() doesn't work properly in that case.
An idea is not using `read into buff...
h.shirosaki (Hiroshi Shirosaki)
08:59 PM Bug #6271 (Closed): textmode File#read on CRLF
Seems fixed already in the repository. nobu (Nobuyoshi Nakada)
06:54 PM Bug #6271 (Closed): textmode File#read on CRLF
I'm not sure this is bug,
when "File#read(X)" for textmode finishes inside of CRLF, stream keeps CR unread against m...
riskwa (riskwa anon)
10:27 PM Bug #6272 (Closed): Rinda sticks on some tests
Rindaが例えば以下のようにすると刺さります。
while [ yes ];do;make test-all TESTS='-v -n test_ruby_talk_264062 rinda/test_rinda.rb' RU...
naruse (Yui NARUSE)
06:46 PM Bug #6269: Process.spawn does not work with Tempfile
I find it a bit inconsistent that a Tempfile object is not supported,
as, for example, this code works without a pro...
matled (Matthias Lederhofer)
04:34 AM Bug #6269: Process.spawn does not work with Tempfile
ssuda (Sambasiva Suda) wrote:
> :in, :out and :err expects path or fd. Please try Process.spawn("date", :out => tmp....
ssuda (Sambasiva Suda)
04:18 AM Bug #6269: Process.spawn does not work with Tempfile
:in, :out and :err expects path. Please try Process.spawn("date", :out => tmp.path) ssuda (Sambasiva Suda)
03:11 AM Bug #6269 (Closed): Process.spawn does not work with Tempfile
The following code fails with an exception:
require 'tempfile'
tmp = Tempfile.new(File.basename($0))
...
matled (Matthias Lederhofer)
06:45 PM Feature #6270: add "??a" support for "not defined?(a) or a.nil?"
So `??foo' is basically a macro for `not defined?(foo) or foo.nil?'. jacksonwillis (Jackson Willis)
12:49 PM Feature #6270 (Rejected): add "??a" support for "not defined?(a) or a.nil?"
It would work like this:
??foo #=> nil
foo = nil
??foo #=> nil
foo = 3
??foo #=> t...
jacksonwillis (Jackson Willis)
06:32 PM Feature #6183: Enumerator::Lazy performance issue
(Yusuke Endoh) wrote:
> (1..10).lazy.select {|x| false }.map {|x| p x }.to_a
> should print nothing, but it a...
gregolsen (Innokenty Mikhailov)
12:54 PM Feature #6225: Hash#+
Would it be better to use `Hash#<<` instead of `Hash#+`? jacksonwillis (Jackson Willis)
12:50 PM Bug #4378 (Closed): 1.9.2でClassオブジェクトのcloneの特異メソッドが消える
r33292 から発生しなくなっているようですので閉じさせて頂きます。 wanabe (_ wanabe)
07:02 AM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
r35253 でマージしました、ありがとうございました。
znz (Kazuhiro NISHIYAMA) wrote:
> nobuoka (yu nobuoka) wrote:
> > (現在の実装では大丈夫そうですが、...
naruse (Yui NARUSE)
06:50 AM Bug #6230 (Closed): [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
This issue was solved with changeset r35253.
yu, thank you for reporting this issue.
Your contribution to Ruby is gre...
naruse (Yui NARUSE)
01:52 AM Bug #6246: 1.9.3-p125 intermittent segfault
I have a similar problem when creating a new rails (3.2.3) app. It segfaults on the bundle install step. I think this... hectormalot (Dennis de Reus)

04/07/2012

11:23 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
Hi Luis,

> Hiroshi: will be good do this in two commits:
>
> - First commit that reverts the usage of CREAT...
h.shirosaki (Hiroshi Shirosaki)
11:10 PM Bug #6131 (Closed): Ctrl-C handler do not work from exec process (Windows)
This issue was solved with changeset r35249.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
Anonymous
10:37 PM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
nobuoka (yu nobuoka) wrote:
> (現在の実装では大丈夫そうですが、仕様に明記されていないことに期待していいのかどうか。。)
そういう場合はその期待が変わったときに気づいて対処出来るように、
期待し...
znz (Kazuhiro NISHIYAMA)
09:45 PM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
指摘ありがとうございます。 readpartial は長さ 1 以上の String オブジェクトを返す、という仕様になっているということを確認したので、空文字列かどうかで分岐する部分は削除しました。 また、毎回 buf を生成するの... nobuoka (yu nobuoka)
11:14 AM Feature #6265: Remove 'useless' 'concatenation' syntax
Yusuke, am I supposed to understand what you meant with the code in your last comment? If so, I didn't get it...
N...
rosenfeld (Rodrigo Rosenfeld Rosas)
05:29 AM Feature #6265: Remove 'useless' 'concatenation' syntax
On Fri, Apr 6, 2012 at 16:52, marcandre (Marc-Andre Lafortune)
<[email protected]> wrote:

>>  > What is th...
now (Nikolai Weibull)
01:47 AM Feature #6265: Remove 'useless' 'concatenation' syntax
I don't think the current code in mkmf.rb is good.
I just meant that the syntax is actually used and thus we cannot ...
mame (Yusuke Endoh)
12:03 AM Feature #6265: Remove 'useless' 'concatenation' syntax
> I found an actual example in lib/mkmf.rb:
>
> hdr = ['#include "ruby.h"' "\n"]
Wouldn't this read better th...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:00 AM Feature #6265 (Assigned): Remove 'useless' 'concatenation' syntax
msg = 'put "\n" here -> ' "\n"
I found an actual example in lib/mkmf.rb:
hdr = ['#include "ruby.h"' "\n"]
...
mame (Yusuke Endoh)
11:01 AM Feature #6256: Slightly improve ruby_qsort performance
Updated patch - I forgot that chklim may be set to 0,
so I separated chklim and cutoff.
MartinBosslet (Martin Bosslet)
10:35 AM Feature #6256: Slightly improve ruby_qsort performance
I could improve the Insertion Sort a bit by using memcpy/memmove.
It runs a bit faster even with the "worst case de...
MartinBosslet (Martin Bosslet)
07:36 AM Feature #6256: Slightly improve ruby_qsort performance
I added a patch, together with benchmarks.
Here's the results on my machine without the optimization:
$ ruby d...
MartinBosslet (Martin Bosslet)
10:29 AM Bug #6266: encoding related exception with recent integrated psych
On Sat, Apr 07, 2012 at 06:31:25AM +0900, jonforums (Jon Forums) wrote:
>
> Issue #6266 has been updated by jonfo...
Anonymous
06:31 AM Bug #6266: encoding related exception with recent integrated psych
On Arch (3.2.14-1-ARCH) the sample also exceptions when I change my locale to en_US.iso88591 from en_US.utf8.
But ...
jonforums (Jon Forums)
01:10 AM Bug #6266 (Closed): encoding related exception with recent integrated psych
Newer versions of Psych integrated into both ruby_1_9_3 and trunk create exceptions if the yaml file isn't perceived ... jonforums (Jon Forums)
08:15 AM Bug #6267 (Closed): Segmentation fault when exponentiating complex number
A segfault is raised when running the following script, with any exponent greater or equal to 5:
require "mathn/co...
pabloh (Pablo Herrero)
06:42 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
If it wasn't clear from the above example, Ruby 1.9.3 returns a backtrace pointing to a line of code in dm-core which... postmodern (Hal Brodigan)
02:18 AM Bug #6264: Struct.members rdoc
@duerst Apparently, a lot more changes were included in your commit. Is it intended? Eregon (Benoit Daloze)
 

Also available in: Atom