Project

General

Profile

Activity

From 10/09/2015 to 10/15/2015

10/15/2015

10:08 PM Feature #11597: Add Linux-specific setfsuid(2)/setfsgid(2)
Given Ruby already supports Kernel#syscall, I wonder if we should
support something a generated syscall.rb file in ...
normalperson (Eric Wong)
07:36 PM Feature #11597 (Open): Add Linux-specific setfsuid(2)/setfsgid(2)
I would be helpful if you add a binding to the Linux-specific syscalls
setfsuid(2)
setfsgid(2)
Their purpose i...
vihai (Daniele Orlandi)
11:48 AM Bug #10892: Deadlock in autoload
On Wed, Oct 14, 2015 at 9:56 PM, Eric Wong <[email protected]> wrote:

> Fwiw, I mentioned in [ruby-core:70359...
Eregon (Benoit Daloze)
04:37 AM Bug #11594 (Closed): A Proc call may corrupt a local variable
Applied in changeset r52129.
----------
proc.c: proc without env
* proc.c (rb_sym_to_proc): move from string.c and ...
nobu (Nobuyoshi Nakada)

10/14/2015

10:01 PM Bug #11596 (Closed): Getting [BUG] rb_vm_get_cref: unreachable
I'm getting a crash when running the Rails tests.
When I run this in the ActiveRecord tests:
~~~
$ ruby -v -I ...
tenderlovemaking (Aaron Patterson)
07:58 PM Bug #10892: Deadlock in autoload
[email protected] wrote:
> Could someone review the patch and apply it or find an alternative fix?

Fwiw, I ment...
normalperson (Eric Wong)
07:33 PM Bug #11595 (Rejected): Time#utc? and Time#gmt? return misleading results based on $TZ
There is an issue with Time#utc? and its alias, Time#gmt?, that return misleading results based on the value of the T... davidcelis (David Celis)
07:17 PM Bug #11594 (Closed): A Proc call may corrupt a local variable
~~~~
x, y, z = 1, 2, 3
p [x, y, z] #=> [1, 2, 3]
-> &blk { }.call &:foo
p [x, y, z] #=> [false, 2, 3] !!! WRONG ...
mame (Yusuke Endoh)
05:10 PM Bug #11271: TestObjSpace#test_trace_object_allocations_start_stop_clear occasional failure
遅くなりましたが r52128 でテストを修正しました。
ただ実は推測していた GC のタイミングの問題ではなくて、このテストに入ってきた時点で別のテストメソッドでの ObjectSpace.trace_object_allocat...
nagachika (Tomoyuki Chikanaga)
05:04 PM Bug #11271 (Closed): TestObjSpace#test_trace_object_allocations_start_stop_clear occasional failure
Applied in changeset r52128.
----------
* test/objspace/test_objspace.rb
(test_trace_object_allocations_start_stop...
nagachika (Tomoyuki Chikanaga)
08:55 AM Bug #11592: Chef-client returned 'cannot load such file -- OpEN'
how can i use embedded ruby?
ally0620 (Ally Kuo)
07:19 AM Bug #11592 (Third Party's Issue): Chef-client returned 'cannot load such file -- OpEN'
Use the ruby embedded in chef. nobu (Nobuyoshi Nakada)
03:41 AM Bug #11592 (Third Party's Issue): Chef-client returned 'cannot load such file -- OpEN'
i execute ruby(1.8.7) test.rb returned the correct value without error,
but once i execute it by chef-client it wil...
ally0620 (Ally Kuo)
08:08 AM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
数回程度ですが、ratioを見ると大体同じくらいの数値です。
気になっているのはベストケースではなく r50887 をrevertしても2.2.2よりもかなり遅いままという点です。
nobu (Nobuyoshi Nakada)
07:57 AM Bug #11591 (Closed): ruby won't build on OS X 10.5 — libunwind.h not available
Applied in changeset r52124.
----------
configure.in: libunwind.h check
* configure.in: check for libunwind.h, whic...
nobu (Nobuyoshi Nakada)
02:59 AM Bug #11591 (Closed): ruby won't build on OS X 10.5 — libunwind.h not available
The libunwind headers were added in OS X 10.6 (darwin10). As a result, ruby will not compile with OS X 10.5 SDK.
~...
PvpDJgHP (William Thomas NELSON)
07:53 AM Bug #11593 (Closed): Is it possible that ObjectSpace.dump_all catch dead objects?
Koichi, can you please help. There are lines in a dump that are not referenced by anyone else. And these are not ROOT... gazay (Alex Gaziev)
06:52 AM Bug #11590 (Rejected): Improve method debugging
You used the same name as that method. nobu (Nobuyoshi Nakada)
05:12 AM Feature #11589 (Closed): Disasm callinfo kw output as list of keywords used
Applied in changeset r52123.
----------
iseq.c: list of keywords [Fix GH-1056]
* iseq.c (rb_insn_operand_intern): c...
nobu (Nobuyoshi Nakada)
01:37 AM Bug #11574: chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
thanks for the reply,
i've downgraded the ruby to 1.8 and try to run the OpEN.so and got the error msg like below:
...
ally0620 (Ally Kuo)

10/13/2015

10:29 PM Bug #11590 (Rejected): Improve method debugging
I forgot to rename a variable that controlled array access inside a method. When I ran the program, Ruby told me that... Gip-Gip (Charles Thompson)
10:25 PM Feature #11589 (Closed): Disasm callinfo kw output as list of keywords used
Feature https://bugs.ruby-lang.org/issues/10440 changed the disasm output so that only the number of keywords used at... bpblack (Brian Black)
03:15 PM Feature #11588 (Open): Implement structured warnings
Ruby’s current warning system is lacking. Warnings are controlled by the -W flag on the command line, and are generat... djberg96 (Daniel Berger)
01:49 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
> ベンチマークを取ってみたのですが、どうもそれだけではないように思えます。
> `-gvl`と付いているのがr50887をrevertしたバージョンです。

これ、何回測定した平均でしょうか。require_threa...
kosaki (Motohiro KOSAKI)
07:06 AM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
ベンチマークを取ってみたのですが、どうもそれだけではないように思えます。
`-gvl`と付いているのが r50887 をrevertしたバージョンです。
------------------------------------...
nobu (Nobuyoshi Nakada)
10:39 AM Feature #8976: file-scope freeze_string directive
`"#{}foo"` is different slightly, -- it is equivalent to `"#{nil.to_s}foo"` and depends on `NilClass#to_s`, so it can... nobu (Nobuyoshi Nakada)
10:03 AM Feature #8976: file-scope freeze_string directive
Shugo Maeda wrote:
> Nobuyoshi Nakada wrote:
> > What about `"#{'foo'}"`?
>
> `"#{'foo'}"` can be considered lit...
phluid61 (Matthew Kerwin)
09:06 AM Feature #8976: file-scope freeze_string directive
Nobuyoshi Nakada wrote:
> What about `"#{'foo'}"`?
`"#{'foo'}"` can be considered literal (or static), but there'...
shugo (Shugo Maeda)
10:28 AM Bug #11574 (Rejected): chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
`unknown type 0x22 (0x11 given)` means the extension library you loaded is for 1.8.
It is not binary compatible.
...
nobu (Nobuyoshi Nakada)
08:51 AM Bug #11574: chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
Hi
thanks for the reply,
i used ruby 1.8 to run **`ruby test.rb`** and return value successfully in the switch
t...
ally0620 (Ally Kuo)
08:27 AM Bug #11587 (Closed): Make OpenStruct#new_ostruct_member and #modifiable fully private API
#6056 made OpenStruct#new_ostruct_member and #modifiable protected,
but they still appear in RDoc and normal user do...
Eregon (Benoit Daloze)
03:12 AM Bug #11582: On Solaris, Rational#** returns -Infinity for Rational(0) when passed a negative Float

> Does 0.0 ** -1 return -Infinity too?
Yes, with default compiler option.
On Solaris, the 0.0 ** -1 could retur...
ngoto (Naohisa Goto)
01:41 AM Bug #11586 (Closed): Weird keyword argument behavior
It has been fixed in 2.2 already. nobu (Nobuyoshi Nakada)
01:22 AM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
2.2.3でも `%q"key":` は通るけれど `%q[key]:` はダメだとか微妙な感じだったので、ナシということで。 nobu (Nobuyoshi Nakada)

10/12/2015

10:56 PM Bug #11586 (Closed): Weird keyword argument behavior
Writing a dynamic method caller, I ran into an issue with splatting in both normal and keyword arguments. When runnin... ChazDomerese (Chaz Domerese)
09:06 PM Bug #9810: Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
Brian Shirai wrote:
> The Numeric#step documentation states:
>
> "If any of the arguments are floating point numb...
dpulliam (Dylan Pulliam)
05:43 PM Feature #9925: rsock_addrinfo uses DNS family AF_UNSPEC for lookup causing high IPv6 AAAA volume
I have a similar issue.
While running strace, I noticed that a ruby script sending a UDP datagram to localhost wou...
craig65535 (Craig Davison)
01:32 PM Bug #7768: Inherited Array class missing
Charlie Somerville wrote:
> =begin
> Looks like a regression introduced in r26987
> =end
This Bug stil exists i...
blazeeboy (Emad Elsaid)
01:22 PM Bug #10892: Deadlock in autoload
Could someone review the patch and apply it or find an alternative fix? Eregon (Benoit Daloze)
01:16 PM Bug #595: Fiber ignores ensure clause
Could we clarify what is the desired behavior and what prevents it to be implemented?
There is a very old RubySpec...
Eregon (Benoit Daloze)
01:12 PM Bug #10894 (Rejected): Unamed keyrest argument and a normal keyword argument disallow arbitrary keyword arguments
Since 2.0.0 only accept security fixes I'll close this. Eregon (Benoit Daloze)
12:54 PM Feature #11550: Current behaviour of super(...) is dangerous in the presence of more than one included modules.
Ronald Fischer wrote:
> First, M1 and M2 don't know where they are going to be mixed in, so they can not invoke `suu...
Eregon (Benoit Daloze)
10:47 AM Feature #11550: Current behaviour of super(...) is dangerous in the presence of more than one included modules.
Benoit Daloze wrote:
> Why not simply having `super` in M1 and M2 #initialize?
> All constructors should call `supe...
rovf (Ronald Fischer)
11:29 AM Bug #11585 (Closed): Broken ruby-core mailing list integration.
Fixed. hsbt (Hiroshi SHIBATA)
11:23 AM Bug #11585 (Closed): Broken ruby-core mailing list integration.
This is investigation issue of ruby-core:71053 hsbt (Hiroshi SHIBATA)
10:42 AM Misc #11584 (Closed): Kernel::loop silently catching StopIteration, should be documented
The method Kernel::loop implicitly catches a StopIteration exception. This fact is documented on the documentation pa... rovf (Ronald Fischer)
05:40 AM Feature #11583: Add File#unlink
Of cource, it's nonsence for me. usa (Usaku NAKAMURA)
05:29 AM Feature #11583: Add File#unlink
Unix can unlink an opend file, but windows doesnt. usa-san, what do you think about this patch?
kosaki (Motohiro KOSAKI)
04:32 AM Feature #11583 (Open): Add File#unlink
I propose new method **File#unlink**.
**File#unlink** is same as **Fille.unlink** like this.
~~~ruby
class Fil...
ksss (Yuki Kurihara)
12:10 AM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
Robert A. Heiler wrote:
> The current examples are:
>
> r1 = Regexp.new('^a-z+:\s+\w+') #=> /^a-z+:\s+\w+/
>...
dpulliam (Dylan Pulliam)

10/11/2015

11:25 PM Bug #11582: On Solaris, Rational#** returns -Infinity for Rational(0) when passed a negative Float
Does `0.0 ** -1` return `-Infinity` too?
It isn't a problem?
nobu (Nobuyoshi Nakada)
08:59 PM Bug #11582 (Closed): On Solaris, Rational#** returns -Infinity for Rational(0) when passed a negative Float
For instance,
> Rational(0, 1) ** -1.0
=> +Infinity on most platforms, -Infinity on Solaris by default.
The Ra...
Eregon (Benoit Daloze)
07:56 PM Bug #11581 (Closed): profiler extra method calls
I was playing today with Ruby profiler and found something strange in my results. Let's take a sample code from docs:... robsdrops (Robert Pawlas)
04:37 AM Feature #10883: Passing a block to itself
Duplicate of: #6373, #10095 avit (Andrew Vit)

10/10/2015

02:35 PM Misc #11580 (Closed): Add documentation for #thread_list_all in lib/debug.rb
Hey y'all, so I wanted to try submitting my first patch to Ruby and I thought documentation would be a good way to st... dpulliam (Dylan Pulliam)
11:42 AM Bug #11579 (Closed): Fiddle.win32_last_error after calling Fiddle::Function#call isn't GetLastError()
The current source code is:
~~~c
rb_funcall(mFiddle, rb_intern("last_error="), 1, INT2NUM(errno));
#if defin...
cremno (cremno phobia)
01:48 AM Bug #11501: About priority of a hash element when using {**hash1, **hash2} literal
Oops, many revisions references #10315.
Sorry, r47878 is the revision.
wanabe (_ wanabe)
01:26 AM Bug #11501: About priority of a hash element when using {**hash1, **hash2} literal
`git bisect` shows the change was introduced by #10315.
I guess it is intended.
wanabe (_ wanabe)
01:41 AM Bug #11574: chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
Ally Kuo wrote:
> root@localhost:/home# chef-client
> Starting Chef Client, version 12.4.3
> resolving cookbooks f...
wanabe (_ wanabe)

10/09/2015

06:10 PM Bug #11556: [PERF] app_strconcat
benchmark results:
Execution time (sec)
name |ruby 2.3.0dev (2015-10-09 trunk 52095) [x86_64-linux]|ruby ...
tgxworld (Guo Xiang Tan)
03:52 PM Feature #8976: file-scope freeze_string directive
What about `"#{'foo'}"`? nobu (Nobuyoshi Nakada)
06:06 AM Feature #8976: file-scope freeze_string directive
In r52087, I've changed the behavior not to freeze dynamic string literals (e.g., "#{x}")
because dynamic string lit...
shugo (Shugo Maeda)
03:35 PM Feature #11578 (Rejected): Add a method to check if a number is probably prime or composite (Patch included)
Added a method to check if a given n is probably prime or composite using Miller- Rabin Test. This method is faster ... chaitanyav (NagaChaitanya Vellanki)
01:40 PM Feature #11577 (Open): Add encodeURIComponent compatible API for URI
How about adding encodeURIComponent/decodeURIComponent compatible API?
There's already have some methods:
* URI.e...
naruse (Yui NARUSE)
07:12 AM Feature #11575: Blocks in ERB don't work as intended?
I'm sorry I didn't make myself clear. Whitespace isn't the issue here - look at what's in `$results`.
With Erubis...
rohitpaulk (Paul Kuruvilla)
02:51 AM Feature #11575 (Third Party's Issue): Blocks in ERB don't work as intended?
ERB preserves white spaces even there is no `<%= %>` tags.
Seems an Erubis's issue.
nobu (Nobuyoshi Nakada)
06:14 AM Bug #11576 (Closed): Inifnite recursion with inheritance provokes core dump
Infinite recursion mixed with heritance (in the attached example with an inherited constructor) provokes a core dump.... ivo.bloechliger (Ivo Blöchliger)
 

Also available in: Atom