Project

General

Profile

Activity

From 12/18/2019 to 12/24/2019

12/24/2019

11:41 PM Revision 8e6d51e0 (git): Sync did_you_mean
yuki24 (Yuki Nishijima)
11:24 PM Revision 2b2be71c (git): Add did_you_mean's promotion to the NEWS
yuki24 (Yuki Nishijima)
10:28 PM Bug #16449 (Assigned): Bundler is 2.1.1 in master, not 2.1.2 ?
hsbt (Hiroshi SHIBATA)
05:04 PM Bug #16449 (Closed): Bundler is 2.1.1 in master, not 2.1.2 ?
NEWS mentions that Bundler has been updated to 2.1.2, but lib/bundler/version.rb
https://github.com/ruby/ruby/blob...
MSP-Greg (Greg L)
10:28 PM Revision 1857b442 (git): Merge Bundler 2.1.2 from bundler/bundler.
[Misc #16449][ruby-core:96458] hsbt (Hiroshi SHIBATA)
09:13 PM Revision da0a0bae (git): NEWS: add meaning of "CoW" ("copy-on-write")
stomar (Marcus Stollsteimer)
08:50 PM Revision ceba5b70 (git): [DOC] Fix typo in Time#inspect
stomar (Marcus Stollsteimer)
07:54 PM Revision f3067deb (git): Revert "Add NEWS entry about Module#name performance (#2779)" (#2781)
This reverts commit 3e9221d94a12b54c1285923b642364acdbc31c7e. alanwu (Alan Wu)
07:02 PM Revision 3e9221d9 (git): Add NEWS entry about Module#name performance (#2779)
alanwu (Alan Wu)
05:37 PM Feature #15973: Let Kernel#lambda always return a lambda
more aggressive proposal is obsolete `lambda` call, and use `->` (maybe it is too aggressive).
ko1 (Koichi Sasada)
05:35 PM Feature #15973: Let Kernel#lambda always return a lambda
This is one idea: how about to prohibit `lambda(&...)` method call? (block literal is always prohibited)
3.0: depr...
ko1 (Koichi Sasada)
04:51 PM Feature #14912: Introduce pattern matching syntax
Thanks @mame for explanation and response.
That kinda make sense with the `Point[]`. Is this universal for any cla...
docx (Lukas Dolezal)
04:34 PM Revision 5220145e (git): add debug_counter access functions.
These functions are enabled only on USE_DEBUG_COUNTER=1. ko1 (Koichi Sasada)
04:00 PM Revision 9b617ffa (git): * 2019-12-25 [ci skip]
git[bot]
03:57 PM Revision 3679023d (git): [DOC] Fix typo and language
stomar (Marcus Stollsteimer)
01:31 PM Revision 8c017824 (git): Added entry for json-2.3.0
hsbt (Hiroshi SHIBATA)
12:39 PM Revision 1cd2ebed (git): Update the news entries for RubyGems and Bundler
hsbt (Hiroshi SHIBATA)
12:22 PM Revision 05b0410f (git): [ruby/irb] Fix typo
https://github.com/ruby/irb/commit/4bb1340687 stomar (Marcus Stollsteimer)
12:01 PM Revision 54083fd4 (git): [DOC] Fix grammar in Process module docs
stomar (Marcus Stollsteimer)
12:01 PM Revision 66e518f7 (git): [DOC] Fix typo
stomar (Marcus Stollsteimer)
09:53 AM Revision 4ba93475 (git): `Object#=~` warning also obeys `Warning[:deprecated]`
nobu (Nobuyoshi Nakada)
09:53 AM Revision a3c5dbf2 (git): Scale sleeping times to wait for the OS operations
nobu (Nobuyoshi Nakada)
09:39 AM Revision 7758849c (git): Remove unused variable
aycabta (aycabta .)
09:34 AM Revision 42e2a322 (git): The delete-char-or-list shows completed list when called at end of line
It doesn't behave the same as the delete-char. aycabta (aycabta .)
09:02 AM Revision b03aea62 (git): NEWS: fix method references for Range#{cover?,include?}
stomar (Marcus Stollsteimer)
08:49 AM Revision 44a1f516 (git): NEWS: improve sections for warning option / Warning
stomar (Marcus Stollsteimer)
08:03 AM Revision 27b4f477 (git): [DOC] Improve docs for Enumerator.produce, Enumerator.new
stomar (Marcus Stollsteimer)
07:34 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
I've updated my pull request to update [the article of Ruby 3's keyword argument separation](https://www.ruby-lang.or... mame (Yusuke Endoh)
07:23 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
@naruse also approved. Thank you for quick replies. mame (Yusuke Endoh)
07:10 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Approved.
Matz.
matz (Yukihiro Matsumoto)
07:06 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
@marcandre
You have to wait for matz and naruse's approvals! I'll ask them.
mame (Yusuke Endoh)
07:19 AM Bug #11878: Comparison of prepended modules
> I think no user expects that the "subclass relation" is different than the order of ancestors, isn't it?
Regardl...
mame (Yusuke Endoh)
06:56 AM Feature #15605: json library needs more frequent releases
>s it that releases of the json gem will be done from the ruby/ruby repository?
No. We can merge commits from ruby...
hsbt (Hiroshi SHIBATA)
06:48 AM Revision 81504e83 (git): Synchronize with a Queue instead of sleeping
nobu (Nobuyoshi Nakada)
06:38 AM Revision 47ad57f2 (git): Revert "Scale sleeping times"
This reverts commit e57d6194218efc73c30f3fed9dd321d2e357030b.
Test fails:
http://ci.rvm.jp/results/trunk-gc-asserts@...
ko1 (Koichi Sasada)
05:57 AM Revision c4710669 (git): NEWS: added references to warning option [ci skip]
nobu (Nobuyoshi Nakada)
05:56 AM Revision e57d6194 (git): Scale sleeping times
nobu (Nobuyoshi Nakada)
05:04 AM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
nobu (Nobuyoshi Nakada) wrote:
> * I see the word "unuseful" in some online dictionaries.
Yes, but that doesn't...
duerst (Martin Dürst)
01:47 AM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
And as I added fixing typos in ChangeLog file taking from git-notes, the file in the next package will be fixed. nobu (Nobuyoshi Nakada)
01:31 AM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
Thank you, yes, "exapmle" in test/openssl/test_x509name.rb is intentional to test malformed RDN by a typo.
And for o...
nobu (Nobuyoshi Nakada)
04:24 AM Revision adf498b8 (git): Moved warning option section and added a reference [ci skip]
nobu (Nobuyoshi Nakada)
04:12 AM Revision 302e8968 (git): Added warning.rb to .document
nobu (Nobuyoshi Nakada)
03:11 AM Revision 3739ddc3 (git): Added `-W:experimental` to `--help` [Feature #16420]
nobu (Nobuyoshi Nakada)
02:54 AM Bug #16398: Active Support unit test error since caac5f777ae288b5982708b8690e712e1cae0cf6
This issue has been addressed by https://github.com/rails/rails/pull/38069 . yahonda (Yasuo Honda)
02:50 AM Feature #12655: Accessing the method visibility
Sorry, I've forgotten completely.
Updated the [patch](https://github.com/ruby/ruby/pull/2778), but it is sorry to be...
nobu (Nobuyoshi Nakada)
02:28 AM Revision d0f1eb3e (git): Separated command line option in NEWS [ci skip]
nobu (Nobuyoshi Nakada)
02:14 AM Revision 5a62fb12 (git): Mentioned `-W:` command option in NEWS [ci skip]
nobu (Nobuyoshi Nakada)
02:00 AM Revision f2e1e6cb (git): Enhance explanations for beginless range and #clamp, and add missing feature
zverok (Victor Shepelev)
01:39 AM Feature #15373: Proposal: Enable refinements to `#method` and `#instance_method`
https://docs.google.com/document/u/1/d/1W_wrFsFxxU1MepA6HBpfl-9h-nLD8EBsgMsS7yTDvHE/pub nobu (Nobuyoshi Nakada)
01:33 AM Revision e954be14 (git): Get rid of false positive misspellings
[Bug #16437] nobu (Nobuyoshi Nakada)
01:33 AM Revision 992aa2cd (git): enc/x_emoji.h: fixed dead-links [ci skip]
English version pages seem no longer provided. nobu (Nobuyoshi Nakada)
01:30 AM Revision f09a4ff2 (git): Added NEWS for Feature 15373
osyo (manga osyo)
01:25 AM Revision 360f153f (git): remove "experimental" from numbered parameter.
Numbered parameter is not an experimental feature,
confirmed by Matz.
https://twitter.com/yukihiro_matz/status/120927...
ko1 (Koichi Sasada)
01:17 AM Misc #16444 (Closed): What is the reason for the warning of IRB?
The IRB maintainer @aycabta has determined to remove the message. https://github.com/ruby/ruby/commit/0e528ae9cb5c10... mame (Yusuke Endoh)
12:56 AM Revision 5e17834f (git): [ruby/reline] Version 0.1.0
https://github.com/ruby/reline/commit/55d4dfec1e aycabta (aycabta .)
12:56 AM Revision 8316b330 (git): [ruby/irb] Version 1.2.1
https://github.com/ruby/irb/commit/8da0c74640 aycabta (aycabta .)
12:56 AM Revision 0e528ae9 (git): [ruby/irb] Remove warning message to bundle on Ruby 2.7.0
https://github.com/ruby/irb/commit/d9a7844f50 aycabta (aycabta .)

12/23/2019

11:13 PM Revision 02316619 (git): [DOC] Fix wording in Math::E documentation
stomar (Marcus Stollsteimer)
11:04 PM Revision 30c5e8c4 (git): [ruby/rdoc] Version 6.2.1
https://github.com/ruby/rdoc/commit/c65e14d112 aycabta (aycabta .)
10:58 PM Revision 2bf0743e (git): Update parsers of RDoc that are generated by Racc
aycabta (aycabta .)
10:58 PM Revision adc9b3ca (git): [ruby/rdoc] Support newline in the middle of constant definition
https://github.com/ruby/rdoc/commit/74d3984324 aycabta (aycabta .)
10:58 PM Revision e50e5526 (git): [ruby/rdoc] Treat Proc#call syntax sugar for constant correctly
https://github.com/ruby/rdoc/commit/957d041ae0 aycabta (aycabta .)
10:12 PM Feature #16446: Enumerable#take_*, Enumerable#drop_* counterparts with positive conditions
sawa (Tsuyoshi Sawada) wrote:
> wishdev (John Higgins) wrote:
> >I prefer simpler examples
> > ary = [-1, 0, 1]
>...
wishdev (John Higgins)
09:52 PM Feature #16446: Enumerable#take_*, Enumerable#drop_* counterparts with positive conditions
wishdev (John Higgins) wrote:
>I prefer simpler examples
> ary = [-1, 0, 1]
My intention of including two `0`s i...
sawa (Tsuyoshi Sawada)
08:29 PM Feature #16446: Enumerable#take_*, Enumerable#drop_* counterparts with positive conditions
The answer here is simplicity (declarative) as opposed to wordsmithing.
We need to add an drop_until and take_until ...
wishdev (John Higgins)
03:14 PM Feature #16446: Enumerable#take_*, Enumerable#drop_* counterparts with positive conditions
I have not thought about the proposal here quite much so far, sorry (and admittedly I may need
to do so on a fresh ...
shevegen (Robert A. Heiler)
08:26 AM Feature #16446 (Rejected): Enumerable#take_*, Enumerable#drop_* counterparts with positive conditions
#16441 led me to think about the issue more generally. When we want to split a series of iterations by the first elem... sawa (Tsuyoshi Sawada)
09:49 PM Feature #16289 (Closed): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Great, thanks.
Pushed.
marcandre (Marc-Andre Lafortune)
05:47 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
I'm fine with @marcandre's changes. jeremyevans0 (Jeremy Evans)
12:51 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Sounds clearer to me with @marcandre's changes. Eregon (Benoit Daloze)
11:49 AM Feature #16289 (Assigned): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
@marcandre , thank you for creating a pull request.
Your proposal:
old: The last argument is used as keyword pa...
mame (Yusuke Endoh)
07:37 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
I'm glad this was merged in, but disappointed the error message still doesn't mention that this is a deprecation warn... marcandre (Marc-Andre Lafortune)
09:47 PM Revision 819b6040 (git): Reword keyword arguments warning messages to convey these are deprecation warnings
Marc-Andre Lafortune
09:41 PM Revision df6f5c44 (git): [DOC] Fix invalid code to make it syntax highlighted
stomar (Marcus Stollsteimer)
09:07 PM Revision a7b50184 (git): [DOC] Use capitalized "Ruby"
stomar (Marcus Stollsteimer)
09:04 PM Revision ba9ccef8 (git): [DOC] Various fixes in bug triaging guide
stomar (Marcus Stollsteimer)
07:17 PM Revision aa01441f (git): * 2019-12-24 [ci skip]
git[bot]
07:16 PM Revision f2017000 (git): move a NEWS entry about inline method cache
ko1 (Koichi Sasada)
04:41 PM Bug #11878: Comparison of prepended modules
Re `obj.is_a?(mod)` we can consider it as `obj.singleton_class.ancestors.include?(mod)` or even `obj.class.ancestors.... Eregon (Benoit Daloze)
04:38 PM Bug #11878 (Open): Comparison of prepended modules
At the very least it's inconsistent with the order of Module#ancestors:
```ruby
module M; end
class C; prepend M; ...
Eregon (Benoit Daloze)
03:57 PM Bug #11878 (Rejected): Comparison of prepended modules
The current behavior is consistent. The rdoc of `Module#<` says:
```
call-seq:
mod < other -> true, false,...
mame (Yusuke Endoh)
02:29 PM Feature #12655: Accessing the method visibility
mri/2.x.0/internal.h:1363:11: error: conflicting types for ‘rb_st_copy’
1363 | st_table *rb_st_copy(VALUE obj, stru...
mathieujobin (Mathieu Jobin)
02:02 PM Revision 16fddfe3 (git): [DOC] Improve readability of requirements for <=>
stomar (Marcus Stollsteimer)
02:01 PM Bug #16448: regex global variables are working differently depending on scope
It is very unexpected.(
Thank you.
tdrive (Stanislav Boldaev)
01:47 PM Bug #16448: regex global variables are working differently depending on scope
`$~` is not a global variable, but a kind of local variable. `String#gsub` assigns the match data to `$~` of its cal... mame (Yusuke Endoh)
01:31 PM Bug #16448 (Closed): regex global variables are working differently depending on scope
Hi, everyone.
I am trying to write a code similar to this
``` ruby
#!/usr/bin/env ruby
def check(f1)
f2 ...
tdrive (Stanislav Boldaev)
01:46 PM Revision 9a42e0c7 (git): NEWS: add reference for [Feature #14405]
stomar (Marcus Stollsteimer)
01:46 PM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
Yes, your mentioned types of false positives are often found and I had tried to eliminate them before. Some neverthel... jschleus (Jens Schleusener)
01:45 PM Revision de1a4624 (git): NEWS: revise grammar, language, markup, etc.
stomar (Marcus Stollsteimer)
12:56 PM Feature #15605: json library needs more frequent releases
hsbt (Hiroshi SHIBATA) wrote:
> We will handle the new feature of JSON with ruby/ruby repo in the future.
I'm not...
Eregon (Benoit Daloze)
11:15 AM Feature #15605 (Closed): json library needs more frequent releases
naruse did release json-2.3.0 from the current master branch of ruby/ruby.
We will handle the new feature of JSON ...
hsbt (Hiroshi SHIBATA)
12:00 PM Feature #5481: Gemifying Ruby standard library
@marcandre
You can pick the commits from ruby/* repository like this.
```
# git clone from the upstream reposi...
hsbt (Hiroshi SHIBATA)
12:33 AM Feature #5481: Gemifying Ruby standard library
@hsbt is your tool to do this published somewhere?
In particular I noticed that some `gemspec` files are not in th...
marcandre (Marc-Andre Lafortune)
11:14 AM Misc #16447 (Assigned): Merge JSON doc updates?
Thank you for contributing.
I and naruse got the approval for releasing the new version of JSON from flori.
So,...
hsbt (Hiroshi SHIBATA)
09:54 AM Misc #16447 (Closed): Merge JSON doc updates?
Sorry for bothering the core tracker.
I understand (though, only partially) that JSON standard library is in a weird...
zverok (Victor Shepelev)
08:57 AM Feature #16274: Transform hash keys by a hash
knu (Akinori MUSHA) wrote:
> Which does `hash1.transform_keys(hash2)` iterate over, hash1's keys or hash2's keys?
...
sawa (Tsuyoshi Sawada)
08:54 AM Feature #16274: Transform hash keys by a hash
As for the behavior when both a hash argument and a block are given, I suggested in the issue to have the block appli... sawa (Tsuyoshi Sawada)
04:53 AM Feature #16274: Transform hash keys by a hash
matz (Yukihiro Matsumoto) wrote:
> FYI, we do not accept a similar change to `transform_values`.
Matz - Do you ...
duerst (Martin Dürst)
08:46 AM Revision bbde77cd (git): NEWS: fix some typos, grammar, and language
stomar (Marcus Stollsteimer)
08:04 AM Revision 100fc275 (git): fix wmap_finalize.
wmap_finalize expects id2ref() returns a corresponding object
even if the object is dead. Make id2ref_obj_tbl() for t...
ko1 (Koichi Sasada)
07:31 AM Revision 9eeaae43 (git): add more debug counters to count numeric objects.
ko1 (Koichi Sasada)
07:15 AM Bug #16445 (Closed): Time#inspect shows a fractional number
This is intentional. There was no way to distinguish Time objects that differ in a fraction of a second.
The behavio...
matz (Yukihiro Matsumoto)
02:18 AM Bug #16445 (Closed): Time#inspect shows a fractional number
`Time#inspect` shows a fractional number.
```
irb(main):001:0> Time.at(0.5)
=> 1970-01-01 09:00:00.5 +0900
irb(...
znz (Kazuhiro NISHIYAMA)
06:59 AM Revision 7779ade4 (git): NEWS: Fix issue reference [#15807] [DOC]
Marc-Andre Lafortune
06:55 AM Revision dadf1255 (git): README: Add Range#minmax to the list of potential incompatibilities [#15929] [DOC]
Marc-Andre Lafortune
06:48 AM Revision 3e1adf57 (git): README: Improve wording [DOC]
Marc-Andre Lafortune
06:40 AM Revision 7df2503b (git): NEWS: Hint at potential incompatibility with Range#minmax [#15807]
Marc-Andre Lafortune
06:04 AM Revision a96f8cec (git): ObjectSpace._id2ref should check liveness.
objspace->id_to_obj_tbl can contain died objects because of lazy
sweep, so that it should check liveness.
ko1 (Koichi Sasada)
05:47 AM Revision 672a61b9 (git): Port https://github.com/ruby/did_you_mean/commit/dd1dd86e6c3188c36224d5dd4389676e6653a727
yuki24 (Yuki Nishijima)
04:23 AM Revision 92d09582 (git): FrozenError.new accepts :receiver instead of 2nd argument [ci skip]
[ruby-core:96227] [Feature #16419] znz (Kazuhiro NISHIYAMA)
03:07 AM Revision 3142a6be (git): Revert "Changed behavior on windows platforms too [ci skip]"
This reverts commit 1bf8d5e9797f6304b2e27cb7f42d467f84de0ff4.
Because 204dc3f39f12b4e2640555306bd1dd4530344277 rever...
znz (Kazuhiro NISHIYAMA)
02:54 AM Revision 204dc3f3 (git): Revert "Should return "." for File.extname("file.") also on Windows"
We want to introduce consistency and better compatibility with unixen,
but the Windows APIs doues not have consistenc...
U.Nakamura
02:48 AM Revision 048f797b (git): [ruby/prime] Bump version
Marc-Andre Lafortune
02:48 AM Revision 446c243d (git): [ruby/ostruct] Bump version
Marc-Andre Lafortune
02:48 AM Revision 9be3295d (git): [ruby/ostruct] Create OpenStruct::VERSION
Marc-Andre Lafortune
02:48 AM Revision 49d94248 (git): [ruby/ostruct] Move gemspec
Marc-Andre Lafortune
02:48 AM Revision 48d1acdf (git): [ruby/matrix] Bump version
Marc-Andre Lafortune
02:08 AM Revision 1ed87dd3 (git): Add NEWS about Warning.[] [Feature #16345] [ci skip]
nobu (Nobuyoshi Nakada)
01:37 AM Revision 5de284ec (git): Fixed a typo in an exception class name
nobu (Nobuyoshi Nakada)
01:10 AM Revision 5f18635a (git): make-snapshot: fixed mode
"X" must be used in conjunction with "+". nobu (Nobuyoshi Nakada)
12:52 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
Reminder to everyone:
> 2020 1/1: trunk branch cannot be git fetched and git pushed anymore.
The ruby.git's "tr...
k0kubun (Takashi Kokubun)
12:29 AM Revision 80d5d220 (git): Fix typo in commit logs by log-fix notes
nobu (Nobuyoshi Nakada)
12:21 AM Feature #14912: Introduce pattern matching syntax
docx (Lukas Dolezal) wrote:
> I wonder what do you think about only allowing curly brackets for hash pattern, and on...
mame (Yusuke Endoh)
12:07 AM Revision 4de2297d (git): Re-apply f85e8d2a8b keeping characters < 80
k0kubun (Takashi Kokubun)
12:02 AM Revision f156f70b (git): Revert "Fixed misspellings"
This reverts commit f85e8d2a8b2a37740334db4fd92ef820f05ddbc5.
It violated the limit of width (> 80) and caused the t...
mame (Yusuke Endoh)

12/22/2019

11:41 PM Revision f85e8d2a (git): Fixed misspellings
Fixed misspellings reported at [Bug #16437] nobu (Nobuyoshi Nakada)
11:36 PM Revision a4b99f97 (git): Fix typos of previous docs PR
In #2612 I made two typos (extra ,, and copy-pasted
same line of code instead of showing two different
ones), fixing ...
zverok (Victor Shepelev)
11:30 PM Revision c1bd1bf2 (git): Document Module#const_source_location
zverok (Victor Shepelev)
11:21 PM Revision ade6543f (git): Adjust sentence in doc [ci skip]
alanwu (Alan Wu)
10:33 PM Feature #14912: Introduce pattern matching syntax
Hi, I was playing with the type/hash patterns (2.7.0-preview3), and I find this confusing and non-intuitive:
while...
docx (Lukas Dolezal)
09:36 PM Revision bb05cdcd (git): [DOC] Improve documentation for Enumerable#tally
stomar (Marcus Stollsteimer)
06:46 PM Revision 7c37f2cb (git): Some fixes in Enumerator::Lazy docs
* fix list in #flat_map
* fix wrong indentation in #filter_map and #with_index
* other small fixes
stomar (Marcus Stollsteimer)
05:11 PM Revision 679bc4f9 (git): [ruby/reline] Use IO#raw to read one byte
https://github.com/ruby/reline/commit/be17740e82 nobu (Nobuyoshi Nakada)
04:10 PM Misc #16444: What is the reason for the warning of IRB?
A patch to suppress the warning when started as `console`.
```diff
diff --git a/lib/irb/init.rb b/lib/irb/init.rb...
nobu (Nobuyoshi Nakada)
02:03 PM Misc #16444: What is the reason for the warning of IRB?
I guess we may provide an API to hide or alter the message for rails console and other tools. Pull request is welcom... mame (Yusuke Endoh)
11:02 AM Misc #16444: What is the reason for the warning of IRB?
Thanks for your feedback. OK. I understood that too late to discuss and a message is as expected.
I think it wo...
y-yagi (Yuji Yaginuma)
08:07 AM Misc #16444: What is the reason for the warning of IRB?
I believe that it is too late to discuss "opt-in or opt-out?".
IMO, the quality of the new IRB is not so low. But...
mame (Yusuke Endoh)
06:12 AM Misc #16444: What is the reason for the warning of IRB?
Agreed for compatibility - may be better to retain the old behaviour as-is.
I believe it was not a deliberate chan...
shevegen (Robert A. Heiler)
05:39 AM Misc #16444 (Closed): What is the reason for the warning of IRB?
Ruby 2.7 always shows a warning when starting IRB. Why is this necessary?
Of course, ways to suppress the warning...
y-yagi (Yuji Yaginuma)
03:17 PM Revision 3a18e43c (git): * 2019-12-23 [ci skip]
git[bot]
03:16 PM Revision 1bf8d5e9 (git): Changed behavior on windows platforms too [ci skip]
at 61aff0cd189e67fa6f2565639ad0128fa33b88fc [Bug #15267] znz (Kazuhiro NISHIYAMA)
02:17 PM Revision d339de9d (git): Enhance docs for Module#deprecate_constant
zverok (Victor Shepelev)
02:17 PM Revision 5a0102cb (git): Enhance Range docs
* Change === docs to mention it uses cover?
* Add different example to === docs to showcase
behavior better
* Chang...
zverok (Victor Shepelev)
02:17 PM Revision 49888431 (git): Actualize Time#inspect docs
zverok (Victor Shepelev)
02:17 PM Revision 5fa9c2ee (git): Actualize Method#inspect docs
zverok (Victor Shepelev)
02:17 PM Revision d78fcfb7 (git): Fix FrozenError#receiver and #initialize docs
zverok (Victor Shepelev)
02:17 PM Revision e568bb56 (git): Update private visibility explanation
zverok (Victor Shepelev)
02:15 PM Revision 03b983d5 (git): Document numbered block parameters
zverok (Victor Shepelev)
02:12 PM Revision 890c834e (git): Enhancements for ENV doc
burdettelamar (Burdette Lamar)
02:01 PM Revision 54be15f3 (git): [Doc] Fix sample in Encoding#names
QuestionDriven
02:01 PM Revision 9654241d (git): [Doc] Fix wrong example in Encoding.aliases
QuestionDriven
01:53 PM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
jschleus (Jens Schleusener) wrote:
> There was now also a check done for Ruby master but since the according tarball...
nobu (Nobuyoshi Nakada)
10:37 AM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
There was now also a check done for Ruby master but since the according tarball isn't embedded into the Fossies stand... jschleus (Jens Schleusener)
01:49 PM Revision cc87037f (git): Fixed misspellings
Fixed misspellings reported at [Bug #16437], missed and a new
typo.
nobu (Nobuyoshi Nakada)
12:38 PM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
Does this log mean the following libraries are stopped by `make` due to the first failure in `cxxanyargs` or in yet a... nobu (Nobuyoshi Nakada)
10:02 AM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
I executed following shell script on my FreeBSD test environment and got attached log file.
``` shell
#!/bin/sh
...
yasuhirokimura (Yasuhiro KIMURA)
10:39 AM Revision 7c33ee5d (git): Move version guard outside to make it clear the method was added in Ruby 2.5
Eregon (Benoit Daloze)
06:18 AM Revision d76c8cfe (git): RDoc of Warning.[] and .[]= [Feature #16345] [ci skip]
nobu (Nobuyoshi Nakada)
05:45 AM Revision d2ac6d4d (git): Manage deprecation warning by the flag
nobu (Nobuyoshi Nakada)
04:55 AM Feature #6810: `module A::B; end` is not equivalent to `module A; module B; end; end` with respect to constant lookup (scope)
At least as of Ruby 2.6.5, I get a different output from above for at least one of the examples:
```ruby
N = 0
...
sawa (Tsuyoshi Sawada)
04:52 AM Revision 58527a79 (git): [ruby/io-console] bump up to 0.5.3
nobu (Nobuyoshi Nakada)
02:55 AM Revision ced4c5da (git): add NEWS about cache improvement [ci skip]
shyouhei (Shyouhei Urabe)
02:46 AM Revision efd4a11a (git): Support multibyte input
nobu (Nobuyoshi Nakada)

12/21/2019

09:29 PM Revision cf59e147 (git): fix a thread test.
* Use Queue for synchronization.
* Don't use `sleep 0.2` and use `th.join` because created thread
can raise an exce...
ko1 (Koichi Sasada)
09:09 PM Feature #15973: Let Kernel#lambda always return a lambda
@matz Is it OK to warn for this in the next Ruby version?
I think it's going to highlight wrong usages (good) and ...
Eregon (Benoit Daloze)
08:35 PM Revision fa1bf8ab (git): [ruby/reline] Support Ctrl+right as em_next_word, and Ctrl+left as ed_prev_word
https://github.com/ruby/reline/commit/e98ad3b486 mame (Yusuke Endoh)
08:20 PM Revision 644336ee (git): add a NEWS entry for [Feature #16163]
ko1 (Koichi Sasada)
06:35 PM Bug #16442 (Closed): Segmentation fault when calling a method with array splat and empty kwargs splat
Applied in changeset commit:git|75acbd5f0076970d48bc423c2b058adbdb5da9e8.
----------
compile.c: avoid newarraykwspla...
mame (Yusuke Endoh)
06:09 PM Bug #16442: Segmentation fault when calling a method with array splat and empty kwargs splat
same as: `p(*nil, nil, **{})`
```
(gdb) bt
#0 0x00005555557d6de0 in CALLER_REMOVE_EMPTY_KW_SPLAT (cfp=0x7ffff6b...
ko1 (Koichi Sasada)
04:38 PM Bug #16442 (Closed): Segmentation fault when calling a method with array splat and empty kwargs splat
`a=[1];b(*a, 2, **{})`
~~~
$ ruby -e "a=[1];b(*a, 2, **{})"
-e:1: [BUG] Segmentation fault at 0x000000000000000...
tompng (tomoya ishida)
06:35 PM Revision 75acbd5f (git): compile.c: avoid newarraykwsplat for arguments
`foo(*rest, post, **empty_kw)` is compiled like
`foo(*rest + [post, **empty_kw])`, and `**empty_kw` is removed by
"ne...
mame (Yusuke Endoh)
06:27 PM Misc #16443 (Closed): GC.compact is not documented
See https://docs.ruby-lang.org/en/master/GC.html#method-c-compact
Typically, I'd just submit a documentation PR, b...
zverok (Victor Shepelev)
05:51 PM Revision 3a29f05b (git): Move stats under a dict
naruse (Yui NARUSE)
05:42 PM Revision 61aff0cd (git): Should return "." for File.extname("file.") also on Windows
But not changes another cases, such as "file.rb."
[Bug #15267]
U.Nakamura
04:58 PM Revision 29ea228e (git): * 2019-12-22 [ci skip]
git[bot]
04:57 PM Revision 0835a971 (git): Remove TODO comment
aycabta (aycabta .)
04:57 PM Revision 616f1357 (git): [ruby/irb] Make nesting level up for `1.times do`
Follow up of the previous commit
https://github.com/ruby/irb/commit/ab207353d3
mame (Yusuke Endoh)
04:57 PM Revision a3cc2a2f (git): [ruby/irb] Fix auto-indent for `1.times do`
Fixes #47
https://github.com/ruby/irb/commit/6b8eca4635
mame (Yusuke Endoh)
04:57 PM Revision ec1de789 (git): [ruby/reline] Preserve the input buffer across cursor_pos
The old version of cursor_pos discards the input buffer, which made IRB
ignore the input immediately after IRB is inv...
mame (Yusuke Endoh)
04:57 PM Revision 7fd6077d (git): [ruby/reline] Consider Reline::ANSI.input at prep
https://github.com/ruby/reline/commit/b111cde3c3 nobu (Nobuyoshi Nakada)
04:52 PM Feature #6810: `module A::B; end` is not equivalent to `module A; module B; end; end` with respect to constant lookup (scope)
I just inadvertently made a dup of this issue (#16430) and would like to throw my hat in the ring as supporting this ... MikeVastola (Mike Vastola)
04:12 PM Feature #16441: Enumerable#take_while_after
This is of course only my personal opinion, but I believe that long
names can be somewhat problematic. Now I myself ...
shevegen (Robert A. Heiler)
02:01 PM Feature #16441: Enumerable#take_while_after
Flip-flop is the winner!!! nobu (Nobuyoshi Nakada)
01:22 PM Feature #16441 (Rejected): Enumerable#take_while_after
The method is just like `#take_while`, but also includes the item where condition became true.
Examples of usefuln...
zverok (Victor Shepelev)
03:25 PM Bug #16440: Date range inclusion behaviors are inconsistent
> Does a Date range represent a series of individual days between May 1st and May 31th, like `[2019-05-01 00:00:00, 2... zverok (Victor Shepelev)
03:05 PM Bug #16440: Date range inclusion behaviors are inconsistent
To: wishdev (John Higgins)
> (and in fact on my system - the to_time option returns false instead of true).
Sor...
st0012 (Stan Lo)
03:51 AM Bug #16440: Date range inclusion behaviors are inconsistent
I have no strong opinion either way but I can understand the
assumption by st0012 to some extent. For example, I pe...
shevegen (Robert A. Heiler)
02:09 PM Feature #16420: Warning[:experimental]=false
Changing the flag at runtime causes problems, mainly editors' syntax highlighting, `ruby -c` etc.
How about a new ...
nobu (Nobuyoshi Nakada)
02:09 PM Bug #15620 (Closed): Block argument usage affects lambda semantic
Applied in changeset commit:git|85a337f986fe6da99c7f8358f790f17b122b3903.
----------
Kernel#lambda: return forwarded...
alanwu (Alan Wu)
02:08 PM Revision 85a337f9 (git): Kernel#lambda: return forwarded block as non-lambda proc
Before this commit, Kernel#lambda can't tell the difference between a
directly passed literal block and one passed wi...
alanwu (Alan Wu)
02:08 PM Revision ddb6023d (git): Add spec for capturing Kernel#lambda with Kernel#method
alanwu (Alan Wu)
02:08 PM Revision e0b336c8 (git): Add specs for calling into Kernel#lambda with super
alanwu (Alan Wu)
01:45 PM Feature #16430: Resultion of constants in enclosing class/module affected by how nested classes/modules are declared
mame (Yusuke Endoh) wrote:
> If you want to request a feature, please research the old tickets. I've found #6810.
...
MikeVastola (Mike Vastola)
03:52 AM Feature #16430: Resultion of constants in enclosing class/module affected by how nested classes/modules are declared
If you want to request a feature, please research the old tickets. I've found #6810. mame (Yusuke Endoh)
02:27 AM Feature #16430: Resultion of constants in enclosing class/module affected by how nested classes/modules are declared
Fixed small bug in initial description. MikeVastola (Mike Vastola)
02:25 AM Feature #16430: Resultion of constants in enclosing class/module affected by how nested classes/modules are declared
sawa (Tsuyoshi Sawada) wrote:
> What is the purpose of writing the code in three different files? It only looks to m...
MikeVastola (Mike Vastola)
02:23 AM Feature #16430: Resultion of constants in enclosing class/module affected by how nested classes/modules are declared
mame (Yusuke Endoh) wrote:
> It is by design. See "Scope" section of https://github.com/ruby/ruby/blob/master/doc/s...
MikeVastola (Mike Vastola)
01:06 AM Revision ea405ee8 (git): test/ruby/test_pattern_matching.rb: suppress "unused variable" warning
mame (Yusuke Endoh)

12/20/2019

06:47 PM Revision 9eded024 (git): Add Array#minmax, Range#minmax, and Proc#ruby2_keywords to NEWS
jeremyevans (Jeremy Evans)
05:55 PM Bug #16440: Date range inclusion behaviors are inconsistent
`Range#include?` works as `#to_a.include?`. E.g. this:
```ruby
(may1..may31).include? noon_of_may3
# => false
``...
zverok (Victor Shepelev)
05:28 PM Bug #16440: Date range inclusion behaviors are inconsistent
Nothing strange with your example - but that doesn't mean it totally works right.
First your example is a DATE ran...
wishdev (John Higgins)
04:22 PM Bug #16440 (Rejected): Date range inclusion behaviors are inconsistent
It's weird that a Date range can include Time and DateTime objects that were converted from a Date object. But it can... st0012 (Stan Lo)
03:07 PM Feature #16420 (Closed): Warning[:experimental]=false
Applied in changeset commit:git|07e595fdbd75ed44473073cdf8cd758572d11709.
----------
Added `experimental` warning ca...
nobu (Nobuyoshi Nakada)
03:07 PM Revision 63ce7792 (git): * 2019-12-21 [ci skip]
git[bot]
02:51 PM Revision 484c1be8 (git): Added `-W:experimental` command line option
[Feature #16420] nobu (Nobuyoshi Nakada)
02:48 PM Revision 07e595fd (git): Added `experimental` warning category
[Feature #16420] nobu (Nobuyoshi Nakada)
02:43 PM Revision dd7f0c87 (git): Hoisted out new_case3
nobu (Nobuyoshi Nakada)
02:33 PM Bug #8841: Module#included_modules and prepended modules
> Module#included is not called when the module is prepended
I think that's fine, because it calls `Module#prepend...
byroot (Jean Boussier)
12:56 AM Bug #8841: Module#included_modules and prepended modules
Summary:
* `Module#include?` and `Module#included_modules` regard prepended modules as `included` (not well docume...
mame (Yusuke Endoh)
02:19 PM Feature #16345 (Closed): Don't emit deprecation warnings by default.
Applied in changeset commit:git|a84ad24386d27269b90794146c2a351c1d79471b.
----------
Added -W: command line option
...
nobu (Nobuyoshi Nakada)
02:10 PM Feature #15915 (Closed): `@1` cannot be achieved in meta-programming
I think this issue resolved by changing from `@1` to `_1`. znz (Kazuhiro NISHIYAMA)
02:05 PM Revision a84ad243 (git): Added -W: command line option
To manage `Warning[category]` flags. Only `-W:deprecated` and
`-W:no-deprecated` are available now. [Feature #16345]
nobu (Nobuyoshi Nakada)
01:58 PM Revision 6876aa38 (git): Added `FEATURE_SET_RESTORE` macro
nobu (Nobuyoshi Nakada)
01:02 PM Bug #16439 (Closed): Resolv::DNS: timeouts if multiple IPv6 name servers are given and address contains leading zero
Hi,
Resolv::DNS does not return any results under those conditions:
- there are at least two name servers (in /et...
jmr (Jan-Martin Rämer)
12:37 PM Revision 1fea3a76 (git): NEWS: Update the explanation of pattern matching
Add an example of "<expr> in <pattern>", an example of
NoMatchingPatternError, and mention that the slides are slight...
mame (Yusuke Endoh)
10:41 AM Revision f7aee584 (git): vm_args.c: rephrase the warning message of keyword argument separation
(old)
test.rb:4: warning: The last argument is used as the keyword parameter
test.rb:1: warning: for `foo' defined he...
mame (Yusuke Endoh)
08:39 AM Bug #16406: `(lambda_proc << normal_proc).lambda?` should return false
It was discussed and Matz approved to fix it after Ruby 2.7 release.
ko1 (Koichi Sasada)
08:12 AM Feature #10463 (Rejected): :~@ and :!@ are not parsed correctly
I don't see the practical benefit of this proposal. Besides that incompatibility is a clear drawback.
Matz.
matz (Yukihiro Matsumoto)
07:50 AM Feature #14183: "Real" keyword argument
@jeremyevans0 It's OK to merge the patch to the master after the 2.7 release, to see how big the influence is.
Mat...
matz (Yukihiro Matsumoto)
07:31 AM Feature #16274: Transform hash keys by a hash
I understand. Accepted.
FYI, we do not accept a similar change to `transform_values`.
Matz.
matz (Yukihiro Matsumoto)
07:28 AM Feature #16274: Transform hash keys by a hash
Which does `hash1.transform_keys(hash2)` iterate over, hash1's keys or hash2's keys? knu (Akinori MUSHA)
07:15 AM Feature #16264 (Closed): Real "callable instance method" object.
We have suspended the idea of `.:` operator, so this proposal is no longer meaningful. We may revisit the method refe... matz (Yukihiro Matsumoto)
06:09 AM Revision 2b2030f2 (git): Refined the warning message for $, and $;
[Bug #16438] nobu (Nobuyoshi Nakada)
06:00 AM Bug #16438: Check warning messages for Ruby 2.7
At developer's meeting, the followings are proposed. They will be merged into Ruby 2.7 RC2.
```ruby
def foo(**kw)...
ko1 (Koichi Sasada)
05:38 AM Bug #16438 (Closed): Check warning messages for Ruby 2.7
Applied in changeset commit:git|a8bddb3a189545a2bef8ee7cffdb328d8de7974c.
----------
Refined the warning message for...
nobu (Nobuyoshi Nakada)
02:56 AM Bug #16438: Check warning messages for Ruby 2.7
> pls check current master.
Sorry, became warning.
osyo (manga osyo)
02:50 AM Bug #16438: Check warning messages for Ruby 2.7
```ruby
$SAFE = 1
#=> t.rb:1: warning: $SAFE will become a normal global variable in Ruby 3.0
```
> # no warnin...
ko1 (Koichi Sasada)
02:00 AM Bug #16438: Check warning messages for Ruby 2.7
>
```ruby
def _1; end
#=> test.rb:1: warning: `_1' is used as numbered parameter
```
~~Warn by parameter name ...
osyo (manga osyo)
01:50 AM Bug #16438 (Closed): Check warning messages for Ruby 2.7
Please check Ruby 2.7 new introduced warning messages.
* deprecation warning
```ruby
def foo(**kw)
end
foo...
ko1 (Koichi Sasada)
05:58 AM Revision 7a94225e (git): Refined the warning message for numbered-parameter like variables
[Bug #16438] nobu (Nobuyoshi Nakada)
05:34 AM Revision a8bddb3a (git): Refined the warning message for numbered-parameter like variables
[Bug #16438] nobu (Nobuyoshi Nakada)
05:18 AM Feature #16419 (Closed): FrozenError.new ignores receiver:
Applied in changeset commit:git|435a4ca2a38f3be1f5d2db0f71487a52c8285e9c.
----------
Makes the receiver to FrozenErr...
nobu (Nobuyoshi Nakada)
05:18 AM Revision 435a4ca2 (git): Makes the receiver to FrozenError.new a keyword parameter
[Feature #16419] nobu (Nobuyoshi Nakada)
05:10 AM Revision 216b62aa (git): use UTC to use previous day in midnight
naruse (Yui NARUSE)
04:39 AM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
You can see a list of the upstream with https://github.com/ruby/ruby/blob/master/doc/maintainers.rdoc#default-gems-ma... hsbt (Hiroshi SHIBATA)
03:33 AM Bug #16437: Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
Fixed for ruby core, standard libraries, default gems and rubyspec.
Could you report other upstreams (rubygems, bund...
nobu (Nobuyoshi Nakada)
12:36 AM Bug #16437 (Closed): Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
Applied in changeset commit:git|db166290088fb7d39d01f68b9860253893d4f1a7.
----------
Fixed misspellings
Fixed missp...
nobu (Nobuyoshi Nakada)
03:19 AM Revision e68999c8 (git): Fixed misspellings
Fixed misspellings reported at [Bug #16437], for default gems. nobu (Nobuyoshi Nakada)
03:18 AM Misc #16436: hash missing #last method, make it not so consistent (it has #first)

sawa (Tsuyoshi Sawada) wrote:
> What is this issue? Is it just a note to everyone, or are you claiming this to be ...
zw963 (Wei Zheng)
12:37 AM Misc #16436: hash missing #last method, make it not so consistent (it has #first)
sawa wrote:
> What is this issue? Is it just a note to everyone, or are you
> claiming this to be a bug, or is it...
shevegen (Robert A. Heiler)
02:50 AM Revision e672494c (git): Merge RubyGems 3.1.2
hsbt (Hiroshi SHIBATA)
02:22 AM Misc #16393: DevelopersMeeting20191220Japan
* [Feature #16432] Using `_1` inside `binding.irb` will cause unintended behavior(osyo)
* Calling `binding.irb` in...
osyo (manga osyo)
02:15 AM Misc #16393: DevelopersMeeting20191220Japan
I'd like to discuss about type signature integration for Ruby3. I plan to discuss in this meeting but not trying to m... soutaro (Soutaro Matsumoto)
01:39 AM Misc #16393: DevelopersMeeting20191220Japan
* [Bug #11014] String#partition doesn't return correct result on zero-width match (mame)
* I'd like to confirm if ...
mame (Yusuke Endoh)
01:29 AM Misc #16393: DevelopersMeeting20191220Japan
[Bug #10929] NilClass#to_proc and & don't mix? (mame)
* I think it is not worth adding.
mame (Yusuke Endoh)
01:22 AM Misc #16393: DevelopersMeeting20191220Japan
* [Bug #10388] Operator precedence problem in multiple assignment (massign) (mame)
* "`a, b = c = 1, 2` is current...
mame (Yusuke Endoh)
01:06 AM Misc #16393: DevelopersMeeting20191220Japan
* [Bug #9815] attr_reader doesn't warn on a uninitialized instance variable (mame)
* A reader method defined by `a...
mame (Yusuke Endoh)
01:02 AM Misc #16393: DevelopersMeeting20191220Japan
* [Bug #8841] Module#included_modules and prepended modules (mame)
* `Module#include?` and `Module#included_module...
mame (Yusuke Endoh)
01:19 AM Feature #16433: Proposal: Output warning if `_1` is used in parameter name
Thanks! osyo (manga osyo)
01:05 AM Feature #16432: Using `_1` inside `binding.irb` will cause unintended behavior
Thanks comments :)
> This is because the eval code is executed at the current context exactly.
> Another choice i...
osyo (manga osyo)
01:03 AM Feature #8026: Need Module#prepended_modules
Now I'm unsure if the feature is worth adding. It was accepted six years ago, but not implemented yet. I've never h... mame (Yusuke Endoh)
12:51 AM Feature #8026: Need Module#prepended_modules
matz (Yukihiro Matsumoto) wrote:
> But according to the slide, the optional `include_ancestors` is true, but it does...
mame (Yusuke Endoh)
12:40 AM Revision fac60be3 (git): shell.rb is no longer bundled [ci skip]
nobu (Nobuyoshi Nakada)
12:32 AM Revision db166290 (git): Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec. nobu (Nobuyoshi Nakada)

12/19/2019

11:28 PM Bug #8507 (Rejected): Keyword splat does not convert arg to Hash
As far as I understand, no one showed any actual use case that justifies adding `nil.to_h #=> {}`.
I agree with ma...
mame (Yusuke Endoh)
11:18 PM Revision 2898367b (git): Warn also numbered parameter like methods
nobu (Nobuyoshi Nakada)
10:24 PM Bug #16437 (Feedback): Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
Is there anyone who is interested in this? I'd be happy if anyone could look through the result and create a patch. ... mame (Yusuke Endoh)
05:46 PM Bug #16437 (Closed): Codespell report for Ruby 2.6.5 (and 2.7.0-rc1)
The FOSS server fossies.org offers a new feature "Source code misspelling reports":
https://fossies.org/features....
jschleus (Jens Schleusener)
07:46 PM Bug #16288: Segmentation fault with finalizers, threads

```
--- a/thread.c
+++ b/thread.c
@@ -682,7 +682,7 @@ thread_do_start(rb_thread_t *th)
else {
...
davidw (David Welton)
04:40 PM Revision 3816cd94 (git): Add `URI#open` to warning message
znz (Kazuhiro NISHIYAMA)
04:37 PM Feature #16433 (Closed): Proposal: Output warning if `_1` is used in parameter name
Applied in changeset commit:git|27ddb6e99848c397a415b785315896ab50308076.
----------
Warn also numbered parameter li...
nobu (Nobuyoshi Nakada)
01:27 PM Feature #16433 (Closed): Proposal: Output warning if `_1` is used in parameter name
Currently, output warning if local variable name is `_1`.
```ruby
# warning: `_1' is used as numbered parameter
...
osyo (manga osyo)
04:37 PM Revision 844f1fad (git): * 2019-12-20 [ci skip]
git[bot]
04:37 PM Misc #16436: hash missing #last method, make it not so consistent (it has #first)
What is this issue? Is it just a note to everyone, or are you claiming this to be a bug, or is it a feature request? sawa (Tsuyoshi Sawada)
04:27 PM Misc #16436: hash missing #last method, make it not so consistent (it has #first)
`Hash` doesn't have `#first` either :)
```ruby
Hash.instance_method(:first)
# => #<UnboundMethod: Hash(Enumerabl...
zverok (Victor Shepelev)
04:21 PM Misc #16436 (Open): hash missing #last method, make it not so consistent (it has #first)
``` ruby
(pry):main(0)> h = {x:1, y:2, z:3}
{
:x => 1,
:y => 2,
:z => 3
}
(pry):main(0)> h.first
...
zw963 (Wei Zheng)
04:25 PM Revision 27ddb6e9 (git): Warn also numbered parameter like parameters
[Feature #16433] nobu (Nobuyoshi Nakada)
04:01 PM Feature #16435 (Rejected): Array#to_proc
The idea is obvious, but I couldn't find it discussed anywhere on tracker before. Please point me at the previous dis... zverok (Victor Shepelev)
02:35 PM Bug #16434 (Third Party's Issue): rails c crashed
Thank you for the report.
Maybe https://github.com/brianmario/mysql2/issues/1075 seems related. Anyway, the issue...
mame (Yusuke Endoh)
02:31 PM Bug #16434: rails c crashed
Although it is unclear without the backtrace by ruby itself, it seems caused by a wrong argument to `Mysql2::Client#c... nobu (Nobuyoshi Nakada)
02:19 PM Bug #16434 (Third Party's Issue): rails c crashed

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
F...
dmitry.malyk (Dmitry Malyk)
02:15 PM Feature #16432: Using `_1` inside `binding.irb` will cause unintended behavior
It is same as the following code without irb.
```ruby
proc {
p eval("(1..10).map{_1+_1}") #=> [84, 84, 84, 84,...
nobu (Nobuyoshi Nakada)
01:26 PM Feature #16432 (Closed): Using `_1` inside `binding.irb` will cause unintended behavior
## Summary
Calling `binding.irb` in a block that uses `_1` and using `_1` in `irb` will cause unintended behavior....
osyo (manga osyo)
12:13 PM Feature #15306 (Closed): Generate prelude.c using miniruby
vo.x (Vit Ondruch)
12:13 PM Feature #15306: Generate prelude.c using miniruby
prelude.c is not anymore [1], so I'm closing this specific ticket.
However, I'll be happy if the discussion is rem...
vo.x (Vit Ondruch)
09:44 AM Bug #16427: Revert did_you_mean promotion to default gem.
vo.x (Vit Ondruch) wrote:
> Nevertheless it does not address the "disk consumption" concern. I also previously forgo...
Eregon (Benoit Daloze)
09:31 AM Feature #16260 (Open): Symbol#to_proc behaves like lambda, but doesn't aknowledge it
I agree with @zverok here, a method behaves as a lambda, and doesn't unpack arguments (except a few special methods t... Eregon (Benoit Daloze)
09:23 AM Feature #16260: Symbol#to_proc behaves like lambda, but doesn't aknowledge it
> As a symbol proc cannot know the method to be invoked, so now I think it cannot be lambda.
> In the case `:+`, it ...
zverok (Victor Shepelev)
03:26 AM Feature #16260: Symbol#to_proc behaves like lambda, but doesn't aknowledge it
Just curious: How do you want to use the result of `lambda?`? Even if it returns true, we may pass an arbitrary numb... mame (Yusuke Endoh)
03:15 AM Feature #16260 (Rejected): Symbol#to_proc behaves like lambda, but doesn't aknowledge it
As a symbol proc cannot know the method to be invoked, so now I think it cannot be lambda.
In the case `:+`, it look...
nobu (Nobuyoshi Nakada)
08:30 AM Feature #15982: Remove y2racc and racc2y
I will try to remove it at racc-1.5 in the next year. hsbt (Hiroshi SHIBATA)
06:47 AM Feature #16039: Array#contains? to check if one array contains another array
JustJosh (Joshua Stowers) wrote:
> @sawa - I 100% agree with what you are saying. I did a poor job expressing my con...
sawa (Tsuyoshi Sawada)
04:52 AM Feature #16039: Array#contains? to check if one array contains another array
@sawa - I 100% agree with what you are saying. I did a poor job expressing my concerns.
I am nervous that singling...
JustJosh (Joshua Stowers)
12:28 AM Feature #16039: Array#contains? to check if one array contains another array
JustJosh (Joshua Stowers) wrote:
> I do not think we should use the name `cover?` because the types of arguments acc...
sawa (Tsuyoshi Sawada)
02:04 AM Misc #16393: DevelopersMeeting20191220Japan
@alanwu
Please add `(alanwu)` in the next time. My agenda generator overlooks your post.
mame (Yusuke Endoh)
12:52 AM Revision c6c67254 (git): Added rb_warn_deprecated
nobu (Nobuyoshi Nakada)
12:52 AM Revision 7aa8a786 (git): Manage deprecation warnings about keyword argument
nobu (Nobuyoshi Nakada)
12:52 AM Revision 9bf9de3d (git): Made the warning for deprecated constants follow the category flag
nobu (Nobuyoshi Nakada)
12:52 AM Revision 76035e5b (git): Adjusted the format
nobu (Nobuyoshi Nakada)

12/18/2019

07:29 PM Bug #16427: Revert did_you_mean promotion to default gem.
I think the issue is that the filing is about reverting the promotion to
default gems, which is different to the use...
shevegen (Robert A. Heiler)
12:49 PM Bug #16427: Revert did_you_mean promotion to default gem.
rbjl (Jan Lelis) wrote:
> Then, a good configuration for the cloud could be this?
>
> $ ruby --disable-did_yo...
vo.x (Vit Ondruch)
12:36 PM Bug #16427: Revert did_you_mean promotion to default gem.
> But all these applications have to pay for longer startup time, higher memory and disk consumption. All these are n... rbjl (Jan Lelis)
11:09 AM Bug #16427: Revert did_you_mean promotion to default gem.
mame (Yusuke Endoh) wrote:
> But it's just like saying that "ruby cannot start when I remove lib/rubygems.rb".
Sp...
vo.x (Vit Ondruch)
04:27 AM Bug #16427 (Rejected): Revert did_you_mean promotion to default gem.
It does not make sense at all.
In Ruby 2.6, did_you_mean was a bundled gem, which may be uninstalled by a user. A...
mame (Yusuke Endoh)
07:19 PM Feature #16431: Optionally load did_you_mean (and RubyGems)
While I agree on the situation at hand (being able to use did you mean
or disable it at the discretion of the user),...
shevegen (Robert A. Heiler)
02:20 PM Feature #16431 (Closed): Optionally load did_you_mean (and RubyGems)
I just have opened PR [1], which allows Ruby to run when did_you_mean is not available. As I previously discussed in ... vo.x (Vit Ondruch)
07:11 PM Feature #16039: Array#contains? to check if one array contains another array
# *#cover?*
I do not think we should use the name `cover?` because the types of arguments accepted by `Range#cover?`...
JustJosh (Joshua Stowers)
05:08 PM Revision e732e007 (git): * 2019-12-19 [ci skip]
git[bot]
05:08 PM Revision 1e88f6eb (git): Refactor free page insertion
I am trying to fix this error:
http://ci.rvm.jp/results/trunk-gc_compact@silicon-docker/2491596
Somehow we have a...
tenderlovemaking (Aaron Patterson)
03:48 PM Bug #14755 (Feedback): Aborted (core dumped)
Sorry, I don't think we can do anything for this report.
Did you manually build ruby and install it to /usr/local?...
mame (Yusuke Endoh)
03:38 PM Bug #15551 (Rejected): The behavior of FIX2INT and FIX2UINT differs by platform
It is by design. doc/extension.rdoc says:
```
T_FIXNUM can be converted to a C integer by using the
FIX2INT() m...
mame (Yusuke Endoh)
02:53 PM Bug #12015 (Closed): Improving code coverage visibility
Closing as it is not a bug.
Now you can see unified coverage reports for Ruby's C and Ruby code in https://rubyci....
mame (Yusuke Endoh)
02:51 PM Bug #16410: Spec failure - "File.utime allows Time instances in the far future to set mtime and atime"
Could you check the path of `@file1` in that file, and the filesystem of that volume? nobu (Nobuyoshi Nakada)
02:44 PM Bug #16410: Spec failure - "File.utime allows Time instances in the far future to set mtime and atime"
BTW preciously, I was testing against 053f78e139 where the bug had not been present yet. vo.x (Vit Ondruch)
02:42 PM Bug #16410: Spec failure - "File.utime allows Time instances in the far future to set mtime and atime"
~~~
$ cat /etc/os-release
NAME=Fedora
VERSION="32 (Rawhide)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLAT...
vo.x (Vit Ondruch)
02:30 PM Bug #9312: Build the ruby executable in bin/
Note that `make runnable` makes links in `bin/`, which might be able to run if configured with `--enable-load-relativ... nobu (Nobuyoshi Nakada)
12:28 PM Bug #9312 (Rejected): Build the ruby executable in bin/
Closing as it is not a bug.
A ruby binary that is built but not installed is half-baked. It is very hacky to run ...
mame (Yusuke Endoh)
02:06 PM Bug #9693 (Rejected): \x{} in regexp
`"\x{00000020}"` も書けないわけなので、とりあえず現行の挙動は意図的であると考えます。逆に、`/\x{00000020}/` を許すなら `"\x{00000020}"` も許さねば、ってことになるのではないでしょうか... mame (Yusuke Endoh)
02:03 PM Bug #15177: 起動した後にTZを変更するとTime#utcがずれることがある
minirubyだと一致するのは、rubygemsをロードしていないからのようです。
```
$ TZ=Asia/Tokyo ./bin/ruby --disable=gems -ve "ENV['TZ']='right/As...
nobu (Nobuyoshi Nakada)
08:34 AM Bug #15177: 起動した後にTZを変更するとTime#utcがずれることがある
@naruse これ何がどうFeedbackなんですか?ここまでのやりとりだと @znz は要求されている情報を既にもれなく答えているとしか読めませんが。 shyouhei (Shyouhei Urabe)
01:41 PM Bug #16159: rubyspec about time fails in Asia/Kuala_Lumpur timezone
ruby_2_6 r67836 merged revision(s) d6a2bce64a7fa1099e507e1d36b5f1533f42f60f,c687be4bc01c9ce52ea990945d9304d6fe59fe9b. nagachika (Tomoyuki Chikanaga)
01:41 PM Revision 650c45dc (git): merge revision(s) d6a2bce64a7fa1099e507e1d36b5f1533f42f60f,c687be4bc01c9ce52ea990945d9304d6fe59fe9b: [Backport #16159]
time.c (find_time_t): fix round-to-zero bug
`find_time_t` did not work correctly for year older than the Epo...
nagachika (Tomoyuki Chikanaga)
10:26 AM Bug #9291 (Rejected): array splatting a nil works, but hash splatting a nil does not
Closing as it is by design. If you want the change, please open a feature request ticket with a use case. mame (Yusuke Endoh)
08:10 AM Bug #16426 (Third Party's Issue): error generating scaffold
Following log indicates that the SEGV happens inside of ffi.
> -- Control frame information ----------------------...
shyouhei (Shyouhei Urabe)
06:50 AM Feature #16428: Add Array#uniq?, Enumerable#uniq?
Following a suggestion of `Enumerable#uniq?`, I also added `Enumerable#uniq?` to my patch.
`Array#uniq?` is left bec...
kyanagi (Kouhei Yanagita)
05:02 AM Feature #16428: Add Array#uniq?, Enumerable#uniq?
I seem to member that many years ago, I made the same proposal, and Nobu created a patch, but unfortunately, I didn't... duerst (Martin Dürst)
05:53 AM Revision efbc0d49 (git): Merge bundler-2.1.1 from bundler/bundler
hsbt (Hiroshi SHIBATA)
05:38 AM Bug #16384: Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
I confirmed that the problem was fixed in cf948a3d3f and 2.7.0-rc1. Thank you for the fix! qnighy (Masaki Hara)
04:49 AM Bug #16384 (Closed): Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
could you try on current master? It was fixed.
40026a408d
ko1 (Koichi Sasada)
05:14 AM Revision fa7fa5c8 (git): delete rb_vm_call()
Nobody uses it any longer. shyouhei (Shyouhei Urabe)
05:14 AM Revision dcb603bb (git): describe mc_miss_reuse_call [ci skip]
shyouhei (Shyouhei Urabe)
04:35 AM Revision fcd8bafd (git): Use a temporary file for chown test
Errno::EROFS may occur when the source tree is placed in a
read-only filesystem.
nobu (Nobuyoshi Nakada)
04:30 AM Revision c147eeff (git): [ruby/io-console] Skip Interrupt test on Linux
Hangs up only in ruby/ruby on Travis-CI.
https://github.com/ruby/io-console/commit/de39aa6dd6
nobu (Nobuyoshi Nakada)
03:52 AM Revision f054f11a (git): per-method serial number
Methods and their definitions can be allocated/deallocated on-the-fly.
One pathological situation is when a method is...
shyouhei (Shyouhei Urabe)
03:07 AM Feature #14912: Introduce pattern matching syntax
How long is the current pattern matching expected to stay experimental before becoming stabilized? (And thanks for th... tjpalmer (Tom Palmer)
01:33 AM Revision 77e3078e (git): [ruby/io-console] Set raw mode strictly same as cfmakeraw
* Default VMIN and VTIME to minimum input.
* Disable parity check bits explicitly.
* Disable all bits for flow contro...
nobu (Nobuyoshi Nakada)
01:20 AM Feature #16430 (Rejected): Resultion of constants in enclosing class/module affected by how nested classes/modules are declared
It is by design. See "Scope" section of https://github.com/ruby/ruby/blob/master/doc/syntax/modules_and_classes.rdoc mame (Yusuke Endoh)
12:08 AM Feature #16430: Resultion of constants in enclosing class/module affected by how nested classes/modules are declared
What is the purpose of writing the code in three different files? It only looks to me that it is making things more c... sawa (Tsuyoshi Sawada)
12:11 AM Feature #16419: FrozenError.new ignores receiver:
I added this to https://bugs.ruby-lang.org/issues/16393 znz (Kazuhiro NISHIYAMA)
12:07 AM Misc #16393: DevelopersMeeting20191220Japan
* [Feature #16419] FrozenError.new ignores receiver: (znz)
* It seems that no one have strong opinion. So I want m...
znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom