Project

General

Profile

Activity

From 11/11/2013 to 11/17/2013

11/17/2013

11:39 PM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
would it with the change also possible to add Module multible times into the Ancestor chain?
like
C1 < M1 < C2 < ...
Hanmac (Hans Mackowiak)
10:39 PM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
Thank you for the quick reply Eric and Nobu! Looking forward to how this turns out :-)
PragTob (Tobias Pfeiffer)
09:50 PM Bug #9119 (Closed): TestTime#test_marshal_broken_offset broken under MinGW
=begin
Hello,
The test (({TestTime#test_marshal_broken_offset})) has been broken under x86-mingw32 for really lon...
luislavena (Luis Lavena)
09:26 PM Feature #9118: In Enumerable#to_a, use size to set array capa when possible
Enumerable#count may not a good idea, better would be Enumerator#size Hanmac (Hans Mackowiak)
03:48 AM Feature #9118: In Enumerable#to_a, use size to set array capa when possible
It definitely breaks that usage, but that's bad usage--we're supposed to use Enumerable#count for that, not size.
...
HonoreDB (Aaron Weiner)
03:28 AM Feature #9118: In Enumerable#to_a, use size to set array capa when possible
I think the proposal will break the compatibility of the following code:
class C
include Enumerable
de...
mame (Yusuke Endoh)
03:11 AM Feature #9118: In Enumerable#to_a, use size to set array capa when possible
Ah, right! This seems like an opportunity to improve on existing behavior: right now that just silently hangs forever... HonoreDB (Aaron Weiner)
02:37 AM Feature #9118: In Enumerable#to_a, use size to set array capa when possible
enum.size can return Float::Infinity maybe for [1,2,3].cycle.size you need to check that too Hanmac (Hans Mackowiak)
06:05 PM Feature #9116: String#rsplit missing
Out of curiosity, i have looked it up: http://docs.python.org/3/library/stdtypes.html#str.rsplit alexeymuranov (Alexey Muranov)
02:39 PM Feature #9108: Hash sub-selections
`select(*args)` just seemed like a more natural interface, though I suppose `select(enum)` provides more flexibility ... wardrop (Tom Wardrop)
02:34 PM Revision aa358ac1 (git): compile.c: tailcall on super
* compile.c (iseq_peephole_optimize): enable tail call optimization on
super too.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
02:34 PM Revision abdada2d (git): hash.c: static internal functions
* hash.c (NOINSERT_UPDATE_CALLBACK): make both of noinsert and insert
internal functions static. and put semicolon...
nobu (Nobuyoshi Nakada)
02:34 PM Revision b97f7548 (git): string.c: constify
* string.c (tr_find): constify argument table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43699 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
01:59 PM Feature #6842: Add Optional Arguments to String#strip
I need this a couple of weeks ago. Looks like a preety commo use case. fuadksd (Fuad Saud)
01:49 PM Feature #6842: Add Optional Arguments to String#strip
I still look forward to this feature. So much more convenient and readable than the current work-around of using rege... wardrop (Tom Wardrop)
08:57 AM Bug #9115: Logger traps all exceptions; breaks Timeout
...I guess my search was broken. I did another and found a whole lot of "rescue exception" that don't seem to always ... cphoenix (Chris Phoenix)
12:54 AM Bug #9106: 'gem install' doesn't copy .so files of ext libs
Hello,
Here is a 2009 discussion about gems and multiple binaries (targeting different versions of Ruby):
http:...
luislavena (Luis Lavena)

11/16/2013

11:09 PM Feature #9118 (Closed): In Enumerable#to_a, use size to set array capa when possible
Cross-post from https://github.com/ruby/ruby/pull/444.
Enumerable#to_a works by creating an empty array with small...
HonoreDB (Aaron Weiner)
09:45 PM Revision fd6b01c4 (git): Explain fix in r43697
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
09:36 PM Revision 7cbdb708 (git): * configure.in: Use $LIBS for base of $SOLIBS, also in darwin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
08:00 PM Bug #9117 (Closed): 43656 breakes openssl in stalic-ext ruby
=begin
while fixing #8879 a new bug was introduced in ((<r43656|URL:https://bugs.ruby-lang.org/projects/ruby-200/r...
mpapis (Michal Papis)
07:23 PM Feature #9116: String#rsplit missing
On Nov 16, 2013 6:35 PM, "artagnon (Ramkumar Ramachandra)" <
[email protected]> wrote:
>
> There's nothing co...
phluid61 (Matthew Kerwin)
05:35 PM Feature #9116 (Open): String#rsplit missing
There's nothing corresponding to Python's rsplit(). A quick glance at rb_str_split_m() tells me that it should be pre... Anonymous
07:05 PM Bug #9061: REXML::Parsers::UltraLightParser で doctype を含む XML のパースがうまくいかない
遅くなりましたがテストを追加してパッチをそのまま取り込みました!
報告ありがとうございました!
kou (Kouhei Sutou)
06:31 PM Bug #9061 (Closed): REXML::Parsers::UltraLightParser で doctype を含む XML のパースがうまくいかない
This issue was solved with changeset r43693.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is ...
kou (Kouhei Sutou)
04:57 PM Revision b01b1990 (git): * thread_pthread.c (thread_create_core): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:49 PM Revision bfce3d10 (git): * 2013-11-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:49 PM Revision fbdd08b8 (git): * thread_pthread.c (rb_thread_create_timer_thread): Show error
message instead of error number.
* cont.c (fiber_machine_stack_alloc): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang....
akr (Akira Tanaka)
12:30 PM Bug #9115 (Closed): Logger traps all exceptions; breaks Timeout
Line 577-579 of logger.rb
rescue Exception => ignored
warn("log writing failed. #{ignored}")
...
cphoenix (Chris Phoenix)
12:08 PM Bug #9106: 'gem install' doesn't copy .so files of ext libs
It sounds good improvement of RubyGems to manage binaries for each ruby API versions.
Your comment totally makes sen...
frsyuki (Sadayuki Furuhashi)
06:37 AM Bug #9106: 'gem install' doesn't copy .so files of ext libs
=begin
@frsyuki: you should trust rubygems to make msgpack/msgpack.so accessible somewhere in the $LOAD_PATH so:
...
drbrain (Eric Hodel)
09:47 AM Bug #9114: InstructionSequence.compile w/tailcall_optimization: true, trace_instruction: false not working as expected
Here's an update where a call is in tail position, but from the output you'll see only the initial call uses the tail... drbrain (Eric Hodel)
06:54 AM Bug #9114: InstructionSequence.compile w/tailcall_optimization: true, trace_instruction: false not working as expected
Which call is in tail position for this method? I'm not seeing it. drbrain (Eric Hodel)
02:55 AM Bug #9114: InstructionSequence.compile w/tailcall_optimization: true, trace_instruction: false not working as expected
btw- that method is incorrect, and when I wrote a better/working method, now it doesn't have that error in 2.0.0p247 ... garysweaver (Gary Weaver)
02:38 AM Bug #9114 (Rejected): InstructionSequence.compile w/tailcall_optimization: true, trace_instruction: false not working as expected
Code to reproduce is a recursive sort I wrote; I was trying to compile RubyVM::InstructionSequence with tailcall_opti... garysweaver (Gary Weaver)
09:31 AM Revision a66a9fbb (git): * lib/rexml/parsers/ultralightparser.rb
(REXML::Parsers::UltraLightParser#parse): Fix wrong :start_doctype
position.
[Bug #9061] [ruby-dev:47778]
Patch...
Sutou Kouhei
12:29 AM Bug #9110 (Closed): double free or corruption error at_exit with callcc
This issue was solved with changeset r43685.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is...
Anonymous
12:24 AM Revision bc3db2a5 (git): * test/ruby/test_hash.rb (class TestHash): add tests for [ruby-dev:47803] [Bug #9105]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui

11/15/2013

10:21 PM Bug #9105 (Closed): callcc による不整合(例:Hash)
This issue was solved with changeset r43683.
Masaya, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
10:14 PM Revision 6e3184e2 (git): envutil.rb: crash report on Mac OS X
* test/ruby/envutil.rb (EnvUtil.diagnostic_reports): find crash report
on Mac OS X.
* test/ruby/envutil.rb (Test::...
nobu (Nobuyoshi Nakada)
09:53 PM Feature #9113 (Rejected): Ship Ruby for Linux with jemalloc out-of-the-box
Then it is a task of package maintainers. nobu (Nobuyoshi Nakada)
04:16 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
@martin this is a great "oldish" article by facebook about this http://www.facebook.com/notes/facebook-engineering/sc... sam.saffron (Sam Saffron)
03:23 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
On one level, this feels like a non-brainer. But then the question is
why the standard memory allocator in libc h...
duerst (Martin Dürst)
02:49 PM Feature #9113 (Third Party's Issue): Ship Ruby for Linux with jemalloc out-of-the-box
If system malloc is replaced with those newer libraries, ruby will use it.
Otherwise, configure with LIBS=-ljemalloc.
nobu (Nobuyoshi Nakada)
02:45 PM Feature #9113 (Assigned): Ship Ruby for Linux with jemalloc out-of-the-box
Could you comment this? naruse (Yui NARUSE)
12:08 PM Feature #9113 (Closed): Ship Ruby for Linux with jemalloc out-of-the-box
libc's malloc is a problem, it fragments badly meaning forks share less memory and is slow compared to tcmalloc or je... sam.saffron (Sam Saffron)
08:54 PM Revision 006eca88 (git): test_beginendblock.rb: assert_normal_exit
* test/ruby/test_beginendblock.rb (test_callcc_at_exit): use
assert_normal_exit for better message.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
07:36 PM Bug #9106: 'gem install' doesn't copy .so files of ext libs
Hi I'm @frsyuki.
1) I don't understand which behavior of RubyGems should the code trust. It assumes that msgpack.so ...
frsyuki (Sadayuki Furuhashi)
05:26 PM Bug #9106: 'gem install' doesn't copy .so files of ext libs
hsbt (Hiroshi SHIBATA) wrote:
> tagomoris: Thank you for your report. Can you investigate to msgpack gem?
I don't...
tagomoris (Satoshi Tagomori)
02:25 PM Bug #9106 (Assigned): 'gem install' doesn't copy .so files of ext libs
For backwards compatibility I will need to alter RubyGems before Ruby 2.1 (I haven't had time yet).
Future version...
drbrain (Eric Hodel)
10:12 AM Bug #9106 (Feedback): 'gem install' doesn't copy .so files of ext libs
tagomoris: Thank you for your report. Can you investigate to msgpack gem? hsbt (Hiroshi SHIBATA)
06:36 PM Revision 494731b7 (git): ChangeLog typos from r43688
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:15 PM Feature #9111: Encoding-free String comparison
i found the wikipedia source: http://en.wikipedia.org/wiki/Combining_character
its not about treating "^a" or "a^" th...
Hanmac (Hans Mackowiak)
02:41 PM Feature #9111: Encoding-free String comparison
> Hanmac: "â" can be maked from "a" + "^"
Treating them the same is too much, I think. There are various marking m...
sawa (Tsuyoshi Sawada)
05:20 AM Feature #9111: Encoding-free String comparison
what about strings with the same encoding, but different content, but that is turned the same?
like "â" can be make...
Hanmac (Hans Mackowiak)
12:04 AM Feature #9111: Encoding-free String comparison
Following nobu's suggestion, I came up with the following several possibilities:
When two strings with different e...
sawa (Tsuyoshi Sawada)
05:15 PM Revision 28a1c4f3 (git): * cont.c : Introdule ensure rollback mechanism. Please see below.
* internal.h (ruby_register_rollback_func_for_ensure): catch up above change.
Add rollback mechanism API.
...
Masaya Tarui
05:08 PM Revision 9e96b1ed (git): revert r43675 and r43683 without tests for applying rollback patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
04:38 PM Bug #9110 (Assigned): double free or corruption error at_exit with callcc
Glass_saga (Masaki Matsushita)
03:32 PM Feature #9108: Hash sub-selections
However, i do not see why it has to be used as `select(*args)` and not select `select(ary)` or `select(enum)`. alexeymuranov (Alexey Muranov)
03:28 PM Feature #9108: Hash sub-selections
wardrop (Tom Wardrop) wrote:
> I think an appropriate solution would be to amend `Hash#select`. It currently doesn...
alexeymuranov (Alexey Muranov)
02:48 PM Feature #9108: Hash sub-selections
`Enumerator` includes `Enumerable`, as does `Hash`. `Enumerator` introduces a few new methods that revolve around the... wardrop (Tom Wardrop)
01:06 PM Feature #9108: Hash sub-selections
phluid61 (Matthew Kerwin) wrote:
> wardrop (Tom Wardrop) wrote:
> > They do differ, yes, but in most cases an enume...
phluid61 (Matthew Kerwin)
12:23 PM Feature #9108: Hash sub-selections
wardrop (Tom Wardrop) wrote:
> They do differ, yes, but in most cases an enumerator is interchangeable with a `Hash`...
phluid61 (Matthew Kerwin)
12:07 PM Feature #9108: Hash sub-selections
They do differ, yes, but in most cases an enumerator is interchangeable with a `Hash`. I can't imagine anyone would b... wardrop (Tom Wardrop)
10:07 AM Feature #9108: Hash sub-selections
Enumerator differs from Hash. nobu (Nobuyoshi Nakada)
08:56 AM Feature #9108: Hash sub-selections
I suppose square-bracket syntax is too ambiguous as it collides with many other existing and potential behaviours I d... wardrop (Tom Wardrop)
03:30 AM Feature #9108: Hash sub-selections
I prefer such syntax for nested hash (as in http://bugs.ruby-lang.org/issues/5531)
Why not to use usual method like ...
prijutme4ty (Ilya Vorontsov)
03:29 PM Revision 7664609f (git): * 2013-11-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 77a5f5b5 (git): * eval_jump.c (rb_exec_end_proc): fix double free or corruption error
when reentering by callcc. [ruby-core:58329] [Bug #9110]
* test/ruby/test_beginendblock.rb: test for above.
git-sv...
Glass_saga (Masaki Matsushita)
02:08 PM Revision 549b35c1 (git): eval.c: refactor exception cause
* eval.c (setup_exception): set up cause after exception to be raised
is fixed. [Feature #8257]
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
01:21 PM Revision e7d29c6c (git): hash.c: iteration level with reentering
* hash.c (hash_foreach_iter, hash_foreach_ensure, rb_hash_foreach):
deal with iteration level when reentering by ca...
nobu (Nobuyoshi Nakada)
10:14 AM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
It has been rejected because it is hard to implement without significant performance penalty.
Now we have subclass t...
nobu (Nobuyoshi Nakada)
09:23 AM Feature #9112 (Assigned): Make module lookup more dynamic (Including modules into a module after it has already been included)
This would be a new feature.
I believe this was requested and rejected back in the 1.8 days, but looking for the d...
drbrain (Eric Hodel)
04:25 AM Feature #9112 (Closed): Make module lookup more dynamic (Including modules into a module after it has already been included)
If a module (M) is included into a class (C) and afterwards another module (M2) is included into the first module (M)... PragTob (Tobias Pfeiffer)
08:07 AM Revision ca573997 (git): delegate.rb: get rid of global function interference
* lib/delegate.rb (Delegator#send): override to get rid of global function interference.
[Fixes GH-449]
git-svn-id...
nobu (Nobuyoshi Nakada)
08:07 AM Revision 3eac78dd (git): iseq.c: fix values for true
* iseq.c (make_compile_option): fill with 1 of int, not char if opt is true.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
01:07 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Sweet. I'll go ahead and start cooking up the patch. Thanks all for the preliminary feedback. sikachu (Prem Sichanugrist)
01:06 AM Bug #9102 (Closed): ObjectSpace.dump_all creates a FD without close-on-exec flag
This issue was solved with changeset r43679.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)

11/14/2013

11:17 PM Feature #9111: Encoding-free String comparison
sawa (Tsuyoshi Sawada) wrote:
> I suggest that the comparison `String#<=>` should not be based on the respective enc...
nobu (Nobuyoshi Nakada)
10:15 PM Feature #9111 (Open): Encoding-free String comparison
=begin
Currently, strings with the same content but with different encodings count as different strings. This causes...
sawa (Tsuyoshi Sawada)
10:42 PM Bug #9105 (Open): callcc による不整合(例:Hash)
r43675 はマルチスレッドで同一の Hash を使っている場合に `RHASH_ITER_LEV(hash)` の値が不正になることがあると思います。
以下のようなスクリプトを実行すると `RHASH_ITER_LEV()` が...
nagachika (Tomoyuki Chikanaga)
11:35 AM Bug #9105 (Closed): callcc による不整合(例:Hash)
This issue was solved with changeset r43675.
Masaya, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
09:48 PM Feature #9108: Hash sub-selections
```ruby
[:dog, :cat].map { |k| sounds[ k] }
#=> ["woof", "meow"]
```
```ruby
[:dog, :cat].inject Hash.new do |...
BertramScharpf (Bertram Scharpf)
07:50 PM Feature #9108: Hash sub-selections
related to #8499 and the rejected #6847.
Personally I'd love to see `Hash#slice` implemented in Ruby core, but I t...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:12 PM Feature #9108: Hash sub-selections
I think, in *Rails*, the proposed method (not the assignment) is called [`Hash#slice`](http://api.rubyonrails.org/cla... alexeymuranov (Alexey Muranov)
01:44 PM Feature #9108: Hash sub-selections
wardrop (Tom Wardrop) wrote:
> I think a more concise and graceful solution to this would be to allow the Hash#[] me...
nobu (Nobuyoshi Nakada)
12:51 PM Feature #9108: Hash sub-selections
Apologies for immediately replying again, but I've just had a potential source of confusion occur to me:
```ruby
...
phluid61 (Matthew Kerwin)
12:46 PM Feature #9108: Hash sub-selections
In your proposal, what would happen with undefined keys? I see two reasonable options:
```ruby
sounds = {dog: 'w...
phluid61 (Matthew Kerwin)
12:00 PM Feature #9108 (Closed): Hash sub-selections
Hi,
I seem to regularly have the requirement to work on a sub-set of key/value pairs within a hash. Ruby doesn't s...
wardrop (Tom Wardrop)
08:53 PM Bug #9102: ObjectSpace.dump_all creates a FD without close-on-exec flag
2013/11/11 akr (Akira Tanaka) <[email protected]>:
> Bug #9102: ObjectSpace.dump_all creates a FD without close-on-exec...
akr (Akira Tanaka)
07:58 PM Bug #8439 (Closed): test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
This issue was solved with changeset r43676.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
akr (Akira Tanaka)
07:52 PM Feature #9107: Introduce YES and NO as aliases of true and false
I was just kidding, Eric. I liked Matz comment, that's all :) rosenfeld (Rodrigo Rosenfeld Rosas)
08:23 AM Feature #9107: Introduce YES and NO as aliases of true and false
On 13 Nov 2013, at 08:16, rosenfeld (Rodrigo Rosenfeld Rosas) <[email protected]> wrote:

> Issue #9107 has been ...
drbrain (Eric Hodel)
01:16 AM Feature #9107: Introduce YES and NO as aliases of true and false
Oh, man, Redmine should have a "like" feature just like Facebook ;) rosenfeld (Rodrigo Rosenfeld Rosas)
01:14 AM Feature #9107 (Rejected): Introduce YES and NO as aliases of true and false
Define them by yourself in your application.
To be honestly, yes/no seems bit childish to me, a old guy.
Matz.
matz (Yukihiro Matsumoto)
07:41 PM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
+1 to Avdi's idea. I mostly miss this when I'm writing my specs. Sometimes I have to compare some processed HTML with... rosenfeld (Rodrigo Rosenfeld Rosas)
01:01 PM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Creating a patch will help, but it can't be committed without the approval of matz. drbrain (Eric Hodel)
12:10 PM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Oh, that's an awesome suggestion, @avdi. I like it. That way, it wouldn't be introducing backward incompatibility. Ma... sikachu (Prem Sichanugrist)
10:53 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
On Sat, Nov 9, 2013 at 4:18 PM, sikachu (Prem Sichanugrist) <[email protected]>
wrote:

I've been using here document...
avdi (Avdi Grimm)
10:45 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
I prefer Avdi's idea in [ruby-core:58322] as it does not introduce incompatibility. drbrain (Eric Hodel)
08:10 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
I can see that. I actually just indented the example in without looking at the line width. My bad. :)
If the secon...
sikachu (Prem Sichanugrist)
08:08 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
I can see the second is worse, not better, because it runs over 80 columns on more lines which wrap in my editor. drbrain (Eric Hodel)
03:26 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
@drbrain I could, but then the code would look ugly when the non-heredoc section is well-indented, and especially if ... sikachu (Prem Sichanugrist)
04:07 PM Bug #9109: extend したモジュールメソッドと RSpec の let で 2 つ同名を使ったときに segmentation fault になる
_th.tagをセットした後、EXEC_TAG()中のsetjmp()の中でスタックオーバーフローしているようですね。
これはどうしたものかなぁ。
nobu (Nobuyoshi Nakada)
02:02 PM Bug #9109: extend したモジュールメソッドと RSpec の let で 2 つ同名を使ったときに segmentation fault になる
運が悪いとsystemstackerrorにならず SEGV が発生する既知の現象に見えます。 sorah (Sorah Fukumori)
12:34 PM Bug #9109 (Closed): extend したモジュールメソッドと RSpec の let で 2 つ同名を使ったときに segmentation fault になる
=begin
以下のコードで segmentation fault を起こします。
require 'rspec'

module ExtendModule
def foo
'foo'
...
sunaot (sunao tanabe)
04:06 PM Revision 5caf6812 (git): * 2013-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:06 PM Revision 91aa8da5 (git): objspace_dump.c: refine output
* ext/objspace/objspace_dump.c (dump_output): allow IO object as
output, and use Tempfile.create and return open fi...
nobu (Nobuyoshi Nakada)
02:40 PM Revision 6cbe2616 (git): * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] remove example of
Rational#to_d without argument. [Bug #8958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43678 b2dd03c8-39d4-4d...
nagachika (Tomoyuki Chikanaga)
01:12 PM Bug #9110 (Closed): double free or corruption error at_exit with callcc
Following code causes double free or corruption error.
require "continuation"
c = nil
at_exit { c.call }
at_e...
Glass_saga (Masaki Matsushita)
11:40 AM Revision c3c06ff7 (git): * ruby_atomic.h (ATOMIC_SIZE_CAS): fix compile error on Solaris since r43460.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
10:58 AM Revision e4f8f890 (git): * test/openssl/test_cipher.rb (test_aes_gcm_wrong_tag): Don't use
String#succ because it can make modified (wrong) auth_tag longer
than 16 bytes. The longer auth_tag makes that
E...
akr (Akira Tanaka)
08:03 AM Bug #9106: 'gem install' doesn't copy .so files of ext libs
=begin
Ugh. This is a misfeature of msgpack, it should trust that RubyGems will do the right thing:
here = Fil...
drbrain (Eric Hodel)
08:00 AM Bug #9106: 'gem install' doesn't copy .so files of ext libs
Yes, I will investigate. drbrain (Eric Hodel)
02:37 AM Bug #8988 (Closed): [DOC] fix incorrect documentation for SizedQueue
This issue was solved with changeset r43673.
Jack, thank you for reporting this issue.
Your contribution to Ruby is g...
zzak (zzak _)
02:35 AM Revision 04c7fa0f (git): hash.c: restore iter_lev
* hash.c (hash_foreach_ensure): restore iter_lev to the previous
value, not just decrement. [ruby-dev:47803] [Bug ...
nobu (Nobuyoshi Nakada)
02:33 AM Revision b0af0592 (git): hash.c, st.c: fix for ST_CHECK
* hash.c (foreach_safe_i, hash_foreach_iter): deal with error detected
by ST_CHECK.
* st.c (st_foreach_check): call...
nobu (Nobuyoshi Nakada)

11/13/2013

11:36 PM Feature #9107 (Rejected): Introduce YES and NO as aliases of true and false
I have a patch introducing the constants YES/NO as aliases of true/false. You can check it out here: https://github.c... gsamokovarov (Genadi Samokovarov)
09:53 PM Feature #9023: Array#tail
rest sounds definitely better. Clojure uses it and it feels very natural
and readable.


On Wed, Nov 13, 201...
Anonymous
06:59 PM Feature #9023: Array#tail
I also dislike the name Array#tail, since it's commonly associated with linked lists, not arrays. I think a much bett... bozhidar (Bozhidar Batsov)
07:09 PM Bug #9027 (Closed): [Doc] improve rdoc of Digest module
This issue was solved with changeset r43668.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is...
zzak (zzak _)
05:37 PM Revision af5e2129 (git): * ext/thread/thread.c: [DOC] This patch accomplishes the following:
- Teach RDoc about ConditionVariable
- Teach RDoc about Queue
- Teach RDoc about SizedQueue
- Use fully-qualifi...
zzak (zzak _)
04:30 PM Bug #9106 (Assigned): 'gem install' doesn't copy .so files of ext libs
Eric, could you handle this? sorah (Sorah Fukumori)
03:50 PM Bug #9106 (Closed): 'gem install' doesn't copy .so files of ext libs
'gem install' should copy files of 'ext/**/*.so' of each installed gems, but doesn't.

$ ruby -v
ruby 2.1.0dev ...
tagomoris (Satoshi Tagomori)
04:12 PM Revision 62d38534 (git): * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] +precision+ is required
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:21 PM Feature #9098 (Assigned): Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Why not make your content flush left? drbrain (Eric Hodel)
03:15 PM Revision 647d4f5e (git): * 2013-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 18358ad8 (git): Squashed commit of the following:
commit 6895f38bfc3c0ad6bd212b8f9acc3c71384dfcb7
Author: Chikanaga Tomoyuki <[email protected]>
Date: Thu Nov 14...
nagachika (Tomoyuki Chikanaga)
10:50 AM Bug #9105 (Closed): callcc による不整合(例:Hash)
=begin
以下のコードを実行すると、
equire 'continuation'
h = {1=>2,3=>4}
c = nil
f = false
h.each { callcc {|c2| c = c2 ...
tarui (Masaya Tarui)
10:23 AM Revision a369b7f7 (git): * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] Document the required
+precision+ argument for Rational#to_d [Bug #8958]
-This line, and those below, will be ignored--
M ChangeLog
M ...
zzak (zzak _)
10:09 AM Revision 4c1e390f (git): * ext/digest/*: [DOC] Fix several typos and broken http links.
Improved examples for Digest overview and fixed a broken example in
Digest::HMAC overview. This patch also adds a d...
zzak (zzak _)
09:34 AM Revision 1dd8260d (git): * ext/openssl/ossl_config.c: [DOC] Document the following:
- OpenSSL::ConfigError
- OpenSSL::Config::DEFAULT_CONFIG_FILE
Patched by @vbatts via GH-436
https://github.com...
zzak (zzak _)
09:29 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
"charliesome (Charlie Somerville)" <[email protected]> wrote:
> My personal opinion on extending optimized...
normalperson (Eric Wong)
07:33 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
My personal opinion on extending optimized #freeze to other literals is that it should be up to each implementation t... Anonymous
07:32 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
#8992 landed changes to optimize String#freeze, and #9043 deals with the possibility of adding a shortcut String#f me... headius (Charles Nutter)
09:29 AM Feature #9043: Add String#f method as shortcut for #freeze
Fwiw, I am against adding aliases to the same method,
especially extremely short names which are hard to search fo...
normalperson (Eric Wong)
07:23 AM Feature #9043: Add String#f method as shortcut for #freeze
The change to optimize String#freeze has landed for #8992, which compiler-optimizes String#freeze. The only remaining... headius (Charles Nutter)
09:08 AM Bug #4044 (Feedback): Regex matching errors when using \W character class and /i option
Ooops, didn't mean to close this only mention.. zzak (zzak _)
09:05 AM Bug #4044 (Closed): Regex matching errors when using \W character class and /i option
This issue was solved with changeset r43657.
Ben, thank you for reporting this issue.
Your contribution to Ruby is gr...
zzak (zzak _)
09:06 AM Revision 49a98454 (git): * ext/openssl/ossl_asn1.c: [DOC] Document parts of
OpenSSL::ASN1::ObjectId included a fix for the class overview, which
previously showed the documentation for Constr...
zzak (zzak _)
08:46 AM Feature #8257: Exception#cause to carry originating exception along with new one
henry.maddocks (Henry Maddocks) wrote:
> How is this different to 'wrapping' an exception? Eg.
>
> http://www.jay...
headius (Charles Nutter)
08:04 AM Feature #8257: Exception#cause to carry originating exception along with new one
How is this different to 'wrapping' an exception? Eg.
http://www.jayway.com/2011/05/25/ruby-an-exceptional-languag...
henry.maddocks (Henry Maddocks)
03:32 AM Feature #8257: Exception#cause to carry originating exception along with new one
nobu (Nobuyoshi Nakada) wrote:
> Automagically captured exceptions doesn't feel `cause' to me, now.
> It might be i...
headius (Charles Nutter)
08:21 AM Revision 75cef505 (git): * ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
08:17 AM Revision a280ebb6 (git): commit typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
08:15 AM Revision 33b63fcf (git): * ext/openssl/lib/openssl/*.rb: [DOC] Document the following:
- Integer#to_bn
- OpenSSL::Buffering module
- Document deprecated OpenSSL::Digest::Digest compatibility class
-...
zzak (zzak _)
08:08 AM Revision 2019f34b (git): io-console.gemspec: certification
* ext/io/console/io-console.gemspec: add a certification.
http://www.benjaminfleischer.com/2013/11/08/how-to-sign-y...
nobu (Nobuyoshi Nakada)
07:20 AM Feature #8992 (Closed): Use String#freeze and compiler tricks to replace "str"f suffix
This has been completed as of revisions r43627 and r43634.
Thanks for the collaboration, everyone :-)
headius (Charles Nutter)
02:59 AM Revision 2ebea118 (git): * lib/rubygems: Update to RubyGems 2.0.14. [ruby-core:58300]
[Backport #9104]
the patch is provided by drbrain (Eric Hodel).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
nagachika (Tomoyuki Chikanaga)
01:56 AM Revision 7b6deb9c (git): * doc/regexp.rdoc: [DOC] Fix typo in Special global variables section.
Reported by Alex Johnson on ruby-doc.org
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43660 b2dd03c8-39d4-4d8f...
zzak (zzak _)
01:43 AM Revision 078ae7dd (git): * hash.c: [DOC] Adds an example for Hash#store
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:05 AM Revision 4aaa510f (git): * 2013-11-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:05 AM Revision d265baf3 (git): * doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by
duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld
https://github.com/ruby/ruby/pull/443
git-sv...
zzak (zzak _)
12:05 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
r43449, r43514 and r43525 are backported to ruby_2_0_0 at r43656. nagachika (Tomoyuki Chikanaga)

11/12/2013

09:34 PM Bug #4044: Regex matching errors when using \W character class and /i option
https://github.com/ruby/ruby/pull/443 rosenfeld (Rodrigo Rosenfeld Rosas)
04:53 PM Bug #4044: Regex matching errors when using \W character class and /i option
On 2013/11/07 21:50, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #4044 has been updated by rosenfeld (R...
duerst (Martin Dürst)
04:44 PM Bug #9103: Segmentation fault. ROR/rubypython/Sidekiq stack.
Full error log attached. voiper.it (Anton Maljanin)
04:43 PM Bug #9103 (Third Party's Issue): Segmentation fault. ROR/rubypython/Sidekiq stack.
Sidekiq's worker with follow code (rubypython requirying is in application.rb):
def perform(args)
puts "Doing h...
voiper.it (Anton Maljanin)
02:55 PM Revision 71f8a0d2 (git): merge revision(s) 43449,43514,43525: [Backport #8879] [Backport #8883]
* load.c (ruby_init_ext): share feature names between frame name and
provided features.
* load.c (...
nagachika (Tomoyuki Chikanaga)
02:35 PM Revision f4d76649 (git): merge revision(s) 43609,43617: [Backport #8878] [Backport #9085]
vcs.rb: split
* tool/vcs.rb: split from file2lastrev.rb.
* tool/rbinstall.rb (Gem::Specification.loa...
nagachika (Tomoyuki Chikanaga)
02:31 PM Revision 68eb3d86 (git): merge revision(s) 42862(partially),42910,43093: [Backport #8878] [Backport #9085]
* common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY can't
require extension libraries. The patch ...
nagachika (Tomoyuki Chikanaga)
02:27 PM Bug #9096 (Feedback): Regexp.quote(UTF-8) returns US-ASCII
The encoding is set back to US-ASCII because the string is just 'foo'. If you change the string e.g. to "foo\u1234", ... duerst (Martin Dürst)
10:23 AM Feature #6727: Add Array#rest (with implementation)
On 2013/11/12 2:29, fuadksd (Fuad Saud) wrote:
>
> Issue #6727 has been updated by fuadksd (Fuad Saud).
>
>
...
duerst (Martin Dürst)
02:29 AM Feature #6727: Add Array#rest (with implementation)
Reading back the comments, I realize Indexable may be a good idea for String/Array polymorphism. fuadksd (Fuad Saud)
06:58 AM Bug #8993: Request for clarification on method argument binding for keyword arguments
No update on this? In case my previous posts were too confusing, here's the gist of it:
As far as I can tell, MRI ...
97jaz (Jon Zeppieri)
01:16 AM Revision 067e24d6 (git): * test/rubygems/insure_session.rb: Remove unused test file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:16 AM Revision 80c90e1b (git): * 2013-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:16 AM Revision 44d0a6dc (git): * lib/rubygems: Update to RubyGems master b9213d7. Changes include:
Fixed tests on Windows (I hope) by forcing platform for
platform-dependent tests.
Fixed File.exists? warnings.
...
drbrain (Eric Hodel)

11/11/2013

10:30 PM Bug #9044: Too many warnings with VC 2013
r43398, r43407, r43408, r43417 are backported to ruby_2_0_0 at r43648. nagachika (Tomoyuki Chikanaga)
09:52 PM Feature #9099: Train emoji lambda operator
For those who cannot see it: U+1F685
http://www.unicode.org/charts/PDF/U1F680.pdf
--
Yusuke Endoh <[email protected]...
mame (Yusuke Endoh)
07:22 PM Feature #9099: Train emoji lambda operator
It's fundamentally denial.
Matz.
matz (Yukihiro Matsumoto)
06:53 PM Feature #9099: Train emoji lambda operator
On 2013/11/11 17:52, matz (Yukihiro Matsumoto) wrote:
>
> Issue #9099 has been updated by matz (Yukihiro Matsumo...
duerst (Martin Dürst)
05:52 PM Feature #9099 (Feedback): Train emoji lambda operator
Currently I have no idea to include any method not operator whose name contains non-ascii characters in the core libr... matz (Yukihiro Matsumoto)
05:25 PM Feature #9099: Train emoji lambda operator
Just implemented with λ. nobu (Nobuyoshi Nakada)
10:53 AM Feature #9099: Train emoji lambda operator
I had a look at https://bugs.ruby-lang.org/attachments/4038/train.patch.
Catching the 'train' emoji should be handl...
duerst (Martin Dürst)
07:05 AM Feature #9099: Train emoji lambda operator
Redmine truncated the sample code due to the use of emoji, so I have attached a sample file instead. Anonymous
07:04 AM Feature #9099 (Feedback): Train emoji lambda operator
Matz mentioned during the 'Questions for Matz' section at RubyConf 2013 that he would like to the train emoji as an a... Anonymous
06:27 PM Feature #6727: Add Array#rest (with implementation)
alexeymuranov (Alexey Muranov) wrote:
> If #each is to take arguments, would suggest
>
> [1, 2, 'a', :b, 3].ea...
Hanmac (Hans Mackowiak)
06:18 PM Feature #6727: Add Array#rest (with implementation)
duerst (Martin Dürst) wrote:
> On 2013/11/11 1:47, Hanmac (Hans Mackowiak) wrote:
>
> > i think in most cases we w...
alexeymuranov (Alexey Muranov)
04:23 PM Feature #6727: Add Array#rest (with implementation)
On 2013/11/11 1:47, Hanmac (Hans Mackowiak) wrote:

> i think in most cases we want something like ary[1..-1].ea...
duerst (Martin Dürst)
04:23 PM Feature #6727: Add Array#rest (with implementation)
On 2013/11/11 0:27, marcandre (Marc-Andre Lafortune) wrote:

> duckinator (Nick Markwell) wrote:

> I believ...
duerst (Martin Dürst)
01:47 AM Feature #6727: Add Array#rest (with implementation)
i think in most cases we want something like ary[1..-1].each but wouldnt it be better if we have an each method like... Hanmac (Hans Mackowiak)
12:27 AM Feature #6727: Add Array#rest (with implementation)
Hi,
duckinator (Nick Markwell) wrote:
> Regarding examples of it used in practice:
>
> Just from code I happen...
marcandre (Marc-Andre Lafortune)
05:00 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
Additional input, an SBR (stack array bounds read) was reported in mark_locations_array. for example see the attachment. kaustubh (Kaustubh D)
04:47 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
We are facing similar issue (similar stack trace) in our tests. Our observation is, if we build ruby in non-optimized... kaustubh (Kaustubh D)
04:34 PM Revision 52301063 (git): merge revision(s) 42902:
vm_method.c: constify
* vm_method.c (rb_resolve_refined_method): constify.
git-svn-id: svn+ssh://ci.ruby-la...
nagachika (Tomoyuki Chikanaga)
04:02 PM Bug #9102 (Closed): ObjectSpace.dump_all creates a FD without close-on-exec flag
I found test/objspace/test_objspace.rb creates a file descriptor without
O_CLOEXEC.
Ruby should create all file d...
akr (Akira Tanaka)
02:55 PM Revision 8d087aa8 (git): merge revision(s) 40136: [Backport #9084]
* ext/socket/init.c (cloexec_accept): Fix a compile error on
Debian GNU/kFreeBSD. Consider HAVE_ACCEPT4 is...
nagachika (Tomoyuki Chikanaga)
01:29 PM Revision 1ebb3a2b (git): merge revision(s) 43398,43407,43408,43417: [Backport #9044]
* win32/Makefile.sub (config.h): VC 2013 supports C99 mathematics
functions. [ruby-core:57981] [Bug #9044]...
nagachika (Tomoyuki Chikanaga)
11:51 AM Bug #9101 (Closed): Reference to unset variable
File ext/openssl/ossl.c
line 1107, in Init_openssl(): call to ossl_raise()
line 1112, in Init_openssl(): first ...
BertramScharpf (Bertram Scharpf)
09:39 AM Bug #9057: Thread documentation refers to thread_local_set/get but it only documents thread_variable_set/get
Thank you :) rosenfeld (Rodrigo Rosenfeld Rosas)
09:39 AM Revision 8f393426 (git): * internal.h: move common string/hash flags to include file.
* ext/objspace/objspace_dump.c: remove flags shared above.
* hash.c: ditto.
* string.c: ditto.
git-svn-id: svn+ssh:/...
tmm1 (Aman Karmani)
03:19 AM Misc #8741: email notification on bugs.ruby-lang.org is broken
Please explain what does it mean re-register? I have heard from https://bugs.ruby-lang.org/users/7549 that he also do... mpapis (Michal Papis)
01:07 AM Misc #8741 (Closed): email notification on bugs.ruby-lang.org is broken
hsbt (Hiroshi SHIBATA)
01:07 AM Misc #8741: email notification on bugs.ruby-lang.org is broken
I'm sorry for your inconvenience experience. we rebuild our mailing list system at Aug, because of system failure.
P...
hsbt (Hiroshi SHIBATA)
01:13 AM Misc #9097 (Closed): no email notifications for bugs.ruby-lang.org
I'm sorry for your inconvenience experience. we rebuild our mailing list system at Aug, because of system failure.
P...
hsbt (Hiroshi SHIBATA)
12:47 AM Bug #9009: Wrong binding when tracing c-calls
=begin
Hi, I've translate your example to use the TracePoint API
This is the example and result:
class IO
...
deivid (David Rodríguez)
 

Also available in: Atom