Project

General

Profile

Activity

From 05/19/2023 to 05/25/2023

05/25/2023

09:53 PM Feature #19694: Add Regexp#timeout= setter
> I am a little surprised that regex literals are frozen, but Regexp.new regexen aren’t.
It's because:
```ruby
...
byroot (Jean Boussier)
07:09 PM Feature #19694: Add Regexp#timeout= setter
Since you have to `.dup` a regexp literal, it might be better to just call `Regexp.new`:
```ruby
emoji_filter_pat...
austin (Austin Ziegler)
06:55 PM Feature #19694 (Open): Add Regexp#timeout= setter
# Abstract
In addition to allowing for a Regexp timeout to be set on individual instances by setting a `timeout` a...
aharpole (Aaron Harpole)
09:51 PM Revision d83f32c3 (git): [rubygems/rubygems] Load plugin immediately
We can install RubyGems plugin by "gem install XXX". The installed
plugin is used from the NEXT "gem ...".
For examp...
Sutou Kouhei
09:19 PM Bug #19696 (Feedback): YJIT panicked - branch stubs should never enlarge branches
### Description
We found this error on Rails CI with YJIT enabled. I'm not quite sure how to reproduce it since th...
wildmaples (Maple Ong)
09:10 PM Misc #19693: Data initialization is significantly slower than Struct
@janosch-x based on the discussion in #19278, I don't think it's possible as `Data` specifically designed so that `in... byroot (Jean Boussier)
08:20 PM Misc #19693: Data initialization is significantly slower than Struct
@byroot To me it looks as if the handling of positional args in `rb_data_s_new` / `rb_data_initialize_m` could perhap... janosch-x (Janosch Müller)
04:36 PM Misc #19693 (Closed): Data initialization is significantly slower than Struct
Should we close? I don't see anything actionable here. byroot (Jean Boussier)
12:25 PM Misc #19693: Data initialization is significantly slower than Struct
`Data.new` creates a Hash and initializes via the Hash.
The following line results in similar performance:
```r...
nobu (Nobuyoshi Nakada)
10:55 AM Misc #19693 (Closed): Data initialization is significantly slower than Struct
Maybe there is potential to make it as fast as Struct?
```ruby
require 'benchmark/ips'
S = Struct.new(:a, :b, ...
janosch-x (Janosch Müller)
08:15 PM Feature #19695 (Closed): mkmf: Adding the extra option --with-verbose to enable verbose mode.
I want the new feature to enable the verbose mode by setting the `V = 1` in the generated `Makefile` at runtime when ... jaruga (Jun Aruga)
12:56 PM Feature #19678 (Closed): Don't immediately promote children of old objects
Applied in changeset commit:git|e87f6c899e55f4d9452ce4d75cf2a725ae736aff.
----------
Don't immediately promote child...
peterzhu2118 (Peter Zhu)
12:56 PM Revision e87f6c89 (git): Don't immediately promote children of old objects
[Feature #19678]
References from an old object to a write barrier protected young object
will not immediately promot...
peterzhu2118 (Peter Zhu)
11:00 AM Feature #19644: Module::current to complement Module::nesting
bughit (bug hit) wrote in #note-12:
> Still, a single label identifier without arguments (like `__mod(ule)__`) looks...
Eregon (Benoit Daloze)
09:12 AM Revision 57fce84c (git): Update default gems list at e5bce57e1d3ab6eb8c218355e9b31f [ci skip]
git[bot]
09:11 AM Revision e5bce57e (git): [ruby/nkf] Bump up nkf-0.1.3
https://github.com/ruby/nkf/commit/bc90e2ed39 hsbt (Hiroshi SHIBATA)
09:11 AM Revision 3026a2f4 (git): [ruby/nkf] Added mission extension configuration
https://github.com/ruby/nkf/commit/e627a39dff hsbt (Hiroshi SHIBATA)
07:09 AM Revision 5ade6be7 (git): Fixup 5bfb317a938
hsbt (Hiroshi SHIBATA)
07:08 AM Revision 5bfb317a (git): [ruby/benchmark] Don't use version.rb
https://github.com/ruby/benchmark/commit/6d51b10500 hsbt (Hiroshi SHIBATA)
06:59 AM Revision 8e2fac7b (git): Update bundled gems list at 2023-05-25
git[bot]
06:47 AM Revision d1237bc3 (git): Move gemspec files to top of lib directory.
They have version.rb files with same directory.
But version.rb have been removed at https://github.com/ruby/ruby/pu...
hsbt (Hiroshi SHIBATA)
05:13 AM Feature #19682: ability to get a reference to the "default definee"
You have explained the concept of (existence of) “default definee”. I personally don't use that particular term, but ... matz (Yukihiro Matsumoto)
04:45 AM Feature #19682: ability to get a reference to the "default definee"
matz (Yukihiro Matsumoto) wrote in #note-28:
> > Where do you see "why not" as a justification?
>
> From your fir...
bughit (bug hit)
04:18 AM Feature #19682: ability to get a reference to the "default definee"
> Where do you see "why not" as a justification?
From your first proposal.
> "default definee" is a pretty impo...
matz (Yukihiro Matsumoto)
01:11 AM Feature #19682: ability to get a reference to the "default definee"
matz (Yukihiro Matsumoto) wrote in #note-24:
> “why not” is not enough. If there are real-world use-cases, we might r...
bughit (bug hit)
12:37 AM Feature #19682: ability to get a reference to the "default definee"
rubyFeedback (robert heiler) wrote in #note-22:
> The question here is how a ruby user refers to it.
What to name...
bughit (bug hit)
12:33 AM Feature #19682: ability to get a reference to the "default definee"
ioquatix (Samuel Williams) wrote in #note-23:
> I'll consider opening a new one with a specific proposal around Modu...
bughit (bug hit)
12:19 AM Feature #19682: ability to get a reference to the "default definee"
“why not” is not enough. If there are real-world use-cases, we might reconsider in the future.
In addition, I don't ...
matz (Yukihiro Matsumoto)
03:42 AM Revision 99a078f4 (git): Bump necojackarc/auto-request-review from 0.11.0 to 0.12.0
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.11.0 to 0.12.0.
- ...
dependabot[bot]
02:17 AM Revision 492e0025 (git): Allow environment variable to control madvise advice. (#7855)
Introduce experimental support for explicitly specifying the `advice` value provided to `madvise` when releasing the ... Samuel Williams
02:07 AM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
If you want to use a specific mode (OS specific), you can do this:
On Linux, find the mode, e.g. `MADV_DONTNEED = 6`...
ioquatix (Samuel Williams)
01:51 AM Bug #19689: ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1
nobu (Nobuyoshi Nakada) wrote in #note-1:
> That is one of symbols had been exported only for MJIT, and is declared ...
hurricup (Alexandr Evstigneev)

05/24/2023

11:50 PM Feature #19682: ability to get a reference to the "default definee"
> A clear specification of what? "default definee" is quite clear in ruby internals, it has to be, there can be no am... ioquatix (Samuel Williams)
06:05 PM Feature #19682: ability to get a reference to the "default definee"
bughit wrote:
> "default definee" is quite clear in ruby internals
The internals are not necessarily what ruby "sho...
rubyFeedback (robert heiler)
02:17 PM Feature #19682: ability to get a reference to the "default definee"
ioquatix (Samuel Williams) wrote in #note-20:
> Without a clear specification, we cannot implement this feature.
...
bughit (bug hit)
10:27 AM Feature #19682 (Rejected): ability to get a reference to the "default definee"
Without a clear specification, we cannot implement this feature. I'll consider opening a new one with a specific prop... ioquatix (Samuel Williams)
11:23 PM Feature #19688 (Closed): Add indentable block comment syntax
I can understand the need for multi-line comment (although I mostly use Emacs or IDE to comment a region out).
But p...
matz (Yukihiro Matsumoto)
07:59 PM Feature #19688: Add indentable block comment syntax
rubyFeedback (robert heiler) wrote in #note-3:
> As for rdoc: I don't like rdoc's syntax either. I feel the
> entri...
austin (Austin Ziegler)
06:01 PM Feature #19688: Add indentable block comment syntax
I think I can somewhat understand the rationale for the issue, even
though I personally don't really need it. I use ...
rubyFeedback (robert heiler)
02:19 PM Feature #19688 (Feedback): Add indentable block comment syntax
`#begin` has been parsed as a single line comment.
Changing it can be incompatibility.
Why not just indenting `=beg...
nobu (Nobuyoshi Nakada)
10:47 AM Feature #19688 (Closed): Add indentable block comment syntax
Ruby's default block comment is using `=begin` and `=end`
```ruby
=begin
Some block comments
=end
```
However...
ccmywish (Aoran Zeng)
09:35 PM Bug #17826: Ractor#take hangs if used in multiple Threads
I have tried the latest stable Ruby version 3.2.2 and the bug is still here
`ruby 3.2.2 (2023-03-30 revision e5101...
kukunin (Sergiy Kukunin)
08:21 PM Misc #19692 (Open): Net::HTTP Performance Workstream
While working on identifying causes behind Capybara test slowness I had noticed some memory profiles pointed at a few... baweaver (Brandon Weaver)
05:54 PM Feature #19690: Add terminal colorizing gem to stdlib
One more smaller thing to add: I don't know how colours are
used on embedded / constraint system, so anyone with som...
rubyFeedback (robert heiler)
05:52 PM Feature #19690: Add terminal colorizing gem to stdlib
https://bugs.ruby-lang.org/issues/19690
Personally I support the original idea suggested by ccmywish so +1 from me
f...
rubyFeedback (robert heiler)
03:19 PM Feature #19690: Add terminal colorizing gem to stdlib
Hi there. I think we're talking about two different needs here:
1. A coloring library for Ruby Core tooling projec...
st0012 (Stan Lo)
02:19 PM Feature #19690: Add terminal colorizing gem to stdlib
I'd like to see support for this in Ruby Core as well. To add to the above, I think it would be nice if there was a b... bkuhlmann (Brooke Kuhlmann)
11:10 AM Feature #19690 (Open): Add terminal colorizing gem to stdlib
Recently the new version of `tracer` gem caught my eye. But I've noticed an anti-DRY pattern.
I've noticed that ma...
ccmywish (Aoran Zeng)
05:22 PM Misc #19691: File.realpath on Windows does not return actual case of the file
@jeremyevans0
Thanks. I hadn't looked yet. JFYI, `File.absolute_path` does seem to work correctly.
```
# file...
MSP-Greg (Greg L)
04:55 PM Misc #19691: File.realpath on Windows does not return actual case of the file
@nobu
Thanks.
Using the following Windows Rubies, I get different results. All double load and throw `NameErro...
MSP-Greg (Greg L)
04:36 PM Misc #19691 (Open): File.realpath on Windows does not return actual case of the file
Looks like #17885 fixed the issue for case-insensitive Mac OS file systems. However, it is not fixed on Windows beca... jeremyevans0 (Jeremy Evans)
04:04 PM Misc #19691 (Feedback): File.realpath on Windows does not return actual case of the file
I think it has changed since 3.1.
```shell-session
$ ruby3.0 -v -W0 -rsingleton -rSingleton -e 'p $"[-2..-1]'
ruby 3...
nobu (Nobuyoshi Nakada)
03:24 PM Misc #19691: File.realpath on Windows does not return actual case of the file
Sorry, accidentally used the default 'Tracker type', which is 'Bug'. Meant to post it as 'Misc' MSP-Greg (Greg L)
03:22 PM Misc #19691 (Open): File.realpath on Windows does not return actual case of the file
I don't know what I think of this (expected or bug), but recently in a forum I saw an issue that I don't recall accid... MSP-Greg (Greg L)
04:44 PM Revision 31b28b31 (git): [ruby/csv] Support RJIT (https://github.com/ruby/csv/pull/281)
In Ruby 3.3, MJIT is replaced with RJIT.
https://github.com/ruby/csv/commit/cc6b47a4a7
nobu (Nobuyoshi Nakada)
04:44 PM Revision 38ef537c (git): [ruby/csv] test: rename Helper to CSVHelper
(https://github.com/ruby/csv/pull/278)
Rename it so that in ruby/ruby, the generic name Helper is not used.
luke-gru (Luke Gruber)
04:44 PM Revision e151a2ff (git): [ruby/csv] docs: fix example in Recipe: Capture Unconverted Fields
(https://github.com/ruby/csv/pull/276)
I've fixed the example in `Recipe: Capture Unconverted Fields`.
https://ruby...
Yuki Tsujimoto
04:44 PM Revision 88876f02 (git): [ruby/csv] All Enumerable based methods consume the same lines with other methods
This may have a performance penalty. We should benchmark this.
GitHub: fix https://github.com/ruby/csv/pull/260
Rep...
Sutou Kouhei
04:44 PM Revision 73c56e06 (git): [ruby/csv] CSV#read consumes the same lines with other methods like CSV#shift
GitHub: fix https://github.com/ruby/csv/pull/258
Reported by Lhoussaine Ghallou. Thanks!!!
https://github.com/ruby/...
Sutou Kouhei
04:44 PM Revision a0709d0a (git): [ruby/csv] Remove no longer required refinements
(https://github.com/ruby/csv/pull/250)
Since PR #159, the minimum Ruby version is 2.5.0, a version which no
longer r...
Maumagnaguagno (Mau Magnaguagno)
04:44 PM Revision 55a900d9 (git): [ruby/csv] Fix typos (https://github.com/ruby/csv/pull/236)
https://github.com/ruby/csv/commit/d5e401266f Sampat Badhe
04:44 PM Revision 81c57ae7 (git): [ruby/csv] Small RDoc changes for recipes
(https://github.com/ruby/csv/pull/190)
https://github.com/ruby/csv/commit/2102c78384
burdettelamar (Burdette Lamar)
04:44 PM Revision 347afd39 (git): [ruby/csv] Enhanced RDoc for CSV::Table
(https://github.com/ruby/csv/pull/166)
https://github.com/ruby/csv/commit/1d685aede3
burdettelamar (Burdette Lamar)
04:12 PM Feature #19571 (Closed): Add REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO to the GC
Applied in changeset commit:git|a23ae56c4d24ade9438393fc47d6f2b730e3f7a8.
----------
Add REMEMBERED_WB_UNPROTECTED_O...
peterzhu2118 (Peter Zhu)
04:11 PM Revision a23ae56c (git): Add REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO
[Feature #19571]
This commit adds the environment variable
`RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RAT...
peterzhu2118 (Peter Zhu)
04:09 PM Bug #18738 (Closed): IRB can't recognize heredoc after words
jeremyevans0 (Jeremy Evans)
09:34 AM Bug #18738: IRB can't recognize heredoc after words
This has been fixed. Please close it. ccmywish (Aoran Zeng)
03:08 PM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
https://github.com/ruby/ruby/pull/7855 should enable you to test different advice. Just bit shift it to the left to e... ioquatix (Samuel Williams)
02:16 PM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
I'm not sure how the `ubf_io` can be used as part of the public extension API on Windows, as it's unable to interrupt... ioquatix (Samuel Williams)
01:46 PM Bug #16265 (Closed): Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
Merged in <https://github.com/ruby/ruby/commit/6d976eb5348098a346d82065621e37925acae8b8>. ioquatix (Samuel Williams)
07:45 AM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
@shyouhei Do you think we should add something like:
```
#ifdef _WIN32
#include "ruby/win32.h"
#endif
```
t...
ioquatix (Samuel Williams)
06:52 AM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
Okay, the root cause of the hang is because `read` in `thread_spec.c` is not `rb_w32_read`. Something is clobbering t... ioquatix (Samuel Williams)
01:27 AM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
I'm going to see if we can fix this.
https://github.com/ruby/ruby/pull/7848
ioquatix (Samuel Williams)
01:56 PM Bug #19689 (Feedback): ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1
That is one of symbols had been exported only for MJIT, and is declared in an internal header.
For what do you want ...
nobu (Nobuyoshi Nakada)
11:01 AM Bug #19689 (Feedback): ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1
As far as I understand headers, it still should be available.
Still:
```
hurricup@AM-UNIT-0002:/usr/share/rvm/r...
hurricup (Alexandr Evstigneev)
01:45 PM Revision 6d976eb5 (git): Fix "runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO" on Windows. (#7848)
* Enable borked spec.
* Ensure win32 wrappers are visible and used.
* Reorganise `read`/`write`/`pipe` in `thread_s...
Samuel Williams
01:14 PM Revision 85b4cd7c (git): gc.c: get rid of unused objspace parameters (#7853)
byroot (Jean Boussier)
11:54 AM Revision 5f65e8c5 (git): Rename `rb_node_name` to the original name
98637d421dbe8bcf86cc2effae5e26bb96a6a4da changes the name of
the function. However this function is exported as globa...
yui-knk (Kaneko Yuichiro)
08:14 AM Bug #19687 (Closed): Should a development version of the standard library be included in ruby/ruby?
Sure. Thanks for your opinions.
So, my opinion for this situation is below.
> 2. Should a development version o...
jaruga (Jun Aruga)
07:56 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
> > Can we close this?
>
> Why do you think so?
Because your `bundle install` problem was solved.
> 1. Is it...
kou (Kouhei Sutou)
07:50 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
> Can we close this?
Why do you think so? I want to know the opinions for the following questions I wrote for the ...
jaruga (Jun Aruga)
07:39 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
Can we close this? kou (Kouhei Sutou)
07:35 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
kou (Kouhei Sutou) wrote in #note-3:
> Ah, sorry. I missed that you use the `--standalone` option.
> Can you remove...
jaruga (Jun Aruga)
06:57 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
Ah, sorry. I missed that you use the `--standalone` option.
Can you remove the `--standalone` option?
kou (Kouhei Sutou)
06:29 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
> Could you show the output of gem list | grep stringio?
Sure. Below is the result.
```
$ which gem
~/.local/ruby-b...
jaruga (Jun Aruga)
06:52 AM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
This proposal make sense to me. But I'm not sure how impact existing code for this incompatibility.
Do you have an...
hsbt (Hiroshi SHIBATA)
06:04 AM Revision d8da563f (git): Add a newline at EOF [ci skip]
nobu (Nobuyoshi Nakada)
06:02 AM Revision 1ea9bb84 (git): [ruby/racc] Add a newline at EOF [ci skip]
https://github.com/ruby/racc/commit/8f1dab6759 nobu (Nobuyoshi Nakada)
05:03 AM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
Thank you, Jemma.
>Before I begin the migration, someone who has the appropriate permissions on GitHub will need t...
hsbt (Hiroshi SHIBATA)
03:43 AM Revision a692122f (git): Bump necojackarc/auto-request-review from 0.10.0 to 0.11.0
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.10.0 to 0.11.0.
- ...
dependabot[bot]
03:42 AM Revision 6406ae69 (git): Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.5.0 to 1.5.1.
- [Release notes...
dependabot[bot]
01:47 AM Bug #19685: ruby --helpに --yydebugの情報がない
ありがとうございます.  @nobu さんの意見を踏まえた上で修正のPRを送ろうと思います. Little_Rubyist (Yla Aioi)
01:44 AM Feature #19644: Module::current to complement Module::nesting
nobu (Nobuyoshi Nakada) wrote in #note-10:
> bughit (bug hit) wrote in #note-8:
> > `Module.nesting(n)` does address ...
bughit (bug hit)
01:17 AM Revision 135a0d26 (git): Improvements to `IO::Buffer` `read`/`write`/`pread`/`pwrite`. (#7826)
- Fix IO::Buffer `read`/`write` to use a minimum length. Samuel Williams
12:37 AM Revision 12dfd9d1 (git): [flori/json] Call `super` in `included` hook
The C extension defines an `included` hook for the
`JSON::Ext::Generator::GeneratorMethods::String` module but neglec...
Ufuk Kayserilioglu
12:15 AM Revision 28056a6d (git): Add support for pread/pwrite on windows. (#7827)
Samuel Williams

05/23/2023

11:53 PM Bug #19687 (Feedback): Should a development version of the standard library be included in ruby/ruby?
I couldn't reproduce this.
stringio is a default gem. So I think that `make install` also installs stringio 3.0.7 ...
kou (Kouhei Sutou)
03:27 PM Bug #19687 (Closed): Should a development version of the standard library be included in ruby/ruby?
The `stringio` gem uses the value of the `STRINGIO_VERSION` as the gem version.
https://github.com/ruby/ruby/blob/...
jaruga (Jun Aruga)
11:48 PM Feature #19644: Module::current to complement Module::nesting
Ah yep, that seems reasonable to me. ioquatix (Samuel Williams)
07:27 PM Revision 9592bc70 (git): Remove dead code in rb_hash_replace
We now always copy the ST table, so we don't need to initialize the ST
table of hash when hash2 is empty.
peterzhu2118 (Peter Zhu)
07:27 PM Revision a86f798f (git): Fix crash when replacing ST hash with AR hash
With VWA, AR hashes are much larger than ST hashes. Hash#replace
attempts to directly copy the contents of AR hashes ...
peterzhu2118 (Peter Zhu)
06:37 PM Revision 061e01ee (git): [rubygems/rubygems] Remove forward slash in key regardless if it contains __
https://github.com/rubygems/rubygems/commit/33a02eec00 Jenny Shen
06:37 PM Revision e854b050 (git): [rubygems/rubygems] Modify invalid key check to accept keys with colons
https://github.com/rubygems/rubygems/commit/413033198b
Co-authored-by: Eric Herscovich <[email protected]>
Jenny Shen
05:04 PM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
`TracePoint` also lacks column information AFAICT so it might be worthwhile to consider it in search of a consistent ... janosch-x (Janosch Müller)
04:16 PM Revision 92d6c9a7 (git): [ruby/irb] Allow `show_source` for private methods
(https://github.com/ruby/irb/pull/589)
* Allow `show_source` for private methods
Fix https://github.com/ruby/irb/pu...
make_now_just (Hiroya Fujinami)
03:19 PM Bug #19686: BigDecimal object returns JSON string
Forgot to say that to fix your issue you can convert `BigDecimal` with `to_f` prior to calling `to_json`. byroot (Jean Boussier)
03:18 PM Bug #19686 (Closed): BigDecimal object returns JSON string
I believe it's intentional as the main point of BigDecimal is to avoid float imprecision issues.
On a tangent, thi...
byroot (Jean Boussier)
03:11 PM Bug #19686 (Closed): BigDecimal object returns JSON string
Hi,
When I call the `to_json` method to the BigDecimal object, it returns a JSON string.
Is this intentional?
...
goh (Goh Matsumoto)
03:11 PM Revision 24a6609c (git): Remove dead code in ar_copy
new_tab can no longer ever be NULL so this is dead code. peterzhu2118 (Peter Zhu)
01:53 PM Feature #19236 (Open): Allow to create hashes with a specific capacity from Ruby
Reopening as the merged commit is the Ruby 3.3 part.
I'll implement the 3.4 next year.
byroot (Jean Boussier)
01:51 PM Feature #19236 (Closed): Allow to create hashes with a specific capacity from Ruby
Applied in changeset commit:git|31ac8efca8ecb574e1e7b7c32cce54cb1b97f19a.
----------
Hash.new: print a deprecation w...
Anonymous
10:44 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
Correction:
> In 3.3 it throws error all keyword arguments to Hash.new.
Was a misunderstanding.
What was a...
byroot (Jean Boussier)
01:51 PM Revision 31ac8efc (git): Hash.new: print a deprecation warning when receiving keyword arguments (#7828)
[Feature #19236]
In Ruby 3.3, `Hash.new` shall print a deprecation warning if keyword arguments
are passed instead o...
Jean byroot Boussier
12:59 PM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
For some reason, this also started breaking on Windows in this PR and I had to disable it https://github.com/ruby/rub... ioquatix (Samuel Williams)
11:48 AM Misc #19352 (Closed): Feature #17391 was not such a good idea because now Ruby 3.2 can not install Rails v5 or v6 if they use webpacker.
hsbt (Hiroshi SHIBATA)
09:05 AM Revision 98637d42 (git): Move `ruby_node_name` to node.c and rename prefix of the function
yui-knk (Kaneko Yuichiro)
03:41 AM Revision ef3aa227 (git): Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.4.0 to 1.5.0.
- [Release notes...
dependabot[bot]
02:18 AM Bug #19685: ruby --helpに --yydebugの情報がない
`-y` を追加しても構いませんが、その場合は中田さんの意見を尊重して追加するべきだと思います。
You can add `-y`, but in that case, I think you should respect @n...
matz (Yukihiro Matsumoto)
01:24 AM Revision 52be7e89 (git): Update default gems list at a7d70321005d302d9b5aaa2b83569a [ci skip]
git[bot]
01:05 AM Revision a7d70321 (git): Manually merge syntax_suggest-1.1.0
hsbt (Hiroshi SHIBATA)
01:05 AM Revision c638ffa7 (git): [ruby/syntax_suggest] Fix
https://github.com/ruby/syntax_suggest/pull/187 Handle if/else with
empty/comment
line
Reported in #187 this code:
...
schneems (Richard Schneeman)
01:05 AM Revision aaf815c6 (git): [ruby/syntax_suggest] Refactor Scanner logic out of AroundBlockScan introduce history
AroundBlockScan started as a utility class that was meant to be used as a DSL for scanning and making new blocks. As ... schneems (Richard Schneeman)
01:05 AM Revision b8bf0a52 (git): [ruby/syntax_suggest] Fix warning message
The env var DEBUG does not work to produce detailed output. It is SYNTAX_SUGGEST_DEBUG. It was changed as part of the... schneems (Richard Schneeman)
12:49 AM Revision f890345c (git): Ensure producer threads do not start running early
This test caused issues occasionally on JRuby because it's
possible for a producer thread to run to completion before...
headius (Charles Nutter)

05/22/2023

11:21 PM Revision ed7c7657 (git): Remove deleted function
`rb_parser_warn_location` was deleted by 0eeed5bcc5530edb0af2af2ccff09d067c59e8f9. yui-knk (Kaneko Yuichiro)
09:45 PM Revision 3bd98e7a (git): Add documentation for some stats counters, and generally about YJIT stats
Noah Gibbs
05:40 PM Feature #19682: ability to get a reference to the "default definee"
bughit (bug hit) wrote in #note-17:
> austin (Austin Ziegler) wrote in #note-16:
> > bughit (bug hit) wrote in #not...
austin (Austin Ziegler)
05:36 PM Feature #19682: ability to get a reference to the "default definee"
In general I would add that there are other implicit contexts in ruby that are not obvious or intuitable in various m... bughit (bug hit)
05:10 PM Feature #19682: ability to get a reference to the "default definee"
austin (Austin Ziegler) wrote in #note-16:
> bughit (bug hit) wrote in #note-15:
> > If this feature request is to ...
bughit (bug hit)
04:01 PM Feature #19682: ability to get a reference to the "default definee"
bughit (bug hit) wrote in #note-15:
> If this feature request is to be rejected, it should be with the full awarenes...
austin (Austin Ziegler)
03:53 PM Feature #19682: ability to get a reference to the "default definee"
Eregon's attempts to respond to this ticket have been invalid and obstructionist.
First he tried to close it as a ...
bughit (bug hit)
11:13 AM Feature #19682: ability to get a reference to the "default definee"
@matz Could you take a look at https://bugs.ruby-lang.org/issues/19682#note-10?
This user is also intentionally misi...
Eregon (Benoit Daloze)
02:45 PM Feature #19541: Proposal: Generate frame unwinding info for YJIT code
I think supporting this could also help better profiling with YJIT enabled: https://github.com/tmm1/stackprof/pull/18... Eregon (Benoit Daloze)
12:53 PM Revision b0a25c9c (git): Revert "Apply timeout-scale to test_thr_kill." (#7838)
This reverts commit bbbec4b87c1e66909f5bee9acd3e460b8c1ad663.
Because the commit is a bug. The `apply_timeout_scale` ...
Jun Aruga
11:19 AM Feature #17325 (Closed): Adds Fiber#cancel, which forces a Fiber to break/return
We introduced `Fiber#kill` which behaves exactly as requested by the proposal.
> Calling Fiber#cancel will force a...
ioquatix (Samuel Williams)
09:02 AM Bug #19685: ruby --helpに --yydebugの情報がない
Little_Rubyist (Yla Aioi) wrote:
> `man ruby` の "DO NOT USE"に強い理由がないのであれば,
"DO NOT USE"の理由は、一言でいうと
> 参考: https://do...
nobu (Nobuyoshi Nakada)
08:33 AM Bug #19685 (Closed): ruby --helpに --yydebugの情報がない
https://speakerdeck.com/coe401_/implementing-plus-plus-operator-stepping-into-parse-dot-y?slide=9
をなぞって色々試していた時に -y ...
Little_Rubyist (Yla Aioi)
07:28 AM Misc #19684: DevMeeting-2023-06-08
* [Bug #19681] The final classpath of partially named modules is sometimes inconsistent once permanently named (byroo... byroot (Jean Boussier)
03:33 AM Misc #19684 (Closed): DevMeeting-2023-06-08
# The next dev meeting
**Date: 2023/06/08 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
03:59 AM Bug #19084 (Closed): Using `IO::Buffer` to change an extended String affects other Strings sharing the same buffer
ioquatix (Samuel Williams)
03:58 AM Bug #19084: Using `IO::Buffer` to change an extended String affects other Strings sharing the same buffer
Merged in https://github.com/ruby/ruby/commit/bd786e78969f9d4a8699376ceafe10934b6ad533. ioquatix (Samuel Williams)
03:30 AM Bug #19084: Using `IO::Buffer` to change an extended String affects other Strings sharing the same buffer
This should be fixed by https://bugs.ruby-lang.org/issues/19084. ioquatix (Samuel Williams)
03:58 AM Revision bd786e78 (git): Fix mutation on shared strings. (#7837)
Samuel Williams
03:43 AM Revision 8fef1373 (git): Bump ruby/setup-ruby from 1.149.0 to 1.150.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.149.0 to 1.150.0.
- [Release notes](https://github...
dependabot[bot]
03:34 AM Misc #19431 (Closed): DevMeeting at RubyKaigi 2023
hsbt (Hiroshi SHIBATA)
03:33 AM Misc #19599 (Closed): DevMeeting-2023-05-10 @ Matsumoto, Japan
hsbt (Hiroshi SHIBATA)
03:27 AM Revision bcb16eb1 (git): Rename `data` -> `buffer` for better readability. (#7836)
Samuel Williams
02:47 AM Bug #19386 (Closed): `test_hmac.rb` of openssl is timeout on RHEL9
I confirmed to resolve `test_hmac.rb` issue with RHEL 9.2. Thanks. hsbt (Hiroshi SHIBATA)
02:27 AM Revision a5819b5b (git): Allow the match cache optimization for atomic groups (#7804)
make_now_just (Hiroya Fujinami)
02:15 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
The guideline should be applied both side. When you read the comment to your proposal, you should have “assumed good ... matz (Yukihiro Matsumoto)
01:22 AM Feature #19644: Module::current to complement Module::nesting
bughit (bug hit) wrote in #note-8:
> `Module.nesting(n)` does address the perf aspect, but it makes rather it too ve...
nobu (Nobuyoshi Nakada)
12:09 AM Feature #19644: Module::current to complement Module::nesting
I think `__module__` (or `__namespace__` etc) could be acceptable, but in order to discuss it further we just need to... ioquatix (Samuel Williams)
12:23 AM Bug #19680: test_process.rb tests fail sometimes on FreeBSD
I made a fair bit more progress over the weekend with this:
* For the `TestProcess#test_daemon_no_threads` test - I ...
kjtsanaktsidis (KJ Tsanaktsidis)

05/21/2023

11:49 PM Revision 872249e2 (git): Don't leak pipes. (#7820)
Samuel Williams
06:20 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
sawa (Tsuyoshi Sawada) wrote in #note-17:
> I recalled that Ruby had adopted community conduct guideline https://www...
austin (Austin Ziegler)
03:50 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
matz (Yukihiro Matsumoto) wrote in #note-16:
> You should have expressed that you felt it was rude to treat a seri...
sawa (Tsuyoshi Sawada)
03:41 PM Feature #19644: Module::current to complement Module::nesting
ioquatix (Samuel Williams) wrote:
> In some cases, where things like `Module.nesting[n]` is too slow, having an argum...
bughit (bug hit)
03:34 PM Feature #19682: ability to get a reference to the "default definee"
ioquatix (Samuel Williams) wrote in #note-12:
> In some cases, where things like `Module.nesting[n]` is too slow, ha...
bughit (bug hit)
12:16 PM Feature #19682: ability to get a reference to the "default definee"
In some cases, where things like `Module.nesting[n]` is too slow, having an argument like `Module.nesting(n)` or such... ioquatix (Samuel Williams)
02:00 PM Revision 7f7a8fa5 (git): Put `rb_fork` back into process.c
Now, calling `rb_fork` directly breaks the PID cache and the timer
thread, so must use `rb_fork_ruby` or similar inst...
nobu (Nobuyoshi Nakada)
10:51 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
> has test coverage here, therefore this is deliberate.
Note that this isn't necessarily true. The spec was added...
byroot (Jean Boussier)
09:37 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
OK, I think the discussion to have in the meeting is reduced to one simple question only. Let me explain.
The behavi...
fxn (Xavier Noria)
07:10 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
LOL, it turns out reproducing the non-determinism is trivial. So, on one hand we have the original example:
```rub...
fxn (Xavier Noria)
07:47 AM Revision 08675889 (git): Use `rb_fork_ruby` for `--help` pager
Instead of `rb_fork`, to update `current_fork_gen` which has been
introduced at 3563e1383fe4ce13168cd3b9f4d5222d69d00...
nobu (Nobuyoshi Nakada)
07:44 AM Revision 4f4bc13e (git): Skip too-complex-shape test which is always flaky regardless JIT
nobu (Nobuyoshi Nakada)
03:29 AM Bug #19683 (Closed): ruby-3.3.0-preview1 does not build with BSD make without --with-baseruby
ruby-3.3.0-preview1 does not build with BSD make without `--with-baseruby`. However, it builds fine with GNU make and... jeremyevans0 (Jeremy Evans)
02:57 AM Revision 64e156f2 (git): [ruby/irb] Fix typo (https://github.com/ruby/irb/pull/587)
* Fix typo
* s/braking/breaking/g
Co-authored-by: Stan Lo <[email protected]>
---------
https://github.com/rub...
ima1zumi (Mari Imaizumi)
01:31 AM Revision a997f144 (git): Skip first if flaky [ci skip]
nobu (Nobuyoshi Nakada)
12:59 AM Revision 1dd5427a (git): Fix typo in spec file description [ci skip]
fixed typo for spec description Ivanov-Anton

05/20/2023

10:42 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
One imaginary rule (in the sense that I do not know if it is real) that could be at play here could be: If you are a ... fxn (Xavier Noria)
10:29 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
@byroot agree we are reaching a point in which we need some authoritative answer saying: This is how it is supposed t... fxn (Xavier Noria)
06:15 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
> it's not 100% certain not clearing it on remove_const was a feature or an oversight.
Interesting datapoint on th...
byroot (Jean Boussier)
06:10 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
So to clarify my thinking, my own mental model, or interpretation of Ruby's intent, is that whichever constant you as... byroot (Jean Boussier)
03:19 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
That's a really interesting example.
There if the result would be `N::X` (as I believe https://github.com/ruby/ruby/p...
Eregon (Benoit Daloze)
03:07 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
I have run another experiment that may weaken my point about the trailing segment being invariant:
```ruby
m = Modul...
fxn (Xavier Noria)
02:12 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
So, I'd like to summarize the points in this discussion.
On one hand, we have a segment changed here:
```ruby
m = M...
fxn (Xavier Noria)
12:29 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
By "broken" I just mean it no longer reflects a valid way to access that module, that's all, no more than that. Eregon (Benoit Daloze)
12:23 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
No, `N.name` is not broken! It is just the way it works in Ruby.
You cannot claim something is broken because it d...
fxn (Xavier Noria)
12:19 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
Eregon (Benoit Daloze) wrote in #note-8:
> The final/permanent name of a Module should reflect how to access it, and ...
Eregon (Benoit Daloze)
12:17 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
Oh yes, what I wanted to mean is that TruffleRuby has things modeled so that what I believe is the correct behaviour ... fxn (Xavier Noria)
11:09 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
fxn (Xavier Noria) wrote in #note-11:
> @Eregon and BTW, your implementation have things ready and squared with the ...
Eregon (Benoit Daloze)
11:03 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
fxn (Xavier Noria) wrote in #note-10:
> @Eregon, as I said, there is no requirement that names are reachable constan...
Eregon (Benoit Daloze)
11:01 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
@Eregon and BTW, your implementation have things ready and squared with the Ruby model. First assignment sets that ba... fxn (Xavier Noria)
10:54 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
@Eregon, as I said, there is no requirement that names are reachable constant paths. So the fact that they might not ... fxn (Xavier Noria)
10:48 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
In case it's not clear, the problem with the current PR is it would return `M::C` for that last line, but that's a li... Eregon (Benoit Daloze)
10:41 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
byroot (Jean Boussier) wrote in #note-4:
> @Eregon I don't think that's correct, as the first assigned name persists...
Eregon (Benoit Daloze)
10:18 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
Let me elaborate the alignment I see.
In Ruby, these lines are different:
```ruby
C = Class.new
d = C
D = C
```
Th...
fxn (Xavier Noria)
10:06 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
Philosopher hat on :): I am surprised that this feature (permanent names) exists at all, really. The Ruby model does ... fxn (Xavier Noria)
12:11 AM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
I was trying it on ruby head. I don't think the fact I couldn't reproduce it really matters - I just thought I'd give... ioquatix (Samuel Williams)
08:40 PM Revision b3f355cf (git): Set rlimit_nproc to 64 instead of 128 on OpenBSD for spawn_too_long_path tests
This significantly reduces testing time, and may allow the test to
pass before timeout in CI.
jeremyevans (Jeremy Evans)
07:39 PM Feature #19644: Module::current to complement Module::nesting
Eregon (Benoit Daloze) wrote in #note-5:
> > Could be useful for debugging/logging.
>
> Those are not performance cr...
bughit (bug hit)
12:41 PM Feature #19644 (Rejected): Module::current to complement Module::nesting
> Could be useful for debugging/logging.
Those are not performance critical, so `Module::nesting[0]` is enough.
...
Eregon (Benoit Daloze)
10:51 AM Feature #19644: Module::current to complement Module::nesting
In a module body it's the same.
So why do you need it? Isn't it trivially accessible via other ways?
Eregon (Benoit Daloze)
07:24 PM Feature #19682: ability to get a reference to the "default definee"
Eregon (Benoit Daloze) wrote in #note-10:
> bughit (bug hit) wrote in #note-8:
> > Looks like you need these contex...
bughit (bug hit)
07:09 PM Feature #19682: ability to get a reference to the "default definee"
bughit (bug hit) wrote in #note-8:
> Looks like you need these context references so you can figure out how ruby wor...
Eregon (Benoit Daloze)
06:21 PM Feature #19682: ability to get a reference to the "default definee"
bughit (bug hit) wrote in #note-8:
> Not clear to me how you can implement these concepts and still be confused abou...
Eregon (Benoit Daloze)
06:05 PM Feature #19682: ability to get a reference to the "default definee"
> @bughit This is a bit insulting, I know how Ruby work, I implemented all these concepts in TruffleRuby.
> The poin...
bughit (bug hit)
12:43 PM Feature #19682 (Open): ability to get a reference to the "default definee"
I didn't mean to close this one, only #19644, seems it's automatic somehow if linked as duplicate? Eregon (Benoit Daloze)
12:41 PM Feature #19682 (Rejected): ability to get a reference to the "default definee"
Eregon (Benoit Daloze)
12:39 PM Feature #19682: ability to get a reference to the "default definee"
> Looks like you need these context references so you can figure out how ruby works.
@bughit This is a bit insulti...
Eregon (Benoit Daloze)
11:06 AM Feature #19682: ability to get a reference to the "default definee"
Eregon (Benoit Daloze) wrote in #note-2:
> Seems a duplicate of #19644.
Let's see. You thought Module::nesting[0] wa...
bughit (bug hit)
10:51 AM Feature #19682: ability to get a reference to the "default definee"
Seems a duplicate of #19644.
Again, why do you need it?
I think there is no chance to add something without a concret...
Eregon (Benoit Daloze)
12:43 PM Revision 8d242a33 (git): `rb_bug` prints a newline after the message
nobu (Nobuyoshi Nakada)
12:02 PM Feature #19643 (Closed): Direct primitive compare sort for Array#sort_by
Applied in changeset commit:git|87217f26f120611d009f1b178d3cc5eaf1b8b515.
----------
[Feature #19643] Direct primiti...
nekoyama32767 (Jinsong Yu)
10:40 AM Revision 87217f26 (git): [Feature #19643] Direct primitive compare sort for `Array#sort_by`
In most of case `sort_by` works on primitive type.
Using `qsort_r` with function pointer is much slower than compare ...
nekoyama32767 (Jinsong Yu)
10:31 AM Feature #19642: Remove vectored read/write from `io.c`.
"ioquatix (Samuel Williams) via ruby-core" <[email protected]> wrote:
> ```
> irb(main):001:0> $stderr.sy...
Anonymous
09:32 AM Revision 892798ca (git): Update default gems list at 8db13c179e475e99f6155eb85f196a [ci skip]
git[bot]
09:31 AM Revision 8db13c17 (git): [ruby/reline] Bump version to 0.3.4
(https://github.com/ruby/reline/pull/538)
https://github.com/ruby/reline/commit/1fb0753bc1
ima1zumi (Mari Imaizumi)
07:42 AM Revision 41512cd1 (git): Lrama v0.5.1
yui-knk (Kaneko Yuichiro)
04:28 AM Revision 9ce6c08c (git): [ruby/irb] Add assertion for dynamic_prompt's assertion execution
(https://github.com/ruby/irb/pull/586)
Because the assertions for `dynamic_prompt` lives inside a block given to
`Ru...
st0012 (Stan Lo)
01:08 AM Revision 6d9875cc (git): [ruby/irb] Fix dynamic_prompt test not executed, remove unnecessary
set_input
(https://github.com/ruby/irb/pull/585)
https://github.com/ruby/irb/commit/b5f3efdcf0
tompng (tomoya ishida)

05/19/2023

07:35 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
@Eregon I don't think that's correct, as the first assigned name persists:
```ruby
m = Module.new
class m::C; ...
byroot (Jean Boussier)
05:41 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
TruffleRuby remembers the given basename (`C` in this case) as a separate field, so that's similar to your approach.
...
Eregon (Benoit Daloze)
02:51 PM Bug #19681: The final classpath of partially named modules is sometimes inconsistent once permanently named
Would it make sense to store insertion order or otherwise store the order (or what is an alias) so that the constant ... ioquatix (Samuel Williams)
02:08 PM Bug #19681 (Closed): The final classpath of partially named modules is sometimes inconsistent once permanently named
Reported to me by @fxn
```ruby
m = Module.new
class m::C; end
p m::C.name # => "#<Module:0x000000010789fbe0>...
byroot (Jean Boussier)
06:29 PM Feature #19682 (Rejected): ability to get a reference to the "default definee"
https://blog.yugui.jp/entry/846
"default definee" is a pretty important context so why not make it easy to identif...
bughit (bug hit)
06:19 PM Feature #19644: Module::current to complement Module::nesting
Eregon (Benoit Daloze) wrote in #note-1:
> Is `self` not enough? This needs a concrete use case.
`Module::nesting...
bughit (bug hit)
05:55 PM Feature #19644: Module::current to complement Module::nesting
Is `self` not enough? This needs a concrete use case. Eregon (Benoit Daloze)
05:46 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-42:
> This isn't just about exception messages. Any time such an object is...
Eregon (Benoit Daloze)
04:03 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> OTOH, I feel it's enough to get the file:line from the backtrace to investigate/debug/fix when a NoMethodError or s... ioquatix (Samuel Williams)
04:23 PM Feature #19634: Pattern matching dynamic key
I count 44 instances of this in our production code (~100k lines of Elixir), but I don’t think I’ve ever used key and... austin (Austin Ziegler)
04:02 PM Feature #19634: Pattern matching dynamic key
______________________________________________ Anonymous
02:55 PM Bug #18743: Enumerator#next / peek re-use each others stacktraces
The exceptions are already being chained through `cause`, but I've just updated the tests to make this fact clearer.
...
marcper (Marcelo Pereira)
01:48 PM Revision e8c9f727 (git): [ruby/irb] Simplify each_top_level_statement
(https://github.com/ruby/irb/pull/576)
* Simplify each_top_level_statement, reduce instance vars
* Update lib/irb/r...
tompng (tomoya ishida)
10:04 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
This was discussed in the last dev meeting. The conclusion was:
> In 3.3 it throws error all keyword arguments to ...
byroot (Jean Boussier)
09:42 AM Feature #19610 (Rejected): GC.delay_promotion
Ok, closing in favor of #19678 then. byroot (Jean Boussier)
03:56 AM Revision 875adad9 (git): The too-complex test isn't stablefor RJIT either
https://github.com/ruby/ruby/actions/runs/5020231516 k0kubun (Takashi Kokubun)
02:33 AM Revision b70e3f44 (git): Skip test_dump_too_complex_shape for YJIT for now
It fails too often with YJIT:
* https://github.com/ruby/ruby/actions/runs/5015976941/jobs/8992254690
* https://githu...
k0kubun (Takashi Kokubun)
01:33 AM Revision b54b388f (git): [ruby/irb] Display mod key as `Option` on Darwin platforms
(https://github.com/ruby/irb/pull/584)
Check RUBY_PLATFORM for `darwin` and modify the mod key from `Alt` to
`Option`.
adam12 (Adam Daniels)
01:33 AM Feature #19642: Remove vectored read/write from `io.c`.
Thanks Nakamura-san for your feedback.
According to POSIX:
> Atomic/non-atomic: A write is atomic if the whole ...
ioquatix (Samuel Williams)
01:01 AM Feature #19642: Remove vectored read/write from `io.c`.
If I remember correctly, writev was introduced for atomic writes, not for performance.
(I am neutral to remove writev.)
usa (Usaku NAKAMURA)
12:49 AM Feature #19642: Remove vectored read/write from `io.c`.
Thanks for your feedback Aaron.
The concern is less about the internal overhead.
I'm sure different OS can optimise...
ioquatix (Samuel Williams)
12:25 AM Revision 74600917 (git): [ruby/openssl] Revert "Skip OpenSSL::TestHMAC#test_dup when running with RHEL9"
This reverts commit https://github.com/ruby/openssl/commit/9493d4a3bb26.
https://github.com/ruby/openssl/commit/b880...
hsbt (Hiroshi SHIBATA)
12:25 AM Revision b26ddfd7 (git): [ruby/openssl] Fix warnings about the OPENSSL_FIPS macro in OpenSSL 1.1.
The commit <https://github.com/ruby/openssl/commit/c5b2bc1268bc> made the warnings below
in the case of OpenSSL 1.1 w...
Jun Aruga
12:25 AM Revision 678d41bc (git): [ruby/openssl] Implement FIPS functions on OpenSSL 3.
This commit is to implement the `OpenSSL::OPENSSL_FIPS`, `ossl_fips_mode_get`
and `ossl_fips_mode_set` to pass the te...
Jun Aruga
12:25 AM Revision 741a3bd5 (git): [ruby/openssl] CI: Add OpenSSL FIPS mode case.
test/openssl/fixtures/ssl/openssl_fips.cnf.tmpl:
I referred to the following document for the openssl config file fo...
Jun Aruga
12:22 AM Bug #19386: `test_hmac.rb` of openssl is timeout on RHEL9
Thanks to track this.
I did upgrade our CI instance.
```
[hsbt@rhel9 ~]$ cat /etc/redhat-release
Red Hat Ente...
hsbt (Hiroshi SHIBATA)
12:05 AM Revision 94a513b0 (git): YJIT: Enable debug symbols in dev_nodebug (#7822)
k0kubun (Takashi Kokubun)
 

Also available in: Atom