Project

General

Profile

Activity

From 05/15/2020 to 05/21/2020

05/21/2020

09:50 PM Revision 79d9528d (git): Fixed potential memory leak
Create a wrapper object first, then buffer allocation which can
fail.
nobu (Nobuyoshi Nakada)
08:31 PM Misc #16802: Prefer use of RHS assigment in documentation
I'm also not a big fan, but even if it becomes official it's not a good idea documentation-wise as it currently disti... marcandre (Marc-Andre Lafortune)
07:09 PM Revision 38a4f617 (git): * 2020-05-22 [ci skip]
git[bot]
07:08 PM Revision a53e2850 (git): Unpin and update VM references
This commit just unpins and updates VM references tenderlovemaking (Aaron Patterson)
06:53 PM Bug #16900: Disposable call-cache introduced memory leak
Great report!
https://github.com/ruby/ruby/pull/3128
ko1 (Koichi Sasada)
04:16 PM Feature #16848: Allow callables in $LOAD_PATH
One concern we found is some scripts expect `$:` contains String objects which represent a path.
Typically some scrip...
ko1 (Koichi Sasada)
11:51 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
vo.x (Vit Ondruch) wrote in #note-8:
Upstream ticket: https://github.com/rubygems/rubygems/issues/3647
vo.x (Vit Ondruch)
11:31 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
vo.x (Vit Ondruch) wrote in #note-8:
Actually my original intention was to try this with disabled gems and it seem...
vo.x (Vit Ondruch)
11:29 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
BTW I don't understand how this could work:
~~~
$ for psych in psych{1..3}; do mkdir $psych; echo "puts '$psych'"...
vo.x (Vit Ondruch)
09:53 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
> What's wrong in Fedora?
Thank you for checking the issue on your environment.
In Fedora Ruby, there is no defau...
jaruga (Jun Aruga)
08:07 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
vo.x (Vit Ondruch) wrote in #note-4:
> Just FTR, the patch just hides this issue, it does not resolve it.
BTW thi...
vo.x (Vit Ondruch)
07:59 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
Also, I believe that call to `require 'psych'` should result to subsequent calls of `require 'psych'` to be no-op. Th... vo.x (Vit Ondruch)
07:56 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
What is wrong with Ruby?
~~~
$ ruby -v
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
$ gem env
Ruby...
vo.x (Vit Ondruch)
02:36 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
After installing psych 3.1.0, no error found.
What's wrong in Fedora?
```sh
$ for ruby in ruby2.{2..7}; do $ruby...
nobu (Nobuyoshi Nakada)
02:26 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
I can't see that error in 2.7 too.
```sh
$ for ruby in ruby2.{0..7}; do $ruby -rpsych -e 'p [RUBY_VERSION, Gem.lo...
nobu (Nobuyoshi Nakada)
06:26 AM Feature #16891: Restore Positional Argument to Keyword Conversion
A sole positional argument does in fact work, and I am a big fan of the pattern matching feature (enough that once we... ziggythehamster (Keith Gable)
12:58 AM Feature #16891: Restore Positional Argument to Keyword Conversion
Hi, @ziggythehamster, thank you for your feedback, and I'm sorry for troubling you.
In this case, I think you can ...
mame (Yusuke Endoh)
04:31 AM Revision ba7f4bb0 (git): Synchronized non-inline version rb_scan_args with the inline version
nobu (Nobuyoshi Nakada)
04:31 AM Revision 62b47196 (git): Added UNREACHABLE_RETURN
To get rid of a void function at the end of non-void function. nobu (Nobuyoshi Nakada)
04:27 AM Revision 3eb3f7bb (git): test/ruby/test_optimization.rb: Proc creation test should count :T_DATA
instead of :TOTAL of ObjectSpace.count_objects.
This test had failed very occasionally:
https://rubyci.org/logs/rub...
mame (Yusuke Endoh)
02:17 AM Bug #16903 (Closed): Compilation error on x86_64-cygwin
Applied in changeset commit:git|6f167da65b799435f94af3c5d39a80968e284f44.
----------
Fixed a variable name [Bug #169...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 6f167da6 (git): Fixed a variable name [Bug #16903]
Fix up of 0e3b0fcdba7
From: fd0 (Daisuke Fujimura)
nobu (Nobuyoshi Nakada)
12:58 AM Revision 43725c60 (git): rb_scan_args_set: make it slightly readable
This is a pure refactoring that improves understanding of what is going
on. Not a big win though.
shyouhei (Shyouhei Urabe)

05/20/2020

11:08 PM Bug #16900: Disposable call-cache introduced memory leak
Using the following program, I have determined that Ruby isn't leaking objects according to `ObjectSpace.count_object... jeremyevans0 (Jeremy Evans)
12:27 AM Bug #16900 (Closed): Disposable call-cache introduced memory leak
commit:b9007b6c548f91e88fd3f2ffa23de740431fa969 (Introduce disposable call-cache) introduced a memory leak for classe... jeremyevans0 (Jeremy Evans)
10:57 PM Revision 140d4e4a (git): [ci skip] Enhanced rdoc for Hash (#3121)
burdettelamar (Burdette Lamar)
10:57 PM Bug #8446 (Assigned): sdbm fails to fetch existing key if many elements in it
I'm +1 to stop to ship with the next stable release.
The users could install from rubygems or http://github.com/r...
hsbt (Hiroshi SHIBATA)
04:57 PM Bug #8446: sdbm fails to fetch existing key if many elements in it
It looks like other people using sdbm are experiencing the same issue: https://www.reddit.com/r/ruby/comments/gneh4r/... jeremyevans0 (Jeremy Evans)
10:00 PM Revision 6e7e7c1e (git): Only marked objects should be considered movable
Ruby's GC is incremental, meaning that during the mark phase (and also
the sweep phase) programs are allowed to run. ...
tenderlovemaking (Aaron Patterson)
08:49 PM Bug #16905: Ruby required to build Ruby on Haiku?
shevegen (Robert A. Heiler) wrote in #note-2:
> This could perhaps be a bug. I think you can normally build "minirub...
extrowerk (Zoltán Mizsei)
07:07 PM Bug #16905: Ruby required to build Ruby on Haiku?
This could perhaps be a bug. I think you can normally build "miniruby"
if a base ruby is not available on the comput...
shevegen (Robert A. Heiler)
05:55 PM Bug #16905: Ruby required to build Ruby on Haiku?
**make distclean** doesn't solved the problem. extrowerk (Zoltán Mizsei)
05:55 PM Bug #16905 (Open): Ruby required to build Ruby on Haiku?
Building Ruby on Haiku results in the following error:
```
executable host ruby is required. use --with-baseruby ...
extrowerk (Zoltán Mizsei)
08:29 PM Feature #16891: Restore Positional Argument to Keyword Conversion
A use case that seems to have been forgotten that I want to explicitly point out (and I'm not sure if this is the tic... ziggythehamster (Keith Gable)
08:28 PM Feature #14722: python's buffer protocol clone
Any thoughts on this? This would help to use views of numo_narray and NMatrix without copying to/from ruby. See http... dsisnero (Dominic Sisneros)
06:17 PM Revision a3e79c17 (git): * 2020-05-21 [ci skip]
git[bot]
06:16 PM Revision 891e253e (git): Use a pinning list for keeping objects alive during assembly.
The GC will not disassemble incomplete instruction sequences. So it is
important that when instructions are being as...
tenderlovemaking (Aaron Patterson)
06:04 PM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
The error does not happen in Ruby 2.6.
So, it's great if it is backported to Ruby 2.7.
jaruga (Jun Aruga)
02:09 PM Bug #16904 (Closed): rubygems: psych: superclass mismatch for class Mark (TypeError)
Is it possible to backport the following commits into Ruby?
Remove explicit `psych` activation
https://github.com...
jaruga (Jun Aruga)
02:22 PM Revision ff58cbce (git): add static modifer for rb_hash_fetch_values func
S_H_ (Shun Hiraoka)
01:29 PM Bug #16903 (Closed): Compilation error on x86_64-cygwin
Compilation error on x86_64-cygwin.
```
compiling io.c
io.c: In function 'rb_cloexec_pipe':
io.c:412:9: error: ...
fd0 (Daisuke Fujimura)
11:05 AM Bug #16902 (Rejected): Enumerable#group_by invalid key object
16 and 17 call `moo` method on different objects.
`Hash`s store frozen copies of `String` keys, otherwise if a key g...
nobu (Nobuyoshi Nakada)
10:13 AM Bug #16902 (Rejected): Enumerable#group_by invalid key object
I actually want to group by a customized string object and it seems to be ignored. I've tested this with ruby 2.5 and... tonobo (Tim Foerster)
08:32 AM Bug #16901 (Closed): `-W:no-deprecated` does not stop some deprecated warnings
nagachika (Tomoyuki Chikanaga)
08:31 AM Bug #16901: `-W:no-deprecated` does not stop some deprecated warnings
Thank you for the patch for 2.7. I will fill Backport field and close this ticket to be noticed as backport ticket. nagachika (Tomoyuki Chikanaga)
05:30 AM Bug #16901: `-W:no-deprecated` does not stop some deprecated warnings
Sorry, it's for 2.7.
It should be in ruby/ruby.h, near `rb_warn` and so on.
nobu (Nobuyoshi Nakada)
05:27 AM Bug #16901: `-W:no-deprecated` does not stop some deprecated warnings
znz (Kazuhiro NISHIYAMA) wrote:
> I don't know where declaration of `rb_warn_deprecated` should be.
include/ruby/...
nobu (Nobuyoshi Nakada)
03:00 AM Bug #16901 (Closed): `-W:no-deprecated` does not stop some deprecated warnings
```
$ ruby -v -W:no-deprecated -e 'IO.read(IO::NULL,{dummy:0})'
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86...
znz (Kazuhiro NISHIYAMA)
01:52 AM Revision 2480ef90 (git): pure_parser.rb: get rid of an error at localed messages
nobu (Nobuyoshi Nakada)
01:29 AM Revision 67d259c5 (git): Use __bultin_assume() from clang-7
We observed combination of multiple __builtin_assume() can cause
strange compile results on clang-6 (-DNDEBUG exposed...
ko1 (Koichi Sasada)
01:22 AM Revision a6403091 (git): * 2020-05-20 [ci skip]
git[bot]

05/19/2020

09:41 PM Bug #16852: Refining Enumerable fails with ruby 2.7
I can confirm this bug. It was introduced in commit:a0579f3606561a74e323f6193b9504c06845236c, which fixed prepending... jeremyevans0 (Jeremy Evans)
08:15 PM Feature #16848: Allow callables in $LOAD_PATH
> In other words should the "omitted extension" handling be done inside or outside of the resolver?
In my opinion ...
byroot (Jean Boussier)
03:40 PM Feature #16848: Allow callables in $LOAD_PATH
I really love this idea; it's simple yet powerful. I do have a few questions though.
1) How would this API handle .r...
Dan0042 (Daniel DeLorme)
01:09 PM Revision feb8dc55 (git): Include wchar.h before wrapping memchr
On mingw, wmemcpy() is defined as an inline function using
memcpy(), and the static inline wrapper causes a warning.
...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #16891: Restore Positional Argument to Keyword Conversion
Instead of restoring all positional hash argument to keyword argument conversion, how about adding new implicit maybe... kamipo (Ryuta Kamizono)
03:56 AM Feature #16891: Restore Positional Argument to Keyword Conversion
> Assuming we did not remove ruby2_keywords until a equally efficient replacement exists (which I'm assuming will be ... sam.saffron (Sam Saffron)
03:19 AM Feature #16891: Restore Positional Argument to Keyword Conversion
Dan0042 (Daniel DeLorme) wrote in #note-12:
> An idea: it may be worth sub-dividing "Positional Hash Argument to Key...
jeremyevans0 (Jeremy Evans)
01:43 AM Feature #16891: Restore Positional Argument to Keyword Conversion
An idea: it may be worth sub-dividing "Positional Hash Argument to Keyword Argument Conversion" into
### a) Overflow...
Dan0042 (Daniel DeLorme)
01:07 AM Feature #16891: Restore Positional Argument to Keyword Conversion
sam.saffron (Sam Saffron) wrote in #note-10:
> I agree many gems already work, but we have built ourselves a time bom...
jeremyevans0 (Jeremy Evans)
12:21 AM Feature #16891: Restore Positional Argument to Keyword Conversion
I agree many gems already work, but we have built ourselves a time bomb here.
`ruby2_keywords` is certainly going to...
sam.saffron (Sam Saffron)
08:49 AM Bug #16780 (Closed): Net::FTP PUT command issuing Net::ReadTimeout too quickly
Applied in changeset commit:git|5e81e8675a020ecd493620a4ff38db8fcf4b972a.
----------
Ignore exceptions when closing ...
shugo (Shugo Maeda)
08:45 AM Bug #16780: Net::FTP PUT command issuing Net::ReadTimeout too quickly
koshigoe (Masataka SUZUKI) wrote in #note-3:
> The `Net::FTP#close` suppresses exception about `Socket#shutdown` and...
shugo (Shugo Maeda)
08:48 AM Revision 5e81e867 (git): Ignore exceptions when closing data connections [Bug #16780]
Patch by koshigoe (Masataka SUZUKI). Thanks! shugo (Shugo Maeda)
06:22 AM Revision 1f063abb (git): add static modifier to rb_ary_aref2 func
S_H_ (Shun Hiraoka)
03:59 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
Alternative proposal
```ruby
def bar(*args, **kwargs)
end
def foo(*args)
bar(*args)
args
end
args = foo(1, ...
sam.saffron (Sam Saffron)
02:47 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
Expanded proposal:
```ruby
def foo(...args)
bar(...)
args
end
args = foo(1, 2, {1 => 2}, a: 7, b: 9)
args.c...
sam.saffron (Sam Saffron)
03:54 AM Revision 79292b30 (git): Make builtin loader sources by Ripper
nobu (Nobuyoshi Nakada)
03:16 AM Feature #16791: Shortcut for Process::Status.exitstatus
nobu (Nobuyoshi Nakada) wrote in #note-7:
> That executes `exit(nil)` and results in `TypeError`.
Ah, interesting, I...
Dan0042 (Daniel DeLorme)
02:02 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
I get your point. But to my eyes, `==>` is even uglier. It's easily confused with other operators which do not corres... matz (Yukihiro Matsumoto)

05/18/2020

11:57 PM Revision 6efb9fe0 (git): Allow references stored in the VM stack to move
We can update these references too, so lets allow them to move. tenderlovemaking (Aaron Patterson)
10:51 PM Bug #16811 (Closed): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont
jeremyevans0 (Jeremy Evans)
10:47 PM Bug #16831 (Closed): Running `Pathname#glob` with `File::FNM_DOTMATCH` option loses `.` and `..`
jeremyevans0 (Jeremy Evans)
10:46 PM Bug #16834 (Closed): rb_profile_frame_classpath only recognize class singleton methods, not module singleton methods
jeremyevans0 (Jeremy Evans)
10:44 PM Feature #16838: Enumerator::ArithmeticSequence missing allocator for #clone and #dup
`ArithmeticSequence.new` and `ArithmeticSequence.allocate` being undefined was definitely a deliberate change in comm... jeremyevans0 (Jeremy Evans)
10:37 PM Bug #16840: Decrease in Hash#[]= performance with object keys
Running your example code, I see a speedup between 2.5 and 2.6, but a slowdown in 2.7 and in master.
```
ruby 2.5...
jeremyevans0 (Jeremy Evans)
05:32 PM Misc #16775: DevelopersMeeting20200514Japan
mame wrote:
> [...] We'll hold an extra meeting at 26th.
\o/
shevegen (Robert A. Heiler)
03:59 PM Revision 9ee66d2b (git): * 2020-05-19 [ci skip]
git[bot]
03:58 PM Revision 6c1a51da (git): Skip some tests if extracted from tarball (again)
Fix up previous commit
ref
9aa75795f9f438d5c874d8e418c3c7cdd63024fa,
38002a8adbd98266426940d829429a30af0622a4, and
0...
znz (Kazuhiro NISHIYAMA)
03:41 PM Feature #16894: Integer division for Ruby 3
I am not necessarily against such a change per se, but I think it would come with a
high cost right now. It should pe...
shevegen (Robert A. Heiler)
02:45 PM Feature #16891: Restore Positional Argument to Keyword Conversion
sam.saffron (Sam Saffron) wrote in #note-8:
> To me the big question @matz needs to answer is "do we want gems to wor...
jeremyevans0 (Jeremy Evans)
07:10 AM Feature #16891: Restore Positional Argument to Keyword Conversion
To me the big question @matz needs to answer is "do we want gems to work on both 3.X and 2.X?"
Personally I 100% su...
sam.saffron (Sam Saffron)
02:18 PM Revision 1f011ccc (git): Skip some tests if extracted from tarball (again)
ref 9aa75795f9f438d5c874d8e418c3c7cdd63024fa znz (Kazuhiro NISHIYAMA)
12:25 PM Revision 185f49f9 (git): Fixed RDoc formatting [ci skip]
nobu (Nobuyoshi Nakada)
08:42 AM Revision cf31e980 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
08:36 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
Maybe my expression has some problems, sorry, it has been modified, in fact, what I want to say is that the existing ... jackmaple (maple jack)
01:19 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
Not going to join the ugliness debate but I doubt if the proposed new syntax technically possible. It would be much ... shyouhei (Shyouhei Urabe)
06:42 AM Revision 3bada920 (git): Simplify maybe_special_const_class_p
k0kubun (Takashi Kokubun)
06:38 AM Revision b16a2aa9 (git): Reduce code size for rb_class_of
by inlining only hot path.
=== mame/optcarrot ===
$ benchmark-driver -v --rbenv 'before --jit;after --jit' benchmar...
k0kubun (Takashi Kokubun)
05:39 AM Revision afd84c58 (git): Document how to enable USDT method entry/exit tracepoints
Avdi Grimm
05:21 AM Revision 0e5a58b6 (git): Mark some JIT-ed functions as COLDFUNC
Put some functions which are unlikely to be called on JIT in
.text.unlikely section to improve hot code's locality.
k0kubun (Takashi Kokubun)
03:42 AM Revision c0cd474d (git): Prefer dedicated enum over int
nobu (Nobuyoshi Nakada)
03:40 AM Revision acf61e85 (git): * 2020-05-18 [ci skip]
git[bot]
03:28 AM Revision b02c10b2 (git): built-in method call must not have a receiver
nobu (Nobuyoshi Nakada)
01:44 AM Feature #16899: Add method `Array#both_end`
Thanks for feedbacks.
shan (Shannon Skipper) wrote in #note-1:
> I think #both_ends reads better in the plural fo...
S_H_ (Shun Hiraoka)
12:59 AM Feature #16899: Add method `Array#both_end`
Why not start as a gem? There are things not possible without core changes, but it seems this requested feature need... shyouhei (Shyouhei Urabe)
12:38 AM Misc #16805: Coroutine's license is unclear
Looks good to me. shyouhei (Shyouhei Urabe)
12:21 AM Bug #16780: Net::FTP PUT command issuing Net::ReadTimeout too quickly
I'm facing the same problem.
The `Net::FTP#close` suppresses exception about `Socket#shutdown` and `Socket#read`.
...
koshigoe (Masataka SUZUKI)

05/17/2020

11:04 PM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
matz (Yukihiro Matsumoto) wrote in #note-3:
> "Ugliness is in the eye of the beholder". Could you explain why the cur...
jackmaple (maple jack)
09:50 PM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
matz (Yukihiro Matsumoto) wrote in #note-3:
> "Ugliness is in the eye of the beholder".
``` ruby
-> (;x) { x = 1...
0x81000000 (/ /)
06:03 PM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
To me, this
``` ruby
-> lightness { lightness }
```
Is prettier than
```ruby
lambda { |lightness| lightne...
shan (Shannon Skipper)
07:55 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
"Ugliness is in the eye of the beholder". Could you explain why the current syntax is ugly?
In any case, if we cha...
matz (Yukihiro Matsumoto)
06:04 AM Feature #16898 (Open): Modify the syntax of -> lambda expressions in ruby3
Hello ruby team.
Can we modify the syntax of lambda expressions in ruby3?
The current definition of lambda expressi...
jackmaple (maple jack)
09:21 PM Feature #16899: Add method `Array#both_end`
I think `ary.values_at(0,-1)` does the job pretty well. Dan0042 (Daniel DeLorme)
06:33 PM Feature #16899: Add method `Array#both_end`
I think #first_last would be a better name as well; primary reason being that we
already have #first and #last.
I...
shevegen (Robert A. Heiler)
05:54 PM Feature #16899: Add method `Array#both_end`
I think #both_ends reads better in the plural form. Or #first_last harkens to #min_max and is unambiguous. Other opti... shan (Shannon Skipper)
04:51 PM Feature #16899 (Open): Add method `Array#both_end`
Add a method that gets both the first and the last elements of an array: `Array#both_end`.
## Current Status
So...
S_H_ (Shun Hiraoka)
06:57 PM Feature #16894: Integer division for Ruby 3
I'd really rather not deal with Floats unless absolutely necessary.
Raku (Perl 6) and Clojure's default division t...
shan (Shannon Skipper)
04:04 PM Feature #16891: Restore Positional Argument to Keyword Conversion
IMHO, Update from ruby 2 to ruby 3, it should be a BIG major version, it was expected to breaking some things, right?... zw963 (Wei Zheng)
03:44 AM Feature #16891: Restore Positional Argument to Keyword Conversion
> You could argue that we could remove non-symbol keyword arguments in 2.7.2, but I think that change is way too larg... marcandre (Marc-Andre Lafortune)
12:01 PM Revision fa7addeb (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
10:26 AM Revision 9f18b139 (git): [ruby/reline] Add a test of autowrap for yamatanooroti
https://github.com/ruby/reline/commit/38676ba8c2 aycabta (aycabta .)
10:26 AM Revision f56e05fa (git): [ruby/reline] Remove unnecessary TODO commnet
https://github.com/ruby/reline/commit/23c67fb7b3 aycabta (aycabta .)
10:26 AM Revision fc2a121c (git): [ruby/reline] If history-size isn't numeric, it should be 500
https://tiswww.case.edu/php/chet/readline/readline.html#IDX25
> If an attempt is made to set history-size to a non-n...
aycabta (aycabta .)
10:26 AM Revision dc0cdf43 (git): [ruby/irb] Version 1.2.4
https://github.com/ruby/irb/commit/d7c5fb0273 aycabta (aycabta .)
10:03 AM Revision bd8aa047 (git): Removed useless implementation tests
nobu (Nobuyoshi Nakada)
09:34 AM Bug #16852: Refining Enumerable fails with ruby 2.7
hi.
Thanks for issues :)
I got the same error when `include M` after `refine M`.
```ruby
module M; end
class...
osyo (manga osyo)
09:10 AM Revision dc57136f (git): Removed PRNG implementation details from the test
nobu (Nobuyoshi Nakada)
09:01 AM Revision 6e7551a5 (git): * 2020-05-17 [ci skip]
git[bot]
08:59 AM Bug #16680: Symlink folder in $LOAD_PATH does not work with autoload
Eregon (Benoit Daloze) wrote in #note-3:
> One issue is that `$LOAD_PATH` entries might not necessarily exist.
So...
zw963 (Wei Zheng)
07:34 AM Revision 968d6df4 (git): Added --test-order=nosort option
Run tests in the order given in the command line. nobu (Nobuyoshi Nakada)

05/16/2020

06:21 PM Feature #16891: Restore Positional Argument to Keyword Conversion
Dan0042 (Daniel DeLorme) wrote in #note-1:
> IMHO there's one consideration that's more important than all others. T...
jeremyevans0 (Jeremy Evans)
08:37 AM Revision 2c3c6c96 (git): Defer initialization
Defer initialization of extension libraries, loading prelude files
and requiring files, and skip if dump options are ...
nobu (Nobuyoshi Nakada)
08:36 AM Revision 9e67a38f (git): Fallback to built-in UTF-8 for miniruby
Source code encoding is defaulted to UTF-8 now too. nobu (Nobuyoshi Nakada)
08:35 AM Revision 8c3a60df (git): leakchecker.rb: show test name
When multiple autoclose IO objects are leaked too. nobu (Nobuyoshi Nakada)
08:28 AM Feature #16781: alias :fold :reduce
shan (Shannon Skipper) wrote in #note-2:
> I was surprised to hear this, since I think of "reduce" as most popular.
...
0x81000000 (/ /)
08:20 AM Misc #16775: DevelopersMeeting20200514Japan
We've hold a dev-meeting at 14th, but could go through only half topics. We'll hold an extra meeting at 26th.
Log...
mame (Yusuke Endoh)
06:30 AM Feature #16894: Integer division for Ruby 3
The following is meant to be an objective assessment of the proposal, taking no stand on approval, or not.
The pro...
jzakiya (Jabari Zakiya)
03:26 AM Feature #16894: Integer division for Ruby 3
Just FYI, I've made these patches for division recently.
https://github.com/ruby/ruby/compare/master...nobu:feature/...
nobu (Nobuyoshi Nakada)
01:43 AM Feature #16894: Integer division for Ruby 3
fwiw, array indexing code likely wouldn't need changed.
``` ruby
a = ["zero", "one", "two"]
a[1/2] # "zero"
a...
ankane (Andrew Kane)
01:35 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
Yes I can get this to work with hacks like this:
```ruby
def memoize_26(method_name)
cache = {}
uncached = "#{m...
sam.saffron (Sam Saffron)
12:25 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
You should be able to have similar performance by using `ruby2_keywords` and keeping the method definition the same. ... jeremyevans0 (Jeremy Evans)
12:14 AM Feature #16897 (Open): General purpose memoizer in Ruby 3 with Ruby 2 performance
```ruby
require 'benchmark/ips'
module Memoizer
def memoize_26(method_name)
cache = {}
uncached = "#{met...
sam.saffron (Sam Saffron)

05/15/2020

11:51 PM Misc #16895: Request for cooperation: Try your applications/libraries with master branch and debug options
Make first paragraph read a bit better. ioquatix (Samuel Williams)
11:47 PM Misc #16895: Request for cooperation: Try your applications/libraries with master branch and debug options
Updated from latest edits. ioquatix (Samuel Williams)
02:36 PM Misc #16895: Request for cooperation: Try your applications/libraries with master branch and debug options
Samuel and Eregon rewrote a description. Thank you! ko1 (Koichi Sasada)
09:13 AM Misc #16895 (Closed): Request for cooperation: Try your applications/libraries with master branch and debug options
## Summary
If you maintain a Ruby application or library, please consider testing with the Ruby `master` branch, i...
ko1 (Koichi Sasada)
10:08 PM Feature #16894: Integer division for Ruby 3
IMHO this is completely unrealistic for compatibility, and very clearly not worth breaking all the code (even more so... Eregon (Benoit Daloze)
05:39 PM Feature #16894: Integer division for Ruby 3
> It'd be great if division in Ruby matched what we all learned in school.
In my time it was C++ or Java at school...
NuriYuri (Youri Nouri)
03:34 PM Feature #16894: Integer division for Ruby 3
I was just pointing out that other languages recognized this issue and only fairly recently chose to make syntax chan... jzakiya (Jabari Zakiya)
09:52 AM Feature #16894: Integer division for Ruby 3
Here's a good read on the thoughts and motivation behind Python changing it: https://www.python.org/dev/peps/pep-0238/ ankane (Andrew Kane)
09:22 AM Feature #16894: Integer division for Ruby 3
jzakiya (Jabari Zakiya) wrote in #note-7:
> Ruby already has ``a.div b`` for explicit integer division.
Thanks, I ha...
sawa (Tsuyoshi Sawada)
08:43 AM Feature #16894: Integer division for Ruby 3
jzakiya (Jabari Zakiya) wrote in #note-7:
> Ruby already has ``a.div b`` for explicit integer division.
Also `a.q...
nobu (Nobuyoshi Nakada)
06:38 AM Feature #16894: Integer division for Ruby 3
Ruby already has ``a.div b`` for explicit integer division.
Nim also uses ``a div b`` for integer division.
Cry...
jzakiya (Jabari Zakiya)
04:39 AM Feature #16894: Integer division for Ruby 3
Thanks for the responses!
Re 0.5 vs 1/2r: In my experience, developers use floats way more than rationals.
Re "...
ankane (Andrew Kane)
04:04 AM Feature #16894: Integer division for Ruby 3
What would you do when you want integer division? Have you thought of it? ~~`(a / b).round`~~ `(a / b).floor`is not a... sawa (Tsuyoshi Sawada)
03:43 AM Feature #16894: Integer division for Ruby 3
> 1) Why 0.5 and not 1/2r
I'm for 1/2r.
naruse (Yui NARUSE)
03:42 AM Feature #16894: Integer division for Ruby 3
I would bet that a majority of Rubyists would agree that `1/2 == 0` is an unfortunate choice. Either `0.5` or `1/2r` ... marcandre (Marc-Andre Lafortune)
03:29 AM Feature #16894: Integer division for Ruby 3
Sorry, for the edits, first issue! Changed normal to floating point. ankane (Andrew Kane)
03:20 AM Feature #16894 (Assigned): Integer division for Ruby 3
Hi Ruby team,
It'd be great if division in Ruby matched what we all learned in school.
``` ruby
1 / 2 == 0.5
...
ankane (Andrew Kane)
09:14 PM Revision cc525d76 (git): [ci skip] Enhanced rdoc for String.new (#3067)
* Per @nobu review
* Enhanced rdoc for String.new
* Respond to review
burdettelamar (Burdette Lamar)
09:12 PM Revision 24739c62 (git): [ci skip] Rdoc enhancements for Array (#3063)
* Per @nobu review
* Rdoc enhancements for Array
* Responses to review
burdettelamar (Burdette Lamar)
09:12 PM Revision a3cd0152 (git): * 2020-05-16 [ci skip]
git[bot]
09:11 PM Revision d4698079 (git): [CI skip] Enhance rdoc intro for Hash (#3056)
* Per @nobu review
* [CI skip] Enhance rdoc intro for Hash
* Tweak call-seq for Hash.new
* Tweak call-seq for Hash...
burdettelamar (Burdette Lamar)
08:26 PM Feature #16791: Shortcut for Process::Status.exitstatus
Dan0042 (Daniel DeLorme) wrote in #note-6:
> `exec` only works as a tail-call at the end of the script. Most of the ...
0x81000000 (/ /)
07:38 PM Bug #16896 (Closed): MakeMakefile methods should be private
Right now they are public, and since mkmf.rb does `include MakeMakefile` it defines a lot of public methods on all ob... Eregon (Benoit Daloze)
03:06 PM Feature #16786: Light-weight scheduler for improved concurrency.
Hi, I am a Ruby user that would probably vote for
``` ruby
Fiber do
end
```
only if I see the poll back then.
...
midnight (Sarun R)
03:10 AM Feature #16786: Light-weight scheduler for improved concurrency.
@ioquatix I was well represented by Martin-sensei (@duerst).
The fiber created by `Fiber() do ...end` does context-s...
matz (Yukihiro Matsumoto)
02:41 PM Bug #16853: calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
@sylvain.joyeux
Hi! I read [your comment in the discuss RubyOnRails](https://discuss.rubyonrails.org/t/new-2-7-3-...
mame (Yusuke Endoh)
11:20 AM Feature #16891: Restore Positional Argument to Keyword Conversion
First of all, I'm really sorry for bothering many people about this change. And I'd like to really thank you @jeremy... mame (Yusuke Endoh)
04:03 AM Feature #16891: Restore Positional Argument to Keyword Conversion
Dan0042 (Daniel DeLorme) wrote in #note-1:
> Also I believe there's a fifth aspect that deserves consideration for r...
marcandre (Marc-Andre Lafortune)
03:45 AM Feature #16891: Restore Positional Argument to Keyword Conversion
Dan0042 (Daniel DeLorme) wrote in #note-1:
> ## Non-Symbol Keyword Argument
>
> Previously one could trust that `foo...
sawa (Tsuyoshi Sawada)
01:23 AM Feature #16891: Restore Positional Argument to Keyword Conversion
IMHO there's one consideration that's more important than all others. The following code _must_ work in ruby 2.8/3.0
...
Dan0042 (Daniel DeLorme)
08:45 AM Revision a9b2014d (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
07:35 AM Bug #16854 (Closed): Using (...) when the method name is a keyword generates error
Applied in changeset commit:git|71c166e11e761dcaaa943f9b94da38f86ada1bdb.
----------
Fixed argument forwarding in re...
nobu (Nobuyoshi Nakada)
06:00 AM Bug #16854: Using (...) when the method name is a keyword generates error
It results in a syntax error, right?
https://github.com/ruby/ruby/pull/3112
nobu (Nobuyoshi Nakada)
05:59 AM Revision 71c166e1 (git): Fixed argument forwarding in reserved word method [Bug #16854]
nobu (Nobuyoshi Nakada)
05:54 AM Revision e89b8750 (git): fix for multi-run test.
TestAutoload#test_source_location can't run multiple test-run so
that use assert_separately().
repro command:
make y...
ko1 (Koichi Sasada)
02:12 AM Misc #16893 (Closed): Create Rosetta Code page on website
I've been doing some [Rosetta Code](http://rosettacode.org/wiki/Rosetta_Code) tasks recently, and thought it would be... jzakiya (Jabari Zakiya)
01:26 AM Bug #16892 (Closed): Reconsider the test directory name for scheduler
Applied in changeset commit:git|6fa8455ebbf457e5d8752295a8d6380146636c0c.
----------
Move `test/scheduler` -> `test/...
Anonymous
12:22 AM Bug #16892: Reconsider the test directory name for scheduler
I am happy to move it to `test/fiber`. ioquatix (Samuel Williams)
12:14 AM Bug #16892 (Closed): Reconsider the test directory name for scheduler
`test/scheduler` is broke the convention of test directory. We use only `class` or `module` name excepts `ruby` and `... hsbt (Hiroshi SHIBATA)
01:26 AM Revision 6fa8455e (git): Move `test/scheduler` -> `test/fiber` [Bug #16892][ruby-core:98366].
Samuel Williams
12:08 AM Misc #16890 (Rejected): [Ruby Keywords and Ruby 3.0 release] Feedback to matz and the ruby core team
You should comment it to https://discuss.rubyonrails.org/t/new-2-7-3-0-keyword-argument-pain-point/
We are going t...
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom