https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112019-12-03T10:33:12ZRuby Issue Tracking SystemRuby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=829202019-12-03T10:33:12Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-5 status-1 priority-4 priority-default" href="/issues/14770">Misc #14770</a>: [META] DevelopersMeeting</i> added</li></ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=829212019-12-03T10:34:42Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><p>Carry over:</p>
<ul>
<li>
<p>[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Real "callable instance method" object. (Closed)" href="https://redmine.ruby-lang.org/issues/16264">#16264</a>] Real "callable instance method" object. .:method to be a first-class thing, instead of Symbol#to_proc trick (zverok)</p>
<ul>
<li>This proposal would make sense only if .: would not be reverted (which, to the best of my understaning, is now doubtful)</li>
</ul>
</li>
<li>
<p>[Misc <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str... (Open)" href="https://redmine.ruby-lang.org/issues/16291">#16291</a>] Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types (lourens)</p>
<ul>
<li>Builds onto the capacity shrinking feature introduced by rb_str_freeze, targeting Array</li>
<li>Many internal uses that froze String types did not use the rb_str_freeze variation and could not benefit from resizing capacity on freeze</li>
<li>Implemented the same for Array</li>
<li>Let Array#freeze call rb_ary_freeze to expose the shrinking capability to user code too (as recommended by Shyouhei) for parity with String#freeze already doing the same</li>
</ul>
</li>
</ul>
<ul>
<li>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Block argument usage affects lambda semantic (Closed)" href="https://redmine.ruby-lang.org/issues/15620">#15620</a>] Block argument usage affects lambda semantic (alanwu)
<ul>
<li>I find the current behaviour unreasonably confusing and would like to see improvement, even though the bug doesn't really show up in the real world often.</li>
<li>I have a <a href="https://github.com/ruby/ruby/pull/2289" class="external">pull request</a> which restores the behaviour found in Ruby 2.4.x and warns about it, based off of matz's comment in <a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94054" class="external"><a href="/issues/15973">[ruby-core:94054]</a></a>.</li>
<li>Could someone confirm that is the desired fix? If it is the fix we want, could someone review the PR?</li>
</ul>
</li>
</ul>
<ul>
<li>
<p>[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Transform hash keys by a hash (Closed)" href="https://redmine.ruby-lang.org/issues/16274">#16274</a>] Transform hash keys by a hash (sawa)</p>
<ul>
<li>Easily rename hash keys that do not follow a rule</li>
</ul>
</li>
<li>
<p>[Misc <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Right size regular expression compile buffers for literal regexes and on Regexp#freeze (Closed)" href="https://redmine.ruby-lang.org/issues/16375">#16375</a>] Right size regular expression compile buffers for literal regexes and on Regexp#freeze (lourens)</p>
<ul>
<li>Builds on Misc <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str... (Open)" href="https://redmine.ruby-lang.org/issues/16291">#16291</a> , I think there's potential to apply this pattern to other types at hooks outlined at the end of the issue</li>
<li>A large set of literal regular expressions are quite common in Rails applications (mostly framework, but also application and dependencies)</li>
<li>In my Redmine boot test was able to shave 300kb off just excess regex buffer capacity</li>
</ul>
</li>
<li>
<p>[Misc <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Symbol#to_proc behaves like lambda, but doesn't aknowledge it (Closed)" href="https://redmine.ruby-lang.org/issues/16260">#16260</a>] Symbol#to_proc behaves like lambda (zverok)</p>
<ul>
<li>(dummy comment)</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=829222019-12-03T10:40:49Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><ul>
<li>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: How should inherited methods deal with return values of their own subclass? (Closed)" href="https://redmine.ruby-lang.org/issues/6087">#6087</a>] How should inherited methods deal with return values of their own subclass? (mame)
<ul>
<li>Matz said "We will fix this (to consistently return Arrays) in 3.0." seven years ago. Now is the time. Final confirmation.</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=829242019-12-03T11:46:25Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/82924/diff?detail_id=55684">diff</a>)</li></ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=829252019-12-03T12:03:34Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/82925/diff?detail_id=55685">diff</a>)</li></ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=829262019-12-03T12:04:42Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><p><strong>NOTE: Please follow the comment format strictly!</strong></p>
<p>I've created a script to automatically create an markdown-style agenda.</p>
<p><a href="https://gist.github.com/mame/b0390509ce1491b43610b9ebb665eb86" class="external">https://gist.github.com/mame/b0390509ce1491b43610b9ebb665eb86</a></p>
<p>We may ignore a comment that violates the format.</p> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=829512019-12-03T23:59:26Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul></ul><ul>
<li>[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: "Real" keyword argument (Closed)" href="https://redmine.ruby-lang.org/issues/14183">#14183</a>] "Real" keyword argument (jeremyevans0)
<ul>
<li>Is it OK to merge branch to remove deprecated support for positional hash <-> keyword conversion after 2.7 released?</li>
</ul>
</li>
<li>[Bug <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: opening an eigenclass does not change the class variable definition context (Rejected)" href="https://redmine.ruby-lang.org/issues/11022">#11022</a>] opening an eigenclass does not change the class variable definition context (jeremyevans0)
<ul>
<li>Discussed during September dev meeting, matz wanted to consider for a while. Has a decision been made?</li>
</ul>
</li>
<li>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: include/prepend satisfiable module dependencies are not satisfied (Closed)" href="https://redmine.ruby-lang.org/issues/7844">#7844</a>] include/prepend satisfiable module dependencies are not satisfied (jeremyevans0)
<ul>
<li>Discussed during September dev meeting, matz wanted to consider for a while. Has a decision been made?</li>
</ul>
</li>
<li>[Bug <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: warn four special variables: $; $, $/ $\ (Closed)" href="https://redmine.ruby-lang.org/issues/14240">#14240</a>] warn four special variables: $; $, $/ $\ (jeremyevans0)
<ul>
<li>Do we still want to warn regarding these variables? If so, should the warnings be during parsing or at runtime (if variables are aliased and then modified)?</li>
</ul>
</li>
<li>[Feature <a class="issue tracker-2 status-6 priority-4 priority-default closed" title="Feature: :~@ and :!@ are not parsed correctly (Rejected)" href="https://redmine.ruby-lang.org/issues/10463">#10463</a>] :~@ and :!@ are not parsed correctly (jeremyevans0)
<ul>
<li>matz decided in July that <code>def ~@</code> and <code>def !@</code> should continue to work. However, can we fix the parser to not treat <code>:~@</code> and <code>:!@</code> as <code>:~</code> and <code>:!</code>?</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=830822019-12-11T10:39:03Zbyroot (Jean Boussier)byroot@ruby-lang.org
<ul></ul><ul>
<li>[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Regexp literals should be frozen (Closed)" href="https://redmine.ruby-lang.org/issues/16377">#16377</a>] Regexp literals should be frozen (byroot)
<ul>
<li>Regexp literals always reference the same mutable instance. This allow to leak global state with <code>instance_variable_set</code>
</li>
<li>Change already accepted by Matz about 2 years ago: <a href="https://bugs.ruby-lang.org/issues/8948#note-14" class="external">https://bugs.ruby-lang.org/issues/8948#note-14</a>, but then nothing happened.</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=831762019-12-16T16:43:47Zalanwu (Alan Wu)
<ul></ul><ul>
<li>[Bug <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Symbol#to_proc behaves like lambda, but doesn't aknowledge it (Closed)" href="https://redmine.ruby-lang.org/issues/16260">#16260</a>] Symbol#to_proc behaves like lambda, but doesn't acknowledge it (alanwu)
<ul>
<li>This should make <code>Proc#lambda?</code> more accurate.</li>
</ul>
</li>
<li>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: `(lambda_proc << normal_proc).lambda?` should return false (Closed)" href="https://redmine.ruby-lang.org/issues/16406">#16406</a>] <code>(lambda_proc << normal_proc).lambda?</code> should return false (alanwu)
<ul>
<li>I think this is more intuitive than the current behavior.</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=831952019-12-18T00:07:40Zznz (Kazuhiro NISHIYAMA)
<ul></ul><ul>
<li>[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: FrozenError.new ignores receiver: (Closed)" href="https://redmine.ruby-lang.org/issues/16419">#16419</a>] FrozenError.new ignores receiver: (znz)
<ul>
<li>It seems that no one have strong opinion. So I want matz to decide.</li>
</ul>
</li>
<li>[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Warning[:experimental]=false (Closed)" href="https://redmine.ruby-lang.org/issues/16420">#16420</a>] Warning[:experimental]=false (znz)
<ul>
<li>I heard many warnings may make users trying pattern matching syntax are fewer.</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832342019-12-19T02:04:42Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><p><a class="user active user-mention" href="https://redmine.ruby-lang.org/users/16806">@alanwu (Alan Wu)</a></p>
<p>Please add <code>(alanwu)</code> in the next time. My agenda generator overlooks your post.</p> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832602019-12-20T01:02:18Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><ul>
<li>
<p>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Module#included_modules and prepended modules (Closed)" href="https://redmine.ruby-lang.org/issues/8841">#8841</a>] Module#included_modules and prepended modules (mame)</p>
<ul>
<li>
<code>Module#include?</code> and <code>Module#included_modules</code> regard prepended modules as included (not well documented); <code>Module#included</code> is not called when the module is prepended. Is this right?</li>
<li>IMO, changing the behavior is no longer acceptable (without any actual trouble). How about just changing the document?</li>
</ul>
</li>
<li>
<p>[Feature <a class="issue tracker-2 status-7 priority-4 priority-default closed" title="Feature: Need Module#prepended_modules (Feedback)" href="https://redmine.ruby-lang.org/issues/8026">#8026</a>] Need Module#prepended_modules (mame)</p>
<ul>
<li>It is accepted six years ago, but not implemented yet. I've never heard any actual trouble, but should we still add the feature?</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832632019-12-20T01:06:54Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><ul>
<li>[Bug <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: attr_reader doesn't warn on a uninitialized instance variable (Rejected)" href="https://redmine.ruby-lang.org/issues/9815">#9815</a>] attr_reader doesn't warn on a uninitialized instance variable (mame)
<ul>
<li>A reader method defined by <code>attr_reader :foo</code> is not warned as "instance variable @foo not initialized". Is it intentional?</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832652019-12-20T01:22:09Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><ul>
<li>
<p>[Bug <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: Operator precedence problem in multiple assignment (massign) (Rejected)" href="https://redmine.ruby-lang.org/issues/10388">#10388</a>] Operator precedence problem in multiple assignment (massign) (mame)</p>
<ul>
<li>"<code>a, b = c = 1, 2</code> is currently taken as <code>a, b = (c = 1), 2</code>; I'd expect it to be taken as <code>a, b = (c = 1, 2)</code>." Jeremy gave a try to implement but seemed difficult due to the limitation of LALR(1) parser. Let's give up.</li>
</ul>
</li>
<li>
<p>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Array#flatten should not accept a nil argument (Closed)" href="https://redmine.ruby-lang.org/issues/10475">#10475</a>] Array#flatten should not accept a nil argument (mame)</p>
<ul>
<li>Should we add a document that Array#flatten accepts nil? Negative argument too?</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832672019-12-20T01:29:52Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><p>[Bug <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: NilClass#to_proc and & don't mix? (Rejected)" href="https://redmine.ruby-lang.org/issues/10929">#10929</a>] NilClass#to_proc and & don't mix? (mame)</p>
<ul>
<li>I think it is not worth adding.</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832682019-12-20T01:39:22Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><ul>
<li>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: String#partition doesn't return correct result on zero-width match (Closed)" href="https://redmine.ruby-lang.org/issues/11014">#11014</a>] String#partition doesn't return correct result on zero-width match (mame)
<ul>
<li>I'd like to confirm if the current behavior is inteneded.</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832702019-12-20T02:15:32Zsoutaro (Soutaro Matsumoto)matsumoto@soutaro.com
<ul></ul><p>I'd like to discuss about type signature integration for Ruby3. I plan to discuss in this meeting but not trying to make some decisions today. Asking for feedbacks to make a concrete proposal for the next meeting or else.</p>
<p>A doc is available to introduce what we have been doing. <a href="https://docs.google.com/document/d/1QVma3srpqGkGgL37yPEK5LoW6tzI09UIaOL-vh-vgUQ/edit#" class="external">https://docs.google.com/document/d/1QVma3srpqGkGgL37yPEK5LoW6tzI09UIaOL-vh-vgUQ/edit#</a></p> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=832712019-12-20T02:22:21Zosyo (manga osyo)
<ul></ul><ul>
<li>[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Using `_1` inside `binding.irb` will cause unintended behavior (Closed)" href="https://redmine.ruby-lang.org/issues/16432">#16432</a>] Using <code>_1</code> inside <code>binding.irb</code> will cause unintended behavior(osyo)
<ul>
<li>Calling <code>binding.irb</code> in a block that uses <code>_1</code> and using <code>_1</code> in <code>irb</code> will cause unintended behavior.</li>
<li>Should it be a runtime error?</li>
</ul>
</li>
</ul> Ruby master - Misc #16393: DevelopersMeeting20191220Japanhttps://redmine.ruby-lang.org/issues/16393?journal_id=834172019-12-26T07:15:41Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>