Project

General

Profile

Activity

From 09/21/2020 to 09/27/2020

09/27/2020

07:33 PM Revision 1c954366 (git): * 2020-09-28 [ci skip]
git[bot]
07:32 PM Revision 41eba959 (git): Revert the first diff of "Use Tempfile.create instead of Tempfile.open in test_io.rb"
* This partially reverts commit dead7478748a828c45e16134fca812bc7771344e.
* Windows will not allow a file to be unlin...
Eregon (Benoit Daloze)
10:15 AM Feature #16786: Light-weight scheduler for improved concurrency.
That sounds very similar to `Thread#name=`.
I think it would be worth having its own feature request if you'd like i...
Eregon (Benoit Daloze)
10:12 AM Feature #13767: add something like python's buffer protocol to share memory between different narray like classes
@mrkn Is the native memory layout introduced in Ruby compatible with Python?
If it is/was it might be useful to e.g....
Eregon (Benoit Daloze)
10:05 AM Feature #17195: Freeze Enumerator::ArithmeticSequence objects
I just realized, this is problematic because `Enumerator::ArithmeticSequence` is a subclass of `Enumerator` and not o... Eregon (Benoit Daloze)
10:01 AM Bug #15661: Disallow concurrent Dir.chdir with block
Maybe concurrent Dir.chdir(&block) could take a global lock.
It might create unexpected contention though.
So I thi...
Eregon (Benoit Daloze)
07:52 AM Feature #15831: Add `Array#extract`, `Hash#extract`, and `ENV.extract`
I'm not exactly at ease with the fact that the proposed methods both change the receiver and return a result. But if ... duerst (Martin Dürst)
05:26 AM Revision 9a951c09 (git): Remove outdated comment [ci skip]
znz (Kazuhiro NISHIYAMA)
12:49 AM Revision 5e91b4bd (git): fix typo [ci skip]
ko1 (Koichi Sasada)

09/26/2020

09:35 PM Bug #15661: Disallow concurrent Dir.chdir with block
[email protected] wrote:
> Removing the block form breaks useful cases in single threaded
> code.

A...
normalperson (Eric Wong)
09:20 PM Bug #15661: Disallow concurrent Dir.chdir with block
sam.saffron (Sam Saffron) wrote in #note-6:
> I am not sure about this, we are already misleading people a lot with ...
jeremyevans0 (Jeremy Evans)
11:27 AM Bug #15661: Disallow concurrent Dir.chdir with block
I am not sure about this, we are already misleading people a lot with the block form. I wonder if the correct long te... sam.saffron (Sam Saffron)
09:18 PM Bug #17196 (Closed): Segmentation Fault with Socket#close in Ractors
While messing around with 3.0.0-preview1, I thought it would be fun to write a really, really simple webserver that u... asuper (Anthony Super)
09:07 PM Feature #17184: No stdlib function to perform simple string replacement
> There is already String#replace
Oh wow, I somehow missed that...
byroot (Jean Boussier)
06:23 PM Feature #17184: No stdlib function to perform simple string replacement
There is already String#replace (consistent with {Array,Hash,Set,...}#replace), so I don't think it's a good fit:
...
Eregon (Benoit Daloze)
06:18 PM Feature #17184: No stdlib function to perform simple string replacement
> But then we need to clarify if that replaces the first or all occurrences
As far as I know, String `replace` com...
byroot (Jean Boussier)
01:40 PM Feature #17184: No stdlib function to perform simple string replacement
Dan0042 (Daniel DeLorme) wrote in #note-12:
> Instead you get just `f`, and after a lot of searching and debugging y...
Eregon (Benoit Daloze)
06:44 PM Feature #17195: Freeze Enumerator::ArithmeticSequence objects
Seems clear to me marcandre (Marc-Andre Lafortune)
01:20 PM Feature #17195 (Rejected): Freeze Enumerator::ArithmeticSequence objects
Now, all Ranges are frozen (#15504).
Enumerator::ArithmeticSequence is very similar to Range, just with an extra `...
Eregon (Benoit Daloze)
05:38 PM Revision 950614b0 (git): ext/socket/ipsocket.c: prevent "warning: unused variable 'resolv_timeout'"
mame (Yusuke Endoh)
04:16 PM Revision 70d7e4c3 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
04:13 PM Revision 48b53190 (git): Add links to the tickets [ci skip]
znz (Kazuhiro NISHIYAMA)
04:02 PM Revision 089b7698 (git): * 2020-09-27 [ci skip]
git[bot]
04:02 PM Revision cdb5258b (git): Fix `ENV.except`'s docs
bogdanvlviv (Bogdan Denkovych)
01:21 PM Feature #15504: Freeze all Range objects
ko1 (Koichi Sasada) wrote in #note-11:
> Eregon (Benoit Daloze) wrote in #note-10:
> > Related, should Enumerator::...
Eregon (Benoit Daloze)
11:18 AM Feature #15831: Add `Array#extract`, `Hash#extract`, and `ENV.extract`
I'm wondering to know whether use-cases, mentioned in https://bugs.ruby-lang.org/issues/15831#note-9, are good enough... bogdanvlviv (Bogdan Denkovych)
10:36 AM Revision dead7478 (git): Use Tempfile.create instead of Tempfile.open in test_io.rb
Eregon (Benoit Daloze)
10:30 AM Bug #16695: Stack consistency error when using the return value
I rewrited the patch https://github.com/ruby/ruby/pull/3445 on 2020-08-22.
I would appreciate it if someone could re...
wanabe (_ wanabe)
09:59 AM Bug #17194: Unable to build ruby 3.0-preview1 on centos 6
Just FYI: Ruby 3 will not support CentOS 6 because the EOL date of the distribution is Nov 30 2020 and Ruby 3 will be... mame (Yusuke Endoh)
09:25 AM Bug #17194 (Closed): Unable to build ruby 3.0-preview1 on centos 6
Applied in changeset commit:git|ce92d15596aab337b5e8b806603eb07ad6528ff2.
----------
fix typo [Bug #17194]
naruse (Yui NARUSE)
08:51 AM Bug #17194 (Closed): Unable to build ruby 3.0-preview1 on centos 6
Tried to build ruby using rvm:
```
[root@e6655f0fcbcd /]# rvm install ruby-3
Searching for binary rubies, this mig...
hurricup (Alexandr Evstigneev)
09:55 AM Revision 4e31cbc0 (git): update-deps
https://github.com/ruby/ruby/runs/1169621878 naruse (Yui NARUSE)
09:24 AM Revision ce92d155 (git): fix typo [Bug #17194]
naruse (Yui NARUSE)
07:40 AM Bug #17193: Endless method definition doesn't work with lambdas in IRB
wanabe (_ wanabe) wrote in #note-1:
> I think this is an irb problem, not a ruby problem.
>
> ```
> $ ruby -ve '...
kodnin (David Boot)
07:30 AM Bug #17193: Endless method definition doesn't work with lambdas in IRB
I think this is an irb problem, not a ruby problem.
```
$ ruby -ve 'def bar() = lambda { |x| x * x };p bar'
ruby...
wanabe (_ wanabe)
07:22 AM Bug #17193 (Closed): Endless method definition doesn't work with lambdas in IRB
Endless method definition doesn't work with lambdas. Please check the attached screenshot.
``` ruby
def foo() = 1...
kodnin (David Boot)
07:18 AM Bug #17192 (Closed): ISeq.load_from_binary can cause BUG if binary is a rbinc-derived
The following command can cause BUG.
```
$ ruby -e 'print RubyVM::InstructionSequence.of(1.method(:abs)).to_binary'...
wanabe (_ wanabe)
06:56 AM Feature #15815: Add option to raise NoMethodError for OpenStruct
I'm proposing to add `OpenStruct::Strict`, that will not return `nil` for unknown attributes and instead raise a `Not... marcandre (Marc-Andre Lafortune)

09/25/2020

11:11 PM Bug #17191 (Closed): 3.0.0-preview1 fails to install using BSD make
On OpenBSD (which doesn't use GNU make by default), `./configure` and `make` work correctly for 3.0.0-preview1, but `... jeremyevans0 (Jeremy Evans)
10:52 PM Revision 137fa5b2 (git): Fibers should update themselves on compaction
We should let fibers update their own references on compaction. I don't
think we need the thread to update the assoc...
tenderlovemaking (Aaron Patterson)
10:06 PM Feature #17143: Improve support for warning categories
I've updated my pull request to only allow specific categories, and limit the currently allowed categories to `:depre... jeremyevans0 (Jeremy Evans)
07:43 PM Feature #17143: Improve support for warning categories
matz (Yukihiro Matsumoto) wrote in #note-5:
> Adding category to the warning seems a good idea. But I have the follo...
jeremyevans0 (Jeremy Evans)
05:04 AM Feature #17143: Improve support for warning categories
- I'm not against adding the category keyword. However,
- I guess it is quite hard for us to +1 the "Add categories...
shyouhei (Shyouhei Urabe)
04:58 AM Feature #17143: Improve support for warning categories
Adding category to the warning seems a good idea. But I have the following concerns:
* Category should be specifie...
matz (Yukihiro Matsumoto)
08:36 PM Bug #15661: Disallow concurrent Dir.chdir with block
I've added a pull request for this: https://github.com/ruby/ruby/pull/3591 jeremyevans0 (Jeremy Evans)
05:30 AM Bug #15661: Disallow concurrent Dir.chdir with block
It's hard to estimate how big the incompatibility is. But I'd like to try it.
I hope we don't see any big problem.
...
matz (Yukihiro Matsumoto)
08:15 PM Feature #16994: Sets: shorthand for frozen sets of symbols / strings
[email protected] wrote:
> Remaining issues:
>
> * Name? `%ws` would be the first two character specifier after `%...
normalperson (Eric Wong)
04:26 AM Feature #16994 (Feedback): Sets: shorthand for frozen sets of symbols / strings
We are going to introduce built-in set, but not in 3.0 (too little time to implement it before 3.0 release).
After m...
matz (Yukihiro Matsumoto)
08:13 PM Revision 8b42474a (git): Enhanced RDoc for String#succ (#3590)
* Enhanced RDoc for String#succ burdettelamar (Burdette Lamar)
07:55 PM Bug #15712 (Closed): DateTime#=== should be defined and compare date and time instead of just the date
DateTime deprecation documentation was added to date: https://github.com/ruby/date/commit/58ca6e6a3ee20c72a77266e0f74... jeremyevans0 (Jeremy Evans)
05:21 AM Bug #15712: DateTime#=== should be defined and compare date and time instead of just the date
I admit it is a bug. But we consider use of `DateTime` should be discouraged. So we keep this **bug** behavior for co... matz (Yukihiro Matsumoto)
07:41 PM Bug #17190 (Closed): Not working multiple assignment by rightward assignment statement
For example. It is foo.rb
```rb
42, 42 => a, b
p a
p b
```
I expected it.
```sh
42
42
```
But, Rea...
yancya (Shinta Koyanagi)
07:13 PM Bug #17189: test_thread.rb in testsuite deadlocks with musl libc 1.2.1
From my reading of the test source, it seems to be testing the ability to do various async-signal-unsafe things after... dalias (Rich Felker)
05:56 PM Bug #17189 (Closed): test_thread.rb in testsuite deadlocks with musl libc 1.2.1
When we build ruby-2.7.1 in alpine linux the test suite deadlocks in `test_thread.rb`.
There are multiple processe...
ncopa (Natanael Copa)
06:13 PM Feature #14394: Class.descendants
While I needed `Class#descendants` many times, I never had a need for `Module#descendants`. But I can think of its us... fatkodima (Dima Fatko)
04:57 PM Feature #14394: Class.descendants
> Is there a use-case for mod.descendants where mod is a module and not a class?
Not that I know of. Active Suppor...
byroot (Jean Boussier)
02:01 PM Feature #14394: Class.descendants
byroot (Jean Boussier) wrote in #note-20:
> I'm not sure `Module#descendants` is really useful, but I don't see any ...
Eregon (Benoit Daloze)
11:19 AM Feature #14394: Class.descendants
> (and Kernel.descendants is the same but with Kernel extra).
I'm not sure `Module#descendants` is really useful, ...
byroot (Jean Boussier)
10:41 AM Feature #14394: Class.descendants
byroot (Jean Boussier) wrote in #note-18:
> I don't think modules are a concern. At least in the Active Support imple...
Eregon (Benoit Daloze)
10:27 AM Feature #14394: Class.descendants
> `self < self # => self`
I made a mistake meant `=> false`.
> I expect Object.descendants to be quite slow
...
byroot (Jean Boussier)
10:22 AM Feature #14394: Class.descendants
byroot (Jean Boussier) wrote in #note-16:
> > self should be is contained or not?
>
> I don't think it should no. `s...
Eregon (Benoit Daloze)
10:08 AM Feature #14394: Class.descendants
> self should be is contained or not?
I don't think it should no. `self < self # => self`.
> singleton classes ...
byroot (Jean Boussier)
06:12 AM Feature #14394: Class.descendants
let's clear:
* `self` should be is contained or not? AS's method doesn't contain.
* singleton classes should be e...
ko1 (Koichi Sasada)
06:07 AM Feature #14394 (Feedback): Class.descendants
Accepted.
Although on some implementation, `#descendants` can be slow since it may be implemented by scanning whol...
matz (Yukihiro Matsumoto)
04:27 PM Revision 24820d50 (git): Return nil when argument to ObjectSpace.internal_class_of is T_IMEMO
The added test case crashes the interpreter because it makes
ObjectSpace.internal_class_of return the second VALUE sl...
alanwu (Alan Wu)
04:24 PM Bug #17144: Tempfile.open { ... } does not unlink the file
Tempfile.open would be useful when an user want to remove the file by GC.
Tempfile.create doesn't provide the featur...
akr (Akira Tanaka)
09:30 AM Bug #17144: Tempfile.open { ... } does not unlink the file
OK, https://github.com/ruby/tempfile/pull/4 is the PR that reverts it and already applied to ruby master.
I will t...
Eregon (Benoit Daloze)
04:45 AM Bug #17144 (Closed): Tempfile.open { ... } does not unlink the file
To keep compatibility, we are not going to change the behavior of `Tempfile.open`. But to reduce the confusion, docum... matz (Yukihiro Matsumoto)
03:50 PM Feature #8948: Frozen regex
I think at least interpolated regexp (`/a#{i}b/`) should be frozen though, like Range objects. ko1 (Koichi Sasada)
03:44 PM Feature #8948 (Assigned): Frozen regex
> If so this should be postponed on introducing parallelization.
Reconsider about it? (freeze all regexp)
ko1 (Koichi Sasada)
03:34 PM Revision 3a00f2a0 (git): ext/readline/depend: update-deps --fix
Kenta Murata
03:30 PM Revision 722a1e47 (git): RBIMPL_ALIGNAS: reorder #ifdef blocks
Since r63443, `-std=gnu99 -D_XOPEN_SOUCE=x00` is added to Solaris'
`CPPFLAGS`. `CPPFLAGS` is shared among `CC` / `CX...
shyouhei (Shyouhei Urabe)
03:27 PM Revision f7c41182 (git): * 2020-09-26 [ci skip]
git[bot]
03:20 PM Revision b271bd73 (git): test/net/smtp/test_smtp.rb: Stop io leaks
`make test-all` was very noisy by warnings like
```
Leaked file descriptor: Net::TestSMTP#test_start_with_position_a...
mame (Yusuke Endoh)
03:09 PM Feature #15504: Freeze all Range objects
Eregon (Benoit Daloze) wrote in #note-10:
> Related, should Enumerator::ArithmeticSequence be frozen too?
new tic...
ko1 (Koichi Sasada)
01:58 PM Feature #15504: Freeze all Range objects
Great!
Related, should Enumerator::ArithmeticSequence be frozen too?
Eregon (Benoit Daloze)
01:17 PM Feature #15504 (Closed): Freeze all Range objects
Applied in changeset commit:git|0096d2b895395df5ab8696d3b6d444dc1b7730b6.
----------
freeze all Range objects.
Matz...
ko1 (Koichi Sasada)
11:53 AM Feature #15504: Freeze all Range objects
Ok, I freeze all Ranges except sub-classes.
https://github.com/ruby/ruby/pull/3583
ko1 (Koichi Sasada)
08:49 AM Feature #15504: Freeze all Range objects
I agree with making ranges frozen. I don't see any particular case that could be broken by frozen ranges.
Since ther...
matz (Yukihiro Matsumoto)
02:56 PM Revision 8119e5b0 (git): memory_view.c: prevent "warning: instance variable __memory_view__ not initialized"
Kenta Murata
02:45 PM Revision abdd3c56 (git): test/ruby/test_enumerator.rb: check the deprecation warning
by explicitly setting `Warning[:deprecated] = true`.
I removed "capture_io" at 79063d8cbfb7ce4740774289252a2a20dc9a5d...
mame (Yusuke Endoh)
02:39 PM Revision 0db5324e (git): test/ruby/test_memory_view.rb: prevent "assigned but unused variable - members"
mame (Yusuke Endoh)
02:38 PM Revision 79063d8c (git): test/ruby/test_enumerator.rb: remove capture_io that is no longer needed
The deprecation warning was disabled, and the code to check the warning
was removed at 996af2ce086249e904b2ce95ab2fcd...
mame (Yusuke Endoh)
02:37 PM Revision e4b2c4fc (git): t/json/json_common_interface_test.rb: fix wrong indentation
to prevent:
```
test/json/json_common_interface_test.rb:182: warning: mismatched indentations at 'end' with 'def' at...
mame (Yusuke Endoh)
02:31 PM Bug #17188 (Closed): Freeze Encoding objects for Ractor
Currently Encoding objects are not frozen:
```
$ ruby -ve 'p Encoding::US_ASCII.frozen?'
ruby 3.0.0dev (2020-09-25...
Eregon (Benoit Daloze)
01:41 PM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
Hi,
fatkodima (Dima Fatko) wrote in #note-8:
> to avoid updating all of them, I would prefer just add start inde...
mame (Yusuke Endoh)
11:07 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index

Eregon (Benoit Daloze) wrote in #note-7:
> What if a block is given, and one want to use a start index? (for effic...
fatkodima (Dima Fatko)
10:11 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
What if a block is given, and one want to use a start index? (for efficiency and not run the block for the first `sta... Eregon (Benoit Daloze)
06:23 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
Accepted.
How do you think about end index? Do we need it? If so, should we add end index to `String#index` as we...
matz (Yukihiro Matsumoto)
01:16 PM Revision 0096d2b8 (git): freeze all Range objects.
Matz want to try to freeze all Range objects.
[Feature #15504]
ko1 (Koichi Sasada)
12:34 PM Revision f4328d7f (git): [ruby/readline-ext] Remove unnecessary header files from depend
https://github.com/ruby/readline-ext/commit/f9783c0739 aycabta (aycabta .)
12:32 PM Revision c04c34df (git): memory_view.h: brush up the description in the comment
Kenta Murata
12:16 PM Revision 56012d2f (git): NEWS.md: Add memory view entry
The memory view interface added at 890bc2cdde is experimental new C-API
set. This feature permits extension librarie...
Kenta Murata
12:06 PM Feature #13767 (Closed): add something like python's buffer protocol to share memory between different narray like classes
Fixed by https://github.com/ruby/ruby/commit/890bc2cdde4097390f3b71dfeaa36dd92ee0afe2 mrkn (Kenta Murata)
12:06 PM Feature #14722 (Closed): python's buffer protocol clone
Fixed by https://github.com/ruby/ruby/commit/890bc2cdde4097390f3b71dfeaa36dd92ee0afe2 mrkn (Kenta Murata)
11:37 AM Revision caaa36b4 (git): prohibi method call by defined_method in other racotrs
We can not call a non-isolated Proc in multiple ractors. ko1 (Koichi Sasada)
11:32 AM Revision 890bc2cd (git): Buffer protocol proposal (#3261)
* Add buffer protocol
* Modify for some review comments
* Per-object buffer availability
* Rename to MemoryView fr...
Kenta Murata
11:28 AM Revision 6eeacbbc (git): Extract assert assertion to assert_include and assert_not_include.
hsbt (Hiroshi SHIBATA)
11:21 AM Feature #17187: Add connect_timeout to TCPSocket
Pull Request: https://github.com/ruby/ruby/pull/3585 Glass_saga (Masaki Matsushita)
11:17 AM Feature #17187 (Closed): Add connect_timeout to TCPSocket
Add connect_timeout to TCPSocket.new in the same way as Socket.tcp.
```ruby
TCPSocket.new("192.0.2.1", 1234, conn...
Glass_saga (Masaki Matsushita)
10:21 AM Revision 8705dba1 (git): Update dependencies
znz (Kazuhiro NISHIYAMA)
10:21 AM Revision cd44febc (git): Add check_dependencies workflow
znz (Kazuhiro NISHIYAMA)
10:03 AM Feature #17184: No stdlib function to perform simple string replacement
IMHO, rather than change the behavior of `gsub`, introducing a much simpler `String#replace(search, replace)` would m... byroot (Jean Boussier)
01:54 AM Feature #17184: No stdlib function to perform simple string replacement
> I think we should remove special treatment of `\+`, etc in the replacement string for `sub/gsub(String, String)`.
...
Dan0042 (Daniel DeLorme)
09:17 AM Feature #17173: open-uri で ciphers を設定したい
net/http の ciphers を設定する ssl_ciphers キーワード引数を open-uri に加えるのはあり得ると思います。
akr (Akira Tanaka)
08:28 AM Revision 81dc37b1 (git): assert_true is not provided by test-unit
hsbt (Hiroshi SHIBATA)
08:28 AM Revision e30d1b09 (git): Fix pure parser with unclosed arrays / objects [Fix #314]
Marc-Andre Lafortune
08:28 AM Revision 927a377a (git): [flori/json] Fix JSON.load_file doc
https://github.com/flori/json/commit/cb61a00ba8 byroot (Jean Boussier)
08:28 AM Revision 038252fe (git): [flori/json] Partial compliance with doc/method_documentation.rdoc
https://github.com/flori/json/commit/6dfa885134 burdettelamar (Burdette Lamar)
08:28 AM Revision 71f64e15 (git): [flori/json] Enhanced RDoc for JSON.dump (#443)
* Enhanced RDoc for JSON.dump
https://github.com/flori/json/commit/03f1699ec4
burdettelamar (Burdette Lamar)
08:28 AM Revision 3d5e8339 (git): bundle the LICENSE file in the gem
Julien Feltesse
08:28 AM Revision de0e0ffa (git): [flori/json] Nodoc for recurse_proc
https://github.com/flori/json/commit/f8c0fe2408 burdettelamar (Burdette Lamar)
08:28 AM Revision e9096f79 (git): [flori/json] RDoc for JSON.load with proc
https://github.com/flori/json/commit/a55c91934e burdettelamar (Burdette Lamar)
08:28 AM Revision 0089854f (git): [test] properly 'skip' test on JRuby
an early return still caused ensure to execute,
setting JSON constant to `nil` for later tests!
kares (Karol Bucek)
08:28 AM Revision f8d43e53 (git): unify json-java gemspec with the baseline
kares (Karol Bucek)
08:28 AM Revision 8c057bb8 (git): [flori/json] RDoc example for JSON.load
https://github.com/flori/json/commit/e4eead665c burdettelamar (Burdette Lamar)
08:28 AM Revision 36b2177e (git): [flori/json] Enhance RDoc for JSON.parse
https://github.com/flori/json/commit/33e64ef255 burdettelamar (Burdette Lamar)
08:28 AM Revision 71b1bbad (git): [flori/json] Move options from #generate and #parse to common area
https://github.com/flori/json/commit/20d7be605a burdettelamar (Burdette Lamar)
08:28 AM Revision c3614877 (git): [flori/json] Add `load_file` and `load_file!` methods, with tests. Fixes issue #386.
https://github.com/flori/json/commit/0be363c99b keithrbennett (Keith Bennett)
08:28 AM Revision e1659af3 (git): Add an option to escape forward slash character
Squashed commit of the following:
commit 26d181059989279a79c433cedcd893b4f52e42ee
Author: Francois Chagnon <francois...
byroot (Jean Boussier)
08:08 AM Revision c5ea060e (git): Update NEWS about RBS (#3579)
soutaro (Soutaro Matsumoto)
07:14 AM Feature #13683: Add strict Enumerable#single
A practical use case: When scraping a HTML document or something, sometimes we assume that an array length is 1.
`...
mame (Yusuke Endoh)
07:12 AM Feature #13683: Add strict Enumerable#single
Dan0042 (Daniel DeLorme) wrote in #note-25:
> > If collection is empty and a block was given, returns the block's re...
nobu (Nobuyoshi Nakada)
07:00 AM Revision 25cfb0c0 (git): Range is based on Struct.
Range can be shareable because it is implemented by Struct. ko1 (Koichi Sasada)
07:00 AM Revision 96739c42 (git): Frozen Struct can be shareable.
A frozen Struct object which refers to shareable objects should be
shareable.
ko1 (Koichi Sasada)
06:53 AM Bug #17030: Enumerable#grep{_v} should be optimized for Regexp
As far as we measured, there are still plenty of room for the optimization (for example, we don't need to allocate `M... matz (Yukihiro Matsumoto)
06:47 AM Revision 97416ae5 (git): Describe resolv_timeout in NEWS
Glass_saga (Masaki Matsushita)
06:39 AM Revision f2d1808e (git): Add comments for resolv_timeout
Glass_saga (Masaki Matsushita)
06:19 AM Feature #17134 (Closed): Add resolv_timeout to TCPSocket
Applied in changeset commit:git|511fe23fa2bdf1f17faa91e0558be47b5bb62b2a.
----------
Add resolve_timeout to TCPSocke...
Glass_saga (Masaki Matsushita)
06:19 AM Revision 511fe23f (git): Add resolve_timeout to TCPSocket [Feature #17134]
Glass_saga (Masaki Matsushita)
05:42 AM Feature #15628 (Assigned): init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
Glass_saga (Masaki Matsushita)
04:11 AM Revision b72f9200 (git): [ruby/psych] Forward keyword arguments in load_file and load_stream
https://github.com/ruby/psych/commit/4e1dd37f09 byroot (Jean Boussier)
04:11 AM Revision 8ea1021f (git): [ruby/psych] Bump version to 3.2.0
https://github.com/ruby/psych/commit/181a727c90 hsbt (Hiroshi SHIBATA)
04:11 AM Revision 263c4348 (git): [ruby/psych] Revert psych version
https://github.com/ruby/psych/commit/55a294fcd0 SzymonKowalczyk
04:11 AM Revision f794c928 (git): [ruby/psych] Update SNAKEYAML CVE-2017-18640
to version 1.26
https://github.com/ruby/psych/commit/b2802135e7
SzymonKowalczyk
04:11 AM Revision 33641e00 (git): Remove private_iv_get
The only remaining use of this function was to get the internal
message object from an exception's hidden `mesg` inst...
headius (Charles Nutter)
04:07 AM Revision 6081ba4a (git): refactoring a test code.
make a test more clear. ko1 (Koichi Sasada)
03:53 AM Revision d247deda (git): Ractor.yield should raise if out-port is closed
Ractor.yield should raise Ractor::ClosedError if current Ractor's
outgoing-port is closed.
ko1 (Koichi Sasada)
03:52 AM Revision 52865263 (git): frozen T_OBJECT can be shareable.
If an T_OBJECT object is frozen and all ivars are shareable,
the object should be shareable.
ko1 (Koichi Sasada)
03:52 AM Revision fde13615 (git): should not check taint flag on rubyspec.
Now taint flag is obsolete and it is used fro shareaable flag.
So we should not check this flag.
ko1 (Koichi Sasada)
02:38 AM Revision c6c241e4 (git): enrich comment
Added description and URL about nested flexible array member. shyouhei (Shyouhei Urabe)
02:38 AM Revision 4cc501bc (git): ext/-test-/RUBY_ALIGNOF: skip C++ when no compiler
C++ compilers are optional. Skip C++ tests when they are absent. shyouhei (Shyouhei Urabe)
02:38 AM Revision e75aed7a (git): RBIMPL_ALIGNOF: do not use constexpr
Was definitely a bad idea to use constexpr. It is not ubiquitous. shyouhei (Shyouhei Urabe)
02:38 AM Revision 0b77a86d (git): ext/-test-/RUBY_ALIGNOF: add minimalistic test
Check if RUBY_ALIGNOF(double) is the alignment to store a double inside
of a struct.
shyouhei (Shyouhei Urabe)
02:38 AM Revision 873fb1aa (git): ALLOCA_N: do not use RUBY_ALIGNOF
Now that RUBY_ALIGNOF behaves like C11's _Alignof. This is not
necessarily the best stack arrangement. We can just ...
shyouhei (Shyouhei Urabe)
02:38 AM Revision e9fb2bc8 (git): RBIMPL_ALIGNOF: do not use __alignof__
It is reported that on a system of i386 System V ABI, GCC returns 8 for
__alignof__(double). OTOH the ABI defines al...
shyouhei (Shyouhei Urabe)
02:38 AM Revision fe875be0 (git): rb_cv_have_alignas: not used any longer
Availability of `alignas` is checked in include/ruby/internal/stdalign.h
now. That does not need this configure chec...
shyouhei (Shyouhei Urabe)
01:53 AM Feature #16786: Light-weight scheduler for improved concurrency.
Eregon (Benoit Daloze) wrote in #note-56:
> What's `Fiber#annotate`?
It's a way to add a description to what a fiber...
ioquatix (Samuel Williams)
01:01 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
Any of the earlier suggestions were good, such as "pool" or "deduped". But while "interned" is technically correct, i... Dan0042 (Daniel DeLorme)
12:50 AM Revision 996af2ce (git): Disable deprecation warning by the default [Feature #16345]
And `-w` option turns it on. nobu (Nobuyoshi Nakada)

09/24/2020

11:38 PM Revision 83ff0f74 (git): Enhanced RDoc for String#match? (#3576)
* Enhanced RDoc for String#match? burdettelamar (Burdette Lamar)
10:54 PM Revision 53acf668 (git): Revert "[ruby/webrick] Add test for shutdown_pipe"
This reverts commit c06eab13290757fc326bb2a6e3ac25cd53e00894. hsbt (Hiroshi SHIBATA)
10:33 PM Revision c5960d51 (git): Revert "[ruby/webrick] Fix shutdown_pipe test issue"
This reverts commit b8fdd38b2e01abcfd4cc8d007a3b3afb285f5ddb. hsbt (Hiroshi SHIBATA)
10:11 PM Bug #17186 (Closed): Integer overflow in "chr" error message (out of char range)
Example:
```
irb(main):001:0> 300_000_000.chr
RangeError (300000000 out of char range)
irb(main):002:0> 3_000_0...
semaperepelitsa (Simon Perepelitsa)
06:23 PM Revision 38385d28 (git): Enhanced RDoc for String (#3574)
Methods:
=~
match
burdettelamar (Burdette Lamar)
05:09 PM Bug #17185 (Closed): OpenSSL 1.1.1h failures
Eregon (Benoit Daloze)
05:05 PM Bug #17185: OpenSSL 1.1.1h failures
With the commits by @mame, both mingw & mswin are passing with 1.1.1h.
Thanks, Please close whenever.
MSP-Greg (Greg L)
03:00 PM Bug #17185 (Closed): OpenSSL 1.1.1h failures
Both mswin and mingw are currently failing, with the only obvious change being a change to OpenSSL 1.1.1h. Note that... MSP-Greg (Greg L)
04:48 PM Feature #17184: No stdlib function to perform simple string replacement
znz (Kazuhiro NISHIYAMA) wrote in #note-8:
> You can use `gsub("SCRIPT") { "replacement" }`.
I forgot about this ...
Eregon (Benoit Daloze)
04:46 PM Feature #17184: No stdlib function to perform simple string replacement
sheerun (Adam Stankiewicz) wrote in #note-7:
> String doesn't have dup method
What do you mean? `"foo".dup # => "...
Eregon (Benoit Daloze)
03:45 PM Feature #17184: No stdlib function to perform simple string replacement
Nice, it actually suits me.
I'll leave this issue open though, because I agree with what Benoit said above
sheerun (Adam Stankiewicz)
02:35 PM Feature #17184: No stdlib function to perform simple string replacement
You can use `gsub("SCRIPT") { script }`.
If you do not want the special treatment of replacement, you should use `...
znz (Kazuhiro NISHIYAMA)
01:33 PM Feature #17184: No stdlib function to perform simple string replacement
String doesn't have dup method sheerun (Adam Stankiewicz)
12:50 PM Feature #17184: No stdlib function to perform simple string replacement
@chrisseaton noticed the same issue a while ago.
`String#[]=` only replaces the first occurrence (and mutates the ...
Eregon (Benoit Daloze)
12:24 PM Feature #17184: No stdlib function to perform simple string replacement
Little more advanced, but common usecase, which also doesn't have built-in function is replacing all strings in simpl... sheerun (Adam Stankiewicz)
12:20 PM Feature #17184: No stdlib function to perform simple string replacement

For now I'm using self-implemented function, but I wish there was something built-in:
```rb
class String
# S...
sheerun (Adam Stankiewicz)
12:02 PM Feature #17184: No stdlib function to perform simple string replacement
byroot (Jean Boussier) wrote in #note-2:
> The intended API for that is `String[]=`, e.g.
Is there a non-mutable ...
sheerun (Adam Stankiewicz)
11:59 AM Feature #17184: No stdlib function to perform simple string replacement
The intended API for that is `String[]=`, e.g.
```ruby
string["search"] = "replace"
```
byroot (Jean Boussier)
11:56 AM Feature #17184: No stdlib function to perform simple string replacement
The hash replacement form of gsub doesn't have this problem, strangely enough:
``` ruby
'mislocated cat, vindicating...
briankung (Brian Kung)
11:37 AM Feature #17184 (Assigned): No stdlib function to perform simple string replacement
I have following simple `build.rb`:
```rb
template = File.read('template.vim')
script = File.read('script.vim')
...
sheerun (Adam Stankiewicz)
03:55 PM Revision 6fe2a9fc (git): Enhanced RDoc for String (#3569)
Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, o... burdettelamar (Burdette Lamar)
03:26 PM Revision b30af31c (git): * 2020-09-25 [ci skip]
git[bot]
03:25 PM Revision 7ad3aff4 (git): Ractor#close_outgoping cancel Ractor.yield
Ractor#close_outgoing should cancel waiting Ractor.yield. However,
yield a value by the Ractor's block should not can...
ko1 (Koichi Sasada)
01:20 PM Revision 757e185c (git): Revert "[ruby/webrick] Allow empty POST and PUT requests without content length"
This reverts commit ed12019ce6abe87aac87ec77ac081d37b25180a2.
https://github.com/ruby/ruby/runs/1160423667?check_s...
hsbt (Hiroshi SHIBATA)
12:41 PM Revision 588ac990 (git): [ruby/webrick] Manually pick commit from upstream repo
Fix test when run with US-ASCII encoding
https://github.com/ruby/webrick/commit/f402aafb36bbd43be54621405da550643a...
hsbt (Hiroshi SHIBATA)
12:37 PM Revision f64bea6d (git): [ruby/webrick] Allow shutdown_pipe to be passed in via @config
https://github.com/ruby/webrick/commit/30152b4bf9 wishdev (John Higgins)
12:34 PM Revision c12c7fea (git): [ruby/webrick] Only run test_big_bodies test on Ruby 2.5+
It was added after Ruby 2.5, and it looks like it never ran correctly
on Ruby <2.5.
https://github.com/ruby/webrick/...
jeremyevans (Jeremy Evans)
12:34 PM Revision ed12019c (git): [ruby/webrick] Allow empty POST and PUT requests without content length
RFC 7230 section 3.3.3 allows for this.
Fixes #30
https://github.com/ruby/webrick/commit/069e9b1908
jeremyevans (Jeremy Evans)
12:33 PM Revision 0fe64611 (git): [ruby/webrick] Allow EPROTOTYPE error when writing junk to a socket
MacOS seems to raise this error in some cases.
https://github.com/ruby/webrick/commit/0f0c9f1e61
jeremyevans (Jeremy Evans)
12:32 PM Revision b8fdd38b (git): [ruby/webrick] Fix shutdown_pipe test issue
https://github.com/ruby/webrick/commit/9676704c60 wishdev (John Higgins)
12:31 PM Revision 4715a24d (git): [ruby/webrick] Ensure server port numbers are numeric and ensure they are stored as integers
https://github.com/ruby/webrick/commit/86ed621e11 wishdev (John Higgins)
12:31 PM Revision c06eab13 (git): [ruby/webrick] Add test for shutdown_pipe
https://github.com/ruby/webrick/commit/1daacc1849 wishdev (John Higgins)
12:30 PM Revision d969cf60 (git): [ruby/webrick] Do not use ensure in a block without begin
This syntax is not supported until Ruby 2.5, and Webrick still
targets Ruby 2.3+.
https://github.com/ruby/webrick/co...
jeremyevans (Jeremy Evans)
12:22 PM Revision 96da24f2 (git): [ruby/webrick] Make readpartial limit chunk to appropriate size
https://github.com/ruby/webrick/commit/e693f501bd wishdev (John Higgins)
12:21 PM Revision 46ba416a (git): [ruby/webrick] Skip env-locale-sensitive CGI test on the "java" platform
JRuby's environment variables are provided by the Java Development
Kit's (JDK's) classes, which present them as a map...
headius (Charles Nutter)
10:39 AM Revision 0c611d7f (git): test/net/http/test_https.rb: The test logic was buggy
The expected certs must be `[CA_CERT, SERVER_CERT]` before 1.1.1g and
`[SERVER_CERT]` after 1.1.1h.
mame (Yusuke Endoh)
10:34 AM Revision 1917afa3 (git): test/net/http/test_https.rb: the order of verify_callback seems to vary
... depending upon the environment. mame (Yusuke Endoh)
10:30 AM Revision 4405423c (git): test/ostruct/test_ostruct.rb: Prevent "method redefined; discarding old foo"
mame (Yusuke Endoh)
10:29 AM Revision 416bb11a (git): test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized"
mame (Yusuke Endoh)
10:20 AM Revision 07786edd (git): test/net/http/test_https.rb: Stop the error due to openssl 1.1.1h
On some environments that uses OpenSSL 1.1.1h, the two tests now fail.
http://rubyci.s3.amazonaws.com/android29-x86_...
mame (Yusuke Endoh)
09:39 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
There is an extra difference that #absolute_path will also try to canonicalize the path and resolve symlinks, so then... Eregon (Benoit Daloze)
08:09 AM Revision 29ed16ff (git): add GC_GUARD
We observed mark miss on this point so we add RB_GC_GUARD() to
avoid wrong free.
ko1 (Koichi Sasada)
08:09 AM Revision 4a588e70 (git): sync rb_gc_register_mark_object()
rb_vm_t::mark_object_ary is global resource so we need to
synchronize to access it.
ko1 (Koichi Sasada)
01:32 AM Bug #17183: Float round working weirdly
Agreed to @marcandre . This sounds like a real bug. shyouhei (Shyouhei Urabe)
12:56 AM Revision e06f4a3b (git): Remove test for putiseq insn
putiseq was removed from instruction set in 2b5bb8a0 Michael Lindley
12:17 AM Bug #16809: Fiber crashes with --with-coroutine=copy
It looks like sometimes the copy coroutine implementation can segfault even on x86_64: https://travis-ci.org/github/r... jeremyevans0 (Jeremy Evans)

09/23/2020

11:17 PM Bug #10534 (Rejected): Enumerator methods other than "next" do not always respect "peek"
jeremyevans0 (Jeremy Evans)
11:12 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
Understood. The PR looks acceptable and the right fix.
My advice is to avoid the copy coroutine implementation if ...
ioquatix (Samuel Williams)
11:03 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
I've improved the documentation for `#path` and `#absolute path` in commit:fae135c5b39db173bf97dfa3c3a34eb8fb230276. ... jeremyevans0 (Jeremy Evans)
10:55 PM Revision fae135c5 (git): Document difference between Thread::Backtrace::Location#{,absolute_}path
They are usually the same, except for locations in the main script. jeremyevans (Jeremy Evans)
10:23 PM Feature #10637 (Assigned): Puppet orchestration on vagrant fails with Error: Non-HTTP proxy URI
Currently, open-uri only supports http proxies, not https proxies (you can connect to https sites through an http pro... jeremyevans0 (Jeremy Evans)
10:20 PM Bug #17183: Float round working weirdly
I think that's a bug. Looks different but maybe related to #14365.
marcandre (Marc-Andre Lafortune)
10:07 PM Bug #17183: Float round working weirdly
This is a known issue and not a bug. My bad. I cannot delete the ticket agustincornu (Agustin Cornu)
09:34 PM Bug #17183 (Closed): Float round working weirdly
I encountered this issue when casting a specific float with a especific round argument.
```
0.5.round(15)
=> 0.5...
agustincornu (Agustin Cornu)
10:11 PM Bug #10749 (Closed): Possible overflow in GC::Profiler report on 2.2.0
jeremyevans0 (Jeremy Evans)
10:01 PM Bug #10684 (Rejected): Block arity changes through Enumerable methods
jeremyevans0 (Jeremy Evans)
06:52 PM Revision 502c3ff0 (git): * 2020-09-24 [ci skip]
git[bot]
06:52 PM Revision 637d1cc0 (git): Improve the performance of super
This PR improves the performance of `super` calls. While working on some
Rails optimizations jhawthorn discovered tha...
eileencodes (Eileen Uchitelle)
06:01 PM Feature #17143: Improve support for warning categories
ko1 (Koichi Sasada) wrote in #note-3:
> My concern is, arbitrary categories make filtering difficult on Warning.warn...
jeremyevans0 (Jeremy Evans)
05:44 PM Feature #17143: Improve support for warning categories
My concern is, arbitrary categories make filtering difficult on Warning.warn method.
Another concern is, "what is th...
ko1 (Koichi Sasada)
05:35 AM Feature #17143: Improve support for warning categories
ko1 (Koichi Sasada) wrote in #note-1:
> Let me clear the proposal. Your PR seems to allow any categories (and any cl...
jeremyevans0 (Jeremy Evans)
04:57 AM Feature #17143: Improve support for warning categories
Let me clear the proposal. Your PR seems to allow any categories (and any class of object). Is it intentional? ko1 (Koichi Sasada)
03:37 PM Feature #17134: Add resolv_timeout to TCPSocket
It receives `resolv_timeout` as a keyword argument to specify name resolution timeout.
Example:
```ruby
# it rai...
Glass_saga (Masaki Matsushita)
05:15 AM Feature #17134: Add resolv_timeout to TCPSocket
Could you describe API changes more? ko1 (Koichi Sasada)
02:40 PM Bug #16809 (Assigned): Fiber crashes with --with-coroutine=copy
OpenBSD/sparc64 (which uses copy coroutine) is similarly broken in regards to fibers. Even something simple like `ru... jeremyevans0 (Jeremy Evans)
11:00 AM Bug #16809: Fiber crashes with --with-coroutine=copy
I've tested copy coroutine. Unfortunately today it is broken completely: hangs, segfaults, etc. puchuu (Andrew Aladjev)
02:10 PM Bug #12468 (Closed): Logger: Can not rotate (log shifting failed. closed stream)
jeremyevans0 (Jeremy Evans)
01:01 PM Revision b717f734 (git): Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
hsbt (Hiroshi SHIBATA)
12:06 PM Revision a4684161 (git): bump Bundler's version to 2.2.0.rc.1
hsbt (Hiroshi SHIBATA)
12:02 PM Revision 31a6eaab (git): Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop. hsbt (Hiroshi SHIBATA)
11:28 AM Revision f56fc720 (git): bundle-package.* was removed at upstream repo
hsbt (Hiroshi SHIBATA)
08:47 AM Revision b57c5467 (git): strip trailing spaces [ci skip]
nobu (Nobuyoshi Nakada)
08:38 AM Revision 5cc72881 (git): Update the version number of rubygems and bundler at NEWS.md
hsbt (Hiroshi SHIBATA)
07:23 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
Would you like a patch? byroot (Jean Boussier)
06:07 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
I'm now positive "interned_str" instead of "interned". ko1 (Koichi Sasada)
02:44 AM Revision 9a8f5f0a (git): Fix call-seq [ci skip]
`encoding` can be not only an encoding name, but also an Encoding object.
```
s = String.new('foo', encoding: Encodi...
znz (Kazuhiro NISHIYAMA)
01:59 AM Revision ba889100 (git): Bundle rbs gem as bundled gems (#3496)
* Added rbs as bundled gems
* Added the missing dependencies for rbs gem
hsbt (Hiroshi SHIBATA)
12:43 AM Feature #4917: `NilClass#to_ary`
y_feldblum (Jay Feldblum) wrote in #note-6:
> This minor performance issue becomes a huge problem when NilClass#meth...
DanRathbun (Dan Rathbun)
12:09 AM Revision e380f788 (git): Removed rb_find_file_ext_safe and rb_find_file_safe
hsbt (Hiroshi SHIBATA)

09/22/2020

11:08 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
ioquatix (Samuel Williams) wrote in #note-7:
> It is fixed: https://github.com/ruby/ruby/pull/2995
Hello, you hav...
puchuu (Andrew Aladjev)
10:44 PM Bug #11778 (Closed): recv_io with mode breaks when klass arg is kind of BasicSocket
Applied in changeset commit:git|ed27c2514c2f4140546dce2e8f5f64cb91712c47.
----------
Update UnixSocket#recv_io tests...
jeremyevans (Jeremy Evans)
09:11 PM Bug #11778: recv_io with mode breaks when klass arg is kind of BasicSocket
I don't think this is a bug. If you pass a non-nil mode argument to `recv_io`, you should ensure that `klass.for_fd`... jeremyevans0 (Jeremy Evans)
10:44 PM Revision ed27c251 (git): Update UnixSocket#recv_io tests to handle receiving a UnixSocket
Receiving UnixSocket works fine if you don't provide a mode, and
I think it is reasonable to expect that you should n...
jeremyevans (Jeremy Evans)
09:32 PM Revision b904b729 (git): Enhanced RDoc for String (#3565)
Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, o... burdettelamar (Burdette Lamar)
08:40 PM Revision 3d474e19 (git): Rudimentary support for disassembling rb_iseq_t
I need to disassemble instruction sequences while debugging, so I wrote
this.
Usage is like this:
```
(lldb) p iseq...
tenderlovemaking (Aaron Patterson)
08:08 PM Bug #12136 (Closed): OpenStruct.new(format: :bar).send :format # => too few arguments
jeremyevans0 (Jeremy Evans)
08:06 PM Bug #12251 (Closed): DelegateClass(OpenStruct) behavior in 2.3.0 different from 2.2
The OpenStruct changes were reverted starting around commit:e026e186f4a01aa3f6cd02ae6ef33f44f129361c, so you once aga... jeremyevans0 (Jeremy Evans)
08:02 PM Bug #12258 (Closed): RDoc bug when handling comments in C code examples
jeremyevans0 (Jeremy Evans)
07:07 PM Bug #17007 (Assigned): SystemStackError when using super inside Module included and lexically inside refinement
To restore compatibility with Ruby 2.7 and fix #17182, I've reverted commit:eeef16e190cdabc2ba474622720f8e3df7bac43b ... jeremyevans0 (Jeremy Evans)
07:05 PM Bug #17182 (Closed): Refinements behavior is broken
Applied in changeset commit:git|179384a66862d5ef7413b6f4850b97d0becf4ec9.
----------
Revert "Prevent SystemStackErro...
jeremyevans (Jeremy Evans)
06:00 PM Bug #17182: Refinements behavior is broken
After some more thought, I think it's better to revert my fix and reopen #17007. Here's a PR for that, I plan on mer... jeremyevans0 (Jeremy Evans)
04:00 PM Bug #17182 (Assigned): Refinements behavior is broken
This is discussed in https://bugs.ruby-lang.org/issues/17007#note-4. I'm not sure whether the previous behavior is s... jeremyevans0 (Jeremy Evans)
03:47 PM Bug #17182 (Closed): Refinements behavior is broken
Calling the methods defined by Refinements via `super` from a singleton method breaks the behavior.
```ruby
cla...
osyo (manga osyo)
07:04 PM Revision 179384a6 (git): Revert "Prevent SystemStackError when calling super in module with activated refinement"
This reverts commit eeef16e190cdabc2ba474622720f8e3df7bac43b.
This also reverts the spec change.
Preventing the Sys...
jeremyevans (Jeremy Evans)
06:30 PM Bug #12468: Logger: Can not rotate (log shifting failed. closed stream)
I can't test cygwin, but I've added a pull request to logger that should fix this by treating cygwin like mswin and m... jeremyevans0 (Jeremy Evans)
06:12 PM Bug #12708 (Closed): Net::IMAP : Mail To address is not correct when uid_fetch is called.
jeremyevans0 (Jeremy Evans)
04:20 PM Revision f3dddd77 (git): Add a comment about why we're checking the finalizer table
tenderlovemaking (Aaron Patterson)
04:01 PM Revision 3c808898 (git): * 2020-09-23 [ci skip]
git[bot]
03:57 PM Revision 8b41e9b6 (git): Revert "Pin values in the finalizer table"
If an object has a finalizer flag set on it, prevent it from moving.
This partially reverts commit 1a9dd31910699c7cd...
tenderlovemaking (Aaron Patterson)
12:45 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
> As a information, openssl 2.1.2 is used on Ruby 2.5.8.
openssl 2.1.2 is used for both Ruby 2.5.8 and Ruby 2.7.1....
jaruga (Jun Aruga)
07:40 AM Feature #17135: Improve performance of Integer#size method
I try to improve performance of `Integer#size` in C code with refer to `TrueClass#to_s`
```c
static VALUE rb_c...
S_H_ (Shun Hiraoka)
02:35 AM Bug #17181 (Closed): Hash with default block breaks after transforming values
Applied in changeset commit:git|df14c758fc705c49c2aaf4c9276a8f7229438fbf.
----------
Make hash returned by Hash#tran...
jeremyevans (Jeremy Evans)
12:58 AM Bug #17181: Hash with default block breaks after transforming values
PR: https://github.com/ruby/ruby/pull/3563 jeremyevans0 (Jeremy Evans)
02:35 AM Revision df14c758 (git): Make hash returned by Hash#transform_values not have a default
This sets an explicit default of nil. There is probably a better
approach of removing the default.
Fixes [Bug #17181]
jeremyevans (Jeremy Evans)

09/21/2020

09:59 PM Bug #17181: Hash with default block breaks after transforming values
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Thanks for the report. I can confirm the issue. It looks like `rb_...
jeremyevans0 (Jeremy Evans)
09:54 PM Bug #17181: Hash with default block breaks after transforming values
Thanks for the report. I can confirm the issue. It looks like `rb_hash_transform_values` is missing `COPY_DEFAULT(r... jeremyevans0 (Jeremy Evans)
04:57 PM Bug #17181 (Closed): Hash with default block breaks after transforming values
I found a problem with Hashes that use a default proc.
```ruby
x = Hash.new { |h, k| h[k] = [] }
x[:a] << 1
x[:...
crashtech (Carlos Silva)
04:28 PM Revision 7ee166ed (git): * 2020-09-22 [ci skip]
git[bot]
04:27 PM Revision c6c5d4b3 (git): Comply with guide for method doc: string.c (#3528)
Methods:
::new
#length
#bytesize
#empty?
#+
#*
#%
burdettelamar (Burdette Lamar)
03:29 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
As my experiment, I tried to run the tests on the Ruby 2.5.8 by regular user after changing the crypto policy by root... jaruga (Jun Aruga)
11:55 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
Hi Greg L,
Thanks for taking a look at this!
> Sorry for the delay. I used to get pinged here, but it stopped a w...
jaruga (Jun Aruga)
01:55 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
I suspect that the ruby/ruby commit mentioned above will help, also see the commits @rhenium did listed in https://gi... MSP-Greg (Greg L)
02:22 PM Revision 82998918 (git): Make Thread#join always convert its argument, as before 70f08f1eed
Eregon (Benoit Daloze)
02:04 PM Revision 2b73e6ba (git): Simplify the implementation of Scheduler#block
* This shows block() with a timeout is similar to #kernel_sleep and also
does not need to change `@blocking`.
Eregon (Benoit Daloze)
01:58 PM Revision 0fa1c82b (git): Make it clear the first field of join_arg is the waiting thread
* And not some list of sort. Eregon (Benoit Daloze)
01:54 PM Revision c19bcf38 (git): Fix Thread leak in Thread#join specs
Eregon (Benoit Daloze)
01:50 PM Feature #17145: Ractor-aware `Object#deep_freeze`
ko1 (Koichi Sasada) wrote in #note-8:
> For Ractor, it is very clear. Another candidate is `to_shareable`
Methods...
marcandre (Marc-Andre Lafortune)
09:06 AM Feature #16786: Light-weight scheduler for improved concurrency.
What's `Fiber#annotate`? Eregon (Benoit Daloze)
12:22 AM Feature #16786: Light-weight scheduler for improved concurrency.
With the help of @eregon, I have tidied up the implementation so that:
- We found and fixed a few bugs.
- Changing t...
ioquatix (Samuel Williams)
05:04 AM Revision 10d795cf (git): Add NEWS about `Fiber#backtrace` and `Fiber#backtrace_locations`.
Samuel Williams
03:28 AM Revision f7aa51b2 (git): Update NEWS & documentation relating to scheduler.
Samuel Williams
 

Also available in: Atom