Activity
From 10/06/2015 to 10/12/2015
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 running the following code that is attached, the results suggest the key2 argument is nil, but it should equal `"true"`? This ...
-
09:06 PM Bug #9810: Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
- Brian Shirai wrote:
> The Numeric#step documentation states:
> ...
Hey Brian,
TL;DR
Your calling step with an invalid parameter. It is not intended to take a string. Make sure that the params you pass in are an integer or float a... -
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 would call sendto twice. The first sendto used an IPv6 address, and would fail, and the second sendto used an IPv4 address ... -
01:32 PM Bug #7768: Inherited Array class missing
- Charlie Somerville wrote:
> =begin
> ...
This Bug stil exists in my current ruby version
> ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
and had to make this workaround in my custom class
> ...
> end -
01:22 PM Bug #10892: Deadlock in autoload
- Could someone review the patch and apply it or find an alternative fix?
-
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 about this and I would like to know whether this might be guaranteed in a future release or not. -
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.
-
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 `suuper` - they don't know what parameters are being passed.
> ...
Would
~~~
module M1
def initialize(*)
super
... -
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?
> ...
First, M1 and M2 don't know where they are going to be mixed in, so they can not invoke `suuper` - they don't know what parameters are being passed.
... -
11:29 AM Bug #11585 (Closed): Broken ruby-core mailing list integration.
- Fixed.
-
11:23 AM Bug #11585 (Closed): Broken ruby-core mailing list integration.
- This is investigation issue of ruby-core:71053
-
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 page for StopIteration, but it should also (and more importantly) be documented with the Kernel::loop method, because if o...
-
05:40 AM Feature #11583: Add File#unlink
- Of cource, it's nonsence for me.
-
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?
-
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 File
def unlink
File.unlink(path)
end
end
~~~
It is more objective.
And will be able to write duck typeing... -
03:39 AM Revision 18e4a39c (git): node.c: update comment
- * node.c (dump_node): update comment for OP_ASGN2 and fix unused
field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:26 AM Revision b0e372a8 (git): parse.y: move ripper_id2sym
- * parse.y (new_attr_op_assign): move ripper_id2sym from each
rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Revision 14e606ae (git): node.c: no attrset ID in NODE
- * node.c (dump_node): attrset ID is no longer in NODE_OP_ASGN2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 AM Revision 14059af3 (git): node.h: no attrset ID in NODE
- * compile.c (iseq_compile_each), node.h (NEW_OP_ASGN22): attrset
ID no longer needs to be stored in a NODE, create at byte code
generation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:11 AM Revision 324d7c89 (git): udpsocket.c: free addrinfo
- * ext/socket/udpsocket.c (udp_send): ensure addrinfo gets freed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:11 AM Revision 3cf04ace (git): udpsocket.c: check once first
- * ext/socket/udpsocket.c (udp_connect, udp_bind): check if the
socket is opened once before retreiving address infos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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:
> ...
Hey Robert,
TL;DR
$KCODE is deprecated and does not affect the use of Regexp at this point. I have a patch ready to go that removes [, kcode] from the doc. That being sa... - 12:09 AM Revision 2ddb8858 (git): * 2015-10-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 AM Revision e0c038cd (git): numeric.c: use predefined IDs
- * numeric.c: use predefined IDs and prepared IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:08 AM Revision 5f0d9e86 (git): numeric.c: common expressions
- * numeric.c (flo_pow): extract common expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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? -
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 Rational is implicitly converted to the Float value 0.0, and the libm function pow(0.0, -1.0) is called.
Should this ki... -
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:
~~~
require 'profile'
def slow_method
5000.times do
9999999999999999*999999999
end
end
def fast_m... -
04:37 AM Feature #10883: Passing a block to itself
- Duplicate of: #6373, #10095
10/10/2015
-
10:15 PM Revision 930595cd (git): * vm_insnhelper.c (vm_push_frame): initialize other than sp (and ep)
- first for performance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 PM Revision 0a40bcb2 (git): * vm_eval.c, internal.h (rb_yield_1): added for performance which
- doesn't check Qundef.
* numeric.c (int_dotimes): use rb_yield_1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:20 PM Revision ad45aea4 (git): * vm_insnhelper.c (vm_call_iseq_setup_normal): setup sp first
- for performance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:32 PM Revision cb223b75 (git): * vm.c (invoke_block_from_c): split this function into several
- functions.
* vm_insnhelper.c (vm_yield_callee_setup_arg): remove this function
beacuse it is only delegation function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:49 PM Revision d8736ecf (git): * 2015-10-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 PM Revision f6e57af9 (git): * gc.c (newobj_of_slowpass): fix typo (pass -> path).
- Pointed out by Yukihiro Matsumoto <matz@ruby-lang.org>.
* gc.c (newobj_of_...): `of' is unnecessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 start.
I saw that there are a few undocumented methods so for now I am trying to document #thread_list_all().
-
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 defined(_WIN32)
rb_funcall(mFiddle, rb_intern("win32_last_error="), 1, INT2NUM(errno));
#endif
~~~
I guess this is ... -
10:04 AM Revision d9ac64fd (git): udpsocket.c: refix r52097
- * ext/socket/udpsocket.c (udp_connect, udp_bind): get open files
inside ensure functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:36 AM Revision a00fc76c (git): * vm_insnhelper.c (vm_call_method0): do not propagate enable_fastpath,
- but pass dummy CC to prevent wrong caching.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:34 AM Revision e8ba0b7b (git): * import a github pull request
- https://github.com/ruby/ruby/pull/1050
by Kazuho Oku <kazuho@natadeco.co>.
This pull request has the following commits.
* gc.c: reduce # of args to 6 (max. of register args on x86-64) so
that the `newobj_of_slowpass` can be called ... -
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. -
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. -
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
> ...
It seems that logs pointed out [BUG] was raised in "/mnt/application/OpEN.so".
It may be helpful to compile "/mnt/application/OpEN.so" without compiler optimization ("-O0") and...
10/09/2015
- 11:52 PM Revision 1331f80a (git): * 2015-10-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:52 PM Revision 38e62352 (git): udpsocket.c: memory leaks
- * ext/socket/udpsocket.c (udp_connect, udp_bind, udp_send): fix
memory leaks at closed socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 2.3.0dev (2015-09-10 test_branch 51820) [x86_64-linux]|ruby 2.3.0dev (2015-09-10 test_branch 51818) [x86_64-linux]
----... -
03:52 PM Feature #8976: file-scope freeze_string directive
- What about `"#{'foo'}"`?
-
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 literals don't literally represent strings.
Please give us your feedback if you have any objection.
-
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 that the sieve method to check for an arbitrary n. Please review my pull request.
https://github.com/ruby/ruby/pull... -
01:54 PM Revision 24e5e374 (git): common.mk: separate test-testframework
- * common.mk (check): separate test-testframework from test-all
only when building check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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.escape: context aware but deprecated.
* URIencode_www_form: application/x-www-form-urlencoded, which encodes spaces into... -
08:29 AM Revision 3e70f44a (git): * lib/net/ftp.rb (parse257): refactor.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:42 AM Revision 29e9230b (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:42 AM Revision 5a0f41a5 (git): * lib/net/imap.rb: use frozen_string_literal: true.
- * test/net/imap/test_imap.rb: ditto.
* test/net/imap/test_imap_response_parser.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:28 AM Revision ae6555aa (git): * lib/net/ftp.rb: use frozen_string_literal: true.
- * test/net/ftp/test_buffered_socket.rb: ditto.
* test/net/ftp/test_ftp.rb: ditto.
* test/net/ftp/test_mlsx_entry.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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:
```
First call to return_block:
This should be stored in $results, but not sent to output
Second call to r... -
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. -
06:44 AM Revision d8d51b67 (git): node.c: fix comments [ci skip]
- * node.c (dump_node): fix comments of dynamic string literals,
nd_next->nd_head is the interpolation but not a literal string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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.
I discovered this behavior with inherited method_missing constructs, but it also happens with inherited constructors.
... - 05:21 AM Revision e0e39446 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:20 AM Revision e2d79c46 (git): * ext/openssl/lib/openssl/ssl.rb: Revert r52082 because it was
- dropping TLS v1.1 support too. Supporting only TLS v1.2 is too
early, because many popular websites still don't support it.
For instance, Servers where aws-sdk connects to still don't support
TLS v1.2 and it became broken.
We s... -
04:15 AM Revision 865c666f (git): test_iseq.rb: fix meaningless assertion
- * test/ruby/test_iseq.rb (test_frozen_string_literal_compile_option):
fix meaningless assertion. object_id of same object is always
same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:58 AM Revision b52f1af0 (git): * compile.c (iseq_compile_each): Dynamic string literals (e.g.,
- "#{x}") should not be frozen because they don't literally
represent strings.
https://twitter.com/shugomaeda/status/651937650027401216
https://twitter.com/yukihiro_matz/status/651942882312482817
https://twitter.com/yukihiro_matz/s...
10/08/2015
-
11:25 PM Bug #11060 (Open): load(fifo) blocks whole process
- [Bug #11559] の原因になっているようなので、reopenします。
-
11:24 PM Bug #11559 (Open): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
-
09:32 PM Bug #11559 (Closed): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- Applied in changeset r52083.
----------
* benchmark/bm_require.rb: new benchmark for require.
* benchmark/bm_require_thread.rb: new benchmark for conflicting
require vs thread. like [Bug #11559]
* prepare_require.rb: new file for prep... -
05:15 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- 報告&調査ありがとうございます。
fifo を(というか長時間 block しうる fd から) load するというあまりなさそうなケースのために、顕著なパフォーマンスの悪化を伴なうのはよくないと思いますので、branch での revert に同意します。
2.1 での方針と、つまり usa さんの判断とを待って実際の revert は作業したいと思います。
-
04:23 PM Bug #11559 (Assigned): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- エスパー能力により r50887 [Bug #11060] だと分かりました。
ためしにprintf入れてみたところ、yaml.loadの延長で結構な数の loadopen_func 処理(メッセージ末尾に貼ります)が走っており、
それが毎回GVL switchをするようになったので、なにもしてないスレッドにたくさん時間が渡る結果になったようです。
で、根本原因はといいますと、utf_16le, utf_16be の2つをloadしたいだけなのに、pathの都... -
09:57 PM Feature #11575: Blocks in ERB don't work as intended?
- Tried on 1.8.7, same results. Is there a spec for eRuby somewhere that I can refer to?
-
09:55 PM Feature #11575 (Rejected): Blocks in ERB don't work as intended?
- I'm not sure if this is a problem with ERB, but here it goes -
~~~
require 'ERB'
require 'Erubis'
$results = []
def return_block(&block)
result = block.call
$results << result
return result
end
erb_template = <... -
09:53 PM Revision 68c35d8b (git): * benchmark/prepare_require.rb: skip file creation if it already
- exist. Suggested by ko1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:32 PM Revision ae858695 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:32 PM Revision 997adbcc (git): * 2015-10-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:31 PM Revision 8c84716b (git): * benchmark/bm_require.rb: new benchmark for require.
- * benchmark/bm_require_thread.rb: new benchmark for conflicting
require vs thread. like [Bug #11559]
* prepare_require.rb: new file for preparing above tests.
* prepare_require.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
05:44 PM Misc #10541: Remove shorthand string interpolation syntax
- This shorthand only works for variables with sigils (instance, class, global), not local variables. Was it decided that `@x="b"; "a#@x"` is unambiguous enough, but `x="b"; "a#x"` is not? Maybe there is an argument for consistency here too.
-
07:44 AM Bug #9679: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/util/diff.rb:129: [BUG] Segmentation fault
- is this issue been solved?
i got the same issue like this -
07:42 AM Bug #11574 (Rejected): chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
- Hi, I'm running chef-clien and got the following msg, please help to solve.
-------------sysinfo-------------------------
~~~
root@localhost:/home# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
root@localhost:/... -
05:28 AM Feature #7846 (Closed): [ext/openssl] Disable TLS/SSL compression by default?
- Completed in r45274:
https://github.com/ruby/ruby/commit/699b209cf8cf11809620e12985ad33ae33b119ee -
05:27 AM Feature #11524 (Closed): Use TLS 1.2 to default version of OpenSSL
- Applied in changeset r52082.
----------
* ext/openssl/lib/openssl/ssl.rb: Default to TLSv1.2 and drop TLS v1
Patch provided by @claudijd [Fixes GH-873] [Feature #11524]:
https://github.com/ruby/ruby/pull/873 -
05:26 AM Revision 4b395bb4 (git): * ext/openssl/lib/openssl/ssl.rb: Default to TLSv1.2 and drop TLS v1
- Patch provided by @claudijd [Fixes GH-873] [Feature #11524]:
https://github.com/ruby/ruby/pull/873
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 AM Revision 25a8b98e (git): node.c: reduce size
- * node.c (A_FIELD_HEADER): reduce text size by sharing messages
with and without comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 AM Revision 29d88e45 (git): node.c: move block
- * node.c (SIMPLE_FIELD): move block after macro call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:44 AM Revision 1168f623 (git): * 2015-10-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:44 AM Revision 4334bb87 (git): node.c: D_FIELD_HEADER
- * node.c (D_FIELD_HEADER): concatenate sequential strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Revision 77ac4a50 (git): node.c: indent [ci skip
- * node.c (dump_node): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:39 AM Bug #11573 (Third Party's Issue): Segmentation fault at 0x00000000000110
- It'd be a bug in the library which uses ffi.
10/07/2015
-
09:08 PM Bug #11573 (Third Party's Issue): Segmentation fault at 0x00000000000110
- This happens every time I run a Ruby bin (like RSpec or Rails console)
~~~
/Users/chris/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/ffi-1.9.10/lib/ffi/autopointer.rb:168: [BUG] Segmentation fault at 0x00000000000110
~~~
-
04:51 PM Feature #11537: Introduce "Safe navigation operator"
- The `&&` and `try` are different. I am considering the `&&` version.
Since we already have:
a &&= b
which means
a = a && b
By analogy from the above, and given that we want
a && a.b
what about:
a.&... -
02:30 PM Feature #11537: Introduce "Safe navigation operator"
- I like the idea. My remaining concern is ".?" is too similar to "?." which is chosen by other languages.
We cannot use "?." since it conflicts with a method call with a "*?" predicate method.
Matz.
-
02:47 PM Bug #11572: Urnary operator causing references to unreachable objects in 2.1.x ?
- Here's a link to the commit on GitHub: https://github.com/ruby/ruby/commit/2f3b28c682fe3010ed3b8803199616c12b52512d
-
02:45 PM Bug #11572 (Closed): Urnary operator causing references to unreachable objects in 2.1.x ?
- Perhaps this is an error on my part, but I stumbled across some weird GC behavior related to the unary & (ampersand) operator on 2.1.x.
I don't have any leads as to what the cause of the issue might be, but the gist of the issue is th... -
01:55 PM Revision f15ac6c8 (git): metametameta.rb: restore output
- * test/minitest/metametameta.rb (with_output): restore output to
fix mixing test result output in worker responses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- Tomoyuki Chikanaga wrote:
> trunk でも `{ %q"key": value }` を復活させようということでしょうか?
どうしても復活させたいというわけでもないですが、互換性を保つべきだということであれば。 -
01:26 PM Bug #11551 (Rejected): `[BUG] cfp consistency error` for unidentified reasons
- It occurred a system stack overflow.
Ruby tries to catch it as possible, but it is very hard (or nearly impossible) to handle it flawlessly, as it can occur in a critical section, other external libraries, and so on. -
12:40 PM Revision d250a330 (git): ruby.h: RB_OBJ_FROZEN_RAW
- * include/ruby/ruby.h (RB_OBJ_FROZEN_RAW): split from
RB_OBJ_FROZEN. valid only for non-special-const objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:32 PM Revision 89dde224 (git): string.c: str_duplicate
- * string.c (str_duplicate): move from rb_str_resurrect to short
circuit initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:43 AM Revision 2c31c3b4 (git): string.c: fix non-embedded string
- * string.c (rb_str_resurrect): fix resurrection of short enough to
be embedded but not embedded string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Revision e2cabc22 (git): * gc.c (newobj_of): divide fast path and slow path
- to avoid register savings for fast path.
This idea is given by Kazuho Oku <kazuho@natadeco.co>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 AM Feature #8976: file-scope freeze_string directive
- Yusuke Endoh wrote:
> Does nobu seriously require all Rubyists to write codes like this? ;-)
> ...
Agreed, to me this is a fatal flaw of the current implementation of parsing the magic comment and it is very inconsistent.
-
08:31 AM Revision 9fe491e7 (git): string.c: optimize String#times
- * string.c (rb_str_times): optimize for the argument 0 and 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 AM Revision 8f4e6f14 (git): string.c: use raw macro
- * string.c (str_new_frozen): use raw macro for RString object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:26 AM Revision 907b6d32 (git): re.c: indent [ci skip]
- * re.c (onig_new_with_source, rb_reg_search0): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Bug #11506 (Assigned): Changed behavior of URI.unescape between 2.1.5 and 2.2.3
- It is related with r46491 for [Feature #2542] (support RFC 3986)?
I think it is intended change.
naruse san, how do you think? -
07:33 AM Bug #11503 (Feedback): Segmentation fault at 0x00000000000094
- Hello, Nicolas.
Thank you for your report.
Please show us a self-contained script to reproduce this issue?
Regards, -
07:22 AM Bug #11501 (Assigned): About priority of a hash element when using {**hash1, **hash2} literal
- Hello, satoshi san.
Thank you for your report.
I've checked the behaviors on each versions from 2.1.0-2.1.7, 2.2.0-2.2.4, and trunk(2.3-head).
script: hashes.rb
```
a = {a: 1, b: 2}
b = {a: 42}
p({ **a, **b })
```
results
... -
06:11 AM Bug #11571 (Closed): シングルトンメソッドの中で def を使用した時の可視性が変わっている
- 以下のコードの可視性が 2.3 と 2.2 で異なっているようです
https://github.com/radar/paranoia/blob/rails4/lib/paranoia.rb#L189
ruby 2.3.0dev (2015-10-05 trunk 52041) では private,
ruby 2.2.4p179 (2015-10-05 revision 52032) では public になります。
意図しない非互換な変更と思いま... -
02:19 AM Revision 2b450de0 (git): assertions.rb: refine all_assertions
- * test/lib/test/unit/assertions.rb (all_assertions): refine
total failiure message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/06/2015
-
09:52 PM Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
- Aha, I got it. It has to do with minitest. Reproduction script: https://gist.github.com/sgrif/720b7473c5ce9a51d6e2
-
09:42 PM Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
- I've tried to create an isolated script to reproduce the problem, but haven't been able to thus far. I'll keep seeing if I can, but at the moment it appears to be a weird interaction between the code linked and the rest of rails.
-
07:03 PM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- > `%w` じゃなくて `%q` や `%Q` ですよね。
おっしゃる通りです。手癖でまちがえました。
https://github.com/nobu/ruby/commit/918830f1236ffd2014261b95d41cc6adc79aa71b は trunk でも `{ %q"key": value }` を復活させようということでしょうか? -
05:44 AM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- `%w` じゃなくて `%q` や `%Q` ですよね。
https://github.com/nobu/ruby/tree/feature/label-with-percent -
04:52 PM Misc #11570 (Open): Clarify autoload chaining behavior
- I've discovered a discrepancy between how MRI 2.1.7 and 2.2.3 handle autoload "chaining" (which I'll describe below) cf. RBX 2.5.8. I opened [an issue](https://github.com/rubinius/rubinius/issues/3513) with them but the lead contributor ...
- 04:23 PM Revision 9c56ac3f (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:22 PM Revision 31ee824e (git): * gc.h, gc.c: introduce new debug function rb_obj_info_dump(VALUE obj)
- which prints the result of rb_raw_obj_info(..., obj).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:17 PM Revision 9ba933dc (git): * 2015-10-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 PM Revision e5b941df (git): * vm_args.c: remove an unused field args_info::calling.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Feature #8976: file-scope freeze_string directive
- Does nobu seriously require all Rubyists to write codes like this? ;-)
https://github.com/ruby/ruby/commit/36ca18b84715dcc92a82ec4cbef6e83321640443
Leave emacs aside, I still believe this magic comment must not require `-*-`. It ... -
02:44 PM Revision daa13ad2 (git): * proc.c (rb_method_entry_min_max_arity): should support
- OPTIMIZED_METHOD_TYPE_CALL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 PM Revision 83da4479 (git): * lib/tmpdir.rb (Dir.tmpdir): return duplicated string to be
- modify safely even when $SAFE > 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:28 AM Bug #11480: killed by SIGIOT (signal 6) on fork
- Same failure.
https://travis-ci.org/ruby/ruby/jobs/83857724 -
10:25 AM Revision 60321006 (git): * vm_insnhelper.c (vm_call_method0): use switch() for visibilities
- (for readability).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:24 AM Revision 7432df37 (git): * proc.c (Init_Proc): Proc#call and others should be public.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:52 AM Revision 2d855b08 (git): * method.h: IMEMO_FL_USER3 and IMEMO_FL_USER4 is not needed any more.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:49 AM Revision 72cf24c8 (git): * method.h: remove METHOD_ENTRY_SAFE(me) and related code
- because $SAFE = 3 and 4 is not available.
Now, $SAFE is not checked on method dispatch at all.
* vm_eval.c, vm_insnhelper.c, vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52058 b2dd03c8-39d4-4d8f-98ff-823fe69... -
07:35 AM Revision aa4de732 (git): * string.c (rb_sym_to_proc): rename
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:38 AM Revision ceddb498 (git): vm_args.c: wrap symbol ifunc
- * vm_args.c (args_setup_block_parameter): wrap a symbol in ifunc
by a proc as a block parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:56 AM Revision 334710c1 (git): ruby.h: inlines
- * include/ruby/ruby.h: turn function macros into inline functions,
for debuggers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:54 AM Revision fd89a968 (git): ruby.h: enums
- * include/ruby/ruby.h: turn constant macros into enums, for
debuggers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:48 AM Revision 4b80f532 (git): * method.h: typo fix. Patch by @davydovanton [fix GH-1032][ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:41 AM Feature #11568 (Closed): Misleading warning for duplicate keys in a hash