Project

General

Profile

Activity

From 05/21/2020 to 05/27/2020

05/27/2020

11:23 PM Feature #16848: Allow callables in $LOAD_PATH
byroot (Jean Boussier) wrote in #note-21:
> I'm afraid that's a dead link.
I fixed the link on Redmine.
Eregon (Benoit Daloze)
05:00 PM Feature #16848: Allow callables in $LOAD_PATH
> `$LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir)`
That specific case would degrade properly. Assuming th...
byroot (Jean Boussier)
04:16 PM Feature #16848: Allow callables in $LOAD_PATH
> not sure what you mean by that. Like right now you can ` $LOAD_PATH.unshift(Object.new)` and it won't break `$LOAD_... Dan0042 (Daniel DeLorme)
11:05 PM Bug #16608: ConditionVariable#wait should return false when timeout exceeded
I agree with @Eregon that we can probably change the return value of ConditionVariable#wait in Ruby 3. As it always ... jeremyevans0 (Jeremy Evans)
10:13 PM Bug #16653 (Rejected): Weird behaviour of Resolv module
I've looked into this more. The underlying cause is that Resolv expects nameservers to be specified as IP addresses,... jeremyevans0 (Jeremy Evans)
09:19 PM Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
I think it's worth mentioning nobu's comment from the dev meeting:
> have wanted to deprecate that behavior for year...
Dan0042 (Daniel DeLorme)
01:34 PM Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
@sawa, for your "use-case", `line.split(/ /, 2)` is far better than `line.split(" ", 2, literal: true)`, I think, no ... matz (Yukihiro Matsumoto)
04:59 AM Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
I have a particular use case. I was creating a file that describes UTF-8 characters, which included lines like this:
...
sawa (Tsuyoshi Sawada)
04:52 AM Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
Dan0042 (Daniel DeLorme) wrote in #note-10:
> That optimization is nice to have, but I think the point of this ticket...
sawa (Tsuyoshi Sawada)
08:43 PM Bug #16841 (Feedback): Some syntax errors are thrown from compile.c
This doesn't seem to be a bug, it is by design. Trying to move all syntax errors into the parser is probably too dif... jeremyevans0 (Jeremy Evans)
08:16 PM Misc #16916 (Closed): [Documentation] Method: Net::HTTPHeader#set_form
Applied in changeset commit:git|fa380208fe4ef36cd6a8535d3ac43e61c7935f1c.
----------
Improve documentation for Net::...
jeremyevans (Jeremy Evans)
08:13 PM Revision fa380208 (git): Improve documentation for Net::HTTPHeader#set_form [ci skip]
Fixes [Misc #16916] jeremyevans (Jeremy Evans)
07:07 PM Feature #16828: Introduce find patterns
From the implementation linked above:
```ruby
case [0, 1, 2]
in [*, a, *]
p a #=> 0; non-greedy match
end
...
Dan0042 (Daniel DeLorme)
12:09 AM Feature #16828: Introduce find patterns
Accepted. But we have to clarify the term "backtracking" here. It does backtrack but not with a guard, right?
Matz.
matz (Yukihiro Matsumoto)
12:07 AM Feature #16828: Introduce find patterns
Suppose we have the following code:
```
json = {name: "Alice", children: [{name: "Bob", age: 6}, {name: "Chad", age...
matz (Yukihiro Matsumoto)
06:08 PM Bug #16695: Stack consistency error when using the return value
Through trial and error, I've determined this is caused by the branchif/branchnil/branchunless optimization, self des... jeremyevans0 (Jeremy Evans)
05:20 PM Feature #12901: Anonymous functions without scope lookup overhead
Can we visit this again which if we go with 1:) add a new construct we could solve https://bugs.ruby-lang.org/issues/... dsisnero (Dominic Sisneros)
03:15 PM Revision 9cfef5b4 (git): * 2020-05-28 [ci skip]
git[bot]
03:13 PM Revision 93ccb8e8 (git): Remove platform directory when distclean or more [ci skip]
At the time of clean-platform, platform directory may not be empty
because of parallel build.
nobu (Nobuyoshi Nakada)
02:46 PM Revision 6dbc3a28 (git): autoconf may not be available
nobu (Nobuyoshi Nakada)
02:31 PM Revision 139839b8 (git): [ci skip] Enhanced Rdoc for Hash (#3143)
* Enhanced Rdoc for Hash
* Respond to review
* Nudge CI testing.
Respond to review
burdettelamar (Burdette Lamar)
02:12 PM Feature #16847 (Closed): Cache instruction sequences by default
jeremyevans0 (Jeremy Evans)
10:39 AM Feature #16847: Cache instruction sequences by default
> We'd rather improve Bootsnap if they need support from the core.
Ok. Then we can close this issue.
That part ...
byroot (Jean Boussier)
12:12 AM Feature #16847: Cache instruction sequences by default
I am negative. Cacheing compiled binary caused a lot of problems in Python, especially with multiple versions install... matz (Yukihiro Matsumoto)
08:41 AM Revision 083a17a8 (git): Carve out mjit_exec_slowpath
and mark it as COLDFUN on JIT, assuming enqueue usually happens on VM. k0kubun (Takashi Kokubun)
06:48 AM Revision a3f498e4 (git): Fix max, min, minmax documentation (#3131)
They only need that all objects implement <=>,
but the documentation said it needs Comparable.
pocke (Masataka Kuwabara)
06:46 AM Revision 752041ca (git): Update Enumerable::Yielder#to_proc document (#3142)
pocke (Masataka Kuwabara)
06:37 AM Revision 64c5bf57 (git): Fix non-existent method reference in Enumerator.produce document (#3141)
pocke (Masataka Kuwabara)
06:24 AM Revision 9d71373c (git): Mark vm_stackoverflow as NOINLINE COLDFUNC on JIT
to reduce code size and improve locality of hot code. k0kubun (Takashi Kokubun)
06:01 AM Revision 61b14bb3 (git): Eliminate a call instruction on JIT cancel path
by calling combined functions specialized for each cancel type.
I'm hoping to improve locality of hot code, but this...
k0kubun (Takashi Kokubun)
05:30 AM Revision 4cabd77e (git): Removed a trailing space [ci skip]
nobu (Nobuyoshi Nakada)
04:13 AM Revision 0f8b5819 (git): Merged recipes for the same target
nobu (Nobuyoshi Nakada)
03:40 AM Revision 51fa4c9f (git): Removed obsolete forwarding DLL recipe
It has never been created by default, and no reason to keep binary
compatibility against extension libraries for ruby...
nobu (Nobuyoshi Nakada)
02:26 AM Revision 0fcb2dd5 (git): add static modifier for rb_str_ord func
S_H_ (Shun Hiraoka)

05/26/2020

11:56 PM Feature #15771 (Feedback): Add `String#split` option to set `split_type string` with a single space separator
I get the point, but we still need a concrete use-case. (Unlike tabs and commas) Space-separated CSV is not common, a... matz (Yukihiro Matsumoto)
10:48 PM Bug #16823 (Closed): Bundler related manual pages are corrupted
Applied in changeset commit:git|e0b40ef5d8173aff304c81f93516e1246e3c042c.
----------
Don't convert bundler man pages...
jeremyevans (Jeremy Evans)
09:06 PM Bug #16823: Bundler related manual pages are corrupted
I've confirmed this bug and submitted a pull request to fix it: https://github.com/ruby/ruby/pull/3147 jeremyevans0 (Jeremy Evans)
10:47 PM Revision e0b40ef5 (git): Don't convert bundler man pages from mdoc to man
These man pages are already in man format and assuming they are
mdoc format breaks things.
Fixes [Bug #16823]
jeremyevans (Jeremy Evans)
10:37 PM Bug #16695: Stack consistency error when using the return value
This is due to a bug in the optimizer. Adding `return COMPILE_OK;` to the top of `iseq_peephole_optimize` fixes the ... jeremyevans0 (Jeremy Evans)
10:35 PM Misc #16916 (Closed): [Documentation] Method: Net::HTTPHeader#set_form
Since this revision / commit
- SVN Revision 65230
- https://bugs.ruby-lang.org/projects/ruby-master/repositor...
noraj (Alexandre ZANNI)
10:03 PM Bug #16753 (Closed): ruby -run -e httpd . -p 8080 , not support CJK directorys .
I merged this patch upstream: https://github.com/ruby/webrick/pull/42 jeremyevans0 (Jeremy Evans)
09:54 PM Bug #16696 (Closed): 'OpenSSL 1.1.1e 17 Mar 2020' causes failure in Ruby OpenSSL stdlib
jeremyevans0 (Jeremy Evans)
09:20 PM Bug #16777 (Closed): IRB in Ruby 2.7 hangs on pasting long here document
jeremyevans0 (Jeremy Evans)
08:18 PM Bug #16771 (Closed): Segmentation fault when inspecting a bound method
jeremyevans0 (Jeremy Evans)
08:02 PM Bug #16765 (Closed): Crash when use sass image-url in email layout
jeremyevans0 (Jeremy Evans)
05:07 PM Revision 962c302a (git): test/drb/test_drbssl.rb: skip LeakChecker as openssl keeps /dev/random
and /dev/urandom intentionally. OpenSSL::PKey::RSA.new opens the two
random generators and keeps the file descriptor...
mame (Yusuke Endoh)
03:30 PM Revision 135c6a4b (git): fiddle: need to update configure after updating config tools
nobu (Nobuyoshi Nakada)
03:28 PM Revision f8e703e2 (git): * 2020-05-27 [ci skip]
git[bot]
03:20 PM Revision 5429deb0 (git): lib/open3.rb: make sure that pipes are closed
Attempting to invoke a non-existent command led to the leak of fds.
http://rubyci.s3.amazonaws.com/graviton2/ruby-ma...
mame (Yusuke Endoh)
02:30 PM Feature #16848: Allow callables in $LOAD_PATH
> the "vast majority of the cases" involve something like $LOAD_PATH.include?(path) and string duck-typing doesn't h... byroot (Jean Boussier)
02:01 PM Feature #16848: Allow callables in $LOAD_PATH
> $LOAD_PATH as a "view"
This is what I proposed at comment #16.
Maybe there are two strategies:
(1) extend $LOAD_...
ko1 (Koichi Sasada)
01:12 PM Feature #16848: Allow callables in $LOAD_PATH
> ### String duck-typing
It seems to me that apart from adding a path to $LOAD_PATH (which is a non-issue), the "v...
Dan0042 (Daniel DeLorme)
09:55 AM Feature #16848: Allow callables in $LOAD_PATH
Sorry I missed your answer from 5 days ago. I wish I'd answered before your second meeting (Redmine no longer send no... byroot (Jean Boussier)
07:58 AM Feature #16848 (Feedback): Allow callables in $LOAD_PATH
As I described, the current approach has a compatibility issue.
Could you propose another proposal to care compatibi...
ko1 (Koichi Sasada)
02:23 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Don't mind, I was not clear. mame (Yusuke Endoh)
11:29 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
mame (Yusuke Endoh) wrote in #note-43:
> The order had been already reverted in #note-31.
Ah, thx and sorry to mi...
vo.x (Vit Ondruch)
10:57 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
The order had been already reverted in #note-31. mame (Yusuke Endoh)
07:08 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Have the commit changed the order or introduced just the option? It seems to that just the later, which is not what w... vo.x (Vit Ondruch)
04:28 AM Feature #8661 (Closed): Add option to print backtrace in reverse order (stack frames first and error last)
Committed at 39365b46e250162f278cb36aa148bc2a92b1b84a. Thanks! mame (Yusuke Endoh)
02:20 PM Revision eb20d2f4 (git): include debug option in slack notification
ko1 (Koichi Sasada)
02:10 PM Revision a809caa4 (git): remove duplication.
ko1 (Koichi Sasada)
02:04 PM Revision 68e987c3 (git): GH actions with RUBY_DEBUG (#3144)
Add GH actions with -DRUBY_DEBUG ko1 (Koichi Sasada)
01:58 PM Bug #16914 (Closed): Hash.new with `default_proc` returns this `default_proc` instead of calling it sometimes
nobu (Nobuyoshi Nakada)
09:45 AM Bug #16914 (Closed): Hash.new with `default_proc` returns this `default_proc` instead of calling it sometimes
Hello,
First of all, I want to apologize because this bug report will not be realized at all in good shape. I enco...
beauraF (Florent Beaurain)
10:17 AM Revision 5917fe23 (git): _GNU_SOURCE is needed for mkostemp on Cygwin
nobu (Nobuyoshi Nakada)
07:58 AM Revision 17d17de0 (git): Get rid of redefinition of memcpy on mingw
nobu (Nobuyoshi Nakada)
07:58 AM Revision 04eb05a8 (git): Prefer configured printf format for mingw gcc 10
nobu (Nobuyoshi Nakada)
06:14 AM Revision d63bba1e (git): [DOC] Use note-list to pretend original plain-text looks [ci skip]
nobu (Nobuyoshi Nakada)
06:09 AM Feature #16832 (Closed): Use #name rather than #inspect to build "uninitialized constant" error messages
Applied in changeset commit:git|7d5da30c9e9c572f6ef0aaccc1ca0e724966e2ee.
----------
Test for [Feature #16832]
nobu (Nobuyoshi Nakada)
06:09 AM Revision 7d5da30c (git): Test for [Feature #16832]
nobu (Nobuyoshi Nakada)
05:10 AM Revision 385ac07f (git): Use receiver #name rather than #inspect to build NameError message
byroot (Jean Boussier)
04:38 AM Bug #16906 (Closed): Calling Thread#thread_variable? in IRB sometimes produce wrong result
Applied in changeset commit:git|4e1f2283b432e833bd4e6f7724ba0496760e68e8.
----------
Make Thread#thread_variable? si...
jeremyevans (Jeremy Evans)
02:57 AM Bug #16906: Calling Thread#thread_variable? in IRB sometimes produce wrong result
That approach didn't work as there are tests for inadvertent symbol creation. To fix that, we need to force ID creati... jeremyevans0 (Jeremy Evans)
02:34 AM Bug #16906: Calling Thread#thread_variable? in IRB sometimes produce wrong result
I can confirm this bug. It's because `thread_variable?` uses different code than `thread_variable_get` and `thread_v... jeremyevans0 (Jeremy Evans)
04:38 AM Revision 4e1f2283 (git): Make Thread#thread_variable? similar to #thread_variable_get
Don't use rb_check_id, which only works for pinned symbols.
Switch inadvertent creation test for thread_variable? to
...
jeremyevans (Jeremy Evans)
02:59 AM Feature #16824: Follow RubyGems naming conventions for the stdlib
nobu (Nobuyoshi Nakada) wrote in #note-13:
> Nonsense.
Nobu, I feel deeply offended by your impoliteness and lack...
marcandre (Marc-Andre Lafortune)
02:20 AM Feature #16824: Follow RubyGems naming conventions for the stdlib
While I understand the intention of this request, I'm not sure this would be practically useful for us. As mentioned ... yuki24 (Yuki Nishijima)
02:03 AM Feature #16824 (Rejected): Follow RubyGems naming conventions for the stdlib
Nonsense. nobu (Nobuyoshi Nakada)
01:49 AM Feature #16824 (Open): Follow RubyGems naming conventions for the stdlib
Let's not close this because the original request is not be accepted at 100%
Any volunteer to double-check the lis...
marcandre (Marc-Andre Lafortune)
02:47 AM Bug #16912 (Closed): Fiber#raise has a mismatch between implementation and documentation
Applied in changeset commit:git|faab5cbeb762adec4983d603d71e72add5108249.
----------
Fix documentation for Fiber#rai...
jeremyevans (Jeremy Evans)
02:46 AM Revision faab5cbe (git): Fix documentation for Fiber#raise [ci skip]
Fixes [Bug #16912] jeremyevans (Jeremy Evans)

05/25/2020

11:33 PM Feature #16913 (Open): Add `ARGF#each_io`
Add an iterator for each file supplied on the command line, or STDIN. `ARGF#each_io`
## Current Status
Often, w...
prajjwal (Prajjwal Singh)
07:49 PM Revision c9fe4ebd (git): cause SEGV for the test.
21991e6ca5 enables `__builtin_assume()` for clang and it seems
skip SEGV on rb_class_of() with unexpected value. This...
ko1 (Koichi Sasada)
06:21 PM Feature #16837 (Closed): Can we make Ruby 3.0 as fast as Ruby 2.7 with the new assertions?
Applied in changeset commit:git|21991e6ca59274e41a472b5256bd3245f6596c90.
----------
Use RUBY_DEBUG instead of NDEBU...
ko1 (Koichi Sasada)
06:21 PM Revision 7bafc9f4 (git): * 2020-05-26 [ci skip]
git[bot]
06:21 PM Revision 4ac42874 (git): Update include/ruby/assert.h
Co-authored-by: 卜部昌平 <[email protected]> ko1 (Koichi Sasada)
06:21 PM Revision 21991e6c (git): Use RUBY_DEBUG instead of NDEBUG
Assertions in header files slows down an interpreter, so they should be
turned off by default (simple `make`). To ena...
ko1 (Koichi Sasada)
03:33 PM Bug #16912 (Closed): Fiber#raise has a mismatch between implementation and documentation
Fiber#raise has a mismatch between implementation and documentation for "created" fiber.
RDoc:
> Raises an ...
pocke (Masataka Kuwabara)
12:01 PM Misc #16911 (Closed): Travis: unstable non-x86_64 jobs
I would like to open this ticket to track and fix the issues for Travis non-x86_64 jobs, as I saw the following commi... jaruga (Jun Aruga)
11:12 AM Revision b10b3792 (git): Fix failures in ./spec/bundler/quality_spec.rb
```
Failures:
1) The library itself does not contain any warnings
Failure/Error: raise "Invoking #{method}!(#...
znz (Kazuhiro NISHIYAMA)
11:08 AM Revision fcc8be01 (git): Fix a failure in bundle version with version outputs the version with build metadata
```
1) bundle version with version outputs the version with build metadata
Failure/Error: expect(out).to match...
znz (Kazuhiro NISHIYAMA)
11:08 AM Revision 67d2a715 (git): Fix a error in a `before(:suite)` hook
https://github.com/ruby/actions/runs/703745101?check_suite_focus=true#step:16:27
```
An error occurred in a `before(:...
znz (Kazuhiro NISHIYAMA)
06:20 AM Revision 45ffab36 (git): Added entries about RubyGems and Bundler
hsbt (Hiroshi SHIBATA)
02:09 AM Misc #16805: Coroutine's license is unclear
@odaira Can you confirm/are you okay for your ppcle64 implementation to be released under the MIT License? ioquatix (Samuel Williams)
02:08 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
Can you check if this is still a problem, I merged my changes which should make this test more reliable. But I did no... ioquatix (Samuel Williams)
02:02 AM Revision 2225aa98 (git): [DOC] Turned note-lists into label-lists [ci skip]
nobu (Nobuyoshi Nakada)
01:19 AM Revision 089dcfbf (git): * 2020-05-25 [ci skip]
git[bot]
01:17 AM Revision 06321ea2 (git): RBIMPL_ATTR_DEPRECATED: disable for GCC10
GCC 10.x seems buggy here. See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302 shyouhei (Shyouhei Urabe)
01:09 AM Feature #15277: at_exec
I would like to add a use-case that I'm encountering right now.
I would like to call prctl(PR_SET_PDEATHSIG, ...) ...
vihai (Daniele Orlandi)

05/24/2020

05:24 PM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
There was merged this [1] PR, which should resolve the issue even without removal of the `gem` call. I have not verif... vo.x (Vit Ondruch)
04:34 PM Misc #16910: BasicObject is resolved in BasicObject
Ah! I read too fast too :). Appreciate the followup!
fxn (Xavier Noria)
02:52 PM Misc #16910: BasicObject is resolved in BasicObject
Actually I looked too fast, the correct location is
https://github.com/ruby/ruby/blob/b10c9d201222b144df7d63660d1c73...
Eregon (Benoit Daloze)
02:45 PM Misc #16910 (Closed): BasicObject is resolved in BasicObject
jeremyevans0 (Jeremy Evans)
12:39 PM Misc #16910: BasicObject is resolved in BasicObject
This can be closed (can't do it myself apparently). fxn (Xavier Noria)
12:37 PM Misc #16910: BasicObject is resolved in BasicObject
Ahhh, that explains it. That code says this is intentional and definitely not a bug.
Thanks a lot Benoit!
fxn (Xavier Noria)
10:19 AM Misc #16910: BasicObject is resolved in BasicObject
As you found, I think it's just a special case that BasicObject has a constant named "BasicObject".
It's defined her...
Eregon (Benoit Daloze)
09:41 AM Misc #16910: BasicObject is resolved in BasicObject
Ah, forgot to add that I saw this
```ruby
BasicObject.constants # => [:BasicObject]
```
Could it be the case ...
fxn (Xavier Noria)
09:39 AM Misc #16910 (Closed): BasicObject is resolved in BasicObject
I categorized this as Misc because I do not really know if this is a bug, or perhaps I miss some special rule in the ... fxn (Xavier Noria)
02:47 PM Revision c6c02331 (git): [ruby/rdoc] Check uninitialized instance variable in test
https://github.com/ruby/rdoc/commit/3dcd5ddbb6 aycabta (aycabta .)
02:47 PM Revision 3169ffc0 (git): [ruby/rdoc] Add frozen string literal support
https://github.com/ruby/rdoc/commit/daac9d0471 deivid (David Rodríguez)
02:47 PM Revision 37b8a7af (git): [ruby/rdoc] Add instance_methods because instance_method_list should be obsolete
https://github.com/ruby/rdoc/commit/9b1da32254 aycabta (aycabta .)
02:47 PM Revision e6d1363a (git): [ruby/rdoc] Fixed inverted CSS for note-list and label-list
https://github.com/ruby/rdoc/commit/a13d6439da nobu (Nobuyoshi Nakada)
02:47 PM Revision 32e0ff26 (git): [ruby/rdoc] Delegate ERB args correctly
https://github.com/ruby/rdoc/commit/82ff37a822 aycabta (aycabta .)
02:47 PM Revision 7e7981c8 (git): [ruby/rdoc] Treat multiple Ruby methods calling the same C method as aliases
Previously, only calls to rb_define_alias were treated as aliases.
This treats calls to rb_define_method with the sam...
jeremyevans (Jeremy Evans)
02:47 PM Revision f52a4690 (git): [ruby/rdoc] Process crossref before tidylink
The crossref must be linked before tidylink because Klass.method[:sym] will be
processed as a tidylink first and will...
aycabta (aycabta .)
02:47 PM Revision c79f9ea6 (git): [ruby/rdoc] Escape method names in HTML
The following is invalid HTML:
<a href="Array.html#method-i-3C-3C">...
Nate Matykiewicz
10:34 AM Bug #11188: Method#inspect for chaining alias methods
Nice, in fact this was already the behavior in TruffleRuby and JRuby. Eregon (Benoit Daloze)
03:39 AM Bug #11188 (Closed): Method#inspect for chaining alias methods
This patch was merged in commit:adecd43197d5ea2a62a618a5c9be653bcf009c62. jeremyevans0 (Jeremy Evans)
09:05 AM Feature #16650 (Closed): Ruby 2.6.* and 2.7* no longer compile on latest Mingw64
It seems working now, by compiling with gcc 10.1.0. nobu (Nobuyoshi Nakada)
08:08 AM Bug #16905: Ruby required to build Ruby on Haiku?
> parse.y file has been modified, or its timestamp changed at least.
I didn't edited that file and haven't changed...
extrowerk (Zoltán Mizsei)
03:33 AM Bug #16852: Refining Enumerable fails with ruby 2.7
I've added https://github.com/ruby/ruby/pull/3140 to fix this. It works by ensuring an origin for Enumerable directl... jeremyevans0 (Jeremy Evans)
01:53 AM Revision b10c9d20 (git): [DOC] Added document for rb_check_symbol() [ci skip]
nobu (Nobuyoshi Nakada)
01:35 AM Revision 8b8b7c78 (git): Enhanced Rdoc for Hash (#3139)
burdettelamar (Burdette Lamar)
12:53 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
I would expect Hash#shift to return either a key-value tuple or nil. Returning the default value is, honestly, incomp... Dan0042 (Daniel DeLorme)

05/23/2020

07:01 PM Revision 0b161774 (git): * 2020-05-24 [ci skip]
git[bot]
07:01 PM Revision f27e0d90 (git): ext/fiddle/fiddle.gemspec: avoid require lib/fiddle/version.rb
It loads `ext/fiddle/lib/fiddle/version.rb`, which causes constant
redefinition warning:
http://rubyci.s3.amazonaws....
mame (Yusuke Endoh)
02:16 PM Bug #16787 (Closed): [patch] allow Dir.home to work for non-login procs when $HOME not set
Applied in changeset commit:git|c15cddd1d515c5bd8dfe8fb2725e3f723aec63b8.
----------
Allow Dir.home to work for non-...
salewski (Alan Salewski)
02:16 PM Revision c15cddd1 (git): Allow Dir.home to work for non-login procs when $HOME not set
Allow the 'Dir.home' method to reliably locate the user's home directory when
all three of the following are true at ...
salewski (Alan Salewski)
01:04 PM Revision 39cb1930 (git): Search pkg-config with ac_tool_prefix [Bug #16909]
Should prefer a prefixed version over the bare pkg-config for
cross compiling.
nobu (Nobuyoshi Nakada)
12:39 PM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
In other words, the current semantics of `return hash.default(nil) if hash.empty?` feel hacky and actually harmful to... Eregon (Benoit Daloze)
12:37 PM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
Maybe `Hash#shift` should not call the `default_proc` or use `Hash#default`?
I.e., it would always return `nil` if `...
Eregon (Benoit Daloze)
02:53 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
ioquatix (Samuel Williams) wrote in #note-2:
> @jeremyevans0 I agree with your assessment, however that hash does no...
jeremyevans0 (Jeremy Evans)
02:38 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
@jeremyevans0 I agree with your assessment, however that hash does not have default_proc so I assume that it would re... ioquatix (Samuel Williams)
02:26 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
While your particular example is non-intuitive, there is a simple explanation for it. The first time `hash.shift` is ... jeremyevans0 (Jeremy Evans)
02:15 AM Bug #16908 (Closed): Strange behaviour of Hash#shift when used with `default_proc`.
I don't have any strong opinion about this, but I observed the following behaviour which I thought was confusing. May... ioquatix (Samuel Williams)
12:20 PM Revision b722182e (git): Revert "Search pkg-config by AC_CHECK_TOOL [Bug #16909]"
This reverts commit 6006ab8cf93a0e06d9d65213eff3117965c9bd0c.
AC_CHECK_TOOL does not have REJECT argument.
nobu (Nobuyoshi Nakada)
11:58 AM Bug #16909 (Closed): pkg-config search should use AC_CHECK_TOOL instead of AC_CHECK_PROG
Applied in changeset commit:git|6006ab8cf93a0e06d9d65213eff3117965c9bd0c.
----------
Search pkg-config by AC_CHECK_T...
nobu (Nobuyoshi Nakada)
04:28 AM Bug #16909 (Closed): pkg-config search should use AC_CHECK_TOOL instead of AC_CHECK_PROG
pkg-config is a toolchain variable akin to the compiler/linker/etc... it should use AC_CHECK_TOOL to automatically s... vapier (Mike Frysinger)
10:52 AM Revision 6006ab8c (git): Search pkg-config by AC_CHECK_TOOL [Bug #16909]
It should use AC_CHECK_TOOL to automatically search for a prefixed
version and not just the bare pkg-config.
nobu (Nobuyoshi Nakada)
08:24 AM Revision b2976a4f (git): Fixup d48c92aa04ffd3a1cecef599eaa5e4409aab2fe4
hsbt (Hiroshi SHIBATA)
07:44 AM Revision d48c92aa (git): Rename TestScheduler* to TestFiber for convention of the test directory
hsbt (Hiroshi SHIBATA)
05:56 AM Revision 0b2fc4cf (git): extlibs.rb: make symlink only if the target exists
nobu (Nobuyoshi Nakada)
05:34 AM Revision 3015a7aa (git): [ruby/fiddle] Improve documentation on how to correctly free memory and free memory in tests (#33)
https://github.com/ruby/fiddle/commit/e59cfd708a chrisseaton (Chris Seaton)
05:29 AM Revision 24b615e8 (git): [ruby/fiddle] Export Fiddle::VERSION
https://github.com/ruby/fiddle/commit/1b93a2d9db Sutou Kouhei
05:29 AM Revision 74a4558c (git): [ruby/fiddle] Update file list
https://github.com/ruby/fiddle/commit/b04cb92d7b Sutou Kouhei
05:29 AM Revision d5c0018a (git): [ruby/fiddle] Fix a typo
https://github.com/ruby/fiddle/commit/445ca6b501 Sutou Kouhei
05:29 AM Revision a0dcdd64 (git): [ruby/fiddle] Bump version
https://github.com/ruby/fiddle/commit/f8fb7c4823 Sutou Kouhei
05:29 AM Revision 13f64333 (git): [ruby/fiddle] Add Fiddle::VERSION
https://github.com/ruby/fiddle/commit/9dcf64c096 Sutou Kouhei
05:29 AM Revision 5fb7ca33 (git): [ruby/fiddle] Add missing spec.extensions
https://github.com/ruby/fiddle/commit/2ce36b1fdc Sutou Kouhei
05:29 AM Revision 77cc1394 (git): [ruby/fiddle] Fix assignment to array within struct (#26)
* Allow access to a struct's underlying memory with `struct[offset, length]`.
https://github.com/ruby/fiddle/commit/...
sinisterchipmunk
05:29 AM Revision 4a835621 (git): [ruby/fiddle] Make array access override compatible with base class (#25)
* Allow access to a struct's underlying memory with `struct[offset, length]`.
* Make accessing a struct's underlying...
sinisterchipmunk
05:29 AM Revision aa1d3c7d (git): [ruby/fiddle] Initialize memory to 0 when calling Fiddle.malloc(). (#24)
https://github.com/ruby/fiddle/commit/8414239ca3 sinisterchipmunk
03:31 AM Revision ad729a1d (git): Fix origin iclass pointer for modules
If a module has an origin, and that module is included in another
module or class, previously the iclass created for ...
jeremyevans (Jeremy Evans)
02:12 AM Misc #16805: Coroutine's license is unclear
https://github.com/ruby/ruby/pull/3137 ioquatix (Samuel Williams)
02:10 AM Bug #16907 (Closed): Probable use-after-free in VM assertion
The following Ruby program fails with VM assertions enabled on OpenBSD (code taken from `test_caller_to_enum` in `tes... jeremyevans0 (Jeremy Evans)
12:43 AM Revision fdb31aa7 (git): Time.xmlschema: Clarify error and docs
It parses a (date)time, not a date. Henrik Nyh and Tomas Skogberg
12:36 AM Revision da484c31 (git): Enhanced Rdoc for Hash
burdettelamar (Burdette Lamar)

05/22/2020

10:28 PM Revision f8647343 (git): Remove a bunch of files that were deleted upstream
deivid (David Rodríguez)
10:28 PM Revision 2ec5f324 (git): * 2020-05-23 [ci skip]
git[bot]
10:28 PM Bug #16736 (Closed): Prepending blank module breaks super call in aliased method
Applied in changeset commit:git|c745a60634260ba2080d35af6fdeaaae86fe5193.
----------
Fix origin iclass pointer for m...
jeremyevans (Jeremy Evans)
10:27 PM Revision 36f29b59 (git): Fixed wrong usage rm_rf for cleanup the default gems in sync tool
hsbt (Hiroshi SHIBATA)
02:54 PM Revision 8d798e7c (git): Revert "Fix origin iclass pointer for modules"
This reverts commit c745a60634260ba2080d35af6fdeaaae86fe5193.
This triggers a VM assertion. Reverting until the iss...
jeremyevans (Jeremy Evans)
02:36 PM Revision c745a606 (git): Fix origin iclass pointer for modules
If a module has an origin, and that module is included in another
module or class, previously the iclass created for ...
jeremyevans (Jeremy Evans)
01:33 PM Feature #16824 (Rejected): Follow RubyGems naming conventions for the stdlib
The first proposal was rejected. We should discuss each stdlib like `ostruct`. hsbt (Hiroshi SHIBATA)
01:29 PM Bug #16846 (Closed): Commit - win32ole: separate global variable declarations and definitions - backport?
hsbt (Hiroshi SHIBATA)
01:27 PM Misc #16893 (Closed): Create Rosetta Code page on website
We handle the official website that is https://www.ruby-lang.org/en/ on https://github.com/ruby/www.ruby-lang.org/.
...
hsbt (Hiroshi SHIBATA)
12:24 PM Revision ef13558f (git): Revert a commit miss in "Fixed potential memory leak"
This reverts an unintentional change in commit
79d9528ddca1dfe2dd99287dc88fd7c2b30f7137.
nobu (Nobuyoshi Nakada)
11:32 AM Revision df5fd1d0 (git): Fixup 1d079a0c5d4d80860a4d6d692344124fe5c562b5
hsbt (Hiroshi SHIBATA)
11:32 AM Revision 1d889c96 (git): Sync Bundler PR #3624 with HEAD commits
hsbt (Hiroshi SHIBATA)
11:32 AM Revision 93ebf964 (git): Revert 1f011cccb16ca9e8ee378cb5a9d4c14459afd68c
hsbt (Hiroshi SHIBATA)
11:32 AM Revision 26367367 (git): Marked the failing examples with the current master branch on ruby repository
hsbt (Hiroshi SHIBATA)
11:32 AM Revision 9c275229 (git): Glob the all man files provided by bundler upstream
hsbt (Hiroshi SHIBATA)
11:32 AM Revision c7ebeb7e (git): Sync Bundler PR #3624
hsbt (Hiroshi SHIBATA)
04:49 AM Revision f4f157fc (git): Suppress warnings no inline ruby debug (#3107)
* Suppress unused warnings occurred due to -fno-inline
* Suppress warning occurred due to RUBY_DEBUG=1
Kenta Murata
03:05 AM Revision ac395754 (git): Enhanced rdoc for Hash (#3129)
burdettelamar (Burdette Lamar)
02:51 AM Revision d707c92a (git): add static modifier for rb_hash_keep_if func
S_H_ (Shun Hiraoka)
02:51 AM Revision e5354de9 (git): add static modifier for rb_hash_select_bang func
S_H_ (Shun Hiraoka)
02:51 AM Revision 7c4e0859 (git): add static modifier for rb_hash_select func
S_H_ (Shun Hiraoka)
02:38 AM Bug #16906 (Closed): Calling Thread#thread_variable? in IRB sometimes produce wrong result
Consider this script:
``` ruby
Thread.current.thread_variable_set("ab", 12)
puts Thread.current.thread_variable?...
tyok (Mohammad Satrio)
02:23 AM Bug #16900 (Closed): Disposable call-cache introduced memory leak
Applied in changeset commit:git|cbd45af2a9bec871ee023e6be57c5f32b22280fe.
----------
fix memory leak of ccs
rb_call...
ko1 (Koichi Sasada)
02:23 AM Revision cbd45af2 (git): fix memory leak of ccs
rb_callable_method_entry() creates ccs entry in cc_tbl, but this
code overwrite by insert newly created ccs and overw...
ko1 (Koichi Sasada)
02:12 AM Revision 74cd607c (git): Run major GC three times to make sure the minor GC reason
Same as 02705b27be207fce57bd0253251f81108c7ed57b
http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/2955433
``...
mame (Yusuke Endoh)
01:42 AM Bug #16905: Ruby required to build Ruby on Haiku?
According to the log,
```
executable host ruby is required. use --with-baseruby option.
uncommon.mk:866: recipe ...
nobu (Nobuyoshi Nakada)
01:38 AM Bug #8446: sdbm fails to fetch existing key if many elements in it
Agreed on removal.
Sdbm seems unmaintained 30 years, and having other bugs (or limitations) on storing large values ...
nobu (Nobuyoshi Nakada)

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)
 

Also available in: Atom