[#99115] [Ruby master Bug#17023] How to prevent String memory to be relocated in ruby-ffi — larskanis@...
Issue #17023 has been reported by larskanis (Lars Kanis).
22 messages
2020/07/10
[#99375] [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings — merch-redmine@...
Issue #17055 has been reported by jeremyevans0 (Jeremy Evans).
29 messages
2020/07/28
[#101207] [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings
— merch-redmine@...
2020/12/02
Issue #17055 has been updated by jeremyevans0 (Jeremy Evans).
[#101231] Re: [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings
— Austin Ziegler <halostatue@...>
2020/12/03
What does this mean?
[ruby-core:99346] [Ruby master Bug#16522] Ruby 2.7 logs deprecation warning when Warning[:deprecated] is set to false.
From:
nagachika00@...
Date:
2020-07-26 09:11:51 UTC
List:
ruby-core #99346
Issue #16522 has been updated by nagachika (Tomoyuki Chikanaga). We are discussing on the deprecated warning category feature in 2.7.2 on #17000 too. As these are keyword arguments warnings, these will be suppressed by default in 2.7.2 anyway. ---------------------------------------- Bug #16522: Ruby 2.7 logs deprecation warning when Warning[:deprecated] is set to false. https://bugs.ruby-lang.org/issues/16522#change-86740 * Author: [email protected] (Sneha Somwanshi) * Status: Closed * Priority: Normal * ruby -v: 2.7 * Backport: 2.5: DONTNEED, 2.6: DONTNEED, 2.7: REQUIRED ---------------------------------------- Hi While upgrading our monolithic app to ruby 2.7, we realised that ruby 2.7 is not suppressing all deprecation warnings. Here is the test case: ``` ~/dev/freeagent (ruby_2_7_0 *%) $ ruby -W:no-deprecated -e 'require "json"; JSON::Ext::Parser.new("hello", {})' -e:1: warning: Using the last argument as keyword parameters is deprecated ``` The warning is originating from https://github.com/ruby/ruby/blob/647ee6f091eafcce70ffb75ddf7e121e192ab217/class.c#L2054 and setting `Warning[:deprecated] = false` or `RUBYOPT=-W:no-deprecated -W:no-experimental` does not suppress this warning. ---Files-------------------------------- scan-args-deprecated-warn-16522.patch (6.79 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>