Project

General

Profile

Activity

From 03/28/2012 to 04/03/2012

04/03/2012

10:44 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
nobu (Nobuyoshi Nakada) wrote:
> Should be 'new_process_group: true' or similar, at least.
How about `new_pgroup:...
h.shirosaki (Hiroshi Shirosaki)
10:25 PM Feature #6183: Enumerator::Lazy performance issue
In response to #6250, wouldn't the simplest implementation be to return a new Lazy Enumerator for each lazy call?
...
trans (Thomas Sawyer)
08:14 PM Feature #6183: Enumerator::Lazy performance issue
That's because each time you mapping lazy enumerator another proc objected added to procs array, so in your example y... gregolsen (Innokenty Mikhailov)
06:29 PM Feature #6183: Enumerator::Lazy performance issue
Hello,
matz (Yukihiro Matsumoto) wrote:
> Nobu, could you review the patch? And if you don't see any problem, ch...
mame (Yusuke Endoh)
05:47 PM Feature #6183 (Assigned): Enumerator::Lazy performance issue
Nobu, could you review the patch? And if you don't see any problem, check it in?
Matz.
matz (Yukihiro Matsumoto)
05:43 PM Feature #6183: Enumerator::Lazy performance issue
=begin
Finally come up with a concrete idea how to "fix" (based on my first PR https://github.com/ruby/ruby/pull/100...
gregolsen (Innokenty Mikhailov)
10:22 PM Bug #6250: Enumerator::Lazy performance increased
In response to #6250, wouldn't the simplest implementation be to return a new Lazy Enumerator for each lazy call?
...
trans (Thomas Sawyer)
06:36 PM Bug #6250 (Rejected): Enumerator::Lazy performance increased
#6183 is reopened now. Please discuss it in that ticket. Thanks,
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
05:52 PM Bug #6250 (Rejected): Enumerator::Lazy performance increased
=begin
I'm terribly sorry but it seems that I can't reopen existing issue (https://bugs.ruby-lang.org/issues/6183), ...
gregolsen (Innokenty Mikhailov)
07:30 PM Revision 58a9bf0c (git): Don't call f.close if f is nil or already closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:24 PM Revision d3740044 (git): * 2012-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:24 PM Revision bc2ece6c (git): * lib/ftp/ftp.rb (Net::FTP#close): close socket more gracefully.
* lib/ftp/ftp.rb (Net::BufferedSocket#shutdown): added.
* test/net/ftp/test_ftp.rb (FTPTest#create_ftp_server): wait...
naruse (Yui NARUSE)
07:08 PM Bug #6213: Builder::XmlMarkup drops html_safe
=begin
"metadata" in builder-3.0.0.gem contains:
authors:
- Jim Weirich
email: [email protected]
hom...
nobu (Nobuyoshi Nakada)
04:09 PM Bug #6213: Builder::XmlMarkup drops html_safe
eike.rb (Eike Dierks) wrote:
> you're probably right that this is in a third party gem,
> but the xml builder is qu...
naruse (Yui NARUSE)
02:07 PM Bug #6213: Builder::XmlMarkup drops html_safe
shyouhei (Shyouhei Urabe) wrote:
> I guess it is the builder gem.
Hi Shyouhei,
you're probably right that this is in...
eike.rb (Eike Dierks)
06:41 PM Feature #6251 (Assigned): Magic comments for compile options
mame (Yusuke Endoh)
06:20 PM Feature #6251 (Feedback): Magic comments for compile options
Currently, compile options can be set by RubyVM::InstructionSequence.compile_option=.
However, it takes effect only ...
shugo (Shugo Maeda)
06:33 PM Bug #6169 (Closed): Compile error "implicit declaration of function 'ruby_setreuid'", "'ruby_setregid'"
This issue was solved with changeset r35221.
Ted, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
06:03 PM Feature #4610: Proc#curry behavior is inconsistent with lambdas containing default argument values
Hello,
jballanc (Joshua Ballanco) wrote:
> I very much like the proposal for a Proc#pass_option method. Should th...
mame (Yusuke Endoh)
04:54 PM Feature #4610: Proc#curry behavior is inconsistent with lambdas containing default argument values
=begin
I have just tried with 2.0 and keyword args, and I think the situation is now more confusing. Now, if one wan...
jballanc (Joshua Ballanco)
12:18 AM Feature #4610 (Rejected): Proc#curry behavior is inconsistent with lambdas containing default argument values
Hello,
I don't think it is a good idea to solve the original problem by using Proc#curry.
And I like the current ...
mame (Yusuke Endoh)
02:30 PM Revision d7655cc2 (git): * test/mkmf/base.rb (TestMkmf#setup): remove uninitialized global variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:30 PM Revision 5c67392c (git): * test/mkmf/base.rb (TestMkmf#teardown): remove meaningless assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:20 PM Feature #4264: General type coercion protocol for Ruby
I really don't see how this can be about the "light" conversions, to_a, to_i, to_s, etc. It only makes sense to me as... trans (Thomas Sawyer)
07:59 AM Feature #4264: General type coercion protocol for Ruby
Hello,

Thank you, but still I'm not sure...
If we are writing the following code:

class Foo
def ...
mame (Yusuke Endoh)
03:52 AM Feature #4264: General type coercion protocol for Ruby
Oh, I just noticed that attachment is actually from earlier in the conversion. trans (Thomas Sawyer)
03:50 AM Feature #4264: General type coercion protocol for Ruby
This may be of some interest to the conversation:
http://rubyworks.github.com/platypus/
It includes a derivat...
trans (Thomas Sawyer)
02:14 AM Feature #4264: General type coercion protocol for Ruby
Mostly I'd like to see some consistency in coercion supported by a base protocol in Ruby itself.
The rough proposa...
headius (Charles Nutter)
11:15 AM Bug #6246: 1.9.3-p125 intermittent segfault
Aaron, I ran a valgrind as follows:
valgrind /home/deploy/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -Iext:test /home/d...
jshow (Jodi Showers)
10:29 AM Bug #6246: 1.9.3-p125 intermittent segfault
yes please - never used valgrind but will learn.
thanks
jshow (Jodi Showers)
07:53 AM Bug #6246: 1.9.3-p125 intermittent segfault
On Tue, Apr 03, 2012 at 04:22:04AM +0900, jshow (Jodi Showers) wrote:
>
> Issue #6246 has been reported by jshow ...
Anonymous
04:22 AM Bug #6246 (Closed): 1.9.3-p125 intermittent segfault
I've seen this behavior in 1.9.3p0 and 1.9.3p125
Intermittently, a rails 3.2 rake task will break while compiling ...
jshow (Jodi Showers)
10:18 AM Bug #6214 (Closed): warnings on inspect for Enumerator objects if $VERBOSE
This issue was solved with changeset r35218.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
10:03 AM Revision 995d212a (git): * test/net/ftp/test_ftp.rb (FTPTest#create_ftp_server): should wait
a little before closing socket because if the client call
Net::FTP#getmultiline the socket is suddenly closed by th...
U.Nakamura
09:41 AM Revision 9102ee7b (git): * test/mkmf: remove generated files and ensure nothing left.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:34 AM Revision 65d88f94 (git): merge revision(s) 35221:
* process.c (setreuid, setregid): suppress warnings.
[ruby-core:43374][Bug #6169]
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
09:33 AM Revision ca512bda (git): * process.c (setreuid, setregid): suppress warnings.
[ruby-core:43374][Bug #6169]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35221 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
08:06 AM Bug #6249 (Closed): Process.exec doesn't restore the environment if it fails
>> ENV["foo"]
=> nil
>> Process.exec({"foo" => "bar"}, "nonexistent")
Errno::ENOENT: No such file or directory - n...
john_firebaugh (John Firebaugh)
08:05 AM Bug #6248 (Third Party's Issue): Truncation of log when null character included in stream
=begin
Seems to be an issue of syslog(), not ruby:
$ cat t.c
#include <syslog.h>
#include <stdarg.h>
...
drbrain (Eric Hodel)
06:00 AM Bug #6248 (Third Party's Issue): Truncation of log when null character included in stream
require 'syslog'
Syslog.open("n")
Syslog.info("everything is normal and fine\0 additional message")
This r...
rubysubmit (Ruby Submit)
05:57 AM Bug #6247 (Closed): Range not checked for day of year
File: strftime.c
case 'j': /* day of the year, 001 - 366 */
FMT('0', 3, "d", vtm->yday);
continue;
The...
rubysubmit (Ruby Submit)
05:12 AM Feature #6243: Make ERB Ruby's Super Power
@kernigh You actually tried it!? Sweet!
Looking it over the error was probably b/c the first `<%=` should not have...
trans (Thomas Sawyer)
04:43 AM Feature #6243: Make ERB Ruby's Super Power
=begin
The original poster's code (for ERB) fails with SyntaxError.
This code (for plain Ruby) works:
class Let...
kernigh (George Koehler)
04:31 AM Feature #6245: "is_integer?" method declaration in prelude
They want it, i write it. Sorry if i have a fault.
http://whynotwiki.com/Ruby_/_Problems#String.23is_type.3F
apresc...
regularlambda (Mahmut Bulut)
04:23 AM Feature #6245: "is_integer?" method declaration in prelude
On Mon, Apr 2, 2012 at 19:58, regularlambda (Mahmut Bulut) <
[email protected]> wrote:

> Dear Rubyists, ...
aprescott (Adam Prescott)
03:58 AM Feature #6245 (Rejected): "is_integer?" method declaration in prelude
Dear Rubyists, can we add "is_integer?" method to our core for main purposes of checking integerITY?
I add it to "go...
regularlambda (Mahmut Bulut)
04:27 AM Revision 31bd33a6 (git): Revert r35180; the fix break the test. see [ruby-dev:30653]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:53 AM Feature #6244 (Rejected): Removal of some unused functions from /ext/json/fbuffer/fbuffer.h
I saw there are some not used function calls in /ext/json/fbuffer/fbuffer.h
I opened an issue about this extra cod...
regularlambda (Mahmut Bulut)
03:23 AM Feature #5455: $SAFE should be removed
Hi,

In message "Re: [ruby-core:44062] [ruby-trunk - Feature #5455] $SAFE should be removed"
on Mon, 2 Apr...
matz (Yukihiro Matsumoto)
02:59 AM Feature #5455: $SAFE should be removed
Hi,

In message "Re: [ruby-core:44075] [ruby-trunk - Feature #5455] $SAFE should be removed"
on Tue, 3 Apr...
matz (Yukihiro Matsumoto)
02:07 AM Feature #5455: $SAFE should be removed
A deprecation warning would be good in any case.
Is it the position of ruby-core/MRI/Matz that $SAFE should be use...
headius (Charles Nutter)
01:24 AM Revision b30aa267 (git): initialize IDs in advance.
* enumerator.c (Init_Enumerator): initialize IDs in advance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35219...
nobu (Nobuyoshi Nakada)
01:18 AM Revision 63e8110b (git): * enumerator.c (inspect_enumerator): suppress uninitialized
instance variable warnings. [ruby-dev:45449][Bug #6214]
patched by no6v (Nobuhiro IMAI).
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)

04/02/2012

11:34 PM Bug #6238 (Third Party's Issue): Seg fault in net/http.rb line 799
This is because Mac OS X bundled openssl.
See http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fau...
naruse (Yui NARUSE)
11:13 PM Bug #6237 (Rejected): ruby my_controller.rbでSEGV
エイプリルフール終わり。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
11:13 PM Feature #6242 (Rejected): Ruby should support lists
April fools' day ended. Thanks.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
11:53 AM Feature #6242: Ruby should support lists
On Sunday, April 1, 2012 at 10:40 PM, Bill Kelly wrote:
> shugo (Shugo Maeda) wrote:
> >
> > But the following ...
jballanc (Joshua Ballanco)
11:53 AM Feature #6242: Ruby should support lists
shugo (Shugo Maeda) wrote:
>
> But the following comment reminded me that Ruby was originally Smalltalk, not a ...
spatulasnout (B Kelly)
11:23 AM Feature #6242: Ruby should support lists
On Mon, Apr 02, 2012 at 10:56:47AM +0900, shugo (Shugo Maeda) wrote:
>
> Issue #6242 has been updated by shugo (S...
Anonymous
10:59 AM Feature #6242: Ruby should support lists
On Mon, Apr 02, 2012 at 09:14:30AM +0900, xds2000 (deshi xiao) wrote:
>
> Issue #6242 has been updated by xds2000...
Anonymous
10:56 AM Feature #6242: Ruby should support lists
xds2000 (deshi xiao) wrote:
> Hi,shugo
> What benefits of the proposed lisp changed? I am very confuse this LISP ...
shugo (Shugo Maeda)
10:38 AM Feature #6242: Ruby should support lists
shugo (Shugo Maeda) wrote:
> But the following comment reminded me that Ruby was originally Smalltalk, not a LISP.
...
drbrain (Eric Hodel)
09:13 AM Feature #6242: Ruby should support lists
Hi,shugo
What benefits of the proposed lisp changed? I am very confuse this LISP list feature. your sample is very...
xds2000 (deshi xiao)
08:59 AM Feature #6242: Ruby should support lists
drbrain (Eric Hodel) wrote:
> I have heard Ruby is a LISP too:
>
> http://www.jwz.org/blog/2012/03/haters-gonna-h...
shugo (Shugo Maeda)
04:07 AM Feature #6242: Ruby should support lists
I have heard Ruby is a LISP too:
http://www.jwz.org/blog/2012/03/haters-gonna-hate-tail-call-optimization/#comment...
drbrain (Eric Hodel)
10:59 PM Feature #6240 (Assigned): Enumerable#drop with negative argument
mame (Yusuke Endoh)
10:41 AM Feature #6240: Enumerable#drop with negative argument
marcandre (Marc-Andre Lafortune) wrote:
> > How Enumerable#drop can know the total number of elements?
> > The sour...
shugo (Shugo Maeda)
08:38 AM Feature #6240: Enumerable#drop with negative argument
Hi,
shugo (Shugo Maeda) wrote:
> How Enumerable#drop can know the total number of elements?
> The source of elem...
marcandre (Marc-Andre Lafortune)
10:44 PM Feature #4264: General type coercion protocol for Ruby
Hello,
I can't remember why I assigned this to myself...
I think I can do nothing about this ticket.
So I assign...
mame (Yusuke Endoh)
10:23 PM Feature #4592: Tempfileを直接保存したい
(2012/04/02 21:50), mame (Yusuke Endoh) wrote:
> くらいだったと思います。間違ってたら正してください > 参加者

 間違ってないですが,個人的には Tempfile イン...
ko1 (Koichi Sasada)
09:50 PM Feature #4592: Tempfileを直接保存したい
mame (Yusuke Endoh) wrote:
> どういう意味でこのチケットを自分にアサインしたか忘れてしまったのですが。
思い出しました。開発者会議で出た内容をまとめて matz に振るのでした。
しかし開発者会議...
mame (Yusuke Endoh)
10:17 PM Feature #6082: io_binwrite()内でwritev()を使う
次のようなベンチマークを実行してみましたが、結果にばらつきはあるものの意味のある高速化にはならなかったようです。
require 'benchmark'
require 'tempfile'
str = "a" * 80...
Glass_saga (Masaki Matsushita)
09:42 PM Feature #6130: inspect using to_s is pain
I'm not sure if it is trivial to fix this issue.
Could anyone please create a patch and study the behavior?
--
...
mame (Yusuke Endoh)
09:25 PM Bug #4453: Overriding #to_s changes #inspect
A feature ticket #6130 duplicates this ticket.
And matz accepted #6130. So this will be "fixed" in 2.0
To preven...
mame (Yusuke Endoh)
07:05 PM Bug #4453: Overriding #to_s changes #inspect
qwerty55 (salvatore giudice) wrote:
> Is there some reason that this bug persists for years?
Because you didn't r...
naruse (Yui NARUSE)
10:55 AM Bug #4453: Overriding #to_s changes #inspect
Is there some reason that this bug persists for years? Every time I'm debugging a new ruby programmer's code, I run i... qwerty55 (salvatore giudice)
06:23 PM Feature #6166: Enumerator::Lazy#pinch
I don't understand what you mean by "So to make #pinch work as if "not acting in place", sequence needs to keep the v... trans (Thomas Sawyer)
10:42 AM Feature #6166: Enumerator::Lazy#pinch
I am not sure what you mean by "does not act in place". Lazy sequence has position. Retrieving value from sequence ... matz (Yukihiro Matsumoto)
03:15 AM Feature #6166: Enumerator::Lazy#pinch
It should have no effect on `lz` either way. It does not act in place.
lz = (1..100).lazy
lz.pinch(0,2) #=> [1,...
trans (Thomas Sawyer)
01:38 AM Feature #6166: Enumerator::Lazy#pinch
What happens when you call #pinch (or whatever) twice on same lazy sequence?
e.g.
lz = (1..100).lazy
lz.pi...
matz (Yukihiro Matsumoto)
05:43 PM Feature #5455: $SAFE should be removed
Thanks for the swift response!
> I don't know why you are so eager to remove it. It's not part of "the
> spec". ...
nahi (Hiroshi Nakamura)
05:29 PM Feature #5455: $SAFE should be removed
Hi,

I don't know why you are so eager to remove it. It's not part of "the
spec". It's CRuby's implementatio...
matz (Yukihiro Matsumoto)
05:17 PM Feature #5455: $SAFE should be removed
I guess Endoh-san postponed the decision to 3.0 dev cycle, but please allow me to try a bit more now.
If removing ...
nahi (Hiroshi Nakamura)
04:36 PM Feature #6236: WEBrick::HTTPServer swallows Exception
I couldn't see that it was reasonable for WEBrick to expect to handle any of the Exception subclasses that aren't Sta... regularfry (Alex Young)
03:29 PM Revision ecabd169 (git): * 2012-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 0ec53924 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:34 AM Bug #5536 (Closed): String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
This issue was solved with changeset r35213.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
09:44 AM Revision c00b706c (git): check_definition: duplicated code
* vm_method.c (check_definition): moved duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35215 b2d...
nobu (Nobuyoshi Nakada)
06:31 AM Feature #6243 (Rejected): Make ERB Ruby's Super Power
As a Super Ruby Developer
I want to make Ruby Super Developery
Given wimpy Ruby, coding is arduous:
class Lett...
trans (Thomas Sawyer)
06:05 AM Feature #6241: Module#method_defined? with inherited flag
I think this is certainly a good idea. But I want to also point out that it's not always ideal either b/c #method_def... trans (Thomas Sawyer)
04:25 AM Revision a59bfa76 (git): * lib/optparse/ac.rb: autoconf-like options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:40 AM Feature #5663: Combined map/select method
Maybe `#select_yield`, since that what it is doing.
Which reminds me, is there an equivalent `#find` method to thi...
trans (Thomas Sawyer)
01:37 AM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
方向としては良いかと思います。
readpartial って、@buffer_size が 0 でない限り、空文字列を返すことってないような気がします。
test/webrick/test_httpserver.rb 用のテス...
naruse (Yui NARUSE)
01:34 AM Revision 38b8afcf (git): * string.c (rb_str_start_with, rb_str_end_with): raise an error if
an argument is not convertible to a String.
[ruby-core:40623][Bug #5536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)

04/01/2012

11:14 PM Feature #6242: Ruby should support lists
Updated the patch to add methods: foldl, foldr, +, flatten/concat, map, flat_map/concat_map,
filter, length/size, su...
shugo (Shugo Maeda)
02:10 PM Feature #6242: Ruby should support lists
Updated the patch to evaluate `x ::: y' as `y.:::(x)', not `x.:::(y)'. shugo (Shugo Maeda)
12:17 PM Feature #6242 (Rejected): Ruby should support lists
I've heard that Ruby is a LISP.
LISP stands for "LISt Processing."
Hence, Ruby should support lists.
I've attach...
shugo (Shugo Maeda)
09:06 PM Revision 86300419 (git): Refix of 35206; 0.3 is too small for Ruby's timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:00 PM Revision 61fcda16 (git): ReRefix the test for r35205.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:59 PM Revision 9d8ca7e1 (git): Refix the test for r35205.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:42 PM Revision 8520505e (git): Fix the test for r35205.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:36 PM Revision 1c6d6cad (git): * 2012-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:36 PM Revision f898efd8 (git): * lib/webrick/server.rb (WEBrick::GenericServer): close socket only if
the socket is not closed yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35207 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
02:06 PM Revision 4179e0b5 (git): Client waits only the first line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:06 PM Revision ae79409d (git): * lib/net/ftp.rb (Net::BufferedSocket): should delegate send() to @io
for Net::FTP#abort and Net::FTP#status..
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35205 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
01:10 PM Feature #6222: Use ++ to connect statements
You are right, anything other than 'then' or maybe 'also' hurts readability. Guess I'm too obsessed with finding some... gcao (Guoliang Cao)
12:49 AM Feature #6222: Use ++ to connect statements
Guoliang, my issue with "(a; return b) if condition?" is that I don't find it readable and would prefer to read "a th... rosenfeld (Rodrigo Rosenfeld Rosas)
12:19 PM Feature #5673: undef_method probably doesn't need to raise an error
@nobu Well, first let me point out that if method `#foo` is private, then it ain't so simple again. But secondly and ... trans (Thomas Sawyer)
08:10 AM Feature #5673: undef_method probably doesn't need to raise an error
trans (Thomas Sawyer) wrote:
> If we need to remove a method from a class/module that may or may not have the method...
nobu (Nobuyoshi Nakada)
03:53 AM Feature #5673: undef_method probably doesn't need to raise an error
What about two methods, undef_method and undef_method!, one which returns a
boolean, one which raises?
aprescott (Adam Prescott)
03:19 AM Feature #5673: undef_method probably doesn't need to raise an error
B/c often times it's not an error. Cases such as undefining method before redefining new one to suppress warning mess... trans (Thomas Sawyer)
01:30 AM Feature #5673 (Feedback): undef_method probably doesn't need to raise an error
I think raising error can catch potential bugs earlier. What is the benefit of ignoring error?
Matz.
matz (Yukihiro Matsumoto)
12:18 PM Revision 69fa2fe9 (git): * missing/alloca.c: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:53 AM Feature #5663: Combined map/select method
Hi,

(12/02/01 18:14), Юрий Соколов wrote:
>> Try each_with_object.
>
> Yeah, it is good :) though it hav...
nobu (Nobuyoshi Nakada)
11:18 AM Feature #5663: Combined map/select method
I actually prefer map_select as it is self-explanatory. There isn't a single word that is able to clearly provide the... rosenfeld (Rodrigo Rosenfeld Rosas)
02:39 AM Feature #5663 (Feedback): Combined map/select method
I am OK with the original map_select behavior, but I don't like the name #map_select.
It is combination of -ect fami...
matz (Yukihiro Matsumoto)
11:14 AM Bug #6226 (Third Party's Issue): Star operator crashes when it using in irb on Fedora
nobu (Nobuyoshi Nakada)
11:14 AM Bug #6226 (Rejected): Star operator crashes when it using in irb on Fedora
nobu (Nobuyoshi Nakada)
09:58 AM Bug #6226: Star operator crashes when it using in irb on Fedora
Today I've checked this bug again and he's gone.
I think my Fedora has installed the necessary update after that the...
newmen (Gleb Averchuk)
09:31 AM Bug #6237 (Assigned): ruby my_controller.rbでSEGV
たしかにSEGVします。
ただし、このパッチでは make love に失敗するので愛が足りないようです。
nobu (Nobuyoshi Nakada)
01:45 AM Bug #6237 (Rejected): ruby my_controller.rbでSEGV
以下のようにすると [BUG] となって落ちます。
~/rails3test/test32/app/controllers$ ~/rubies/trunk/bin/ruby-trunk my_controller.rb
my...
tad (Tadashi Saito)
09:05 AM Feature #6240: Enumerable#drop with negative argument
marcandre (Marc-Andre Lafortune) wrote:
> Currently, Enumerable#drop works only for non-negative arguments.
>
> I...
shugo (Shugo Maeda)
05:57 AM Feature #6240 (Closed): Enumerable#drop with negative argument
Currently, Enumerable#drop works only for non-negative arguments.
It could be extended so that negative arguments ...
marcandre (Marc-Andre Lafortune)
09:01 AM Feature #6241 (Rejected): Module#method_defined? with inherited flag
=begin
Currently (({Module#method_defined?})) does not accept "(({inherited}))" flags as (({Module#instance_methods}...
nobu (Nobuyoshi Nakada)
05:52 AM Feature #6166: Enumerator::Lazy#pinch
Sorry to be late to the party.
If this method was called `slice`, would it be more acceptable?
It would be easy...
marcandre (Marc-Andre Lafortune)
03:47 AM Feature #6166: Enumerator::Lazy#pinch
I don't care about name "#pinch", but functionality. Using #first with #drop is not always optimal.
1) Given d = [...
trans (Thomas Sawyer)
02:54 AM Feature #6166: Enumerator::Lazy#pinch
I am sure #first not to be lazy. And you can combine it with #drop to take the value in the middle.
#pinch does not ...
matz (Yukihiro Matsumoto)
02:48 AM Feature #6166: Enumerator::Lazy#pinch
Also are you sure #first should be non-lazy? e.g.
max_records = 1000000
recs = records.first(max_records)
re...
trans (Thomas Sawyer)
02:38 AM Feature #6166: Enumerator::Lazy#pinch
But #first can't give a range. e.g. `(2..3)` or `(2,2)`. So there is no way to get such without de-lazying whole enum... trans (Thomas Sawyer)
02:26 AM Feature #6166 (Rejected): Enumerator::Lazy#pinch
I like #first better.
Matz.
matz (Yukihiro Matsumoto)
03:36 AM Feature #5628: Module#basename
You are right about name, it would have to be something else besides #basename.
Yehuda Katz said he would probably...
trans (Thomas Sawyer)
01:29 AM Feature #5628 (Feedback): Module#basename
I am not sure if it's worth adding to the core. It is so easy to add by third-party lib.
Besides that, even though ...
matz (Yukihiro Matsumoto)
02:30 AM Feature #5899 (Feedback): chaining comparsions.
I don't think changing "`1 < b < 4`" to "`1 < b && b < 4`" is that hard task.
I am not sure it's worth allowing conf...
matz (Yukihiro Matsumoto)
01:57 AM Bug #6238 (Third Party's Issue): Seg fault in net/http.rb line 799
Call to socket connect seg faults. Trace attached.
jhaungs (Jim Haungs)
12:49 AM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
of course it's the FD_SETSIZE macro I'm talking about... jonforums (Jon Forums)
12:27 AM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
In my configuration, one fix is to remove the recent -DFD_SETSEZE=32767 define from the RubyInstaller build recipe. R... jonforums (Jon Forums)
12:33 AM Feature #5148: Constant Namespace/Scoping in Dynamic Classes/Modules
I think this change is a good idea, basically. But I am not sure how much influence it would have to existing Ruby p... matz (Yukihiro Matsumoto)
12:24 AM Feature #6236: WEBrick::HTTPServer swallows Exception
I like this idea, but why not rescue Interrupt separately from Exception instead? This preserves the exception-tolera... drbrain (Eric Hodel)
12:15 AM Revision 43e5c0a1 (git): * 2012-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:15 AM Revision 76f5831b (git): * Forgot to bump patch level
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
12:04 AM Feature #5767: Cache expanded_load_path to reduce startup time
> Does this have any effect on https://bugs.ruby-lang.org/issues/4969 (scroll down to post #7).
Thomas Sawyer, thi...
funny_falcon (Yura Sokolov)

03/31/2012

11:53 PM Feature #6222: Use ++ to connect statements
Even though using 'also' means adding a new keyword and breaks compatibility, practically no one uses it as method na... gcao (Guoliang Cao)
11:50 PM Feature #6133: SSLSocketをshutdownできない
http://www.faqs.org/faqs/unix-faq/socket/
http://www.kt.rim.or.jp/~ksk/sock-faq/unix-socket-faq-ja-2.html#ss2.6
2...
kik (Masashi Kikuchi)
11:36 AM Feature #6133: SSLSocketをshutdownできない
nahi (Hiroshi Nakamura) wrote:
> Martin, I'll ask OP for detail in Japanese and update you.
Thanks a lot!
MartinBosslet (Martin Bosslet)
09:48 PM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
patch のインデント崩れと綴り間違い (rescue) に気づいたため、gist にあげました。
https://gist.github.com/2263660
nobuoka (yu nobuoka)
03:58 AM Bug #6230 (Closed): [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
WEBrick::HTTPResponse の @body には IO オブジェクトを設定できますが、@body に設定された IO オブジェクトからの読み出しの際に IO#read( @buffer_size ) で行われるため、@... nobuoka (yu nobuoka)
09:36 PM Bug #6229 (Closed): [WEBrick] HTTPResponse#body no
naruse (Yui NARUSE)
09:22 PM Bug #6229: [WEBrick] HTTPResponse#body no
ちゃんと調べずに、題名や説明の編集はできないものだと思っていました。 Issue Tracking > Edit Issues right を持っているユーザーならば編集できるのですね。
http://www.redmine.o...
nobuoka (yu nobuoka)
05:46 PM Bug #6229: [WEBrick] HTTPResponse#body no
チケットの「更新」画面で「プロパティの変更 」の(続き)をクリックすると、題名や説明も編集できます。 nobu (Nobuyoshi Nakada)
03:45 AM Bug #6229: [WEBrick] HTTPResponse#body no
申し訳ありません。 途中で送信してしまいました。
チケットを作り直します。
nobuoka (yu nobuoka)
03:43 AM Bug #6229 (Closed): [WEBrick] HTTPResponse#body no
nobuoka (yu nobuoka)
08:50 PM Feature #4592: Tempfileを直接保存したい
どういう意味でこのチケットを自分にアサインしたか忘れてしまったのですが。
shyouhei (Shyouhei Urabe) wrote:
> * closeと同時というのを諦め、closeのちょっと後でよければ、普通にm...
mame (Yusuke Endoh)
08:31 PM Bug #4971: Module#class_variables
まつもとさん、この件ですがどうでしょうか?
shugo (Shugo Maeda) wrote:
> 前田です。
>
> Shugo Maeda wrote:
> > 個人的には、Module#class_variab...
shugo (Shugo Maeda)
07:58 PM Feature #5427: Not complex patch to improve `require` time (load.c)
> The proposal is COMPLETELY compatible?
Unlike #5767 , this proposal is slightly incompatible, because it forces ...
funny_falcon (Yura Sokolov)
10:29 AM Feature #5427 (Assigned): Not complex patch to improve `require` time (load.c)
Sorry I don't catch up the discussion.
What's the status?
The proposal is COMPLETELY compatible?
It may be helpf...
mame (Yusuke Endoh)
07:23 PM Feature #5767: Cache expanded_load_path to reduce startup time
Does this have any effect on https://bugs.ruby-lang.org/issues/4969 (scroll down to post #7).
trans (Thomas Sawyer)
07:03 PM Feature #5767: Cache expanded_load_path to reduce startup time
> The proposal is COMPLETELY compatible?
This proposal is completely compatible, since LOAD_PATH remains the same ...
funny_falcon (Yura Sokolov)
10:28 AM Feature #5767 (Assigned): Cache expanded_load_path to reduce startup time
Sorry I don't catch up the discussion.
What's the status?
The proposal is COMPLETELY compatible?
It may be helpf...
mame (Yusuke Endoh)
06:24 PM Feature #5628: Module#basename
=begin
I'm doing something remarkably similar to this for mapping command-line subcommand selection into a module's ...
regularfry (Alex Young)
11:29 AM Feature #5628: Module#basename
Common case (for me) is when user selects a "plug-in" via a command line option. For example a pseudo test framework:... trans (Thomas Sawyer)
11:15 AM Feature #5628: Module#basename
Hello,
2011/11/14 Thomas Sawyer <[email protected]>:
> Something I use fairly often:
>
> some_module.name....
mame (Yusuke Endoh)
11:09 AM Feature #5628 (Assigned): Module#basename
mame (Yusuke Endoh)
06:23 PM Feature #5898: raise and Exception#initialize
If you can show the answer to the questions in comment #1([ruby-core:42143]) and it is reasonable, this may advance. nobu (Nobuyoshi Nakada)
11:05 AM Feature #5898: raise and Exception#initialize
You can reject it, but this will eventually come up again b/c current behaviour is confusing, inconsistent and either... trans (Thomas Sawyer)
10:38 AM Feature #5898 (Rejected): raise and Exception#initialize
nobu (Nobuyoshi Nakada)
06:19 PM Feature #5148: Constant Namespace/Scoping in Dynamic Classes/Modules
I don't think it will be accepted. nobu (Nobuyoshi Nakada)
10:18 AM Feature #5148 (Assigned): Constant Namespace/Scoping in Dynamic Classes/Modules
Hello,
Matz, do you think it should be fixed?
Nobu, do you think it can be fixed?
--
Yusuke Endoh <mame@tsg....
mame (Yusuke Endoh)
06:18 PM Feature #6236 (Closed): WEBrick::HTTPServer swallows Exception
At the moment when using WEBrick you've always got to remember to define a signal handler to be able to kill the serv... regularfry (Alex Young)
05:53 PM Feature #5945: Add the ability to mark a at_exit as process-local.
2012/3/30 mame (Yusuke Endoh) <[email protected]>:
>
> Issue #5945 has been updated by mame (Yusuke Endoh).
>
>...
kosaki (Motohiro KOSAKI)
10:20 AM Feature #5945 (Assigned): Add the ability to mark a at_exit as process-local.
Matz, do you think this kind of feature is needed?
I guess you'll say, the argument should be a keyword option, at l...
mame (Yusuke Endoh)
05:44 PM Feature #5779 (Rejected): Ruby-FTP - allow easy way to find out whether a remote target is a file or a directory
shevegen (markus heiler) wrote:
> When you have a local file on your HDD, you can do this:
>
> File.directory? ...
shugo (Shugo Maeda)
05:23 PM Feature #5630 (Feedback): Missing custom transfer modes in Net::FTP
Lavir_the_Whiolet (Lavir the Whiolet) wrote:
> Net::FTP supports binary and text transfer modes only but some system...
shugo (Shugo Maeda)
03:56 PM Revision 19c9ac24 (git): * 2012-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:56 PM Revision d8438024 (git): * lib/net/ftp.rb: fixed the domain name in examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
01:30 PM Revision 3c491a92 (git): * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): dup to prevent
@timeout_info's "can't add a new key into hash during iteration".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
naruse (Yui NARUSE)
12:44 PM Feature #2968: 数値の正負を返すメソッド
#5523 でも触れましたが Complex#sign は z/|z| を返すのが数学的に一番よろしいかと思います。ふなばさんは #5523 では「複素数はエラーを考えています。」と仰っています。 hasari (Hiro Asari)
12:25 PM Feature #6180: to_b for converting objects to a boolean value
I understand that the Ruby way leans on true and false like values rather than a strict use of true and false. The us... AaronLasseigne (Aaron Lasseigne)
12:25 AM Feature #6180 (Rejected): to_b for converting objects to a boolean value
to_b is not acceptable, since it's very ambiguous.
to_bool might be more descriptive then !! but I am not sure where...
matz (Yukihiro Matsumoto)
11:52 AM Feature #5677: IO C API
nobu (Nobuyoshi Nakada) wrote:
>
> Can't you use rb_io_stdio_file()?
> And OpenSSL seems providing BIO_new_fd() to...
MartinBosslet (Martin Bosslet)
10:53 AM Feature #5677 (Assigned): IO C API
MartinBosslet (Martin Bosslet) wrote:
> 1. Duplicating the file descriptor to obtain a pure FILE*
> like it is done...
nobu (Nobuyoshi Nakada)
11:13 AM Feature #6219 (Feedback): Return value of Hash#store
matz (Yukihiro Matsumoto)
10:07 AM Feature #6219: Return value of Hash#store
by spec, all assignment should return the assigning value (to enable assignment chain), so that I have to reject the ... matz (Yukihiro Matsumoto)
11:10 AM Feature #6210 (Assigned): load should provide a way to specify the top-level module
mame (Yusuke Endoh)
11:10 AM Feature #6199 (Assigned): Organize gc.c a bit
mame (Yusuke Endoh)
11:09 AM Bug #6233: Definition of EVP_MD_CTX_cleanup incomplete.
mame (Yusuke Endoh) wrote:
> I have no opinion about with this paticular case.
> Is 0.9.6 still (effectively) mai...
MartinBosslet (Martin Bosslet)
10:12 AM Bug #6233: Definition of EVP_MD_CTX_cleanup incomplete.
Thank you for your quick reply.
Ultimately, everything about standard library is determined by
each maintainer. ...
mame (Yusuke Endoh)
09:19 AM Bug #6233: Definition of EVP_MD_CTX_cleanup incomplete.
mame (Yusuke Endoh) wrote:
> Hello, emboss
>
> What do you think?
>
Hi, I think it's a valid point - here is...
MartinBosslet (Martin Bosslet)
08:27 AM Bug #6233 (Assigned): Definition of EVP_MD_CTX_cleanup incomplete.
Hello, emboss
What do you think?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
07:57 AM Bug #6233 (Closed): Definition of EVP_MD_CTX_cleanup incomplete.
File: ext\openssl\openssl_missing.c
Line: 67
#if !defined(HAVE_EVP_MD_CTX_CLEANUP)
int
EVP_MD_CTX_cleanup(EVP_M...
rubysubmit (Ruby Submit)
11:09 AM Feature #4211 (Assigned): Converting the Ruby and C API documentation to YARD syntax
mame (Yusuke Endoh)
11:09 AM Feature #4151 (Assigned): Enumerable#categorize
mame (Yusuke Endoh)
11:08 AM Feature #3575 (Assigned): String#split is inconsistent with empty string and negative limit
mame (Yusuke Endoh)
11:08 AM Feature #3207 (Assigned): refinement of IO's bizarre behavior
mame (Yusuke Endoh)
11:07 AM Feature #5904 (Rejected): Freezing true, false, nil, ordinals, symbols...
mame (Yusuke Endoh)
10:17 AM Feature #3647 (Feedback): Array#sample(n, replace=false)
mrkn さん、
matz の「本当に必要なの」というのに返事と、キーワードの名前の候補出しをお願いします。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
09:48 AM Bug #6234: Incomplete code in ossl_pkey_ec.c
I'm afraid I'm not entirely sure what the original intention was there.
Is technorama still around? Could we ask he...
MartinBosslet (Martin Bosslet)
08:28 AM Bug #6234 (Assigned): Incomplete code in ossl_pkey_ec.c
Assigning to emboss too. Thanks.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
07:57 AM Bug #6234 (Closed): Incomplete code in ossl_pkey_ec.c
File: ext\openssl\ossl_pkey_ec.c
} else {
BIO *in = ossl_obj2bio(arg1);
/* BUG: finish me */
...
rubysubmit (Ruby Submit)
08:58 AM Feature #6130: inspect using to_s is pain
> Please let me if you know such a case.
Oops. Please let me know such a case if you know.
mame (Yusuke Endoh)
08:56 AM Feature #6130: inspect using to_s is pain
That's great to hear!
As 2.0 release manager, I'm positive to import this change in 2.0.
I think it does not ...
mame (Yusuke Endoh)
12:35 AM Feature #6130: inspect using to_s is pain
OK, I accept. The time for it would be upto the maintainer.
Matz.
matz (Yukihiro Matsumoto)
12:28 AM Feature #6130: inspect using to_s is pain
mame (Yusuke Endoh) wrote:
> If so I agree, though it may be difficult in 2.0.
I also agree, default #inspect is ...
Eregon (Benoit Daloze)
08:23 AM Bug #6235 (Assigned): Call to malloc not checked in thread_pthread.c
mame (Yusuke Endoh)
08:09 AM Bug #6235 (Closed): Call to malloc not checked in thread_pthread.c
File: thread_pthread.c
struct cached_thread_entry *entry =
(struct cached_thread_entry *)malloc(sizeof(stru...
rubysubmit (Ruby Submit)
08:18 AM Bug #6232 (Assigned): Ruby : Segmentation fault on Readline.refresh_line after screen resize.
Thank you for your report!
I could reproduce.
I assign this to the maintainer of readline.
--
Yusuke Endoh <ma...
mame (Yusuke Endoh)
07:31 AM Bug #6232 (Closed): Ruby : Segmentation fault on Readline.refresh_line after screen resize.
Repro
~~~ruby
require ‘readline’
Readline.set_screen_size(40, 80)
Readline.refresh_line
buf = Readline.rea...
rubysubmit (Ruby Submit)
08:13 AM Revision bfdccf09 (git): use super in h.default
* test/ruby/test_hash.rb (TestHash#test_shift_none): super in
singleton default method doesn't cause SystemStackErr...
nobu (Nobuyoshi Nakada)
06:38 AM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
Haven't found root cause, but these commits also have `Errno::EBADF` errors:
commit revision patch
------- ...
jonforums (Jon Forums)
03:55 AM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
Not yet. jonforums (Jon Forums)
02:09 AM Bug #6228: [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
Do you know which revision break it? naruse (Yui NARUSE)
01:30 AM Bug #6228 (Closed): [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
On Win7 32bit built with MinGW 4.6.2 using the RubyInstaller build recipes, I get the following test error:
sh-3...
jonforums (Jon Forums)
06:01 AM Bug #6231 (Closed): OpenSSL: Implicit conversion from long to int
=begin
Hello,
The following warnings were triggered by clang in OpenSSL
compiling ../../../ext/openssl/ossl_p...
luislavena (Luis Lavena)
05:23 AM Revision 160d02d8 (git): * hash.c (hash_default_value): extract from rb_hash_aref(), to be
shared with rb_hash_shift(), so that overriding Hash#default
will be respected.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
05:20 AM Revision 15ca66ef (git): * .gitignore: ignore generated file verconf.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
05:16 AM Revision e8a1874c (git): * hash.c: do not allocate st_table when it is not necessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:44 AM Revision 5f81a53f (git): * lib/net/ftp.rb (read_timeout=, open_timeout=): supported timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
04:20 AM Revision a3626110 (git): * hash.c: remove unnecessary checks for Qundef in hash iterations.
since hash use st_foreach_check for iterations, such checks are
needless.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
03:48 AM Bug #6197: readline module doesn't work with ansi code
nobu (Nobuyoshi Nakada) wrote:
> The upstream of readline is not here.
> And if you're using screen, try without it...
keysen (Jérémy Carlier)
03:12 AM Revision f1d5c87b (git): * 2012-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 AM Revision 5acdbe90 (git): * ext/openssl/ossl_x509cert.c: Fix doc typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
03:07 AM Revision d4f379ad (git): * ext/openssl/ossl_x509cert.c: Fix doc typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
01:27 AM Bug #6227 (Closed): [mingw] openssl backport causing test error
On Win7 32bit built with MinGW GCC 4.6.2 and the RubyInstaller build recipes, the following error occurs:
sh-3.1...
jonforums (Jon Forums)
01:13 AM Revision 94d0221d (git): * st.c (st_foreach_check, st_foreach): remove ancient check. This
check are from initial ordered hash commit when first entry were
created with entry->fore = entry->back = entry.
g...
nobu (Nobuyoshi Nakada)
01:01 AM Revision 44e6f5a1 (git): * st.c (st_delete): use real_entries in st_delete for packed tables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:59 AM Feature #5644: add Enumerable#exclude? antonym
On Fri, Mar 30, 2012 at 16:02, matz (Yukihiro Matsumoto)
<[email protected]> wrote:

> OK, you think negative fo...
now (Nikolai Weibull)
12:48 AM Revision d481e34e (git): misplaced rescue
* test/ruby/test_thread.rb (test_condvar_wait_deadlock_2): fix cleanup
code which is never executed because of misp...
nobu (Nobuyoshi Nakada)
12:36 AM Feature #6073 (Rejected): Proposal of extending syntax of for loop
matz (Yukihiro Matsumoto)
12:28 AM Feature #6073: Proposal of extending syntax of for loop
The current for statement does not do any map-like work. Under such behavior, extending for statement might not have... matz (Yukihiro Matsumoto)
12:32 AM Feature #5364 (Rejected): How about new syntax: "object.\method" returns a Method instance?
I am not against adding syntax notation to get method object, but I am not satisfied with all proposed notations. I ... matz (Yukihiro Matsumoto)

03/30/2012

11:49 PM Feature #5644: add Enumerable#exclude? antonym
There really is no better term b/c all such terms are going to have the same connotations.
As with "include" if yo...
trans (Thomas Sawyer)
11:18 PM Feature #5644: add Enumerable#exclude? antonym
The most common antonym is "exclude", but maybe we could use "omit" if you prefer:
http://www.synonym.com/antonym/...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:13 PM Feature #5644: add Enumerable#exclude? antonym
I think I've misunderstood the question posed by Nikolai. I've just read it again but I think that the other meaning ... rosenfeld (Rodrigo Rosenfeld Rosas)
11:09 PM Feature #5644: add Enumerable#exclude? antonym
At first I agreed with Nikolay, but then I changed my minded because the method is called "exclude?" with a question ... rosenfeld (Rodrigo Rosenfeld Rosas)
11:02 PM Feature #5644: add Enumerable#exclude? antonym
OK, you think negative for include? is special. Understood.
But as Nikolai pointed out, exclude? is not the best na...
matz (Yukihiro Matsumoto)
10:53 PM Revision 19762735 (git): * st.c (st_foreach_check): remove the entry by replacing with never
when ST_DELETE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:50 PM Bug #6214: warnings on inspect for Enumerator objects if $VERBOSE
これらのインスタンス変数はスクリプト側からは見えないので、
警告は出なくてもよいのではないですかね。そういう方向で
パッチとテストを書いてみたので、見ていただけるとありがたいです。
no6v (Nobuhiro IMAI)
10:47 PM Revision d0380e2e (git): * hash.c (st_foreach_safe): since table is not for VALUE, Qundef is
not special value, so use 0 instead. therefore this function can be
applied to only st_table which 0 is invalid as...
nobu (Nobuyoshi Nakada)
10:44 PM Revision 4fa32366 (git): * hash.c: Qundef cannot be passed from st_foreach_check().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:40 PM Revision 4b3a1f77 (git): * hash.c, marshal.c, object.c, variable.c: fix callback argument types
of iterators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:18 PM Revision db5ede22 (git): * 2012-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:18 PM Revision becc3000 (git): descriptive assertions
* test/ruby/test_hash.rb: use more descriptive assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35181 b...
nobu (Nobuyoshi Nakada)
10:18 PM Revision fc4e79e3 (git): join LocalBarrier
* test/ruby/lbtest.rb: needs to join the local barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35180 b2dd...
nobu (Nobuyoshi Nakada)
10:11 PM Feature #4965: The problem of "print line if line = DATA.gets"
Hi Matz, some people tried to with the argument that if you're reading a post-if/unless and they seem natural, using ... rosenfeld (Rodrigo Rosenfeld Rosas)
03:15 PM Feature #4965 (Rejected): The problem of "print line if line = DATA.gets"
The reason behind has been explained in #1141. If someone want to change the rule, he need to understand the rational... matz (Yukihiro Matsumoto)
08:32 PM Feature #6136 (Feedback): Add gpg signatures whenever releasing ruby source tarballs
I'm not sure if I understand your problem correctly.
I guess gpg does not work for you.
Could you elaborate your ...
mame (Yusuke Endoh)
08:02 PM Feature #6198 (Assigned): public/protected/private with attr_*
This issue is strongly related to #3753.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
05:55 PM Feature #6225: Hash#+
shyouhei (Shyouhei Urabe) wrote:
> Anyway there has been a long discussion around `+`s in programming languages. Fo...
naruse (Yui NARUSE)
04:55 PM Feature #6225: Hash#+
I myself do not care whether + to be symmetric or not. I care about key conflict.
Since conflicting cause value los...
matz (Yukihiro Matsumoto)
03:02 PM Feature #6225: Hash#+
In common sense, `*` is also commutative. But of course, for matrix multiplication, it's not.
Also, `+` is used in...
duerst (Martin Dürst)
12:07 PM Feature #6225: Hash#+
Sorry for my bad English, I didn't intend to attack you.
Anyway there has been a long discussion around `+`s in pr...
shyouhei (Shyouhei Urabe)
11:46 AM Feature #6225: Hash#+
> No binary operations shall be called `+` unless the operation is symmetric.
Why?
Also what do you mean by sym...
trans (Thomas Sawyer)
11:42 AM Feature #6225: Hash#+
In other words you don't like that `{a: 1} + {a: 2} != {a: 2} + {a: 1}`
But I really think programming is differen...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:30 AM Feature #6225: Hash#+
I object. No binary operations shall be called `+` unless the operation is symmetric.
For historical reasons there ...
shyouhei (Shyouhei Urabe)
09:39 AM Feature #6225: Hash#+
This argument really doesn't buy me. Groovy allows: `[key1: 'value1', another: 1] + [key2: 'value2', another: 2] == [... rosenfeld (Rodrigo Rosenfeld Rosas)
08:36 AM Feature #6225 (Assigned): Hash#+
Both String#+ and Array#+ delete no information, but
Hash#merge deletes duplicate fields.
I have heard it is the re...
mame (Yusuke Endoh)
08:19 AM Feature #6225 (Rejected): Hash#+
Strings and Arrays can be combined with #+. I don't see any reason not to allow Hashes to do so as well.
class H...
trans (Thomas Sawyer)
05:32 PM Feature #5809 (Feedback): Benchmark#bm: remove the label_width parameter
naruse (Yui NARUSE)
05:02 PM Feature #5970: Add Enumerable#join with same semantics as Array#join
now (Nikolai Weibull) wrote:
> Currently, to join the elements of an Enumerable, you need to call #to_a on the Enume...
shugo (Shugo Maeda)
12:46 AM Feature #5970 (Assigned): Add Enumerable#join with same semantics as Array#join
mame (Yusuke Endoh)
04:25 PM Feature #6201 (Rejected): do_something then return :special_case (include "then" operator)
Both "then" and "++" could compatibility problem. Your "a then b" or "a ++ b" can be implemented by "(a; b)" without ... matz (Yukihiro Matsumoto)
04:25 PM Feature #6222 (Rejected): Use ++ to connect statements
Both "then" and "++" could compatibility problem. Your "a then b" or "a ++ b" can be implemented by "(a; b)" without ... matz (Yukihiro Matsumoto)
08:23 AM Feature #6222: Use ++ to connect statements
'also' is worse than '++'.
Adding a new keyword causes significant compatibility issue.
def also
...
en...
mame (Yusuke Endoh)
08:11 AM Feature #6222: Use ++ to connect statements
What's wrong with:
(do_this; do_that; return) if condition
or perhaps you meant
do_this; do_that; return if co...
trans (Thomas Sawyer)
06:59 AM Feature #6222: Use ++ to connect statements
Please do any other name suggestions in the other ticket as suggested by Yusuke. rosenfeld (Rodrigo Rosenfeld Rosas)
02:35 AM Feature #6222: Use ++ to connect statements
I agree.
If 'then' or '++' does not work, what about 'also'? I'm not a native English speaker and not sure whether...
gcao (Guoliang Cao)
01:20 AM Feature #6222: Use ++ to connect statements
He didn't say it was useful. He just stated that the argument for allowing it in Ruby 2.0 is not valid because it wou... rosenfeld (Rodrigo Rosenfeld Rosas)
01:01 AM Feature #6222: Use ++ to connect statements
Sorry I didn't know this. I have never seen ++ in ruby code (except probably in books) and that made me think it is n... gcao (Guoliang Cao)
12:15 AM Feature #6222 (Assigned): Use ++ to connect statements
Hello,
I would be even happier if you respond that ticket instead
of adding a new one...
Of course, '++' also ...
mame (Yusuke Endoh)
04:23 PM Feature #6150 (Rejected): add Enumerable#grep_v
We are not going to add grep_v. There's possibility of adding :invert option to grep.
Matz.
matz (Yukihiro Matsumoto)
02:11 AM Feature #6150 (Assigned): add Enumerable#grep_v
mame (Yusuke Endoh)
04:20 PM Feature #5964 (Rejected): Make Symbols an Alternate Syntax for Strings
In Ruby, Symbols annd Strings are different in both semantics and behavior (and implementation).
Unifying them cause...
matz (Yukihiro Matsumoto)
12:45 AM Feature #5964 (Assigned): Make Symbols an Alternate Syntax for Strings
mame (Yusuke Endoh)
03:31 PM Feature #6088: Add Net::ReadTimeout to distinguish which operation failed
You can commit it. naruse (Yui NARUSE)
05:23 AM Feature #6088: Add Net::ReadTimeout to distinguish which operation failed
I have updated all the documentation for OpenTimeout and ReadTimeout along with the addition of Net::ReadTimeout. drbrain (Eric Hodel)
01:15 AM Feature #6088 (Assigned): Add Net::ReadTimeout to distinguish which operation failed
Drbrain-san
Could you respond to Naruse's comment?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:15 PM Feature #6224 (Rejected): Make variables in if/unless conditions available to conditional statements
The reason behind has been explained in #1141. If someone want to change the rule, he need to understand the rational... matz (Yukihiro Matsumoto)
08:37 AM Feature #6224 (Assigned): Make variables in if/unless conditions available to conditional statements
mame (Yusuke Endoh)
01:13 AM Feature #6224: Make variables in if/unless conditions available to conditional statements
Exactly. Actually I didn't know about 1141, but I've read about 4965 recently. rosenfeld (Rodrigo Rosenfeld Rosas)
11:23 AM Feature #5341: Add SSL session reuse to Net::HTTP
On Fri, Mar 30, 2012 at 08:49:36AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #5341 has been updated by mame (Yu...
Anonymous
08:49 AM Feature #5341 (Assigned): Add SSL session reuse to Net::HTTP
I tentatively assign this issue to Naruse-san because
he is running for the maintainer of net/http.
--
Yusuke E...
mame (Yusuke Endoh)
08:53 AM Feature #5196 (Rejected): true should be True.
I believe this is hopeless.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:52 AM Feature #4647 (Assigned): [PATCH] io/wait: add IO#wait_writable method
mame (Yusuke Endoh)
08:51 AM Feature #6073 (Assigned): Proposal of extending syntax of for loop
mame (Yusuke Endoh)
08:51 AM Feature #5922 (Assigned): Migrate equal? to identical?
mame (Yusuke Endoh)
08:50 AM Feature #5605 (Assigned): [PATCH] net/http: use IO.copy_stream for requests using body_stream
I tentatively assign this issue to Naruse-san because
he is running for the maintainer of net/http.
--
Yusuke E...
mame (Yusuke Endoh)
08:49 AM Feature #5461 (Assigned): Add pipelining to Net::HTTP
I tentatively assign this issue to Naruse-san because
he is running for the maintainer of net/http.
--
Yusuke E...
mame (Yusuke Endoh)
08:45 AM Feature #6218 (Assigned): struct.cのrb_struct_s_members_m()について
なんで今そういう無駄なコードになっているか、というのを調べるといいです。
ひょっとしたら何か意味があるのかもしれないので。
この場合 r10847 を見ると、Struct#members が文字列からシンボルを返すように
変...
mame (Yusuke Endoh)
08:31 AM Feature #6082 (Feedback): io_binwrite()内でwritev()を使う
あ、このチケットにだけベンチマークがないのか。他には執拗なくらいあるから勘違いしました。
パッチについてもそうですね。じゃあ、Glass_saga さん 2 点対応してみてもらえますか。
--
Yusuke Endoh <...
mame (Yusuke Endoh)
04:20 AM Feature #6082: io_binwrite()内でwritev()を使う
> なんとなく kosaki さんあたり、もしコメントあったらどうぞ。
関数のなかにでっかく#ifdefいれんな。というのが1つ。writevがない環境を考えると既存のコードを消せないので有為に速度向上することが提示されないと入...
kosaki (Motohiro KOSAKI)
01:01 AM Feature #6082 (Assigned): io_binwrite()内でwritev()を使う
分かってませんが挙動が変わるものでないなら取り込んじゃってよいのでは
ないでしょうかね。何かの環境で問題起きたら revert で。
なかださんお願いします。
なんとなく kosaki さんあたり、もしコメントあったらどうぞ...
mame (Yusuke Endoh)
08:29 AM Bug #6226: Star operator crashes when it using in irb on Fedora
I cannot recreate this:

$ irb
irb(main):001:0> *a = 1
=> 1
irb(main):002:0> a
=> [1]
irb(main):003:0>...
aprescott (Adam Prescott)
08:19 AM Bug #6226 (Third Party's Issue): Star operator crashes when it using in irb on Fedora
Segmentation fault raised when I pressed Ctrl+D.
Full log:
[newmen@blackbox ~]$ irb
1.9.3p125 :001 > *a = 1
=>...
newmen (Gleb Averchuk)
08:24 AM Feature #6176 (Rejected): Allow Enumerable#flatten to take a block
Done. Thanks.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:16 AM Feature #6176: Allow Enumerable#flatten to take a block
Ok. I agree. Reject issue. trans (Thomas Sawyer)
02:31 AM Feature #6176 (Assigned): Allow Enumerable#flatten to take a block
#flatten is recursive by default. #flat_map is not.
So I don't think it is a good idea to extend #flatten.
Anywa...
mame (Yusuke Endoh)
07:54 AM Feature #6133: SSLSocketをshutdownできない
長々ほったらかしてすいませんでした。もう少し教えてください。
> 送信の終わりを送れません。
ここで言う「送信の終わりを送る」についてもう少し教えてください。
1) ドキュメント等にある(はずの)、通常のRubyのS...
nahi (Hiroshi Nakamura)
07:50 AM Feature #6133: SSLSocketをshutdownできない
Oops. Sorry for confusing(?) you. It's me who was asked this question on Twitter. I didn't understand the question ... nahi (Hiroshi Nakamura)
07:38 AM Feature #6133: SSLSocketをshutdownできない
mame (Yusuke Endoh) wrote:
> Hello, emboss-san
>
> This is a feature request for openssl.
> OP wants a method to...
MartinBosslet (Martin Bosslet)
02:06 AM Feature #6133 (Assigned): SSLSocketをshutdownできない
Hello, emboss-san
This is a feature request for openssl.
OP wants a method to call SSL_shutdown to send the termi...
mame (Yusuke Endoh)
07:48 AM Feature #6219: Return value of Hash#store
nobu (Nobuyoshi Nakada) wrote:
> Calling default proc can be expensive. So I don't think it's good idea to call it ...
MartinBosslet (Martin Bosslet)
01:29 AM Feature #6219: Return value of Hash#store
Or Hash#store(new_value, return_nil_if_not_set: false) rosenfeld (Rodrigo Rosenfeld Rosas)
01:27 AM Feature #6219: Return value of Hash#store
How about hash.store(new_value, nil_value: :_default_)
This way, one could write "a = hash.store(1, nil_value: nil...
rosenfeld (Rodrigo Rosenfeld Rosas)
01:09 AM Feature #6219: Return value of Hash#store
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> > And, what should be returned if the key wasn't set?
>
> Its defaul...
nobu (Nobuyoshi Nakada)
12:25 AM Feature #6219 (Assigned): Return value of Hash#store
Hello,
I tentatively mark this as 3.0 issue because it changes the behavior.
But if matz accepts the change, 2.0 ...
mame (Yusuke Endoh)
05:17 AM Revision 7d8e27a6 (git): merge revision(s) 35162,35167: [Backport #6220]
* test/openssl/test_x509cert.rb: Exclude test that fails when issuing
a certificate with RSA signature and ...
naruse (Yui NARUSE)
05:15 AM Revision 3e89498b (git): merge revision(s) 35146:
* string.c (str_new_empty): should copy also the encoding as an
empty substring. [ruby-dev:45441][Bug #620...
naruse (Yui NARUSE)
05:15 AM Revision d66248a7 (git): merge revision(s) 35002: [Backport #6135]
* ext/date/date_core.c (datetime_s_now): [ruby-core:43256].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ru...
naruse (Yui NARUSE)
05:13 AM Revision 9c0d9444 (git): merge revision(s) 35013:
* numeric.c: fix flodivmod for cornercases [Bug #6044]
add ruby_float_mod
* insns.def (opt_mod): u...
naruse (Yui NARUSE)
02:36 AM Feature #6180 (Assigned): to_b for converting objects to a boolean value
mame (Yusuke Endoh)
02:33 AM Feature #6177 (Assigned): array.cのrb_ary_equal()の高速化
挙動が変わるわけでないならいいんじゃないですかね。
パッチ試してませんが見た感じいいような気がしました。
コミット権が貰えたら自分でどうぞ。#6173
もらえなかったら、どうしよう。
--
Yusuke Endoh...
mame (Yusuke Endoh)
02:25 AM Feature #6173 (Assigned): re.cのrb_memsearch()におけるmemchr()の利用
パッチは、まあいいんじゃないでしょうかね。
Glass_saga さんが登録したチケットで accept されそうなのが何個か
見当たるっぽいので、コミット権あげると楽な気がしますが、どんなもんでしょう。
ChangeLog...
mame (Yusuke Endoh)
02:17 AM Feature #6166 (Assigned): Enumerator::Lazy#pinch
Hello,
If this kind of operations occur frequently, I think it is worth
to add a method. But I'm not sure becaus...
mame (Yusuke Endoh)
02:15 AM Feature #6130: inspect using to_s is pain
Yep. trans (Thomas Sawyer)
02:00 AM Feature #6130 (Assigned): inspect using to_s is pain
Thomas, you meant:
class Foo
def to_s; "foo"; end
end
x = Foo.new
p "== #{ x } ==" #=> "== foo ...
mame (Yusuke Endoh)
01:55 AM Feature #6129 (Assigned): String#each_lineにおけるmemmem()の利用
なかださん、更新されたパッチで問題ないと思います?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:54 AM Feature #6118 (Assigned): Hash#keys_of(values), returns related keys of given values
mame (Yusuke Endoh)
01:53 AM Feature #6096 (Rejected): Parser tweak - curly braces followed by a coma...
I agree with Tom.
Considering Tom's code, it is apparently difficult to fix this issue.
--
Yusuke Endoh <mame@t...
mame (Yusuke Endoh)
01:11 AM Feature #6083 (Assigned): Hide a Bignum definition
ko1 wrote:
> I propose to move the struct RBignum definition from include/ruby/ruby.h to bignum.c. I believe no one...
mame (Yusuke Endoh)
01:04 AM Feature #5531: deep_value for dealing with nested hashes
What's the status of this issue? Good idea? Bad idea? weexpectedTHIS (Kyle Peyton)
12:59 AM Feature #6074 (Assigned): Allow alias arguments to have a comma
Sorry, I didn't know alias syntax accepts symbols as arguments!
Then I agree with this proposal.
Ruby always give...
mame (Yusuke Endoh)
12:54 AM Feature #5980 (Feedback): Trying to Load File When Too Many Files Open Should Raise Something Other Than Plain LoadError
Someone has to volunteer to write a patch.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:52 AM Feature #5979 (Rejected): deprecate Thread#raise
I agree with matz. Just deprecating Thread#raise does not make sense.
I close this ticket as Rejected.
FYI: So...
mame (Yusuke Endoh)
12:44 AM Feature #5958 (Assigned): ThreadGroup#join
Sasada-san, what do you think?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:43 AM Feature #5903 (Assigned): Optimize st_table (take 2)
mame (Yusuke Endoh)
12:10 AM Bug #6168: Segfault in OpenSSL bindings
Cool. Both of our segfault locations in ruby code suggest some kind of buffer sizing problem (mine segs on read, your... coldnebo (Larry Kyrala)

03/29/2012

11:57 PM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
You have control.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
11:27 AM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
Yusuke, you may want to assign it to me (maintainer)
I think it's good to improve, but not yet checked the patch...
nahi (Hiroshi Nakamura)
01:31 AM Feature #5778 (Assigned): Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
It is trivial, and the patch looks good to me.
I'll commit it unless there is objection.
--
Yusuke Endoh <mame@...
mame (Yusuke Endoh)
11:54 PM Feature #6224: Make variables in if/unless conditions available to conditional statements
I found this issue created 3 years ago. Matz explained the reason behind.
http://bugs.ruby-lang.org/issues/1141
gcao (Guoliang Cao)
11:38 PM Feature #6224: Make variables in if/unless conditions available to conditional statements
I'm pretty sure this is already being discussed but I can't remember in what thread/issue. rosenfeld (Rodrigo Rosenfeld Rosas)
11:13 PM Feature #6224 (Rejected): Make variables in if/unless conditions available to conditional statements
I propose to make below code work
do_something(a) if a = condition
Above code should work exactly same as
...
gcao (Guoliang Cao)
11:53 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
On Thu, Mar 29, 2012 at 14:39, Alex Young <[email protected]> wrote:

> Would you argue that this is wrong an...
aprescott (Adam Prescott)
11:23 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
Em 29-03-2012 10:28, Adam Prescott escreveu:
> On Thu, Mar 29, 2012 at 13:25, rosenfeld (Rodrigo Rosenfeld Rosas) ...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:53 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
On 29/03/12 14:28, Adam Prescott wrote:
> On Thu, Mar 29, 2012 at 13:25, rosenfeld (Rodrigo Rosenfeld Rosas)
> <...
regularfry (Alex Young)
10:29 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
On Thu, Mar 29, 2012 at 13:25, rosenfeld (Rodrigo Rosenfeld Rosas) <
[email protected]> wrote:

> Or for conv...
aprescott (Adam Prescott)
09:25 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
Or for convenience we could allow nil to respond to each, like in Groovy:
null.each {} // or eachWithIndex - doesn...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:36 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
In my mind, nil.to_h should exist for the same reason that
nil.to_a, nil.to_s, nil.to_i, and nil.to_f exist: conveni...
sunaku (Suraj Kurapati)
11:42 PM Feature #6219: Return value of Hash#store
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> > And, what should be returned if the...
MartinBosslet (Martin Bosslet)
11:32 PM Feature #6219: Return value of Hash#store
nobu (Nobuyoshi Nakada) wrote:
> And, what should be returned if the key wasn't set?
Its default value?
h = Ha...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:56 PM Feature #6219: Return value of Hash#store
And, what should be returned if the key wasn't set? nobu (Nobuyoshi Nakada)
09:33 PM Feature #6219: Return value of Hash#store
Note however, that nobu changed st_update API[1] after I posted that. So it might not apply cleanly to the latest ru... shyouhei (Shyouhei Urabe)
08:38 PM Feature #6219: Return value of Hash#store
shyouhei (Shyouhei Urabe) wrote:
> =begin
>
> Hmm, here you are a patch (not tested though).
>
Awesome, than...
MartinBosslet (Martin Bosslet)
11:44 AM Feature #6219: Return value of Hash#store
=begin
Hmm, here you are a patch (not tested though).
From c55a9c9fab30d51be77821bce36054fe365b49af Mon Sep 17...
shyouhei (Shyouhei Urabe)
08:09 AM Feature #6219: Return value of Hash#store
cjheath (Clifford Heath) wrote:
> On 29/03/2012, at 8:40 AM, MartinBosslet (Martin Bosslet) wrote:
> > Right, good...
MartinBosslet (Martin Bosslet)
07:24 AM Feature #6219: Return value of Hash#store
On 29/03/2012, at 8:40 AM, MartinBosslet (Martin Bosslet) wrote:
> Right, good point. OK, then let me rephrase it f...
cjheath (Clifford Heath)
06:40 AM Feature #6219: Return value of Hash#store
Right, good point. OK, then let me rephrase it for explicitly calling store. What I would prefer is:
h = { a: 1 }
...
MartinBosslet (Martin Bosslet)
06:29 AM Feature #6219: Return value of Hash#store
On Wed, Mar 28, 2012 at 22:18, Adam Prescott <[email protected]> wrote:

> Assignment always returns the right ...
aprescott (Adam Prescott)
06:11 AM Feature #6219 (Feedback): Return value of Hash#store
Hash#store returns the value that was just assigned, for example:
h[:a] = b # => b
Does anyone rely on this b...
MartinBosslet (Martin Bosslet)
11:29 PM Feature #6222: Use ++ to connect statements
This seems like a workaround to me. But one that I don't like because Ruby will have to keep supporting this even if/... rosenfeld (Rodrigo Rosenfeld Rosas)
10:59 PM Feature #6222 (Rejected): Use ++ to connect statements
I propose to use ++ to connect two or multiple statements, e.g.
do_this ++ do_that ++ do_something
It is equiva...
gcao (Guoliang Cao)
11:24 PM Bug #6223 (Feedback): Strange crash in GC while thread creation - 1.9.2 only
It should be fixed in ruby 1.9.3p125.
Please try it.
naruse (Yui NARUSE)
11:13 PM Bug #6223 (Closed): Strange crash in GC while thread creation - 1.9.2 only
I use ruby-1.9.3-p0 and ruby-1.9.2-p290 via rvm. Here are installed gems:
$ gem list
*** LOCAL GEMS ***
avro (...
zhum (Sergey Zhumatiy)
10:23 PM Feature #6150: add Enumerable#grep_v
Oh, I see, I actually prefer this way so that I won't read code from others just passing "true". This is specially a ... rosenfeld (Rodrigo Rosenfeld Rosas)
09:57 PM Feature #6150: add Enumerable#grep_v
Rodrigo Rosenfeld Rosas wrote:
> I'm sorry, Benoit, but I didn't get it. It seems to me that they do permit. What di...
Eregon (Benoit Daloze)
09:39 PM Feature #6150: add Enumerable#grep_v
Eregon (Benoit Daloze) wrote:
> Rodrigo Rosenfeld Rosas wrote:
> > Of course, after Ruby support named parameters t...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:21 PM Feature #6150: add Enumerable#grep_v
Suraj wrote:
> it's uncommon for Ruby core API to accept options hash. [...]
> Precedents can be found throughout t...
Eregon (Benoit Daloze)
02:23 PM Feature #6150: add Enumerable#grep_v
On Thu, Mar 29, 2012 at 01:14, sunaku (Suraj Kurapati) <[email protected]> wrote:
>
> Issue #6150 has been updated ...
now (Nikolai Weibull)
12:49 PM Feature #6150: add Enumerable#grep_v
If this were for FileUtils then I'd say `grep_v` is acceptable. But for Enumerable `grep_v` is not very acceptable. O... trans (Thomas Sawyer)
08:14 AM Feature #6150: add Enumerable#grep_v
I'd rather not wait 2+ years for this issue to be resolved by making this feature dependent on Ruby 2.0's named param... sunaku (Suraj Kurapati)
09:46 PM Feature #5809: Benchmark#bm: remove the label_width parameter
@naruse: Sorry, I meant to answer to your reply much earlier, I just didn't make my mind at that time.
I understan...
Eregon (Benoit Daloze)
01:44 AM Feature #5809 (Assigned): Benchmark#bm: remove the label_width parameter
Naruse-san, what does this ticket need? A better new name?
Could you please create a patch?
--
Yusuke Endoh <m...
mame (Yusuke Endoh)
06:54 PM Revision 7fe2c295 (git): Ignore generated file verconf.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:03 PM Revision 67d4eb32 (git): * 2012-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision efd6f6b8 (git): * test/ruby/lbtest.rb: print at once including newlines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:50 PM Revision 28cc4f75 (git): * st.c (st_update): pass pointer to key to the callback function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:47 PM Bug #6089: Test suite fails with OpenSSL 1.0.1
MartinBosslet (Martin Bosslet) wrote:
> bkabrda (Bohuslav Kabrda) wrote:
> > Hi Martin,
> > so OpenSSL v 1.0.1 is ...
Anonymous
09:32 AM Bug #6089 (Closed): Test suite fails with OpenSSL 1.0.1
This issue was solved with changeset r35162.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
Anonymous
09:13 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
bkabrda (Bohuslav Kabrda) wrote:
> Hi Martin,
> so OpenSSL v 1.0.1 is now public [1] and the problem seems to stay....
MartinBosslet (Martin Bosslet)
02:46 PM Bug #6221 (Closed): OpenSSL 1.0.1 is breaking the drb test suite
Hi,
I'm having problem with running drb_ssl tests with Ruby 1.9.3.p125 and OpenSSL 1.0.1, originally reported at [1]...
Anonymous
02:29 PM Feature #5644: add Enumerable#exclude? antonym
On Thu, Mar 29, 2012 at 01:26, sunaku (Suraj Kurapati) <[email protected]> wrote:

> Issue #5644 has been updated b...
now (Nikolai Weibull)
12:41 PM Feature #5644: add Enumerable#exclude? antonym
I'll throw my hat in with #exclude? too. There's been a number of times that I would have liked to have it. "not incl... trans (Thomas Sawyer)
08:26 AM Feature #5644: add Enumerable#exclude? antonym
Hi Matz,
I didn't ask for antonmys for all predicates; only for #exclude?.
The reason for #exclude? is for more...
sunaku (Suraj Kurapati)
12:27 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
marcandre (Marc-Andre Lafortune) wrote:
> I simply want to lighten the load for Matz; he has so many issues assigned...
naruse (Yui NARUSE)
11:11 AM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
Hi,
naruse (Yui NARUSE) wrote:
> Is this a bug?
I'm very curious: how could it not be bug?
How would you expl...
marcandre (Marc-Andre Lafortune)
10:47 AM Bug #6203 (Assigned): Array#values_at does not handle ranges with end index past the end of the array
Is this a bug? naruse (Yui NARUSE)
05:22 AM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
marcandre (Marc-Andre Lafortune) wrote:
> The patch from Mark Rada never made it through, but I concur that the prob...
ferrous26 (Mark Rada)
05:14 AM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
The patch from Mark Rada never made it through, but I concur that the problem is in rb_range_beg_len.
I'll commit th...
marcandre (Marc-Andre Lafortune)
01:57 AM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
Moving back to "bug", as no explanation from Nobu. marcandre (Marc-Andre Lafortune)
10:51 AM Feature #4788: resolv.rb refactoring
Here is a translation into English for the most recent message from Makoto:
The original problem is that 'lib/reso...
ioquatix (Samuel Williams)
10:40 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
Ruby 1.9.3:
~~~
/home/hal/.rvm/gems/ruby-1.9.3-p125/gems/dm-core-1.2.0/lib/dm-core/support/equalizer.rb:32: sta...
postmodern (Hal Brodigan)
10:27 AM Bug #6134 (Closed): Ruby crashes when calling OpenSSL::PKCS7.new with invalid PKCS7 data
This issue was solved with changeset r35167.
Matt, thank you for reporting this issue.
Your contribution to Ruby is g...
Anonymous
10:15 AM Bug #6098 (Closed): Re: GVL改善案
This issue was solved with changeset r35163.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is ...
usa (Usaku NAKAMURA)
08:45 AM Feature #5741: Secure Erasure of Passwords
nobu (Nobuyoshi Nakada) wrote:
> What kind of methods will be needed for "Secure Password", do you think?
> Is ther...
MartinBosslet (Martin Bosslet)
06:38 AM Feature #5741: Secure Erasure of Passwords
What kind of methods will be needed for "Secure Password", do you think?
Is there any reason that it has to be real ...
nobu (Nobuyoshi Nakada)
04:58 AM Feature #5741: Secure Erasure of Passwords
mame (Yusuke Endoh) wrote:
> I think that adding a method to String requires matz's approval.
> If you propose to a...
MartinBosslet (Martin Bosslet)
01:04 AM Feature #5741 (Assigned): Secure Erasure of Passwords
I think that adding a method to String requires matz's approval.
If you propose to add a method to others, such as o...
mame (Yusuke Endoh)
08:23 AM Feature #5456: kernel#syscall() should be removed.
2012/3/27 mame (Yusuke Endoh) <[email protected]>:
>
> Issue #5456 has been updated by mame (Yusuke Endoh).
>
>...
kosaki (Motohiro KOSAKI)
08:19 AM Bug #6168: Segfault in OpenSSL bindings
Weird indeed, but thanks for your in-depth analysis and to Eric
for the hint with the debugger. I'll have a look at ...
MartinBosslet (Martin Bosslet)
07:10 AM Bug #6168: Segfault in OpenSSL bindings
Ok, running that without the debugger gives a better error:
/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/ne...
coldnebo (Larry Kyrala)
06:49 AM Bug #6168: Segfault in OpenSSL bindings
Ok, I think I have a test case for you Martin... I was able to reproduce this again Google's IMAP server, so I create... coldnebo (Larry Kyrala)
06:38 AM Bug #6168: Segfault in OpenSSL bindings
The second log uses ruby-debug and could be the cause of the second report. If this could be confirmed as another cr... drbrain (Eric Hodel)
04:26 AM Bug #6168: Segfault in OpenSSL bindings
Hmm, the error logs don't really give away what happens. But it shouldn't segfault, that's for sure. What I would rea... MartinBosslet (Martin Bosslet)
03:37 AM Bug #6168: Segfault in OpenSSL bindings
The error.log point to rb_check_funcall, not OpenSSL, so this may not be Martin's bug drbrain (Eric Hodel)
08:08 AM Feature #5613: Signal.termsigname メソッドの追加
了解しました kosaki (Motohiro KOSAKI)
07:53 AM Bug #6102 (Closed): Crash when calling OpenSSL::Integer#to_der with nil value
This issue was solved with changeset r35159.
Martin, thank you for reporting this issue.
Your contribution to Ruby is...
Anonymous
07:38 AM Revision 6da92c3e (git): * lib/rdoc/task.rb: suppress overriding deprecated class warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:36 AM Revision 30cea657 (git): * st.c (st_update): add existing parameter to the callback function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:35 AM Revision 95b30b0d (git): * lib/test/unit.rb (terminal_width, del_status_line, put_status):
extract as methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:22 AM Feature #5106: Is MurmurHash overkill?
With the recent changes since hashDoS I'm not sure whether
we should really aim for simplicity. It's quite easy to
...
MartinBosslet (Martin Bosslet)
03:43 AM Bug #6215: print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
According to the crash report, the crash occurs while textmate is handling the NoMethodError, perhaps while reformatt... drbrain (Eric Hodel)
01:46 AM Revision 0b81093a (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:45 AM Feature #5893 (Rejected): named return,next...
I believe this is already solved. Closing.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:33 AM Feature #5798 (Assigned): Range#include? needs some optimization
mame (Yusuke Endoh)
01:32 AM Feature #5779 (Assigned): Ruby-FTP - allow easy way to find out whether a remote target is a file or a directory
Maeda-san, please take a look at this.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:27 AM Revision aad347f5 (git): * ext/openssl/ossl_pkcs7.c: fix crash when parsing garbage data.
* test/openssl/test_pkcs7.rb: assert correct behavior for it.
Thanks to Matt Venables for reporting the issue.
[r...
MartinBosslet (Martin Bosslet)
01:27 AM Feature #5749 (Assigned): new method String#match_all needed
mame (Yusuke Endoh)
01:25 AM Revision e883637f (git): * 2012-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:25 AM Revision 7d984d76 (git): merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212]
* ext/psych/lib/psych.rb: updating version to match gem
* ext/psych/psych.gemspec: ditto
* ext/psych/...
tenderlovemaking (Aaron Patterson)
01:17 AM Revision 8e601a20 (git): * thread_win32.c (TIME_QUANTUM_USEC): 10ms(= old setting) [experimental]
cf. [Bug #6098]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:15 AM Revision fea7a74e (git): * thread.c (rb_threadptr_execute_interrupts_common): use defined
TIME_QUANTUM_USEC instead of a magic number. there is no meanings
to use different values for checking interval of...
U.Nakamura
12:58 AM Bug #5887: The documentation of Module.constants is incorrect
shugo (Shugo Maeda) wrote:
> > Actually, you can simply pass a parameter to `Module.constants` and the singleton me...
shugo (Shugo Maeda)
12:57 AM Feature #5735 (Feedback): Extending the use of splat operator to when it is inside a hash
Marc-Andre proposed a similar idea at [ruby-core:41772], and Matz commented a little at [ruby-core:41822].
It would ...
mame (Yusuke Endoh)
12:32 AM Revision 836af4e5 (git): * test/openssl/test_x509cert.rb: Exclude test that fails when issuing
a certificate with RSA signature and DSS1 digest for earlier
OpenSSL versions when used in conjunction with OpenSSL...
MartinBosslet (Martin Bosslet)

03/28/2012

11:28 PM Revision 7d8a8956 (git): * NEWS: add note about unified behavior of encoding nil values in
instances of OpenSSL::ASN1::ASN1Data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35161 b2dd03c8-39d4-4d8f-9...
MartinBosslet (Martin Bosslet)
11:09 PM Bug #6217 (Feedback): Bundle crash
Looks to me to all the other bugs reported due OpenSSL library and extension failing.
Please recompile Ruby with p...
luislavena (Luis Lavena)
07:15 PM Bug #6217 (Rejected): Bundle crash
I'm not sure if it's a problem with the ruby interpreter, but I searched on the web and I didn't find a solution for ... luiscruz (Luis Cruz)
10:53 PM Revision 0443aeab (git): * 2012-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:53 PM Revision 5bef1c92 (git): * ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil
values for Primitive instances.
* test/openssl/test_asn1.rb: Assert consistent behavior when
encoding nil values: P...
MartinBosslet (Martin Bosslet)
10:24 PM Feature #6218 (Closed): struct.cのrb_struct_s_members_m()について
表題の関数ではrb_struct_s_members()で得たArrayの内容をwhile文で1要素ずつ新たなArrayにpushしていますが、
これはrb_ary_dup()で済ませられるのではないでしょうか。
パフォーマン...
Glass_saga (Masaki Matsushita)
07:39 PM Feature #4788: resolv.rb refactoring
Hi, still having users with problems and no consistent way to solve it. Merging this patch would be a great addition.... ioquatix (Samuel Williams)
07:27 PM Feature #6216 (Feedback): SystemStackError backtraces should not be reduced to one line
Could you be more descriptive, please? Comparing outputs from Ruby and JRuby, for example.
Matz.
matz (Yukihiro Matsumoto)
04:16 PM Feature #6216 (Closed): SystemStackError backtraces should not be reduced to one line
When debugging "SystemStackError: stack level too deep" exceptions, it is not helpful that the backtrace is reduced t... postmodern (Hal Brodigan)
04:40 PM Feature #5610 (Closed): Allow strings as input for Process.uid=
This issue was solved with changeset r35158.
markus, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
11:53 AM Feature #5610: Allow strings as input for Process.uid=
=begin
Since (({Process.groups=})) already accepts strings, this proposal sounds reasonable.
=end
nobu (Nobuyoshi Nakada)
12:11 AM Feature #5610 (Assigned): Allow strings as input for Process.uid=
Kosaki-san,
Are you interested in creating a patch?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:20 PM Bug #6209: Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
Note that fast-stemmer doesn't seem to support 1.9 yet. nobu (Nobuyoshi Nakada)
03:06 PM Bug #6209 (Closed): Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
This issue was solved with changeset r35157.
Pierre, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
02:19 PM Bug #6209: Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
=begin
The minimal code would be:
Marshal.load(Marshal.dump("\xff".force_encoding("ascii-8bit").intern))
=end
nobu (Nobuyoshi Nakada)
01:04 AM Bug #6209 (Closed): Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
=begin
= Description
A ruby object (generated with the Classifier gem) is Marshalled on the disk.
When reloa...
octplane (Pierre B)
02:02 PM Bug #6215 (Feedback): print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
=begin
Seems very strange.
(({RUBY_PATCHLEVEL})) is a (({Fixnum})) and has no (({slice})) method, so (({NoMethodErr...
nobu (Nobuyoshi Nakada)
12:51 PM Bug #6215 (Rejected): print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
While using Ruby 1.9.3 and Textmate, I attempted to run the following code fragment:
print "#{RUBY_VERSION}\n"
pr...
jordandm (Jordan Dea-Mattson)
01:53 PM Feature #5607: Inconsistent reaction in Range of String
On 2012/03/28 0:10, mame (Yusuke Endoh) wrote:
>
> Issue #5607 has been updated by mame (Yusuke Endoh).
>
> ...
duerst (Martin Dürst)
12:10 AM Feature #5607 (Assigned): Inconsistent reaction in Range of String
Martin-sensei,
I tentatively assign this ticket to you.
If you give up, please set the assignee to another person...
mame (Yusuke Endoh)
01:42 PM Bug #6213 (Third Party's Issue): Builder::XmlMarkup drops html_safe
I guess it is the builder gem. shyouhei (Shyouhei Urabe)
01:37 PM Bug #6213 (Feedback): Builder::XmlMarkup drops html_safe
What is Builder::XmlMarkup? nobu (Nobuyoshi Nakada)
08:21 AM Bug #6213 (Third Party's Issue): Builder::XmlMarkup drops html_safe
A single line in Builder::XmlMarkup needs to be changed slightly,
to enable the builder to work with the html_safe f...
eike.rb (Eike Dierks)
11:09 AM Bug #6214 (Closed): warnings on inspect for Enumerator objects if $VERBOSE
Lazy なオブジェクトの inspect がわかりやすくなった反面、
$VERBOSE な時に警告が出るようです。
$ ruby -ve 'p "".bytes'
ruby 2.0.0dev (2012-03-28 tru...
no6v (Nobuhiro IMAI)
09:53 AM Feature #5707: temporary file creation without finalizer and delegate.
2012/3/28 mame (Yusuke Endoh) <[email protected]>:
>
> Issue #5707 has been updated by mame (Yusuke Endoh).
>
>...
akr (Akira Tanaka)
01:05 AM Feature #5707 (Assigned): temporary file creation without finalizer and delegate.
What's the status? How can we move on?
The easiest way I think is to become the maintainer of tempfile
and to ac...
mame (Yusuke Endoh)
07:56 AM Feature #5523 (Closed): Numeric#sign の追加
mrkn (Kenta Murata)
07:40 AM Revision 9bf9b3ef (git): * process.c (obj2uid, obj2gid): allow strings as input user/group id.
[ruby-core:40923][Feature #5610]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35158 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
06:59 AM Feature #5458: DL should be removed
On Tue, Mar 27, 2012 at 10:50:41PM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #5458 has been updated by mame (Yu...
Anonymous
06:06 AM Revision 1521f933 (git): * marshal.c (r_symreal): default to ASCII-8BIT for non-ascii symbols,
otherwise it should be converted to US-ASCII in rb_intern_str() if
possible. [ruby-core:43762][Bug #6209]
git-sv...
nobu (Nobuyoshi Nakada)
06:05 AM Revision 113c6d58 (git): * marshal.c (r_symreal): no longer need volatile modifier, as using
rb_intern_str() not rb_intern().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35156 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
05:51 AM Bug #6168: Segfault in OpenSSL bindings
trying again pointing at openssl dir to see if that makes a difference:
$ rvm reinstall 1.9.2 --with-openssl-dir=/...
coldnebo (Larry Kyrala)
04:38 AM Bug #6168: Segfault in OpenSSL bindings
This also happens in 1.9.2-p318:
While using the mail gem (http://rubygems.org/gems/mail) in a ruby-debug19 context:...
coldnebo (Larry Kyrala)
03:36 AM Feature #6210: load should provide a way to specify the top-level module
Sounds partially like #5643? luislavena (Luis Lavena)
02:57 AM Feature #6210 (Closed): load should provide a way to specify the top-level module
load currently takes an optional second argument that allows you to load into an anonymous and new top-level Module. ... now (Nikolai Weibull)
03:25 AM Feature #5361: Lice?
Or to get bit! trans (Thomas Sawyer)
01:28 AM Feature #5361 (Rejected): Lice?
Don't deny your potential to learn.
Matz.
matz (Yukihiro Matsumoto)
02:58 AM Bug #6211 (Closed): Ripper lexes :on_rbrace when it should find :on_embexpr_end
=begin
1.9.3-p125 :001 > require 'ripper'
=> true
1.9.3-p125 :002 > Ripper.lex %Q{`\#{cmd}`}
=> [[[1, 0...
turboladen (Steve Loveless)
01:43 AM Feature #5583 (Rejected): Optionally typing
Although type notation as a comment a la Dart language is pretty interesting, I have to reject this proposal, since t... matz (Yukihiro Matsumoto)
01:35 AM Feature #6150: add Enumerable#grep_v
Of course, after Ruby support named parameters this could be acceptable too and I would always use it by passing the ... rosenfeld (Rodrigo Rosenfeld Rosas)
01:33 AM Feature #6150: add Enumerable#grep_v
"grep pattern, invert: true" is acceptable to me but "grep pattern, true" is not because the code becomes non readabl... rosenfeld (Rodrigo Rosenfeld Rosas)
01:29 AM Feature #6150: add Enumerable#grep_v
Alright, then let's simplify it further because passing {:invert=>true} seems more like Rails than Ruby:
def gre...
sunaku (Suraj Kurapati)
01:30 AM Feature #5372 (Rejected): Promote blank? to a core protocol
Let it stay in ActiveSupport. Generally, string is string, array is array, in Ruby.
Matz.
matz (Yukihiro Matsumoto)
01:28 AM Revision b95b56cc (git): * process.c: no cuddle up else's.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:25 AM Feature #5644 (Feedback): add Enumerable#exclude? antonym
from that logic, don't we need to add antonyms to every predicate methods?
could you show us why include? is special...
matz (Yukihiro Matsumoto)
12:28 AM Feature #5644 (Assigned): add Enumerable#exclude? antonym
mame (Yusuke Endoh)
01:12 AM Feature #5574 (Rejected): Make arrays comparable
Since arrays are not always compatible, I don't want to give wrong implication by making arrays comparable.
Adding <...
matz (Yukihiro Matsumoto)
01:08 AM Feature #5555 (Rejected): rename #include? to #includes?
The basic naming for methods in standard class libraries are:
* use basic form (include not includes)
* put quest...
matz (Yukihiro Matsumoto)
01:07 AM Feature #5716 (Assigned): duplicated when clause is ignored -> Report which clause it is specifically.
mame (Yusuke Endoh)
01:03 AM Feature #5695 (Rejected): CoffeeScript "is" and "isnt" keywords
I strongly believe that this proposal has no hope.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:49 AM Feature #5673 (Assigned): undef_method probably doesn't need to raise an error
mame (Yusuke Endoh)
12:45 AM Feature #5669 (Assigned): Random thread scheduling based on a seed
Ko1, kosaki, tarui-san, what do you think?
Looks almost impossible to me, though.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:43 AM Feature #5666 (Assigned): Make rb_path2class public
Aaron-san, could you answer Kosaki's comment?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:41 AM Feature #5662 (Rejected): inject-accumulate, or Haskell's mapAccum*
I think the answer to this original proposal is "use each_with_object".
That's all. Closing.
Please open another...
mame (Yusuke Endoh)
12:34 AM Feature #5654 (Assigned): Introduce global lock to avoid concurrent require
NaHi-san, could you facilitate the discussion?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:33 AM Feature #5653 (Assigned): "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
Hello, NaHi-san
Hiroshi Nakamura wrote:
> This ticket is for discussion about removing autoload from stdlib (or n...
mame (Yusuke Endoh)
12:27 AM Feature #5643 (Assigned): require/load options and binding option
mame (Yusuke Endoh)
12:23 AM Feature #5632 (Assigned): Attempt to open included class shades it instead.
mame (Yusuke Endoh)
12:22 AM Feature #6088: Add Net::ReadTimeout to distinguish which operation failed
I don't object the direction but it should have more document about the new Exception. naruse (Yui NARUSE)
12:16 AM Feature #4906: rb_w32_add_socket / rb_w32_remove_socket
> Is this planned to be included in 2.0.0?
Yes.
Thank you for your reminder.
usa (Usaku NAKAMURA)
12:13 AM Feature #5613 (Assigned): Signal.termsigname メソッドの追加
パッチ晒して「反対がなければコミットします」って言えばいいんじゃないかと思います。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:07 AM Feature #5590 (Closed): Proposal for sustainable branch maintenance
See also [ruby-dev:45183] and [ruby-core:42363] naruse (Yui NARUSE)
12:07 AM Feature #5606 (Feedback): String#each_match(regexp)
遠藤です。
2011年11月10日17:19 Tomoaki Nishiyama <[email protected]>:
> String#scan ではダメかというと
>
> longst...
mame (Yusuke Endoh)
 

Also available in: Atom