Project

General

Profile

Activity

From 01/24/2021 to 01/30/2021

01/30/2021

10:56 PM Feature #17592: Ractor should allowing reading shareable class instance variables
blowfishpro (Joseph Wong) wrote in #note-4:
> Would it be reasonable to force a class/module to be frozen (and its i...
marcandre (Marc-Andre Lafortune)
09:59 PM Feature #17592: Ractor should allowing reading shareable class instance variables
Would it be reasonable to force a class/module to be frozen (and its instance variables deep frozen) before being abl... blowfishpro (Talia Wong)
05:11 PM Revision 367b5100 (git): * 2021-01-31 [ci skip]
git[bot]
05:10 PM Revision 598b7988 (git): Bundle RBS 1.0.4 (#4136)
soutaro (Soutaro Matsumoto)
05:01 PM Misc #17535: DevelopersMeeting20210216Japan
- [Feature #17593] `load_iseq_eval` should override the ISeq path (byroot)
- When loading a ISeq returned by `load_...
byroot (Jean Boussier)
03:18 PM Feature #17598: 直後の改行を無視する命令(......)
行末の `\` を `......` に置き換えて何が良いのでしょうか。私は行末の `\` のほうが見やすいと思います。 sawa (Tsuyoshi Sawada)
03:15 PM Feature #17598: 直後の改行を無視する命令(......)
提示された例が良くないと思います。例示された例は、 `......` がなくても、そのまま動きます。 sawa (Tsuyoshi Sawada)
03:06 PM Feature #17598: 直後の改行を無視する命令(......)
`......` は長過ぎると思ったので取り止めます。
(1) `--`
読みやすく書きやすい。` --`と手前にスペースを2つが読みやすくてオススメ? (×) Ruby
では使われていないが、デクリメントが使えなくなる。(イ...
Anonymous
01:17 PM Feature #17598: 直後の改行を無視する命令(......)
「命令」というよりは構文要素、トークンだと思います。 nobu (Nobuyoshi Nakada)
01:13 PM Feature #17598 (Feedback): 直後の改行を無視する命令(......)
改行を無視する命令、今 `\(\n)` となっている命令についてです。 `......` を提案します。
```ruby
(0... ......
5).each ......
.map{_1} ...... # some...
Anonymous
03:13 PM Feature #17597: 直後の改行を無視する命令(......)
This is a duplicate of #17598 (or, the other way around). sawa (Tsuyoshi Sawada)
09:40 AM Feature #17597 (Closed): 直後の改行を無視する命令(......)
改行を無視する命令、今 \(\n) となっている命令についてです。 ...... を提案します。

(0... ......
5).each ......
.map{_1} ...... # some comment...
Anonymous
11:52 AM Bug #17582: Build failure with bison-3.7.5
ruby_2_7 7332b3f367ce61089bf571fa1c458fde06a11eab merged revision(s) b091889ed67f278b1652ddde88596e2160d5aef0. nagachika (Tomoyuki Chikanaga)
11:52 AM Revision 7332b3f3 (git): merge revision(s) b091889ed67f278b1652ddde88596e2160d5aef0: [Backport #17582]
Removed YYUSE [Bug #17582]
Although it was used just to suppress an "unsed argument" warning
in the ...
nagachika (Tomoyuki Chikanaga)
11:51 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
I have backported "Merge RubyGems-3.1.6" at https://github.com/ruby/ruby/commit/99b4f20fd65075d2d9ee02f8c7a6b5d6a914c... nagachika (Tomoyuki Chikanaga)
11:46 AM Bug #16926: Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
Merged at https://github.com/ruby/ruby/commit/99b4f20fd65075d2d9ee02f8c7a6b5d6a914ce31 nagachika (Tomoyuki Chikanaga)
11:43 AM Revision 99b4f20f (git): Merge RubyGems-3.1.6 [Bug #16926]
https://github.com/ruby/ruby/pull/4122 nagachika (Tomoyuki Chikanaga)
11:09 AM Revision c4ab9017 (git): * 2021-01-30 [ci skip]
git[bot]
11:08 AM Revision 1f5b8f70 (git): Constified pointers in str_casecmp
nobu (Nobuyoshi Nakada)
09:38 AM Bug #17596 (Rejected): Calling parameters on `new` method results in :rest and -1 arity
Class method `new` and instance method `initialize` are different things. nobu (Nobuyoshi Nakada)
09:03 AM Bug #17596: Calling parameters on `new` method results in :rest and -1 arity
Ah, this makes some sense, and I'd just seen [something similar on Twitter](https://twitter.com/pixeltrix/status/1355... baweaver (Brandon Weaver)
08:57 AM Bug #17596: Calling parameters on `new` method results in :rest and -1 arity
Hi Brandon,
It is because `Testing.new` is `Class#new`, which accepts any arguments and forward to `Testing#initia...
soutaro (Soutaro Matsumoto)
08:47 AM Bug #17596: Calling parameters on `new` method results in :rest and -1 arity
It should be noted that this happens with `new` and `initialize` both baweaver (Brandon Weaver)
08:45 AM Bug #17596 (Rejected): Calling parameters on `new` method results in :rest and -1 arity
Consider the following class:
```ruby
class Testing
def initialize(a, b, c)
# ...
end
end
```
......
baweaver (Brandon Weaver)
06:51 AM Bug #17595 (Rejected): [Pattern Matching] deconstruct_keys with zero patterns supplies nil for keys argument
It is intentional behavior, so I close this ticket.
* When `**rest` is used in the pattern, `nil` is passed as a `...
ktsj (Kazuki Tsujimoto)
06:20 AM Bug #17595: [Pattern Matching] deconstruct_keys with zero patterns supplies nil for keys argument
An alternative patch would to be raising an exception as an empty hash for a match feels like an invalid case, as men... baweaver (Brandon Weaver)
06:10 AM Bug #17595 (Rejected): [Pattern Matching] deconstruct_keys with zero patterns supplies nil for keys argument
Example:
```ruby
Test = Struct.new(:a, :b) do
def deconstruct_keys(ks)
p ks: ks
to_h.slice(*ks)
e...
baweaver (Brandon Weaver)
02:14 AM Bug #17594 (Rejected): Sort order of UTF-16LE is based on binary representation instead of codepoints
I just discovered that string sorting is always based on bytes, so the order of UTF-16LE strings will give some pecul... Dan0042 (Daniel DeLorme)

01/29/2021

09:59 PM Misc #17591: Test frameworks and REPLs do not show deprecation warnings by default
test-unit 3.4.0 enables it by default. kou (Kouhei Sutou)
01:01 PM Misc #17591: Test frameworks and REPLs do not show deprecation warnings by default
One worrying issue is even if we fix the main test frameworks and REPLs, it won't apply for those shipped in the stdl... Eregon (Benoit Daloze)
12:57 PM Misc #17591 (Closed): Test frameworks and REPLs do not show deprecation warnings by default
Various people in #16345 said that:
> The issue can be mitigated if all test frameworks enable all deprecation warni...
Eregon (Benoit Daloze)
06:31 PM Bug #17583 (Assigned): Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
ko1 (Koichi Sasada)
06:05 PM Feature #17593 (Assigned): load_iseq_eval should override the ISeq path
Full context in https://github.com/Shopify/bootsnap/pull/343
Consider the following script
```ruby
system('mkd...
byroot (Jean Boussier)
05:06 PM Misc #17535: DevelopersMeeting20210216Japan
* [Bug #17592] Allow reading class instance varaibles from non-main Ractor (marcandre)
* We need way to have globa...
marcandre (Marc-Andre Lafortune)
01:00 PM Misc #17535: DevelopersMeeting20210216Japan
* [Bug #17591] Test frameworks and REPLs do not show deprecation warnings by default (eregon)
* I think ruby-core ...
Eregon (Benoit Daloze)
05:03 PM Feature #17592: Ractor should allowing reading shareable class instance variables
From a discussion with @ko1, config could be (or should be?) using `TVar`.
We need a good solution that is builtin...
marcandre (Marc-Andre Lafortune)
03:41 PM Feature #17592: Ractor should allowing reading shareable class instance variables
I think 1) or 2) is much better than 0).
And also this change will make it significantly easier to run existing code...
Eregon (Benoit Daloze)
03:31 PM Feature #17592: Ractor should allowing reading shareable class instance variables
Forgot to mention an example use-case: the URI global register for schemes see https://github.com/ruby/uri/pull/15 marcandre (Marc-Andre Lafortune)
03:29 PM Feature #17592 (Closed): Ractor should allowing reading shareable class instance variables
It would be very helpful if Ractor was allowing reading class instance variables from non-main Ractor.
Currently...
marcandre (Marc-Andre Lafortune)
03:06 PM Bug #17543: Ractor isolation broken by `self` in shareable proc
self set to `nil` is a possibility, but it seems harder to debug than special purpose object. What is the "cost" of h... marcandre (Marc-Andre Lafortune)
12:31 PM Bug #17543: Ractor isolation broken by `self` in shareable proc
ko1 (Koichi Sasada) wrote in #note-10:
> choose `nil` for self for sharable Proc? No special constant is needed.
...
Eregon (Benoit Daloze)
09:19 AM Bug #17543: Ractor isolation broken by `self` in shareable proc
choose `nil` for self for sharable Proc? No special constant is needed. ko1 (Koichi Sasada)
12:28 PM Feature #12607: Ruby needs an atomic integer
ko1 (Koichi Sasada) wrote in #note-36:
> But (I didn't measured yet) increment method call on VM needs method invoca...
Eregon (Benoit Daloze)
08:59 AM Feature #12607: Ruby needs an atomic integer
> ko1 (Koichi Sasada) wrote in #note-26:
> > TVar proposed in https://bugs.ruby-lang.org/issues/17261 has `#incremen...
ko1 (Koichi Sasada)
12:21 PM Bug #17429: Prohibit include/prepend in refinement modules
ko1 (Koichi Sasada) wrote in #note-17:
> I like `Module#mix` for all modules (not only for refimement).
I think t...
Eregon (Benoit Daloze)
09:34 AM Bug #17429: Prohibit include/prepend in refinement modules
I like `Module#mix` for all modules (not only for refimement). ko1 (Koichi Sasada)
09:39 AM Bug #17587: Segmentation fault with ractors and unix signals
current master is stuck.
I'll check it.
ko1 (Koichi Sasada)
09:16 AM Feature #17566: Tune thread QoS / efficiency on macOS
Actually, `Thread#priority` is not tested.
I'm not sure we can use this `pthread_set_qos_class_self_np` API for `pri...
ko1 (Koichi Sasada)
09:03 AM Bug #17545 (Assigned): Calling dup on a subclass of Proc returns a Proc and not the subclass
This behavior is from ruby 1.9.
Matz, is it a bug?
```
@all-ruby -e 'class Test < Proc; end; p Test.new { puts "...
ko1 (Koichi Sasada)
08:47 AM Bug #17497: Ractor performance issue
keithrbennett (Keith Bennett) wrote in #note-11:
> I too have seen strange results testing ractors. I used the code ...
ko1 (Koichi Sasada)
08:46 AM Bug #17497: Ractor performance issue
inversion (Yura Babak) wrote in #note-10:
> I also made 2 posts about strange performance testing results (with sour...
ko1 (Koichi Sasada)
08:41 AM Bug #17497: Ractor performance issue
quoted from https://github.com/ruby/ruby/pull/4129#issuecomment-769613184
----
call the following methods as a ...
ko1 (Koichi Sasada)
07:22 AM Bug #17497 (Closed): Ractor performance issue
Applied in changeset commit:git|1ecda213668644d656eb0d60654737482447dd92.
----------
global call-cache cache table f...
ko1 (Koichi Sasada)
08:40 AM Bug #17529 (Assigned): Ractor Segfaults with GC enabled
ko1 (Koichi Sasada)
07:22 AM Revision 98e27016 (git): refactoring rb_method_call_status()
ko1 (Koichi Sasada)
07:22 AM Revision 1ecda213 (git): global call-cache cache table for rb_funcall*
rb_funcall* (rb_funcall(), rb_funcallv(), ...) functions invokes
Ruby's method with given receiver. Ruby 2.7 introduc...
ko1 (Koichi Sasada)
05:28 AM Bug #17589 (Closed): Pathname#each_line with chomp option raises TypeError
Applied in changeset commit:git|9241211538189a58b477bd55b539357617fd42ed.
----------
Forward keyword arguments for P...
nobu (Nobuyoshi Nakada)
04:16 AM Bug #17589: Pathname#each_line with chomp option raises TypeError
https://github.com/ruby/ruby/pull/4128 nobu (Nobuyoshi Nakada)
03:52 AM Bug #17589 (Closed): Pathname#each_line with chomp option raises TypeError
With Ruby 3.0,
```rb
require "pathname"
Pathname(__FILE__).each_line(chomp: true){ }
```
causes
> no impl...
scivola20 (sciv ola)
05:27 AM Revision 92412115 (git): Forward keyword arguments for Pathname#each_line [Bug #17589]
nobu (Nobuyoshi Nakada)
05:20 AM Bug #17588: Cannot build with library path with spaces on MSVC
As far as I tried years ago, cl.exe failed to pass library path with spaces to link.exe. nobu (Nobuyoshi Nakada)
05:19 AM Bug #17590 (Closed): `M.prepend M` has hidden side effect
`M.prepend M` raises ArgumentError, but it has hidden side effect.
```ruby
module M; end
class C; end
C.prepend...
znz (Kazuhiro NISHIYAMA)
04:14 AM Feature #15752 (Feedback): A dedicated module for experimental features
We consumed about this topic too long. I want this topic as pending in a year. naruse (Yui NARUSE)
02:59 AM Revision acb6b395 (git): Fix failure when build in srcdir/build
If `build` directory exists, `rake build` is `Rake::FileTask`.
So skip if exists.
znz (Kazuhiro NISHIYAMA)
02:36 AM Revision 522adbc9 (git): Fixed Kernel#rand spec
Float should not be compared by identity. nobu (Nobuyoshi Nakada)
01:26 AM Revision f6387ae0 (git): Fix absolute path predicate on Windows
A path starts with '/' is not an absolute path on Windows, because
of drive letter or UNC.
nobu (Nobuyoshi Nakada)

01/28/2021

09:03 PM Misc #17535: DevelopersMeeting20210216Japan
* [Feature #15752] A dedicated module for experimental features (eregon)
* From the discussion about RubyVM in [Fe...
Eregon (Benoit Daloze)
09:01 PM Feature #15752 (Open): A dedicated module for experimental features
See https://bugs.ruby-lang.org/issues/17500#note-8
I think it is very clear MRI (and other Ruby implementations as...
Eregon (Benoit Daloze)
08:56 PM Feature #17500: Move RubyVM::* to ExperimentalFeatures
Thank you for both of your replies.
I took a while to respond, because I wasn't sure how to phrase this.
Essentia...
Eregon (Benoit Daloze)
04:09 PM Revision c10be4e9 (git): * 2021-01-29 [ci skip]
git[bot]
04:08 PM Revision 2e32b919 (git): Update to ruby/spec@8cafaa5
Eregon (Benoit Daloze)
03:43 PM Bug #17583: Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
The crash threshold of `RUBY_THREAD_VM_STACK_SIZE` seems to coincide with the default value of `GC_MALLOC_LIMIT_MIN` ... xtkoba (Tee KOBAYASHI)
03:21 PM Bug #17588: Cannot build with library path with spaces on MSVC
It may be a copy paste issue, but does the line you edited (`windows.yml#L60`) end with a double quote? MSP-Greg (Greg L)
02:46 PM Bug #17588 (Closed): Cannot build with library path with spaces on MSVC
I checked out the ruby_2_7 from github, and I reproduced all steps in the github/workflows/windows.yml with success.
...
jmarrec (Julien Marrec)
02:34 PM Misc #17586: Please run Windows CI in all std-lib repos
> What's mean Windows CI? Is it mingw or mswin or else?
First of all, re ‘or else’, `mingw` is widely used, and th...
MSP-Greg (Greg L)
09:50 AM Misc #17586: Please run Windows CI in all std-lib repos
What's mean `Windows CI`? Is it `mingw` or `mswin` or else?
hsbt (Hiroshi SHIBATA)
09:23 AM Revision 1b377b32 (git): Add fallback when PWD is not set
znz (Kazuhiro NISHIYAMA)
09:01 AM Revision 763d242f (git): Use PWD instead of source_root
Because `.ext/common` is not relative from top source directory.
Fix failures with out-of-place build directory.
znz (Kazuhiro NISHIYAMA)
09:00 AM Revision 7cd97a81 (git): Remove require_path from $LOADED_FEATURES
because some features are already loaded. znz (Kazuhiro NISHIYAMA)
09:00 AM Revision 00bd645f (git): Delete path including `/../` too
znz (Kazuhiro NISHIYAMA)
05:08 AM Bug #16930 (Closed): Excessive deprecation warnings for c++ compile units
commit:06321ea26c186434e5b943a6739ffd6bd1eb06d9 is a workaround. To trigger our backporting process I change the sta... shyouhei (Shyouhei Urabe)
12:18 AM Bug #17538 (Closed): Assertion failure when rincgc is turned off
Applied in changeset commit:git|d2ffd269a77021e6507a50995cd4af6eb5e33ea3.
----------
[Fixes #17538] Fix assertion fa...
peterzhu2118 (Peter Zhu)
12:18 AM Revision edaf0c25 (git): * 2021-01-28 [ci skip]
git[bot]
12:17 AM Revision d2ffd269 (git): [Fixes #17538] Fix assertion failure when rincgc is turned off
Co-Authored-By: Matt Valentine-House <[email protected]> peterzhu2118 (Peter Zhu)

01/27/2021

11:49 PM Bug #17497: Ractor performance issue
I've updated the software I used to measure this, and moved it to https://github.com/keithrbennett/keithrbennett-ract... keithrbennett (Keith Bennett)
08:56 PM Bug #17587 (Rejected): Segmentation fault with ractors and unix signals
Segmentation fault when trapping signals and using a Ractor.
Can be reproduced by running the following
``` rub...
mweitzel (Matthew Weitzel)
05:40 PM Misc #17586 (Open): Please run Windows CI in all std-lib repos
Please consider adding Windows CI to all std-lib repos.
Having ruby/ruby CI fail due to std-lib commits merged fro...
MSP-Greg (Greg L)
11:24 AM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
#17585 is similar issue on different platforms vo.x (Vit Ondruch)
09:36 AM Bug #17564 (Closed): Source command in irb exits after reading and evaluating the file
Applied in changeset commit:git|e80e5a2f897088bc5284ea61817a910d1d334652.
----------
[ruby/irb] use `RubyLex::Termin...
no6v (Nobuhiro IMAI)
09:33 AM Revision 80fb4758 (git): In test, need to pass a context to IRB::WorkSpace.new explicitly
aycabta (aycabta .)
06:02 AM Revision 69b42ae0 (git): [ruby/irb] specify the `VERBOSE` to `false` and fix tests to fit
https://github.com/ruby/irb/commit/502c590925 no6v (Nobuhiro IMAI)
06:02 AM Revision e80e5a2f (git): [ruby/irb] use `RubyLex::TerminateLineInput` appropriately [Bug #17564]
* using the appropriciate exception instead of `break` so that the session
can be continue after the `irb_source` a...
no6v (Nobuhiro IMAI)
06:01 AM Revision 5b05b85d (git): [ruby/irb] add `IRB::FileInputMethod.open` to ensure closing associated File
* tweak some methods not to raise exception after `#close`
* use it in `IRB::IrbLoader#{source_file,load_file}
https...
no6v (Nobuhiro IMAI)
06:00 AM Revision c736714d (git): Clear unexpanded `mjit_std_cflag`
nobu (Nobuyoshi Nakada)
05:50 AM Revision 0d5a4d6d (git): Disable fast-math
As `RUBY_TRY_CFLAGS` restores `CFLAGS`, appending to the variable
in its block has no effect.
nobu (Nobuyoshi Nakada)
05:45 AM Revision b409a34b (git): Taint flags has been deprecated in 3.1
nobu (Nobuyoshi Nakada)
04:08 AM Bug #16930: Excessive deprecation warnings for c++ compile units
I also agree the number of warnings is excessive. Could the cxxanyargs.hpp include be removed? cfis (Charlie Savage)
03:51 AM Bug #17578: mkmf experimental C++ Support
cfis (Charlie Savage) wrote in #note-4:
> Just to be clear:
>
> find_header calls try_header
> try_header is an ...
shyouhei (Shyouhei Urabe)
03:19 AM Bug #17578: mkmf experimental C++ Support
Just to be clear:
find_header calls try_header
try_header is an alias to try_cpp.
And try_cpp calls cpp_command.
cfis (Charlie Savage)
03:09 AM Bug #17578: mkmf experimental C++ Support
Yes `try_cpp` is still a problem. I guess `find_header` does not use `try_cpp` though.
@nobu What do you think? ...
shyouhei (Shyouhei Urabe)
02:02 AM Bug #16926: Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
Thank you for your investigations!
I will take a look at it.
BTW, can I push merge button on GitHub PR into stabl...
nagachika (Tomoyuki Chikanaga)
12:30 AM Revision a67afaaa (git): Update include/ruby/internal/fl_type.h
https://github.com/ruby/ruby/pull/4100#pullrequestreview-576059827
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang....
shyouhei (Shyouhei Urabe)
12:30 AM Revision d205370b (git): include/ruby/internal/fl_type.h: refactor hoist out #if conditions
cf: https://github.com/ruby/ruby/pull/4100#pullrequestreview-575952836 shyouhei (Shyouhei Urabe)
12:30 AM Revision f8a117f8 (git): kill CLONESETUP and DUPSETUP
They are no longer how Object#clone/Object#dup are defined. In fact
DUPSETUP is not used from anywhere. CLONESETUP ...
shyouhei (Shyouhei Urabe)
12:30 AM Revision 73e948af (git): win32/win32.c:getcwd_value: delete OBJ_TAINT
Makes no sense any longer. shyouhei (Shyouhei Urabe)
12:30 AM Revision a2c069fc (git): win32/file.c:rb_file_expand_path_internal: delete OBJ_TAINT
Makes no sense any longer. shyouhei (Shyouhei Urabe)
12:30 AM Revision 3f4f10bb (git): attributes on enumerators are GCC6-ism
See also https://gcc.gnu.org/gcc-6/changes.html
Clang has this feature when __has_extension(enumerator_attributes) i...
shyouhei (Shyouhei Urabe)
12:30 AM Revision c7d13877 (git): warnings on use of RUBY_FL_TAINT
matz said in [ruby-core:94979]:
> 3.0:
> * taint/trust/untaint/untrust non-verbose warning when called
This is it, ...
shyouhei (Shyouhei Urabe)
12:30 AM Revision 0300dec3 (git): kill OBJ_TAINT etc.
Now that RUBY_FL_TAINT is recycled to become new RUBY_FL_SHAREABLE.
Setting/clearing this flag from extension librari...
shyouhei (Shyouhei Urabe)
12:30 AM Revision 7ccdad7b (git): fix OBJ_UNTRUST etc.
It seems I broke them in commit 9e6e39c3512f7a962c44dc3729c98a0f8be90341
Sorry!
shyouhei (Shyouhei Urabe)
12:24 AM Revision 216e6605 (git): Add compaction notes for class/module creation C APIs
alanwu (Alan Wu)
12:24 AM Revision 64613144 (git): Make rb_define_module_id_under() pin existing modules
Just like rb_define_class_id_under(). Also makes
rb_define_module_under() consistent with rb_define_class_under() in ...
alanwu (Alan Wu)

01/26/2021

11:05 PM Bug #17582: Build failure with bison-3.7.5
Thanks nobu. I confirmed to build with bison-3.7.5 hsbt (Hiroshi SHIBATA)
12:57 PM Bug #17582 (Closed): Build failure with bison-3.7.5
Applied in changeset commit:git|b091889ed67f278b1652ddde88596e2160d5aef0.
----------
Removed YYUSE [Bug #17582]
Alt...
nobu (Nobuyoshi Nakada)
12:22 AM Bug #17582 (Closed): Build failure with bison-3.7.5
I got the following error with bison 3.7.5 provided by homebrew on macOS Catalina.
```
parse.y:13337:5: error: im...
hsbt (Hiroshi SHIBATA)
09:04 PM Feature #15504: Freeze all Range objects
@AlexWayfer
https://github.com/AlexWayfer/gorilla_patch/blob/master/lib/gorilla_patch/cover.rb#L8 -- may be for th...
zverok (Victor Shepelev)
08:52 PM Feature #15504: Freeze all Range objects
I can't now mock Range objects with RSpec (`gorilla_patch` gem). What should I do? I see no work-around, like `+'foo'... AlexWayfer (Alexander Popov)
05:22 PM Revision d7a844cb (git): Fix broken link in RDoc for String (#4123)
Link was correct; its target was incorrect; now fixed. burdettelamar (Burdette Lamar)
05:12 PM Bug #17585: DWARF5 support?
Just FTR, I have reported this initially against GCC:
https://bugzilla.redhat.com/show_bug.cgi?id=1920533
vo.x (Vit Ondruch)
05:11 PM Bug #17585 (Closed): DWARF5 support?
Fedora recently switched from DWARF4 to DWARF5 and since that time, I observe test suite errors on ppc64le:
~~~
...
vo.x (Vit Ondruch)
04:18 PM Revision 8a3f8166 (git): Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACRO
after this commit turned it off globally.
888cf28a7e3a07fc0a41688777a40910654005ad
Co-authored-by: peterzhu2118 <pe...
eightbitraptor (Matt V-H)
04:18 PM Revision a554e96a (git): * 2021-01-27 [ci skip]
git[bot]
04:17 PM Revision 479e4d13 (git): Fix RGENGC CHECK MODE >= 4
[A previous commit](b59077eecf912a16efefc0256f6e94a000ce3888) removes some macro definitions that are used when RGENG... eightbitraptor (Matt V-H)
03:35 PM Bug #17583: Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
Seems `mark_object_ary` broken?
This should be the array of arrays.
```
* thread #1, queue = 'com.apple.main-thr...
nobu (Nobuyoshi Nakada)
08:55 AM Bug #17583 (Closed): Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
When I set large stack size like 100MB using RUBY_THREAD_VM_STACK_SIZE,
I get the segmentation fault.
The error loo...
yoshiokatsuneo (Tsuneo Yoshioka)
01:19 PM Revision ed6dc066 (git): CFLAGS includes ARCH_FLAG
nobu (Nobuyoshi Nakada)
12:57 PM Revision b091889e (git): Removed YYUSE [Bug #17582]
Although it was used just to suppress an "unsed argument" warning
in the same manner as other bison-provided function...
nobu (Nobuyoshi Nakada)
12:10 PM Bug #17584 (Closed): Segmentation fault with Ruby 3.0
In last week, I update Ruby 3.0 from Ruby 2.6.6 for my application. After that, I got the segmentation fault with fol... hsbt (Hiroshi SHIBATA)
12:05 PM Bug #16926 (Closed): Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
I released RubyGems 3.1.6 https://blog.rubygems.org/2021/01/26/3.1.6-released.html
@nagachika Can you merge https:...
hsbt (Hiroshi SHIBATA)
12:03 PM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
I released RubyGems 3.1.6 https://blog.rubygems.org/2021/01/26/3.1.6-released.html and create the backport request fo... hsbt (Hiroshi SHIBATA)
08:45 AM Bug #17578: mkmf experimental C++ Support
Thanks for the quick response.
I think that is different. try_cpp calls cpp_command:
``` ruby
def try_cpp(sr...
cfis (Charlie Savage)
12:23 AM Bug #17578 (Assigned): mkmf experimental C++ Support
I guess recent commit:4b6fd8329b46701414aba2eeca10013cf66ec513 has something to do with it. @cfis Can you try the cu... shyouhei (Shyouhei Urabe)
05:32 AM Bug #17494: ruby is hanged when using activesupport + rspec + rspec-parameterized
This minimum case hangs since https://github.com/ruby/ruby/commit/b9007b6c548f91e88fd3f2ffa23de740431fa969
* Save ...
yahonda (Yasuo Honda)
12:45 AM Bug #17494: ruby is hanged when using activesupport + rspec + rspec-parameterized
The previous patch failed an assertion.
https://github.com/nobu/ruby/runs/1760739746?check_suite_focus=true#step:15:2...
nobu (Nobuyoshi Nakada)
01:47 AM Bug #17429: Prohibit include/prepend in refinement modules
@eregon @marcandre Thanks for your feedback.
The remaining issue is the name of the new method.
I came up with th...
shugo (Shugo Maeda)
01:30 AM Revision 1e2a8f7c (git): vcs.rb: fix for baseruby 2.2
nobu (Nobuyoshi Nakada)
01:07 AM Revision 33c5e9d1 (git): * 2021-01-26 [ci skip]
git[bot]
01:04 AM Bug #17581: Ruby 3.0 backtrace sometimes returns empty array
This happens for all backtrace frames where there is an `iseq` but no `pc`. That part didn't change in the commit me... jeremyevans0 (Jeremy Evans)
01:04 AM Revision 6963e682 (git): vcs.rb: support `d` command in log-fix
nobu (Nobuyoshi Nakada)
12:58 AM Revision a56760b9 (git): vcs.rb: allow log-fix to insert an empty line
nobu (Nobuyoshi Nakada)

01/25/2021

09:24 PM Bug #17581 (Assigned): Ruby 3.0 backtrace sometimes returns empty array
Agreed, it does look likely to be related to the commit. I'll see if I can debug and fix the issue. jeremyevans0 (Jeremy Evans)
09:11 PM Bug #17581 (Closed): Ruby 3.0 backtrace sometimes returns empty array
```ruby
class Foo
def bar
p caller(1,1)
end
end
[Foo.new].group_by(&:bar)
```
3.0: []
2.7: ["tes...
HParker (Adam Hess)
05:40 PM Misc #17580 (Closed): Bignum referenced in Time documentation
Since #12005 Bignum has been unified with Fixnum into Integer class, but it is still referenced in Time documentation... semaperepelitsa (Simon Perepelitsa)
05:35 PM Feature #17548: Need simple way to include symlink directories in Dir.glob
For your specific case, a workaround might be to use a bind mount instead of symlink.
But in general I agree havin...
Dan0042 (Daniel DeLorme)
04:45 PM Feature #16978: Ruby should not use realpath for __FILE__
Dan0042 (Daniel DeLorme) wrote in #note-12:
> I think this is a bug and should be fixed, but IMO the proper fix is t...
vo.x (Vit Ondruch)
02:35 PM Feature #16978: Ruby should not use realpath for __FILE__
I think this is a bug and should be fixed, but IMO the proper fix is to use realpath for `__FILE__`
So in the exam...
Dan0042 (Daniel DeLorme)
04:33 PM Feature #17579: [Proposal] A suggestion for newline-separated shorthand notation, for the creation of Arrays containing strings that may contain ' ' (space) characters
I would also use heredoc for this, maybe just with one tweak:

```ruby
options = <<~EOF.lines(chomp: true)
cho...
Dan0042 (Daniel DeLorme)
03:11 PM Feature #17579: [Proposal] A suggestion for newline-separated shorthand notation, for the creation of Arrays containing strings that may contain ' ' (space) characters
I'm curious what is your use case. I can't recall needing an array of such strings. If I did, I would probably put th... marcandre (Marc-Andre Lafortune)
01:00 PM Feature #17579: [Proposal] A suggestion for newline-separated shorthand notation, for the creation of Arrays containing strings that may contain ' ' (space) characters
Didn't have time to read it fully but you can escape spaces:
```
2.7.1 :001 > %w(foo\ bar baz)
=> ["foo bar", "ba...
decuplet (Nikita Shilnikov)
11:15 AM Feature #17579 (Open): [Proposal] A suggestion for newline-separated shorthand notation, for the creation of Arrays containing strings that may contain ' ' (space) characters
New year, new proposal! :)
Summary (TL;DR) of the proposal first: It is here proposed that ruby adds functionality...
shevegen (Robert A. Heiler)
04:32 PM Feature #17570: Move C heap allocations into GC heap for RVALUE object data
nobu (Nobuyoshi Nakada) wrote in #note-2:
> Thank you for the great work.
>
> It is interesting idea.
> At first...
eightbitraptor (Matt V-H)
03:54 PM Feature #17330: Object#non
FWIW, +1 from me
At first I thought the only uses were `non(&:zero?)` and `non(&:empty?)` which, while I find very...
Dan0042 (Daniel DeLorme)
09:33 AM Revision 19e6d271 (git): [ruby/rdoc] Support iso-strict format in git-log
https://github.com/ruby/rdoc/commit/2a6c22da63 nobu (Nobuyoshi Nakada)
09:33 AM Revision 7fe22152 (git): [ruby/rdoc] Support other date formats in git-log
https://github.com/ruby/rdoc/commit/ad8cf37d72 nobu (Nobuyoshi Nakada)
08:51 AM Bug #17494: ruby is hanged when using activesupport + rspec + rspec-parameterized
This patch seems to avoid the loop for the time being.
```diff
diff --git i/class.c w/class.c
index a62ae669f84....
nobu (Nobuyoshi Nakada)
12:42 AM Bug #17494: ruby is hanged when using activesupport + rspec + rspec-parameterized
@alpaca-tc Thannk you, I can reproduce that too.
```
zsh % LC_ALL=C gdb --args ./miniruby ~/tmp.rb
GNU gdb (Ubuntu 8...
shyouhei (Shyouhei Urabe)
06:26 AM Bug #17578 (Assigned): mkmf experimental C++ Support
I've been working on the Rice gem (https://github.com/jasonroelofs/rice) that wraps C++ code for use in Ruby.
I no...
cfis (Charlie Savage)
03:51 AM Revision 5411fb8c (git): * 2021-01-25 [ci skip]
git[bot]
03:51 AM Revision fd6d5c80 (git): Clear each test own temporary directories
nobu (Nobuyoshi Nakada)

01/24/2021

10:52 PM Bug #17527: rb_io_wait_readable/writable with scheduler don't check errno
I checked the PR, I understand, thanks for the clear bug report.
I will review it in more detail, but it seems lik...
ioquatix (Samuel Williams)
07:58 PM Feature #17576: Partial Functions (procs, lambdas)
Kinda reminded me of Elixir's [guards] (https://hexdocs.pm/elixir/guards.html). matheusrich (Matheus Richard)
07:03 PM Bug #17577 (Closed): Segfault when sending some Exceptions to a Ractor
The following segfaults:
```ruby
r = Ractor.new { receive }
begin
foo # => raises a NoMethodError
rescue Ex...
marcandre (Marc-Andre Lafortune)
02:26 PM Revision 30f11e73 (git): Revert "Remove temporary directory properly"
This reverts commit 80bad36989bbc4ad6167fe9670327f95b78089ce,
because a few CI machines fail continuously.
nobu (Nobuyoshi Nakada)
10:30 AM Revision 80bad369 (git): Remove temporary directory properly
For each `make check`, rubygems test makes "tmp" directory and
some "gem_generate_index..." directories remain there....
nobu (Nobuyoshi Nakada)
09:34 AM Revision db80be3d (git): * 2021-01-24 [ci skip]
git[bot]
09:33 AM Revision 9aea4387 (git): Add 3.0 top sepc guards
* Needs WEBrick nobu (Nobuyoshi Nakada)
09:33 AM Revision 21340303 (git): Fix compile error of sockssocket
The patch is provided by PhobosK (Phobos Kappa).
This should be backported to Ruby 3.0.
[Feature #17187]
Glass_saga (Masaki Matsushita)
09:33 AM Revision 1ce4e90d (git): Remove check branch from ruby_3_0
naruse (Yui NARUSE)
09:31 AM Feature #17330: Object#non
@nobu
> This seems readable enough and more flexible.
```ruby
return Faraday.get(url).then {_1.body if _1.succ...
zverok (Victor Shepelev)
02:42 AM Feature #17330: Object#non
zverok (Victor Shepelev) wrote in #note-8:
> ```ruby
> return Faraday.get(url).when(&:successful?)
> # Note how li...
nobu (Nobuyoshi Nakada)
07:46 AM Revision 52ebaf71 (git): [ruby/rdoc] Skip non-date logs by git-log
`RDoc::Parser::ChangeLog` mis-parses ChangeLog generated by
git-log, because of too heuristic `Time.parse`.
For inst...
nobu (Nobuyoshi Nakada)
07:46 AM Revision d5d1c417 (git): [ruby/rdoc] Sort by CommitDate if available
https://github.com/ruby/rdoc/commit/455715e930 nobu (Nobuyoshi Nakada)
07:46 AM Revision fa048a0f (git): [ruby/rdoc] Add links to the commits
https://github.com/ruby/rdoc/commit/1821628076 nobu (Nobuyoshi Nakada)
07:46 AM Revision f3f1a666 (git): [ruby/rdoc] Shorten commit hashes
https://github.com/ruby/rdoc/commit/5d3e153963 nobu (Nobuyoshi Nakada)
07:46 AM Revision 127f735c (git): [ruby/rdoc] Tweak log entry markdown
* add 3 levels to headings
* prefix commit log to labels to make unique IDs
https://github.com/ruby/rdoc/commit/5074...
nobu (Nobuyoshi Nakada)
07:46 AM Revision b88d1e6b (git): [ruby/rdoc] Make each commit entries h3
https://github.com/ruby/rdoc/commit/11eefb2ae9 nobu (Nobuyoshi Nakada)
07:46 AM Revision bb570ce6 (git): [ruby/rdoc] Support ChangeLog generated by `git log`
https://github.com/ruby/rdoc/commit/5e0a123ca1 nobu (Nobuyoshi Nakada)
07:46 AM Revision 68e7dc53 (git): [ruby/rdoc] Fix failing test by adding gettext as a development dependency
The failing test was:
========================================================================================
rdoc/...
Dorian Marié
07:12 AM Feature #13750: Improve String#casecmp? and Symbol#casecmp? performance with ASCII string
When you avoid that case, you have a option around coderange: coderange is a cached information whether the string co... naruse (Yui NARUSE)
06:57 AM Revision 1bd27a78 (git): Add test for String#casecmp?
String#casecmp? also normalize upper case characters in legacy encodings. naruse (Yui NARUSE)
05:59 AM Revision d6e43e47 (git): Moved --verbose, --verbose and --help options to last [ci skip]
nobu (Nobuyoshi Nakada)
05:35 AM Revision 38816887 (git): * 2021-01-24 [ci skip]
git[bot]
05:35 AM Revision 743c44ee (git): [ruby/irb] Indent correctly with method calling with receiver
https://github.com/ruby/irb/commit/e7c68e74a0 aycabta (aycabta .)
05:35 AM Revision fc54af8a (git): [ruby/irb] Indent correctly with keyword "for" and "in"
https://github.com/ruby/irb/commit/47c83ea724 aycabta (aycabta .)
 

Also available in: Atom