Project

General

Profile

Activity

From 04/19/2022 to 04/25/2022

04/25/2022

10:05 PM Bug #18754 (Third Party's Issue): Compiling from Source Ruby on Mac M1 Failing
hsbt (Hiroshi SHIBATA)
09:02 PM Bug #18754: Compiling from Source Ruby on Mac M1 Failing
Faced the same issue myself, Jemma Issroff pointed out the solution to me. Also the fact that it's compiling `psych` ... chrisseaton (Chris Seaton)
08:58 PM Bug #18754: Compiling from Source Ruby on Mac M1 Failing
chrisseaton (Chris Seaton) wrote in #note-2:
> You probably need to install libyaml-dev.
>
> I don't know why the...
saad (saad naveed)
06:59 PM Bug #18754: Compiling from Source Ruby on Mac M1 Failing
You probably need to install libyaml-dev.
I don't know why the error message is so bad. Shouldn't it be picked up ...
chrisseaton (Chris Seaton)
06:41 PM Bug #18754 (Third Party's Issue): Compiling from Source Ruby on Mac M1 Failing
Hello,
I'm attempting to build Ruby on my Mac M1, and it seems to be failing, and I can't find anything to figure ...
saad (saad naveed)
08:59 PM Revision 5ce0d2aa (git): [DOC] Enhanced RDoc for Kernel (#5846)
Treats:
#Array
#Hash
#String
burdettelamar (Burdette Lamar)
08:07 PM Revision f8724987 (git): Document beginless, endless ranges in Range class documentation
jeremyevans (Jeremy Evans)
07:45 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
Eregon (Benoit Daloze) wrote in #note-10:
> Actually in the simpler example from #6 we have the same inconsistency:
...
jeremyevans0 (Jeremy Evans)
07:32 PM Revision 9e8841e5 (git): Simplify example code for Enumerable#each_with_object
Colin Hart
06:30 PM Revision 5c61caa4 (git): Fix strict aliasing issue with call to rb_id_table_lookup()
Previously, GCC 11 with -O2 LTO issues -Wmaybe-uninitialized here. alanwu (Alan Wu)
06:29 PM Revision 9c44b5fb (git): [CI] Use -O2 on LTO builds as intended
Previously, since the `optflags` environment variable was set to `-O1`
and `optflags` comes after the flags appended ...
alanwu (Alan Wu)
06:28 PM Revision b989c7c6 (git): [DOC] Move :nodoc: so rdoc finds `RbConfig.ruby`
Rdoc [build] of `master` did not have this method but the reference manual [did].
[build]: https://docs.ruby-lang.or...
alanwu (Alan Wu)
05:27 PM Bug #18751: Regression on master for Method#== when comparing public with private method
An advantage of a new method would be it could also ignore the receiver for Method and the source module for UnboundM... Eregon (Benoit Daloze)
05:19 PM Bug #18751: Regression on master for Method#== when comparing public with private method
jeremyevans0 (Jeremy Evans) wrote in #note-4:
> This isn't a regression
In my POV (as a user of Method/UnboundMet...
Eregon (Benoit Daloze)
04:22 PM Bug #18751: Regression on master for Method#== when comparing public with private method
This isn't a regression, this was a change I made deliberately in the fix to #18435. It's listed in the commit messa... jeremyevans0 (Jeremy Evans)
05:20 PM Misc #18747: DevMeeting-2022-05-19
* [Bug #18751] Regression on master for Method#== when comparing public with private method (eregon)
* How do we f...
Eregon (Benoit Daloze)
03:17 PM Revision f4093c5c (git): io.nonblock returns the block's value [ci skip]
znz (Kazuhiro NISHIYAMA)
03:07 PM Revision a06e4106 (git): * 2022-04-26 [ci skip]
git[bot]
03:07 PM Revision 69c1145f (git): [DOC] Enhanced RDoc for Math module (#5837)
Revises intro.
Adds "What's Here".
Revises methods doc.
burdettelamar (Burdette Lamar)
02:50 PM Revision 5701b408 (git): [DOC] mention assignment expression values
nobu (Nobuyoshi Nakada)
01:06 PM Bug #18753: lineno= is not returning an integer
I see. Thank you for your comments. buzztaiki (Taiki Sugawara)
11:18 AM Bug #18753: lineno= is not returning an integer
I think the result of setter methods don’t need/shouldn’t to be documented in each methods. nobu (Nobuyoshi Nakada)
11:14 AM Bug #18753: lineno= is not returning an integer
The document says that the value of assignment expressions is the RHS.
This is not a method spec, but a language spe...
nobu (Nobuyoshi Nakada)
12:53 PM Revision 45cf4f21 (git): Update to ruby/spec@3affe1e
Eregon (Benoit Daloze)
12:53 PM Revision 6ae81d49 (git): Update to ruby/mspec@215497e
Eregon (Benoit Daloze)
10:39 AM Revision 4fcc7e2d (git): Fix ARGF#lineno to return Integer as documented
[Bug #18753] byroot (Jean Boussier)
01:14 AM Revision 392c952a (git): [ruby/rdoc] Fix a typo [ci skip]
https://github.com/ruby/rdoc/commit/b42c4a2fe2 znz (Kazuhiro NISHIYAMA)
12:41 AM Revision d41bc9b6 (git): More details for Rational literals (#5840)
burdettelamar (Burdette Lamar)

04/24/2022

09:07 PM Revision 30b1a21e (git): * 2022-04-25 [ci skip]
git[bot]
09:06 PM Revision 554befbf (git): Reuse `rb_proc_arity`
S_H_ (Shun Hiraoka)
04:59 PM Bug #18753: lineno= is not returning an integer
Ah.. I missed link markup... buzztaiki (Taiki Sugawara)
04:46 PM Bug #18753 (Rejected): lineno= is not returning an integer
The call-seq for `argf_set_lineno` says it returns an `integer`, but in fact it returns `nil`.
https://github.com/...
buzztaiki (Taiki Sugawara)
02:17 PM Revision 84f410e5 (git): * 2022-04-24 [ci skip]
git[bot]
02:16 PM Revision 671d90ec (git): add description for IO.nonblock=.
akr (Akira Tanaka)
01:51 PM Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
chrisseaton (Chris Seaton) wrote in #note-2:
> I've proposed some new specs to clarify something you might be confus...
zw963 (Wei Zheng)
02:36 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
That's actually not a mathematical idea. The 0-ary Cartesian product of sets should be defined as a singleton set fo... knu (Akinori MUSHA)

04/23/2022

07:26 PM Feature #18685: Enumerator.product: Cartesian product of enumerables
It might also be nice to require at least one `enum` argument, since `Enumerator.product #=> [nil]` seems a bit odd. ... shan (Shannon Skipper)
04:19 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
I changed the backport status of #18394 for Ruby 3.0 since it doesn't look like the patch was correctly applied. peterzhu2118 (Peter Zhu)
04:18 PM Bug #18394: Backports for read barrier for GC compaction for Ruby 3.0
Changing the backport status of Ruby 3.0 to "REQUIRED" again because it doesn't look like the attached patched was ap... peterzhu2118 (Peter Zhu)
01:58 PM Bug #18752 (Rejected): defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
Expected behavior as Chris said. Eregon (Benoit Daloze)
01:34 PM Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
I've proposed some new specs to clarify something you might be confused about.
> The defined? keyword when called ...
chrisseaton (Chris Seaton)
01:08 PM Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
Seems as expected to me.
> The defined? keyword when called with a method name having a module as receiver returns...
chrisseaton (Chris Seaton)
01:03 PM Bug #18752 (Rejected): defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
Please check following IRB example which can be reproduce on ruby 3.1.0
```rb
3.1.0 :012 > defined? String.instan...
zw963 (Wei Zheng)
01:09 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
Actually in the simpler example from #6 we have the same inconsistency:
```
p m.super_method #=> UnboundMe...
Eregon (Benoit Daloze)
11:34 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
On the PR, there is a discussion what should be the return value of `super_method` for a more complex example:
```ru...
Eregon (Benoit Daloze)
12:58 PM Bug #18731: Parallel test-all sometimes does not run at all some tests
Thank you.
I think we should also fix the underlying issue of the parallel runner though.
This is otherwise bound...
Eregon (Benoit Daloze)
11:39 AM Bug #18751 (Closed): Regression on master for Method#== when comparing public with private method
This script repros:
```ruby
class C
class << self
alias_method :n, :new
private :new
end
end
p ...
Eregon (Benoit Daloze)
02:59 AM Revision e142bea7 (git): Remove unnecessary sort
Because `Dir.[]` returns the sorted results since Ruby 3.0. znz (Kazuhiro NISHIYAMA)

04/22/2022

10:00 PM Revision ab3cb29b (git): Avoid defining the same test class in multiple files
Should fix issues with parallel testing sometimes not running all
tests.
This should be viewed skipping whitespace c...
jeremyevans (Jeremy Evans)
09:29 PM Bug #18731: Parallel test-all sometimes does not run at all some tests
I submitted a pull request to make it so the same test class is not used in multiple files, for the classes identifie... jeremyevans0 (Jeremy Evans)
09:26 PM Revision c2d38a0d (git): Fix build if UBF_TIMER == UBF_TIMER_PTHREAD
jeremyevans (Jeremy Evans)
08:21 PM Revision 79fa27ac (git): rbinstall: Also do `Gem.ruby` patching for unpacked bundled gems
Pointing `Gem.ruby` to the newly installed ruby gives mkmf the right
inputs to build extensions in bundled gems. Prev...
alanwu (Alan Wu)
06:23 PM Bug #18681 (Closed): crashes when built with AddressSanitizer (clang build)
jeremyevans0 (Jeremy Evans)
06:18 PM Bug #18737: Windows 'require' is case independent
I'm fairly sure this is expected behavior when Ruby is used on a case insensitive file system. However, it would be g... jeremyevans0 (Jeremy Evans)
06:14 PM Bug #18741 (Rejected): Slicing an Array using index out of range inconsistent return type
jeremyevans0 (Jeremy Evans)
06:08 PM Revision 03d21a4f (git): introduce struct `rb_native_thread`
`rb_thread_t` contained `native_thread_data_t` to represent
thread implementation dependent data. This patch separate...
ko1 (Koichi Sasada)
04:11 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
mame (Yusuke Endoh) wrote in #note-6:
> @ko1 proposed the following, and @matz approved this at the dev meeting.
> ...
jeremyevans0 (Jeremy Evans)
09:56 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
That sounds good, I think it is exactly what I proposed but with more details.
Agreed `source_location` shouldn't ch...
Eregon (Benoit Daloze)
02:36 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
@ko1 proposed the following, and @matz approved this at the dev meeting.
```
class A
private def foo
end
e...
mame (Yusuke Endoh)
03:50 PM Revision 69d41480 (git): * 2022-04-23 [ci skip]
git[bot]
03:50 PM Revision 702dc116 (git): refactoring thread inits in vm.c
* `th_init` accepts vm and ractor.
* remove `ruby_thread_init` because it is duplicated with `th_init`.
* add some co...
ko1 (Koichi Sasada)
02:34 PM Feature #18683: Allow to create hashes with a specific capacity.
I've prepared a patch for the C-API since it's already accepted: https://github.com/ruby/ruby/pull/5835
I've also ...
byroot (Jean Boussier)
01:23 PM Bug #18649 (Closed): Enumerable#first breaks out of the incorect block when across threads
Applied in changeset commit:git|4b14b2902abaa0e8f0d1e8282d2322f47431fa3f.
----------
Uncomment code to raise LocalJu...
jeremyevans (Jeremy Evans)
11:26 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
Exactly :).
Backwards compatibility, adding a flag, a new method, etc., is something for core to consider. But in ...
fxn (Xavier Noria)
11:06 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
@fxn A good point, it applies both to module and classes, it seems `mod::Name` always ignores constants of Object, wh... Eregon (Benoit Daloze)
10:38 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
@Eregon in your proposal
```ruby
Module.new.const_get(:String)
```
raises.
Would
```ruby
Class.new.co...
fxn (Xavier Noria)
09:46 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
The fix of that would be to use `Object.const_get parent_name` instead of `const_get parent_name`, or to use `const_g... Eregon (Benoit Daloze)
02:08 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
FYI: Here is an example that will be affected by the proposed change
https://github.com/googleapis/google-cloud-ru...
mame (Yusuke Endoh)
07:50 AM Bug #18750 (Feedback): Segmentation fault on SIGINT when waiting in TracePoint handler
Affected rubies: 3.0, 3.1
Currently I'm working on migrating JetBrains debugger to the targeted TracePoint API and...
hurricup (Alexandr Evstigneev)
06:38 AM Bug #18745 (Closed): build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
Thank you for confirmation. Closing.
> But ruby 3.1.2 still compiled fail on apple mini m1 (arm64 apple silicon),
...
mame (Yusuke Endoh)
12:44 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)

- ruby 3.1.2 still compiled fail on apple mini m1 (arm64 apple silicon)
```ruby
arm64-darwin21-fake.rb updated
...
lihansey ([email protected] li)
12:41 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
mame (Yusuke Endoh) wrote in #note-4:
> Perhaps this is the same issue as #18019. Please upgrade binutils and give i...
lihansey ([email protected] li)
05:55 AM Feature #18749 (Rejected): Strangeness of endless inclusive ranges
I came to think about this while looking at the pull request linked in #18748.
Currently, an endless inclusive ran...
sawa (Tsuyoshi Sawada)
03:48 AM Revision 4b14b290 (git): Uncomment code to raise LocalJumpError for yield across thread through enum
Not sure if this is the correct fix. It does raise LocalJumpError in
the yielding thread as you would expect, but th...
jeremyevans (Jeremy Evans)
03:46 AM Bug #18748 (Closed): Range#cover? returns true for beginless range of different type
While adding documentation to address #18155, I found a bug:
```ruby
(2..).cover?("2"..) # => false
(..2).cover?...
jeremyevans0 (Jeremy Evans)
03:11 AM Revision 3fa768c5 (git): Use https for wss test
hsbt (Hiroshi SHIBATA)
03:00 AM Revision eab354e1 (git): [ruby/uri] Include RFC2396_REGEXP module directly
REGEXP is defined as RFC2396_REGEXP in lib/uri/common.rb. If we include
REGEXP then a broken URL is generated in rdoc...
peterzhu2118 (Peter Zhu)
02:59 AM Revision c94f964e (git): [ruby/uri] Feat: Support WSS
There was a file for WSS so I added one line of `require_relative`
to make it work.
Now `URI.parse('wss://example.com...
okuramasafumi (Masafumi OKURA)
02:05 AM Bug #18629 (Closed): block args array splatting assigns to higher scope _ var
mame (Yusuke Endoh)
02:05 AM Bug #18629: block args array splatting assigns to higher scope _ var
This ticket was discussed at the dev meeting, and @matz said it should be fixed. @nobu has already committed a fix 3d... mame (Yusuke Endoh)
01:51 AM Feature #18642: Named ripper fields
We discussed this ticket at the dev meeting, but no conclusion has been reached. Here is a list of comments:
* It ...
mame (Yusuke Endoh)
01:41 AM Bug #18628 (Third Party's Issue): Link contributing is broken
At the April 2022 dev meeting, it was decided to keep the use of `--page-dir` in Ruby. docs.ruby-lang.org has been f... jeremyevans0 (Jeremy Evans)
01:23 AM Misc #18747 (Closed): DevMeeting-2022-05-19
# The next dev meeting
**Date: 2022/05/19 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
01:23 AM Misc #18652 (Closed): DevMeeting-2022-04-21
mame (Yusuke Endoh)

04/21/2022

10:54 PM Revision d1b9609c (git): * 2022-04-22 [ci skip]
git[bot]
10:54 PM Revision 1c4fc024 (git): rename thread internal naming
Now GVL is not process *Global* so this patch try to use
another words.
* `rb_global_vm_lock_t` -> `struct rb_thread...
ko1 (Koichi Sasada)
07:24 PM Feature #18683: Allow to create hashes with a specific capacity.
Dan0042 (Daniel DeLorme) wrote in #note-11:
> What was the point of "real keyword arguments" if we can't even start ...
jeremyevans0 (Jeremy Evans)
06:50 PM Feature #18683: Allow to create hashes with a specific capacity.
mame (Yusuke Endoh) wrote in #note-6:
> My preference of its API style is `Hash.new(capacity: 100000)`. Can we first...
Dan0042 (Daniel DeLorme)
10:31 AM Feature #18683: Allow to create hashes with a specific capacity.
I also thought about `Array#to_h`, but in cases such as deserialization like above there is no Array and the extra al... Eregon (Benoit Daloze)
07:37 AM Feature #18683: Allow to create hashes with a specific capacity.
The problem with `Array#to_h`, is that it require an array of pairs `[[k, v], [k, v]]`. So what you'll get by right s... byroot (Jean Boussier)
07:34 AM Feature #18683: Allow to create hashes with a specific capacity.
in dev-meeting,
* exposing C-API is okay (`rb_hash_new_capa()`)`.
* Matz: `Hash.new(capcacity:)` is not acceptab...
ko1 (Koichi Sasada)
07:04 AM Feature #18683: Allow to create hashes with a specific capacity.
Maybe you could add it as the second argument, making the default argument mandatory when specifying a capacity: `Has... knu (Akinori MUSHA)
03:06 AM Feature #18683: Allow to create hashes with a specific capacity.
I confirmed the proposed API actually brings performance improvements at least in a micro benchmark.
```
$ time ....
mame (Yusuke Endoh)
01:55 AM Feature #18683: Allow to create hashes with a specific capacity.
* +1 to export C-API with good name.
* idea: Make another API `Hash.create` with kwargs?
ko1 (Koichi Sasada)
04:45 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
I use the term `default extension gems` for default gems with an extension (i.e., not pure-Ruby).
Expanding on https:...
Eregon (Benoit Daloze)
03:30 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
I you want to check only in the receiver, that is `mod.const_get(cname, false)` already.
If you want to check from...
fxn (Xavier Noria)
03:22 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
matz (Yukihiro Matsumoto) wrote in #note-12:
> For the sake of consistency, it is nice to start searching from the r...
austin (Austin Ziegler)
06:53 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
For the sake of consistency, it is nice to start searching from the receiver class/module. I really like to fix the b... matz (Yukihiro Matsumoto)
12:35 PM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
> But I couldn't find the log for ext/debug/debug.c in make_install.log.
After changing like this, I could see the...
jaruga (Jun Aruga)
12:26 PM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
> How can I check it, logging those ext/openssl/openssl_missing.c and ext/debug/debug.c?
Ah sorry I could find the...
jaruga (Jun Aruga)
10:40 AM Misc #18691 (Feedback): An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
I want to confirm that stdlibs such as "ruby/openssl" (`ext/openssl`) and bundled gems with native extension such as ... jaruga (Jun Aruga)
08:53 AM Misc #18691 (Closed): An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
Thanks for the info. I confirmed that the way you suggested works filling things that I want to do.
```
$ ./autog...
jaruga (Jun Aruga)
10:40 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
And between writing `Enumerator.product` in Ruby or C I'd prefer a lot in Ruby because it's a million times more read... Eregon (Benoit Daloze)
10:37 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
My performance concern was not about Ruby vs C, writing in C would have the same issues.
What I'm saying is this:
...
Eregon (Benoit Daloze)
08:04 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
Thanks. Performance monsters can also special-case arrays and ranges and omit calls to each_entry to boost performan... knu (Akinori MUSHA)
07:59 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
Looping class method is an unusual pattern in Enumerable. So I first hesitated, but actually it's the only way to go ... matz (Yukihiro Matsumoto)
10:02 AM Feature #18668: Merge `io-nonblock` gems into core
Also I don't see why we need so much investigation into the details of io/nonblock and io/wait.
Those were always std...
Eregon (Benoit Daloze)
09:52 AM Feature #18668: Merge `io-nonblock` gems into core
@ko1 showed us the output on Windows:
```
require 'io/nonblock'
require 'socket'
# p STDOUT.nonblock?
p s = Socket.t...
Eregon (Benoit Daloze)
09:43 AM Feature #18668: Merge `io-nonblock` gems into core
nobu (Nobuyoshi Nakada) wrote in #note-17:
> TIL, `IO#nonblock?` doesn't work on Windows.
> So I'm positive for the...
Eregon (Benoit Daloze)
09:23 AM Feature #18668: Merge `io-nonblock` gems into core
TIL, `IO#nonblock?` doesn't work on Windows.
So I'm positive for the deprecation now.
nobu (Nobuyoshi Nakada)
09:17 AM Feature #18668: Merge `io-nonblock` gems into core
I don't think the current design of io/nonblock is misleading. I would think the majority of people knowing about its... Eregon (Benoit Daloze)
05:24 AM Feature #18668: Merge `io-nonblock` gems into core
As @mame described in #note-9, the design of io-nonblock is misleading. I'd rather like to make the gem deprecate.
...
matz (Yukihiro Matsumoto)
09:45 AM Bug #18746 (Closed): /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
Closing this to trigger backport. Either the https://github.com/ruby/ruby/pull/4227 or the patch from #18394 should b... vo.x (Vit Ondruch)
07:58 AM Bug #18746: /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
I think this is related to #18133 and #18394 vo.x (Vit Ondruch)
09:36 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
Looks like I didn't reply to:
> Basically, do we want users to write:
Yes, I think it's fine because it's very ...
Eregon (Benoit Daloze)
09:20 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
In relation to #18668, this proposal needs IO#nonblock= and IO#nonblock? because IO#timeout= only applies to IO#nonbl... Eregon (Benoit Daloze)
08:10 AM Revision cb02324c (git): [ruby/pathname] Implement Pathname#lutime
https://github.com/ruby/pathname/commit/268cb5acff Akinori MUSHA
07:47 AM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
@peterzhu2118 I wonder what is the status here. I think you have requested backport of the mmap patch in #18394. Howe... vo.x (Vit Ondruch)
07:04 AM Revision 3ddf6ad4 (git): Private local variables should shadow outer variables [Bug #18629]
nobu (Nobuyoshi Nakada)
07:02 AM Bug #18649: Enumerable#first breaks out of the incorect block when across threads
There is no way to tell whether the underlying `each` method is broken or exited gently.
I think that your PR would ...
nobu (Nobuyoshi Nakada)
06:36 AM Bug #18155 (Closed): (nil..nil).cover?(x) is true for all x since beginless ranges were introduced
We consider `nil .. nil` as a begin-less end-less range, so that we keep the current (post 2.7) behavior.
Probably w...
matz (Yukihiro Matsumoto)
06:14 AM Revision ee48c9cd (git): [Win32] allow pipe in flock
nobu (Nobuyoshi Nakada)
06:05 AM Revision b4f87ff8 (git): * 2022-04-21 [ci skip]
git[bot]
05:59 AM Revision dcc42d46 (git): [Doc] correct my understanding about nonblocking mode
I was wrong. Nonblocking mode nowadays does not interface with
IO#read. Document updated. [ci skip]
shyouhei (Shyouhei Urabe)

04/20/2022

07:44 PM Feature #18683: Allow to create hashes with a specific capacity.
shan (Shannon Skipper) wrote in #note-3:
> Another option would be `Hash.new { capacity }` like `to_enum { size }`.
...
Eregon (Benoit Daloze)
07:36 PM Feature #18683: Allow to create hashes with a specific capacity.
Another option would be `Hash.new { capacity }` like `to_enum { size }`. shan (Shannon Skipper)
07:22 PM Feature #18668: Merge `io-nonblock` gems into core
"Eregon (Benoit Daloze)" <[email protected]> wrote:
> Issue #18668 has been updated by Eregon (Benoit Daloze).
...
normalperson (Eric Wong)
07:12 PM Feature #18668: Merge `io-nonblock` gems into core
"shyouhei (Shyouhei Urabe)" <[email protected]> wrote:
> I don't think this gem deserves a room into core. Are...
normalperson (Eric Wong)
10:48 AM Feature #18668: Merge `io-nonblock` gems into core
mame (Yusuke Endoh) wrote in #note-11:
> Okay, can you show a self-contained program that demonstrates it?
```rub...
Eregon (Benoit Daloze)
01:27 AM Feature #18668: Merge `io-nonblock` gems into core
Eregon (Benoit Daloze) wrote in #note-10:
> this is observable for instance with a Fiber scheduler.
Okay, can you...
mame (Yusuke Endoh)
03:01 PM Bug #18746: /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
There will be probably more like this, e.g. `[ 8892/21298] TestGCCompact#test_compact_count<internal:gc>:213: [BUG] C... vo.x (Vit Ondruch)
01:47 PM Bug #18746 (Closed): /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
With Ruby 3.0.4, I observe the following segfault, which was not the case for Ruby 3.0.2, neither this is issue for R... vo.x (Vit Ondruch)
08:31 AM Bug #18745 (Feedback): build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
Perhaps this is the same issue as #18019. Please upgrade binutils and give it a retry. mame (Yusuke Endoh)
08:10 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
Also try
```
RUBYOPT="-rrubygems $RUBYOPT" ./configure rb_cv_symbol_prefix=_ --with-coroutine=ucontext --prefix="...
lihansey ([email protected] li)
08:04 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
Use [ruby-build](https://github.com/rbenv/ruby-build/blob/d3bbd54d589150dcee3325ccbf8bf478f922e470/bin/ruby-build#L59... lihansey ([email protected] li)
08:01 AM Bug #18745 (Closed): build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
Use ruby-build to build ruby 3.0.4 on macOS12.3.1 monterey still fail.
Does miss sth to configure? Thanks.
**- ...
lihansey ([email protected] li)
07:05 AM Revision 4a4c1d69 (git): [CI] resort to clang-14 (#5824)
* [CI] resort to clang-14
Clang 15 + --std=c2x combination seems actively developed now.
Might better wait for them ...
shyouhei (Shyouhei Urabe)
06:57 AM Bug #18735 (Closed): The crash reporter need to be updated for Apple silicon
Merged by @naruse at commit:fa2df520bcaaf3957db0489f1237311f091ac08d mame (Yusuke Endoh)
06:44 AM Bug #14972 (Closed): Net::HTTP inconsistently raises EOFError when peer closes the connection
Applied in changeset commit:git|90ccc5674affb64036ca86f566c8650f654fc0f6.
----------
[ruby/net-http] Add ignore_eof ...
jeremyevans (Jeremy Evans)
06:12 AM Bug #18744 (Third Party's Issue): I used Jazzy to generate the doc for my iOS library, but it showed me a bug
See my comment: https://bugs.ruby-lang.org/issues/18744#note-3 mame (Yusuke Endoh)
06:06 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
matz (Yukihiro Matsumoto) wrote in #note-2:
> It's too hard to determine the reason. It may be caused by a bug in Ru...
zhaoxinqiang (marc steven)
06:05 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
I had contacted with the developer from Jazzy , he told me it has no relationship with it... zhaoxinqiang (marc steven)
06:03 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
`-------------------------------------
Translated Report (Full Report Below)
Process: ruby [1365]
Path: /System/...
zhaoxinqiang (marc steven)
02:56 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
My psychic ability says that this is the same issue as #18496. You way want to check: https://github.com/realm/jazzy/... mame (Yusuke Endoh)
02:27 AM Bug #18744 (Feedback): I used Jazzy to generate the doc for my iOS library, but it showed me a bug
It's too hard to determine the reason. It may be caused by a bug in Ruby, or in Jazzy, or even in iOS. Show us the lo... matz (Yukihiro Matsumoto)
12:53 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
I used the Mac M1 computer zhaoxinqiang (marc steven)
12:52 AM Bug #18744 (Third Party's Issue): I used Jazzy to generate the doc for my iOS library, but it showed me a bug
I used Jazzy to generate the document, but it crashed, the details as the log file zhaoxinqiang (marc steven)
05:13 AM Revision c506ddac (git): Added assert_true and assert_false same as test-unit gem
hsbt (Hiroshi SHIBATA)
04:01 AM Revision cf73cf59 (git): [ruby/net-http] Feature detect to make net/http usable with JRuby
Handle missing session_new_cb= and do not call
session_cache_mode=, as JRuby SSL does not support
these methods.
htt...
Karol Bucek
02:52 AM Revision fa2df520 (git): Enable C backtraces on Apple silicon (#5770)
Co-authored-by: Jean Boussier <[email protected]> Jean byroot Boussier
02:04 AM Bug #18677: BigDecimal#power (**) returns FloatDomainError when passing an infinite parameter
I made a patch at https://github.com/ruby/bigdecimal/pull/227.
Note that the last case `-1 ** BigDecimal::INFINITY...
mrkn (Kenta Murata)
01:22 AM Revision d9482913 (git): * 2022-04-20 [ci skip]
git[bot]
01:22 AM Revision 90ccc567 (git): [ruby/net-http] Add ignore_eof access to HTTP and HTTPResponse
The ignore_eof setting on HTTPResponse makes it so an EOFError is
raised when reading bodies with a defined Content-L...
jeremyevans (Jeremy Evans)

04/19/2022

11:18 PM Feature #18742: Introduce a way to tell if a method invokes the `super` keyword
You could walk the method Iseq like in this example script: https://github.com/ruby/ruby/pull/5809, and look for the ... byroot (Jean Boussier)
01:19 AM Feature #18742 (Rejected): Introduce a way to tell if a method invokes the `super` keyword
In order to implement a "no clobber" checker as in #18618, I would like to have a way to check if a method calls `sup... Dan0042 (Daniel DeLorme)
09:11 PM Feature #18654: Enhancements to prettyprint
Yes, the majority of the code changes in the initial PR are about delaying output until flush is called.
To be cle...
kddnewton (Kevin Newton)
07:00 PM Misc #18652: DevMeeting-2022-04-21
* [Bug #18729] Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private (eregon... Eregon (Benoit Daloze)
04:36 AM Misc #18652: DevMeeting-2022-04-21
* [Feature #18685] Enumerator.product: Cartesian product of enumerables knu (Akinori MUSHA)
06:30 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
This RSpec test:
https://github.com/rspec/rspec-mocks/blob/1611752449b5beefa1939dd2a20beb0175d46110/spec/rspec/mocks/...
Eregon (Benoit Daloze)
05:24 PM Bug #18649: Enumerable#first breaks out of the incorect block when across threads
nobu (Nobuyoshi Nakada) wrote in #note-3:
> jeremyevans0 (Jeremy Evans) wrote in #note-2:
> > With the block uncomm...
jeremyevans0 (Jeremy Evans)
09:46 AM Bug #18649: Enumerable#first breaks out of the incorect block when across threads
jeremyevans0 (Jeremy Evans) wrote in #note-2:
> With the block uncommented, the yielding thread raises LocalJumpErro...
nobu (Nobuyoshi Nakada)
03:53 PM Bug #18731: Parallel test-all sometimes does not run at all some tests
> Ruby implementations except CRuby run MRI tests only when they have no choice
JRuby has run CRuby tests as part ...
headius (Charles Nutter)
02:42 PM Bug #18743 (Closed): Enumerator#next / peek re-use each others stacktraces
I encountered an odd behavior.
If I rescue the `StopIteration` exception from `peek` and call `next` afterwards: (...
sos4nt (Stefan Schüßler)
11:13 AM Feature #18668: Merge `io-nonblock` gems into core
`IO#read` behaves *externally*/for the caller the same, i.e., it always "reads N bytes and block until it gets them (... Eregon (Benoit Daloze)
08:15 AM Feature #18668: Merge `io-nonblock` gems into core
Can you explain what you expect `IO#nonblock=` to do?
`IO#nonblock=` is a low-level API to set `O_NONBLOCK` to the...
mame (Yusuke Endoh)
07:07 AM Feature #18668: Merge `io-nonblock` gems into core
> There are several methods like read and write which behave differently with nonblock=true. It doesn't make sense fo... ko1 (Koichi Sasada)
04:26 AM Feature #18668: Merge `io-nonblock` gems into core
-1 because I think the name `IO#nonblock =` makes me `IO#read` (or other methods) becomes nonblocking. ko1 (Koichi Sasada)
09:05 AM Misc #18726: CI Error on c99 and c2x
alanwu (Alan Wu) wrote in #note-8:
> I feel that C2X with
> pre-release versions of Clang is too much of a moving t...
shyouhei (Shyouhei Urabe)
08:44 AM Feature #18618: no clobber def
The fact that you want to raise an error suggests that you want this feature to take place during development, and no... sawa (Tsuyoshi Sawada)
05:01 AM Revision fada4d24 (git): [DOC] adjust indent
nobu (Nobuyoshi Nakada)
04:32 AM Bug #18739 (Closed): Wrong mid-rule index
Applied in changeset commit:git|08b6aacc1a14440e0f1644a05238559c6c585e38.
----------
Fix the wrong index of the prev...
nobu (Nobuyoshi Nakada)
04:32 AM Bug #18680 (Closed): The documentation for File::Stat#ctime (for example) says: stat.ctime -> aTime
Applied in changeset commit:git|b0666d64176457786c854c12c79f7beae392bee0.
----------
[DOC] Use consistent terms [Bug...
nobu (Nobuyoshi Nakada)
02:51 AM Bug #18741: Slicing an Array using index out of range inconsistent return type
HI @zverok, I think your proposition is a little different from what's reported here.
```ruby
array = [:peanut, :...
ccmywish (Aoran Zeng)
 

Also available in: Atom