Activity
From 11/19/2014 to 11/25/2014
11/25/2014
-
11:41 PM Bug #10543 (Closed): ruby -c and ripper inconsistency: /(?<n>a(b|\g<n>))/
- 以下のように、/(?<n>a(b|\g<n>))/ というだけのソースは
ruby -c では問題無しとなりますが、
Ripper.sexp では構文木でなく nil が返ってきてしまいます。
```
% cat z.rb... -
11:16 PM Misc #10541: Remove shorthand string interpolation syntax
- This syntax is very confusing and while not common could possibly lead to confusing bugs. That blog post referenced a...
-
09:28 PM Misc #10541: Remove shorthand string interpolation syntax
- Eric, I think it is dangerous syntax because (to take the example from the link above) changing "foo-#@name-1" to "fo...
-
08:12 PM Misc #10541: Remove shorthand string interpolation syntax
- I agree, I think this syntax exception is confusing, harder to read and most Ruby editors will insert {} after # so i...
-
06:48 PM Misc #10541: Remove shorthand string interpolation syntax
- I use it frequently. It saves me keystrokes and screen space.
I think it is more readable and less noisy this way,... -
04:15 PM Misc #10541 (Assigned): Remove shorthand string interpolation syntax
- I would like to see the shorthand string interpolation syntax, "foo#@bar" deprecated and then removed in 3.0.
My r... -
10:15 PM Bug #10542 (Closed): out-of-place build from repository builds enc/trans/*.c in the source directory and the build directory
- repository から checkout した ruby を out-of-place で build すると、
enc/trans/big5.c などいくつかのファイルが
source directory と build d... -
12:02 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- I can't reproduce the error, too.
What about this patch?
~~~diff
diff --git a/gc.c b/gc.c
index 9c0dbef..f4c4... -
08:19 AM Bug #8543: new rb_iseq_load crash
- Seems nice! Thank you!
(maybe we need fix rdoc)
-
03:09 AM Bug #8543: new rb_iseq_load crash
- Eric Wong wrote:
> Sorry, the inline patch was an extremely hacky work-in-progress,
> but I think rb_iseq_load_fix... -
02:08 AM Bug #8543: new rb_iseq_load crash
- Sorry, the inline patch was an extremely hacky work-in-progress,
but I think [email protected] should've been... -
07:58 AM Bug #10540: Yielded fibers do not execute ensure blocks
- This issue is a known bug.
[Bug #595]: Fiber ignores ensure clause
(3 digits!)
Rubinius supports it.
----
... -
07:09 AM Bug #10533 (Closed): HTTP reconnection with SNI does not send correct hostname
- Applied in changeset r48563.
----------
* lib/net/http.rb: Do not attempt SSL session resumption when the
session... -
06:55 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- Via #ruby-core IRC:
~~~
22:53 nurse: ok > 10533
~~~
So I will commit it. -
01:08 AM Bug #10539 (Rejected): Wrong pattern matching when string interpolation inside regexp is used
- You need parentheses.
-
01:03 AM Bug #10475: Array#flatten should not accept a nil argument
- I agree that this is a documentation issue.
But afraid that the negative value is worth to mention.
11/24/2014
-
11:13 PM Bug #8543: new rb_iseq_load crash
- Howdy,
Eric Wong wrote:
> That was only one of the breakages :)
> Things have bitrotted a lot over the years.
... -
10:18 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Thanks for trying. I can not reproduce your broken object issue
with my patch on Linux (x86-64 and i686). "make c... -
09:04 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Getting this:
~~~
irb(main):008:0> a = Object.new
=> #<Object:0x007fe1b983a278>
irb(main):009:0> WeakRef.new a
... -
09:08 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Thanks, the following patch should fix it. Your test runs much in less
than 20s and uses 10M on my older x86-64 mac... -
07:25 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Data point: tacking a `printf` onto the end of `define_final0` in `gc.c` reveals that a new finalizer is being added ...
-
06:48 AM Bug #10537 (Closed): Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- ~~~ruby
require 'weakref'
a = Object.new
1_000_000.times do
WeakRef.new a
end
GC.start
~~~
The above resu... -
09:08 PM Bug #10540: Yielded fibers do not execute ensure blocks
- This seems unfortunate. I'm not sure if there's a good way to do
this automatically with current APIs because `Fibe... -
08:11 PM Bug #10540 (Closed): Yielded fibers do not execute ensure blocks
- When a thread has paused fibers, if an exception occurs anywhere in the thread, `ensure` blocks in the paused fibers ...
-
04:07 PM Bug #10539: Wrong pattern matching when string interpolation inside regexp is used
- I think I found my error. Sorry
Please Close it.
Best regards,
Tammo
-
04:02 PM Bug #10539 (Rejected): Wrong pattern matching when string interpolation inside regexp is used
- Hello,
maybe it is my fault, but I stumble over the fact, that I get a match when I should not (have added a short e... -
01:54 PM Bug #10475: Array#flatten should not accept a nil argument
- Jörg W Mittag wrote:
> IMO, the correct behavior would be to use `to_int`.
It *is* using `to_int`, except for `ni... -
10:52 AM Bug #10476: String.strip remove characters different than pure whitespace
- It looks perfect.
-
10:21 AM Feature #10489: Add inherit method for clearer and multiple inheritance
- Bráulio Bhavamitra wrote:
> A new and more intuitive syntax:
>
> class B
> end
> class A
> i... -
09:32 AM Bug #10538: Error when trying to update gem rake
- This error seems to happen whenever an update suggests to replace a ruby binary... no matter the answer (y/n).
-
09:22 AM Bug #10538 (Closed): Error when trying to update gem rake
- when running "gem update rake" I get the following:
c:\>gem update rake
Updating installed gems
Updating rake
r...
11/23/2014
-
09:13 AM Bug #10475: Array#flatten should not accept a nil argument
- Dov Murik wrote:
> Currently `Array#flatten` accepts an explicit `nil` argument which has the same meaning as `-1` (... -
05:58 AM Bug #8543: new rb_iseq_load crash
- Eric Wong <[email protected]> wrote:
> The following patch might be ready to commit to trunk:
>
> http://... -
01:02 AM Bug #10536 (Rejected): RubyDoc example for Enumerable#map incorrect
11/22/2014
-
10:23 PM Bug #10536: RubyDoc example for Enumerable#map incorrect
- That's intentional, both methods are aliases (note that the documentation for #collect and #map is the same).
-
05:03 PM Bug #10536: RubyDoc example for Enumerable#map incorrect
- ```collect``` is shown in the example section instead of ```map```
This is fully the case for the 2.0 doc (http://... -
05:00 PM Bug #10536 (Rejected): RubyDoc example for Enumerable#map incorrect
- `collect` is shown in the example section instead of `map`
This is fully the case for the 2.0 doc (http://ruby-doc... -
09:58 PM Bug #10535: Potential uninitialized reference pipe_open() in io.c
- [email protected] wrote:
> IF !defined(HAVE_WORKING_FORK) and !defined(HAVE_SPAWNV), THEN argc
> and argv are de... -
02:46 PM Bug #10535 (Closed): Potential uninitialized reference pipe_open() in io.c
- (From git commit f5063b7ea7e774519602f7a112d9acf536a1da33 of 22 November 2014.)
In **io.c** in the following funct... -
09:27 AM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- You would need to have OpenSSL built with this patch:
http://pkgs.fedoraproject.org/cgit/openssl.git/tree/openssl-... -
02:11 AM Bug #10046 (Assigned): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- I can't reproduce these test failures, but this patch looks ok to me
-
08:59 AM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Awesome, thanks! I was having trouble building trunk on OS X, so (I believe) I based it off of 2.1.5. Quite a bit mor...
-
08:48 AM Feature #10481 (Assigned): Add "if" and "unless" clauses to rescue statements
- Your patch seems based on pretty old revision.
I made updated version: https://github.com/nobu/ruby/compare/Feature%... -
08:28 AM Bug #8543: new rb_iseq_load crash
- [email protected] wrote:
> But ultimately, the result of the manual bisect was:
>
> 66d247bcb50a29769ff940100223544c... -
01:08 AM Bug #8543: new rb_iseq_load crash
- Eric Wong <[email protected]> wrote:
> Work-in-progress fix here, can you please test?
> http://80x24.org/spew... -
12:08 AM Bug #8543: new rb_iseq_load crash
- Work-in-progress fix here, can you please test?
http://80x24.org/spew/m/[email protected]
Thanks. -
05:22 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- Ultimately I think this may be an OpenSSL bug.
Looking at the ClientHello message for the second connection (which... -
04:49 AM Bug #10467: net/http reconnects without SNI
- This looks to be a duplicate now of #10533, which has a patch
11/21/2014
-
11:02 PM Bug #10533 (Assigned): HTTP reconnection with SNI does not send correct hostname
-
11:01 PM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- If session resumption is requested with an expired SSL session on an SNI server then the handshake goes wrong and the...
-
03:41 AM Bug #10533 (Closed): HTTP reconnection with SNI does not send correct hostname
- When reconnecting after connection timeout on an SNI connection the server name is not sent during reconnect which re...
-
06:49 PM Bug #10526: [DOC] Revise documentation in object.c
- Adding a patch based on the latest trunk, replacing the originally submitted one.
-
05:51 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Nobuyoshi Nakada wrote:
> With your patch, the condition is checked *after* matching against the exception classes, ... -
05:23 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Intersting.
With your patch, the condition is checked *after* matching against the exception classes, not a part o... -
05:34 PM Feature #10444: [PATCH 3/3] Vector#[] returns new vector if argument is range.
- @Marc-Andre Lafortune
OK, it does make sense. Thank you for your time. -
02:19 PM Feature #10444 (Rejected): [PATCH 3/3] Vector#[] returns new vector if argument is range.
- gogo tanaka wrote:
> But I think there is no reason `Vector[1,2,3][0..1]` returns not `Vector` but `Array`.
I agr... -
03:40 PM Feature #10523 (Rejected): Suggestion for new Array.delete_to method
- I prefer Array#partition for its immutability.
Matz.
-
03:37 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- Sorry, it fixes just one of the two issues :/
-
03:16 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- This patch is fixing the issue for me.
-
02:32 PM Bug #10534: Enumerator methods other than "next" do not always respect "peek"
- `next` and `peek` indeed live in their little world described as "external enumeration" in the documentation.
The ... -
11:38 AM Bug #10534 (Rejected): Enumerator methods other than "next" do not always respect "peek"
- It seems like using "peek" and then calling other methods on the Enumerator consumes the value that was peeked at. Wh...
11/20/2014
-
08:28 PM Feature #10532: [PATCH] accept_nonblock supports "exception: false"
- [email protected] wrote:
> I also intend to support this in the "openssl" extension as well as
accept_nonblo... -
07:48 PM Feature #10532 (Closed): [PATCH] accept_nonblock supports "exception: false"
- This is analogous to functionality found in IO#read_nonblock and
IO#wait_nonblock. Raising exceptions for common fa... -
06:54 PM Feature #10444: [PATCH 3/3] Vector#[] returns new vector if argument is range.
- @Marc-Andre Lafortune
Thank for reply.
OK, I got your point. Actually I'm not sure anyone want to do this.
B... -
06:52 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Robert Klemme wrote:
> Do you have an idea of the runtime performance impact? I mean, a type check (as done today) ... -
03:09 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Alex Boyd wrote:
> I'd like to propose a syntax change: allow boolean "if" and "unless" clauses to follow a rescue s... -
12:30 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- A second patch, to fix an uninitialized variable I noticed just after I'd uploaded the first.
-
12:23 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- A patch.
I've only tested the Ripper bits cursorily, so I could very well have missed something - feedback in that... -
06:47 PM Feature #10445: [PATCH 3/3] Extend Matrix#[]
- @Marc-Andre Lafortune
Thank you for reply.
OK, the answer is when we expect `Matrix` to behave something like ... -
05:20 PM Feature #10528: Allow line breaks instead of commas in arrays, hashes, argument lists, etc.
- I forgot to mention other usual cases when lines should be implicitly continued: after a dot, after an operator symbo...
-
11:14 AM Feature #10528 (Open): Allow line breaks instead of commas in arrays, hashes, argument lists, etc.
- Since the seemingly reasonable proposal #8956 has been rejected because it "diverged so far from the original", i wil...
-
11:15 AM Feature #8956: Allow hash members delimited by \n inside of {}
- I have proposed another version: #10528.
-
08:19 AM Bug #10300: Encoding error in conversion from UTF-16LE to UTF-8 to CP850
- Nobuyoshi Nakada wrote:
> Or from `FormatMessage`?
>
> Can you try with this patch?
>
> ~~~patch
> index 74cc...
11/19/2014
-
09:31 PM Bug #10526 (Closed): [DOC] Revise documentation in object.c
- * #inspect: be more specific about generated string, remove obsolete example
* #nil?: use code examples instead of d... -
09:28 PM Bug #10460: Segfault instead of stack level too deep
- [email protected] wrote:
> Mutant will often generate "broken" code, that's how it works, so
> endless recursi... -
09:13 PM Bug #10460: Segfault instead of stack level too deep
- That makes sense, I agree with your point. Having a nicer error message on broken code isn't a big deal.
There is ... -
07:58 AM Bug #10460: Segfault instead of stack level too deep
- [email protected] wrote:
> Was it rude to set this as "Priority: High"? A random segfault seems
> important bu... -
06:11 PM Bug #10437 (Closed): ruby -c and ripper inconsistency: /*/
- Applied in changeset r48507.
----------
ChangeLog: add issue ref
* ChangeLog: r48504 fixed [ruby-dev:48714] [Bug #1... -
05:57 PM Feature #10444 (Feedback): [PATCH 3/3] Vector#[] returns new vector if argument is range.
- I feel the idea is similar to #10445 (although not as dubious)
I'm curious as to when one would want to do this an... -
05:54 PM Feature #10445 (Feedback): [PATCH 3/3] Extend Matrix#[]
- I understand the idea, but I'm not convinced.
Currently, [] is a simple access to the elements of a matrix. This p... -
05:48 PM Feature #10451 (Closed): [PATCH 3/3] Implement Vector.independent? and Vector#independent?
- Great patch, thanks!
-
05:34 PM Feature #10442 (Closed): Helper methods to Vector class
- Thanks for the revised patch!
I've committed it almost as is (I changed the constant in the doc for Math::PI / 2) ... -
02:42 PM Bug #10525 (Rejected): SegFault with mysql2 gem
- You use the extension for 2.0.0 from 2.1.
You have to install mysql2 for 2.1 -
04:02 AM Bug #10525 (Rejected): SegFault with mysql2 gem
- I received this segfault when executing the command
`bundle exec rake db:migrate` -
01:52 AM Bug #10524 (Closed): %I segfaults with --dump=parsetree
- [ruby-core: 66343]では最適化のバグとして報告されていますが、
`--dump=parsetree` オプションを使うとSEGVするので、
r48484をバックポートしてください。 -
01:20 AM Bug #10509: [PATCH] vm_eval.c (rb_yield_splat): add missing GC guard
- Backported r48417 into `ruby_2_0_0` at r48491.
Also available in: Atom