Project

General

Profile

Activity

From 12/17/2023 to 12/23/2023

12/23/2023

11:06 PM Revision daefbf8f (git): Use native_thread_init_stack on cygwin
fd0 (Daisuke Fujimura)
11:00 PM Revision 50bf4373 (git): Fix String#sub for GC compaction
The test fails when RGENGC_CHECK_MODE is turned on:
TestString#test_sub_gc_compact_stress = 9.42 s
1) Failur...
peterzhu2118 (Peter Zhu)
10:07 PM Revision a2ebf9cc (git): Replicate EEXIST epoll_ctl behavior in kqueue
* In the epoll implementation, you get an EEXIST if you try to register the same event for the same fd more than once... jpcamara (JP Camara)
09:52 PM Revision fadda889 (git): Fix Regexp#to_s for GC compaction
The test fails when RGENGC_CHECK_MODE is turned on:
TestRegexp#test_to_s_under_gc_compact_stress = 13.46 s
1...
peterzhu2118 (Peter Zhu)
09:40 PM Bug #20082: Killing fibers across threads: unexpected exception
UPD: OTOH, without resuming, the code doesn't see any problem at all (despite the claim about killing other thread's ... zverok (Victor Shepelev)
09:15 PM Bug #20082 (Assigned): Killing fibers across threads: unexpected exception
For providing the example in a changelog, I tried to imitate killing fibers belonging to other threads.
Documentatio...
zverok (Victor Shepelev)
09:08 PM Revision 688a1314 (git): [DOC] Clean up doc for File#flock (#9332)
burdettelamar (Burdette Lamar)
05:57 PM Bug #20081: Transfered Fiber doesn't return to Fiber that started it
I see that Ruby 3.3 has `Fiber#kill` coming (https://github.com/ruby/ruby/pull/7823), which I _think_ will solve my p... rmosolgo (Robert Mosolgo)
05:44 PM Bug #20081 (Open): Transfered Fiber doesn't return to Fiber that started it
Hi! I'm trying to figure out how to make sure that Fibers started with `.transfer` end up _terminated_, not just susp... rmosolgo (Robert Mosolgo)
02:51 PM Revision 47f33c38 (git): Remove useless `#if 1` in array.c
peterzhu2118 (Peter Zhu)
02:21 PM Feature #19324: Enumerator.product => Enumerable#product
> I couldn't take the time to work on this, sorry.
Yeah, same :(
It seems this has to wait till 3.4 (especially...
zverok (Victor Shepelev)
02:13 PM Feature #19324: Enumerator.product => Enumerable#product
I couldn't take the time to work on this, sorry.
One thing I noticed while I was thinking of this was that Array#p...
knu (Akinori MUSHA)
11:25 AM Feature #19370: Anonymous parameters for blocks?
https://github.com/ruby/ruby/pull/9330 nobu (Nobuyoshi Nakada)
10:36 AM Revision fe9e57ba (git): Adjust indent [ci skip]
nobu (Nobuyoshi Nakada)
09:57 AM Revision fd3dede7 (git): Fix for older set versions
`Set::VERSION` was not defined in old set.rb bundled with ruby 3.2 or
earlier.
Also add comment for spec/mspec/tool/r...
nobu (Nobuyoshi Nakada)
09:15 AM Revision dc7785e1 (git): Set 1.1 now checks subclass-ness stricter
nobu (Nobuyoshi Nakada)
09:03 AM Revision f6e9899e (git): Make rbconfig.rb loadable from exe/ruby
So that it can run without `--disable=gems` option. nobu (Nobuyoshi Nakada)
09:03 AM Revision 8c03bdac (git): Control the precheck for test-all by `PRECHECK_TEST_ALL`
nobu (Nobuyoshi Nakada)
07:51 AM Revision 40bc7ede (git): Set 1.1.0 has been imported
Akinori MUSHA
07:50 AM Revision c66ff6fa (git): [ruby/set] Bump version to 1.1.0
https://github.com/ruby/set/commit/d6cab5bcc8 Akinori MUSHA
07:50 AM Revision 67882d76 (git): [ruby/set] Use the pattern argument instead of a block
https://github.com/ruby/set/commit/c63047c2ce Akinori MUSHA
07:50 AM Revision 6fc3171e (git): [ruby/set] The arity of initialize_clone is -1 in Ruby >= 3
https://github.com/ruby/set/commit/32a9689696 Akinori MUSHA
07:50 AM Revision 271c74a4 (git): [ruby/set] Drop support for Ruby 2
https://github.com/ruby/set/commit/64dad673d8 Akinori MUSHA
06:18 AM Revision da02d08f (git): RJIT: Rewind $! after compilation
k0kubun (Takashi Kokubun)
05:48 AM Revision ef065102 (git): RJIT: Prefer STDERR over $stderr
When $stderr is redirected, you'll have no way to see why RJIT got
broken. This reference must always be the actual s...
k0kubun (Takashi Kokubun)
04:20 AM Revision c25705c2 (git): Get rid of obsoleted RJITFirst
It was renamed from test_mjit, but we did not maintain it as test_rjit.
We test RJIT very differently.
k0kubun (Takashi Kokubun)
03:31 AM Revision 9b289d58 (git): [DOC] RDoc for Complex (#9307)
burdettelamar (Burdette Lamar)
02:39 AM Feature #20080: Introduce #bounds method on Range
I have no particular opinion on the suggested feature itself,
but I agree that .bounds() is a better API / name than...
rubyFeedback (robert heiler)
02:07 AM Revision f1b7424c (git): FREE_AT_EXIT: Don't free main stack post-fork
When a forked process was started in a thread, this would result in a
double-free during the child process exit.
...
jhawthorn (John Hawthorn)
02:07 AM Revision 339978ef (git): Free default_rand_key after freeing Ractors
Ractor's free iterates through its TLS keys so we need to keep this
memory available until after Ractors are freed.
...
jhawthorn (John Hawthorn)
02:07 AM Revision 697a096c (git): Remove EC argument from clean_hooks_check
This argument doesn't seem used anymore. Since we want to free these
objects during VM destruction when RUBY_FREE_AT_...
jhawthorn (John Hawthorn)
01:35 AM Bug #20078: StringIO cannot be moved between Ractors
luke-gru (Luke Gruber) wrote in #note-3:
> I think this is due to not currently being able to move any T_DATA object...
forthoney (Seong-Heon Jung)
12:35 AM Revision 24ff13d8 (git): Update default gems list at 7d7a84e99fca816ec352c95965687d [ci skip]
git[bot]
12:34 AM Revision 7d7a84e9 (git): Merge RubyGems-3.5.3 and Bundler-2.5.3
hsbt (Hiroshi SHIBATA)

12/22/2023

11:10 PM Revision fa5de8f6 (git): MN: skip waiting on fiber schedulers
If the Fiber is nonblocking mode, fiber scheduler needs to handle
IO events.
ko1 (Koichi Sasada)
11:10 PM Revision beec3d07 (git): MN: skip waiting on `read_nonblock'
if the IO for `IO#read_nonblock` is not ready, it needs
to return (or raise) immediately.
ko1 (Koichi Sasada)
11:10 PM Revision 2fe9e085 (git): MN: skip RUBY_DESCRIPTION spec on MN enabled
ko1 (Koichi Sasada)
08:56 PM Revision a4b73721 (git): MN: ceil timeout milli seconds
`hrrel / RB_HRTIME_PER_MSEC` floor the timeout value and it can
return wrong value by `Mutex#sleep` (return Integer e...
ko1 (Koichi Sasada)
08:56 PM Revision c974ee1a (git): ensure to restart antoher thread
ko1 (Koichi Sasada)
08:56 PM Revision bbfc262c (git): MN: fix "raise on close"
Introduce `thread_io_wait_events()` to make 1 function to call
`thread_sched_wait_events()`.
In ``thread_io_wait_eve...
ko1 (Koichi Sasada)
07:37 PM Bug #20078: StringIO cannot be moved between Ractors
I think this is due to not currently being able to move any T_DATA objects between ractors. StringIO is defined in a ... luke-gru (Luke Gruber)
02:26 PM Bug #20078: StringIO cannot be moved between Ractors
Thank you for the quick response!
If my understanding is correct, then there are 4 categories of Ruby objects:
1. S...
forthoney (Seong-Heon Jung)
03:18 AM Bug #20078: StringIO cannot be moved between Ractors
StringIO is a mutable object, so it is fundamentally not movable. I agree that some cosmetic errors you have pointed ... matz (Yukihiro Matsumoto)
02:40 AM Bug #20078 (Closed): StringIO cannot be moved between Ractors
The following code will raise an unusual Ractor error.
``` ruby
require 'stringio'
r = Ractor.new { loop { Ractor....
forthoney (Seong-Heon Jung)
07:33 PM Misc #20013: Travis CI status

Now I am asking Travis CI support by emailing them about the following error messages which are printed in only Arm6...
jaruga (Jun Aruga)
07:24 PM Revision 19d082dc (git): RJIT: Distinguish Pointer with Array
This is more convenient for accessing those fields. k0kubun (Takashi Kokubun)
06:57 PM Feature #20080: Introduce #bounds method on Range
@Dan0042 great idea! At first I was against this because I thought it would make deconstruction harder but it actuall... stuyam (Stuart Yamartino)
06:49 PM Feature #20080: Introduce #bounds method on Range
An aside, but with Enumerator::ArithmeticSequence, `last` give you the value excluding end but not so with Range.
...
shan (Shannon Skipper)
06:35 PM Feature #20080: Introduce #bounds method on Range
If it's for serialization wouldn't you also want to know `exclude_end?`
```ruby
b = (1..2).bounds #=> [1,2]
Ran...
Dan0042 (Daniel DeLorme)
05:55 PM Feature #20080: Introduce #bounds method on Range
@ufuk I like `#bounds` as a name also, great suggestion, let's try that. And thank you for showing beginless and endl... stuyam (Stuart Yamartino)
05:30 PM Feature #20080: Introduce #bounds method on Range
I agree that this would be a good method to add for cases where one is handed a `Range` instance and accessing the bo... ufuk (Ufuk Kayserilioglu)
05:03 PM Feature #20080: Introduce #bounds method on Range
Can you show an example use case that demonstrates the value of the feature?
Because
`first, last = (300..1).begi...
Dan0042 (Daniel DeLorme)
04:26 PM Feature #20080 (Feedback): Introduce #bounds method on Range
Followup Reference: #20027
**Update 1/11/24:** (based on many wonderful suggestions!)
1. Call the method `#bou...
stuyam (Stuart Yamartino)
04:31 PM Feature #20027: Add Range Deconstruction
Conversation moved to new issue for implementation of `#begin_and_end` method on Range: #20080 stuyam (Stuart Yamartino)
03:39 PM Feature #20027: Add Range Deconstruction
Yeah great point @Dan0042, `#minmax` _almost_ works, but as you point out it does not work because if the range is a ... stuyam (Stuart Yamartino)
01:12 AM Feature #20027: Add Range Deconstruction
```ruby
(1..42).minmax #=> [1, 42]
(42..1).minmax #=> [nil, nil]
```
Dan0042 (Daniel DeLorme)
03:28 PM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
> How about raise NoMethodError
Agreed. If people want an exception that inherits from `StandardError`, then `NoMe...
byroot (Jean Boussier)
03:02 PM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
How about `raise NoMethodError, "method '#{__method__}' is not implemented in #{self.class}"` Dan0042 (Daniel DeLorme)
02:38 PM Misc #20038: Strings with mixed escapes not detected around interpolation
Thank you for your response. I understand that interpolation is sugar for concatenation. However these strings will a... kddnewton (Kevin Newton)
02:08 PM Revision 40e3f782 (git): Extract `forwarding_arg_check` function
nobu (Nobuyoshi Nakada)
02:08 PM Revision 11c2aa03 (git): Extract `arg_splat` nonterminal symbol
nobu (Nobuyoshi Nakada)
02:06 PM Revision 426f2334 (git): .travis.yml: Try another way to be notified.
I <jaruga@ruby-lang.org> haven't received the notifications since August 2022.
So, try another way to be notified wri...
Jun Aruga
12:26 PM Bug #20079: alexandria testsuite began to segfault recently
> from the crash report you show the crash happened in spec/alexandria/ui/acquire_dialog_spec.rb:12, do you get a cra... mtasaka (Mamoru TASAKA)
10:59 AM Bug #20079: alexandria testsuite began to segfault recently
@mtasaka Hmmm, does the segfault stop reproducing by reverting the commit?
Can you check if it will stop reproduci...
mame (Yusuke Endoh)
10:43 AM Bug #20079: alexandria testsuite began to segfault recently
Any chance you could reduce this more? e.g. from the crash report you show the crash happened in `spec/alexandria/ui/... byroot (Jean Boussier)
10:36 AM Bug #20079: alexandria testsuite began to segfault recently
Once I've uploaded alexandria source (alexandria with Fedora patches):
https://mtasaka.fedorapeople.org/Bugfix/ale...
mtasaka (Mamoru TASAKA)
08:54 AM Bug #20079: alexandria testsuite began to segfault recently
```
rb_id_table_lookup
vm_search_cc
vm_search_method_slowpath0
vm_exec_core
```
That part of the backtrace su...
byroot (Jean Boussier)
08:41 AM Bug #20079: alexandria testsuite began to segfault recently
Well, indeed the culprit seems commit:11fa76b1b521072c200c78ea023960221ff426d6 mtasaka (Mamoru TASAKA)
07:52 AM Bug #20079: alexandria testsuite began to segfault recently
Reproducing this without using Fedora srpm may be difficult... Currently I am unable to reproduce this with "vanilla"... mtasaka (Mamoru TASAKA)
04:46 AM Bug #20079: alexandria testsuite began to segfault recently
@mtasaka Could you please elaborate on how to reproduce the issue?
Also, can you please try to identify the suspec...
mame (Yusuke Endoh)
03:59 AM Bug #20079 (Open): alexandria testsuite began to segfault recently
Looks like Fedora alexandria-0.7.9-4 testsuite began to segfault with recent ruby3.3.0dev.
It does not always segfau...
mtasaka (Mamoru TASAKA)
08:12 AM Bug #20077: modern http client
I know,but this is the bad part,they are http verb,but some return response,some return body string.
all verb meth...
pynix (Pynix wang)
07:15 AM Bug #19977 (Closed): (nil..nil) === x can raise an exception, differing from Range#cover?
Applied in changeset commit:git|e8639098ed78f8f8f7c263d8b6f2d68822945a78.
----------
[Bug #19977] Fix (nil..nil) ===...
kyanagi (Kouhei Yanagita)
05:41 AM Bug #19977: (nil..nil) === x can raise an exception, differing from Range#cover?
I've approved the PR and I'll see if @nobu agrees. I definitely would love to see this merged to 3.3. knu (Akinori MUSHA)
07:15 AM Revision e8639098 (git): [Bug #19977] Fix (nil..nil) === x not to raise TypeError
kyanagi (Kouhei Yanagita)
07:12 AM Feature #19725 (Closed): Improve the match cache optimization to support look-ahead and atomic groups
mame (Yusuke Endoh)
07:00 AM Revision f263e447 (git): RJIT: Avoid retaining unrelated local variables in memory
k0kubun (Takashi Kokubun)
06:55 AM Bug #20029 (Closed): coroutine/arm64/Context.S does not support PAC/BTI
hsbt (Hiroshi SHIBATA)
06:55 AM Bug #20029: coroutine/arm64/Context.S does not support PAC/BTI
https://github.com/ruby/ruby/pull/9306 has been merged. hsbt (Hiroshi SHIBATA)
06:53 AM Revision ef4797bb (git): [DOC] Fix NEWS markup
kyanagi (Kouhei Yanagita)
06:28 AM Revision 17e35105 (git): Add Regexp updates to NEWS.md
make_now_just (Hiroya Fujinami)
06:15 AM Revision e364436c (git): [DOC] NEWS entries for Parser
yui-knk (Kaneko Yuichiro)
05:59 AM Revision f3c82df9 (git): RJIT: Minimize string allocations in InsnCompiler
k0kubun (Takashi Kokubun)
05:46 AM Revision 2e0277b1 (git): RJIT: Make --rjit-trace actually work
k0kubun (Takashi Kokubun)
05:10 AM Revision 4c6f07ee (git): RJIT: Update bindgen
k0kubun (Takashi Kokubun)
05:05 AM Revision 64c52cd1 (git): RJIT: Add --rjit-trace to allow TracePoint during JIT
k0kubun (Takashi Kokubun)
04:43 AM Revision c18edc5b (git): Avoid underflow of rb_yjit_live_iseq_count
This value is only incremented when rb_iseq_translate_threaded_code is
called, which doesn't happen for iseqs which r...
jhawthorn (John Hawthorn)
03:45 AM Revision cae11dd8 (git): debug.gem v1.9.1
ko1 (Koichi Sasada)
02:30 AM Revision fa0f7522 (git): coroutine/arm64: Skip saving/restoring x30 twice and use `autiasp`
We don't need to save/restore x30 twice, and we can just use `ret`,
which uses x30 as return address register instead...
katei (Yuta Saito)
02:30 AM Revision 2d004dec (git): coroutine/arm64/Context.S: Append PAC/BTI note section if needed
Fixes https://bugs.ruby-lang.org/issues/20029 katei (Yuta Saito)
02:30 AM Revision 35587150 (git): coroutine/arm64/Context.S: Insert `bti c` as BTI landing pad
katei (Yuta Saito)
02:30 AM Revision d9e5564c (git): coroutine/arm64: Sign return address if PAC enabled
katei (Yuta Saito)
01:47 AM Revision 9a3c49ee (git): RJIT: Convert opt_case_dispatch keys with #to_value
comptime_key is a Ruby object and the value is not valid in machine code.
This PR also implements `CMP r/m64, imm32 ...
k0kubun (Takashi Kokubun)
01:34 AM Revision 0c05551f (git): Typo fixes for public headers [ci skip]
alanwu (Alan Wu)
01:12 AM Revision 009968a7 (git): RJIT: Avoid incrementing vm_insns_count
during compilation k0kubun (Takashi Kokubun)
12:47 AM Revision 3c182776 (git): RJIT: Clean up unnecessary documentation
k0kubun (Takashi Kokubun)
12:45 AM Revision 18a97aff (git): RJIT: Fix a wrong comparison in set_local_type
k0kubun (Takashi Kokubun)

12/21/2023

11:48 PM Revision 68bcca4c (git): RJIT: Fix unwanted shadowing in set_local_type
local_idx should not be overwritten. k0kubun (Takashi Kokubun)
11:23 PM Bug #20017 (Closed): 3.3.0dev `rb_thread_profile_frames` crashes when `RUBY_MN_THREADS=1`
Applied in changeset commit:git|ffa5f16273f46c97bfca56e4549b0b38b9322d63.
----------
Make rb_profile_frames return 0...
jhawthorn (John Hawthorn)
11:23 PM Revision ffa5f162 (git): Make rb_profile_frames return 0 for NULL ec
When using M:N threads, EC is set to NULL in the shared native thread
when nothing is scheduled. This previously caus...
jhawthorn (John Hawthorn)
10:32 PM Revision 78b27ce6 (git): RJIT: Streamline RJIT enablement check
in bootstrap tests so that `make btest-bruby` skips the right tests. k0kubun (Takashi Kokubun)
10:25 PM Revision c73959cf (git): RJIT: Rename pause/resume to disable/enable
like YJIT. They don't work in the same way yet, but it's nice to make
the naming consistent first so that we will not...
k0kubun (Takashi Kokubun)
10:24 PM Revision 69bed94c (git): Update default gems list at 82496f2b389278a569fa7680ee6faa [ci skip]
git[bot]
10:24 PM Revision 82496f2b (git): Merge RubyGems-3.5.2 and Bundler-2.5.2
hsbt (Hiroshi SHIBATA)
09:12 PM Revision fc549b2b (git): [DOC] Improve NEWS.md rendering and add missing features (#9308)
* Fix rendering of the file on docs.ruby-lang.org:
* More indentation for code;
* Properly qualified methods to l...
zverok (Victor Shepelev)
08:47 PM Feature #20027: Add Range Deconstruction
Thanks for the thoughtful responses @shan and @mame!
Shan, you make great points. With the next `it` syntax coming i...
stuyam (Stuart Yamartino)
02:28 AM Feature #20027 (Rejected): Add Range Deconstruction
We discussed this at the dev meeting and decided to reject it.
Currently, assignment deconstruction is available o...
mame (Yusuke Endoh)
08:27 PM Revision e04197ab (git): [DOC] Fix NoMethodError example of rendering (#9309)
Fix NoMethodError example of rendering zverok (Victor Shepelev)
06:22 PM Bug #20077: modern http client
> HTTP.get return body as string,
> other http method return response
> there is get_print, maybe for scripting.
...
k0kubun (Takashi Kokubun)
06:10 PM Bug #20077: modern http client
HTTP.get return body as string,
other http method return response
there is get_print, maybe for scripting.
...
pynix (Pynix wang)
05:18 PM Bug #20077: modern http client
For GET and POST, modern Ruby does have APIs that aren't hard to use. I wonder if you have used them.
* `Net::HTTP...
k0kubun (Takashi Kokubun)
05:43 AM Bug #20077 (Feedback): modern http client
It would be good if you could outline in more detail:
* What, exactly, about net/http you find hard to use?
* Som...
kjtsanaktsidis (KJ Tsanaktsidis)
05:35 AM Bug #20077 (Feedback): modern http client
net/http is very very old and hard to use.
we need a well designed http client in stdlib.
pynix (Pynix wang)
05:17 PM Bug #20016 (Closed): 3.3.0dev `rb_postponed_job_register_one` crashes when `RUBY_MN_THREADS=1`
Applied in changeset commit:git|1f0304218cf00e05a4a126196676ba221ebf91f6.
----------
Use main_thread->ec from rb_vm_...
jhawthorn (John Hawthorn)
05:17 PM Revision 1f030421 (git): Use main_thread->ec from rb_vm_main_ractor_ec
rb_vm_main_ractor_ec was introduced to allow rb_postponed_job_* to work
when fired on non-Ruby threads, which have no...
jhawthorn (John Hawthorn)
05:17 PM Revision 1710eb93 (git): [DOC] Fix rb_postponed_job_register_once typo
Co-authored-by: Dustin Brown <dbrown9@gmail.com> jhawthorn (John Hawthorn)
03:39 PM Revision e191bf42 (git): Fix ary_make_partial_step for compaction
ary could change embeddedness due to compaction, so we should only get
the pointer after allocations.
The included t...
peterzhu2118 (Peter Zhu)
12:02 PM Revision fd473513 (git): Fix a typo in NEWS.md
byroot (Jean Boussier)
09:55 AM Bug #20052 (Third Party's Issue): reline behaves oddly with redirect (non tty)
hsbt (Hiroshi SHIBATA)
09:47 AM Bug #20074: IRB/Pry search up arrow in 3.3 changed behaviour "\e[A": history-search-backward
hsbt (Hiroshi SHIBATA) wrote in #note-1:
> Thanks for your report. Ruby 3.3 will use reline that is readline replace...
oleg_antonyan (Oleg Antonyan)
08:38 AM Bug #20074 (Third Party's Issue): IRB/Pry search up arrow in 3.3 changed behaviour "\e[A": history-search-backward
Thanks for your report. Ruby 3.3 will use reline that is readline replacement of pure ruby by default.
Can you rep...
hsbt (Hiroshi SHIBATA)
05:16 AM Revision bcb4706d (git): Added limitation of bundled gems warning feature with bootsnap
hsbt (Hiroshi SHIBATA)
04:42 AM Bug #20076: M:N scheduler is stuck on macOS with RUBY_MN_THREADS=1
>is it crashing, or hanging?
Thanks, It's hanging (Stuck?).
hsbt (Hiroshi SHIBATA)
04:28 AM Bug #20076: M:N scheduler is stuck on macOS with RUBY_MN_THREADS=1
Confirmed that if I change all of the `rb_thread_io_blocking_call` calls to hard-code 0 as the last argument (instead... jpcamara (JP Camara)
04:15 AM Bug #20076: M:N scheduler is stuck on macOS with RUBY_MN_THREADS=1
Originally I thought it was the kqueue MN PR, but it may have been the changes applied before it that are causing thi... jpcamara (JP Camara)
03:57 AM Bug #20076: M:N scheduler is stuck on macOS with RUBY_MN_THREADS=1
@hsbt is it crashing, or hanging? For me, I am seeing the following tests hang:
tool/test/webrick/test_server.rb#t...
jpcamara (JP Camara)
03:17 AM Bug #20076 (Closed): M:N scheduler is stuck on macOS with RUBY_MN_THREADS=1
This is known issue. I already shared this to ko1.
The version of https://github.com/ruby/ruby/commit/28e3886689c7...
hsbt (Hiroshi SHIBATA)
02:31 AM Misc #20075 (Closed): DevMeeting-2024-01-17
# The next dev meeting
**Date: 2024/01/17 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
02:30 AM Misc #20046 (Closed): DevMeeting-2023-12-20
mame (Yusuke Endoh)
02:20 AM Feature #20031 (Feedback): Regexp using greedy quantifier and unions on a big string uses a lot of memory
This is not a bug. If anyone creates a patch to improve this, we may consider it. We could reduce the stack size cons... mame (Yusuke Endoh)
01:26 AM Revision 28e38866 (git): Update bundled gems list at d587852cf7f660308d1287e85767ad [ci skip]
git[bot]
01:26 AM Revision d587852c (git): Bundle RBS 3.4.0 (#9293)
Bundle RBS 3.4.0 and TypeProf 0.21.9. soutaro (Soutaro Matsumoto)
12:17 AM Bug #20029: coroutine/arm64/Context.S does not support PAC/BTI
IIUC, just marking the assembly as supporting the feature won't help without actually implementing said features. Wha... ioquatix (Samuel Williams)

12/20/2023

11:55 PM Bug #20017: 3.3.0dev `rb_thread_profile_frames` crashes when `RUBY_MN_THREADS=1`
I opened a PR with a proposal to fix this https://github.com/ruby/ruby/pull/9310
The issue is that under M:N threa...
jhawthorn (John Hawthorn)
11:52 PM Bug #20016: 3.3.0dev `rb_postponed_job_register_one` crashes when `RUBY_MN_THREADS=1`
I opened a PR with a proposal to fix this. https://github.com/ruby/ruby/pull/9311
The issue is that under M:N thre...
jhawthorn (John Hawthorn)
09:50 PM Bug #20074 (Third Party's Issue): IRB/Pry search up arrow in 3.3 changed behaviour "\e[A": history-search-backward
In 3.3 since preview 1 this handy readline feature is kind of broken
``` shell
$ cat ~/.inputrc
"\e[A": histor...
oleg_antonyan (Oleg Antonyan)
06:39 PM Feature #20049: Destructive drop_while for Array and Hash
for comparison, the original implementation can be found here: https://github.com/igrigorik/http-2/blob/master/lib/ht... chucke (Tiago Cardoso)
06:07 PM Feature #20049: Destructive drop_while for Array and Hash
thx for the response matz!
The specific use case can be found here: https://gitlab.com/os85/http-2-next/-/blob/maste...
chucke (Tiago Cardoso)
09:03 AM Feature #20049: Destructive drop_while for Array and Hash
> Could you explain the use-case for the new method, please?
Not the original author, but I think one of the frequ...
zverok (Victor Shepelev)
08:16 AM Feature #20049 (Feedback): Destructive drop_while for Array and Hash
I reject `Hash#drop_while!` because the order is not (and should not be) important for Hash and the order of hash is ... matz (Yukihiro Matsumoto)
05:17 PM Revision c28177cd (git): RJIT: Print an error message first
Creating a backtrace can crash if RJIT is triggered by branch_stub_hit.
In that case, it's useful to at least print t...
k0kubun (Takashi Kokubun)
01:22 PM Bug #20064: Inconsistent behavior between array splat *nil and hash splat **nil
matz (Yukihiro Matsumoto) wrote in #note-2:
> But I am against adding `nil.to_h`.
`nil.to_h` already exists.
Do you...
Dan0042 (Daniel DeLorme)
08:10 AM Bug #20064: Inconsistent behavior between array splat *nil and hash splat **nil
The example in the proposal persuaded me. I accept allowing `**nil`. But I am against adding `nil.to_h`.
Matz.
matz (Yukihiro Matsumoto)
11:38 AM Bug #20029: coroutine/arm64/Context.S does not support PAC/BTI
I think https://github.com/ruby/ruby/pull/9306 fixes the issue but I'm not sure how you pass `-mbranch-protection=sta... katei (Yuta Saito)
10:36 AM Revision fac7d2c1 (git): Update default gems list at 31959f1f13c0dcbb517469b4cbf29a [ci skip]
git[bot]
10:11 AM Revision 31959f1f (git): [ruby/irb] Bump version to v1.11.0
(https://github.com/ruby/irb/pull/818)
https://github.com/ruby/irb/commit/7421359b92
st0012 (Stan Lo)
10:11 AM Revision 4ad1007f (git): [ruby/irb] [DOC] Change indexes.rdoc to indexes.md
(https://github.com/ruby/irb/pull/812)
* Change indexes.rdoc to indexes.md
* Change indexes.rdoc to indexes.md
* C...
burdettelamar (Burdette Lamar)
10:11 AM Revision 2793a30b (git): [ruby/irb] Warn users about errors in loading RC files
(https://github.com/ruby/irb/pull/817)
1. Because `IRB.rc_file` always generates an rc file name, even if the
fil...
st0012 (Stan Lo)
09:37 AM Feature #19422: Make `--enabled-shared` mandatory on macOS
This feature has been reverted due to #20004 and we are planning to land it again after 3.3 release by https://github... katei (Yuta Saito)
09:26 AM Feature #19422: Make `--enabled-shared` mandatory on macOS
Should this be tried again? Maybe the failures were caused by the bug #20072 ? misdoro (Mikhail Doronin)
09:34 AM Bug #20052: reline behaves oddly with redirect (non tty)
Since there was no upstream response, I'll ask here if somebody can look into the issue. Workarounds such as "install... vo.x (Vit Ondruch)
09:08 AM Feature #20053 (Closed): M:N Threads, now w/ macOS support (kqueue)
https://github.com/ruby/ruby/pull/9178 has been merged. hsbt (Hiroshi SHIBATA)
08:47 AM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
matz (Yukihiro Matsumoto) wrote in #note-14:
> #note-13 explains my opinion well. What name candidate do you have?
...
Quintasan (MichaΕ‚ ZajΔ…c)
07:17 AM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
#note-13 explains my opinion well. What name candidate do you have?
Matz.
matz (Yukihiro Matsumoto)
08:44 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
I strongly object that we change Encoding#name of ASCII-8BIT encoding into "BINARY" because of compatibility.
I don'...
naruse (Yui NARUSE)
08:28 AM Revision 7c2d8198 (git): Fix a grammar issue in the shape performance warning message
byroot (Jean Boussier)
08:23 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
Alright. A big part of the API is composed of macros, so I'm not too sure how we can effectively make them emit a bui... byroot (Jean Boussier)
04:56 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
I agree to show build-time warning but I don't think we can remove `T_DATA` feature.
ko1 (Koichi Sasada)
08:22 AM Feature #20069 (Closed): Buffer class in stdlib
Use either string with `BINARY` encoding or `IO::Buffer`. If these two lack what you want, open a new issue please.
...
matz (Yukihiro Matsumoto)
08:02 AM Feature #20069: Buffer class in stdlib
> ruby use String to deal with bytes, this cause error on irb "invalid byte sequence in utf-8"
This is desirable b...
ioquatix (Samuel Williams)
08:20 AM Misc #20038 (Closed): Strings with mixed escapes not detected around interpolation
String interpolation is a syntax sugar of string concatenation. The behavior is intended. naruse (Yui NARUSE)
08:05 AM Feature #20054 (Rejected): Replace the use of `def` in endless method definitions with a new sigil
I reject this proposal, because method definitions are tightly coupled with `def` keyword under the current syntax. B... matz (Yukihiro Matsumoto)
08:00 AM Revision 4927f251 (git): skip `MAP_STACK` on FreeBSD
ko1 (Koichi Sasada)
07:59 AM Bug #20063 (Rejected): Inconsistent behavior with required vs optional parameters
This situation arises due to the absence of a duplicate check, since the variable name is prefixed with `_`. I believ... matz (Yukihiro Matsumoto)
07:23 AM Revision 256f34ab (git): Hand thread into `thread_sched_wait_events_timeval`
* When we have the thread already, it saves a lookup
* `event_wait`, not `kq`
Clean up the `thread_sched_wait_event...
jpcamara (JP Camara)
07:23 AM Revision 8782e021 (git): KQueue support for M:N threads
* Allows macOS users to use M:N threads (and technically FreeBSD, though it has not been verified on FreeBSD)
* Incl...
jpcamara (JP Camara)
05:36 AM Bug #19683 (Closed): ruby-3.3.0-preview1 does not build with BSD make without --with-baseruby
Applied in changeset commit:git|7dca6b53a995a9782026f726c291344b5b8e0ab2.
----------
Add tool/missing-baseruby.bat, ...
jeremyevans (Jeremy Evans)
05:36 AM Revision 7ef90b39 (git): Correct free_on_exit env var to free_at_exit
HParker (Adam Hess)
05:30 AM Revision 7dca6b53 (git): Add tool/missing-baseruby.bat, used when BASERUBY not available
Previously, the embedded semicolon in BASERUBY if BASERUBY is
not available breaks tarball builds without BASERUBY wh...
jeremyevans (Jeremy Evans)
05:10 AM Bug #20072: free(): invalid pointer when compiled with --enable-shared --with-jemalloc
This issue reminds me of https://github.com/ruby/ruby/pull/4627 shyouhei (Shyouhei Urabe)
04:52 AM Bug #20072 (Closed): free(): invalid pointer when compiled with --enable-shared --with-jemalloc
https://github.com/ruby/ruby/pull/9284 has been merged.
#19831 is already solved. There are no warnings with the l...
hsbt (Hiroshi SHIBATA)
04:13 AM Bug #20072: free(): invalid pointer when compiled with --enable-shared --with-jemalloc
I wasn't able to reproduce your crash, but there is definitely a problem - when using `--enable-shared` and `--with-j... kjtsanaktsidis (KJ Tsanaktsidis)
04:46 AM Revision ae2c4d07 (git): Revert "[Bug #19831] Remove duplicate library options"
This reverts commit 5bb946228550c7f171c27725860b153a675404f3.
Fixes https://bugs.ruby-lang.org/issues/20072
Mikhail Doronin
04:19 AM Feature #13383 (Rejected): [PATCH] Module#source_location
I don't think β€œnatural” is not a good reason for adding a new method, especially regarding open class/module definiti... matz (Yukihiro Matsumoto)
12:16 AM Bug #20043: `defined?` checks for method existence but only sometimes
ko1 (Koichi Sasada) wrote in #note-3:
> It seems a bug from Ruby 2.2.
>
> ![](clipboard-202312191405-owvpy.png)
...
tenderlovemaking (Aaron Patterson)

12/19/2023

11:29 PM Revision 32ecda35 (git): Support `GC.auto_compact = :empty` on debug builds
This commit adds `GC.auto_compact = :empty` which will run
auto-compaction sorting pages by empty slots so the most a...
peterzhu2118 (Peter Zhu)
10:50 PM Revision 3d984366 (git): [PRISM] Correct the jump target for redo in FOR_NODE
eightbitraptor (Matt V-H)
10:50 PM Revision 371ff808 (git): [PRISM] Fix parameter numbering in For Node
eightbitraptor (Matt V-H)
10:29 PM Bug #19917 (Closed): Segmentation fault or lost objects when using Ractor.select with moved exceptions
Applied in changeset commit:git|054f56fd3e5bf84e5443896fd1f4e439c2773c60.
----------
moved object should not have a ...
ko1 (Koichi Sasada)
10:29 PM Revision f0b86f8c (git): RDoc for Complex
burdettelamar (Burdette Lamar)
10:04 PM Revision 054f56fd (git): moved object should not have a shape ID
fix [Bug #19917] ko1 (Koichi Sasada)
10:00 PM Revision 7a0dfdea (git): use `rb_thread_io_blocking_call()` more
use `rb_thread_io_blocking_call()` instead of
`rb_thread_io_blocking_region()` more.
See https://github.com/ruby/rub...
ko1 (Koichi Sasada)
10:00 PM Revision ec51a3c8 (git): declare `rb_thread_io_blocking_call`
ko1 (Koichi Sasada)
10:00 PM Revision 2fe5fc17 (git): setup `waiting_fd` for `thread_sched_wait_events()`
`thread_sched_wait_events()` suspend the thread until the target
fd is ready. Howver, other threads can close the tar...
ko1 (Koichi Sasada)
09:09 PM Revision 28a6e4ea (git): Set m_tbl right after allocation
We should set the m_tbl right after allocation before anything that can
trigger GC to avoid clone_p from becoming old...
peterzhu2118 (Peter Zhu)
08:21 PM Revision 50d39219 (git): Use RICLASS_OWNS_M_TBL_P
It's more consistent with gc_mark_children. peterzhu2118 (Peter Zhu)
08:02 PM Bug #19683: ruby-3.3.0-preview1 does not build with BSD make without --with-baseruby
I tried the following patch and I was able to build master (which requires BASERUBY) and 3.3.0-rc1 (which does not) w... jeremyevans0 (Jeremy Evans)
02:33 AM Bug #19683: ruby-3.3.0-preview1 does not build with BSD make without --with-baseruby
I traced this issue to commit:a1b01e7701f9fc370f8dff777aad6d39a2c5a3e3 (lrama), because that introduced the use of BA... jeremyevans0 (Jeremy Evans)
07:47 PM Revision bd91c512 (git): YJIT: Add stats option to RubyVM::YJIT.enable (#9297)
k0kubun (Takashi Kokubun)
07:30 PM Bug #20073 (Closed): Method lookup incorrect with `--parser=prism`
Applied in changeset commit:git|df0bfde2b29b7e8dac333b2a775ab8bff1283a5c.
----------
We need to load builtins so tha...
tenderlovemaking (Aaron Patterson)
01:52 PM Bug #20073 (Closed): Method lookup incorrect with `--parser=prism`
The following code works with both CRuby's compiler and Prism when evaluated using `RubyVM::InstructionSequence`
`...
eightbitraptor (Matt V-H)
07:30 PM Revision 084b44e7 (git): RDoc for Complex
burdettelamar (Burdette Lamar)
05:09 PM Bug #20008 (Closed): f(**kw, &block) calls block.to_proc before kw.to_hash
Fixed by commit:a950f230788d51e13d16596e37cb77e4cc6e2311 and commit:f64357540eabad0f1bfaa6be60710d153325b064 jeremyevans0 (Jeremy Evans)
05:07 PM Bug #20072: free(): invalid pointer when compiled with --enable-shared --with-jemalloc
Hi Nobu, you will find the config.log attached.
Debugged it a bit deeper, it boils down to:
- install ruby with --en...
misdoro (Mikhail Doronin)
03:21 AM Bug #20072: free(): invalid pointer when compiled with --enable-shared --with-jemalloc
Could you share your config.log and crash report? nobu (Nobuyoshi Nakada)
04:53 PM Revision df0bfde2 (git): We need to load builtins so that they work
Before this commit no methods defined in Ruby were being loaded. For
example `class` or `tap` methods would not exist...
tenderlovemaking (Aaron Patterson)
02:24 PM Bug #20043: `defined?` checks for method existence but only sometimes
I didn't know about this way of using `defined?` and it's interesting to me that we can check if multiple things are ... Dan0042 (Daniel DeLorme)
05:05 AM Bug #20043: `defined?` checks for method existence but only sometimes
It seems a bug from Ruby 2.2.
![](clipboard-202312191405-owvpy.png)
ko1 (Koichi Sasada)
02:13 PM Revision 8e6f63df (git): Implement IO::Buffer on VWA
peterzhu2118 (Peter Zhu)
01:11 PM Revision 1822acdf (git): [DOC] remove reference to pre-3.0 splat operator behavior
Doug Orleans
12:23 PM Bug #20067: IO.pipe `int_enc` and `ext_enc` not working as documented?
If the same encoding is specified for the internal and external encodings, it means that no encoding conversion will ... nobu (Nobuyoshi Nakada)
08:59 AM Bug #20042 (Closed): ObjectSpace finalizer can cause segfault
Applied in changeset commit:git|f9a48548cf3ef54fc0a385ccd78c708737055ecc.
----------
restore the stack pointer on fi...
ko1 (Koichi Sasada)
08:59 AM Revision f9a48548 (git): restore the stack pointer on finalizer
When error on finalizer, the exception will be ignored.
To restart the code, we need to restore the stack pointer.
f...
ko1 (Koichi Sasada)
08:06 AM Revision 96e4f42b (git): RJIT: Correct the macro that defines rb_vm_insns_count
k0kubun (Takashi Kokubun)
08:05 AM Revision 8d5af353 (git): RJIT: Avoid retaining comments unless --rjit-dump-disasm
This significantly reduces retained objects on RJIT. k0kubun (Takashi Kokubun)
08:02 AM Revision 8671cd59 (git): RJIT: Correct the type of rb_vm_insns_count
k0kubun (Takashi Kokubun)
08:00 AM Revision edd6581e (git): RJIT: Declare rb_vm_insns_count
k0kubun (Takashi Kokubun)
07:55 AM Revision eb872d17 (git): RJIT: Share rb_vm_insns_count for vm_insns_count
k0kubun (Takashi Kokubun)
07:21 AM Feature #19326: Please add a better API for passing a Proc to a Ractor
Are there any updates on this issue? forthoney (Seong-Heon Jung)
06:45 AM Feature #20053 (Assigned): M:N Threads, now w/ macOS support (kqueue)
hsbt (Hiroshi SHIBATA)
04:14 AM Feature #20053: M:N Threads, now w/ macOS support (kqueue)
@ko1 My updates are in based on your feedback. At this point is it too close to the Ruby 3.3 release to potentially g... jpcamara (JP Camara)
06:40 AM Bug #19996 (Assigned): `RUBY_MN_THREADS=1` triggers Action Cable unit test failures
hsbt (Hiroshi SHIBATA)
06:32 AM Feature #20011 (Closed): Reduce implicit array allocations on caller side of method calling
mame (Yusuke Endoh)
06:17 AM Bug #20029 (Assigned): coroutine/arm64/Context.S does not support PAC/BTI
mame (Yusuke Endoh)
05:02 AM Bug #20045 (Assigned): `TestDir#test_home` fails on i686
@jemmai Could you take a look at this? mame (Yusuke Endoh)
04:49 AM Bug #20065 (Closed): cannot require "net/smtp" with Ruby3.3.0-rc1 and bundler 2.5.0.dev
https://github.com/ruby/ruby/pull/9234 and https://github.com/ruby/ruby/pull/9264 resolved this. hsbt (Hiroshi SHIBATA)
04:48 AM Revision dee45ac2 (git): [DOC] State MatchData#[] when multiple captures with the same name
nobu (Nobuyoshi Nakada)
04:48 AM Bug #20059 (Closed): TracePoint#enable can be called multiple times, increasing the number of invokations
mame (Yusuke Endoh)
03:40 AM Revision b5f33ba7 (git): signal.c: Fix undefined `reset_sigmask` use on Emscripten
3c471149910d79745b50389c436f0ed2973e0d91 added a call to `reset_sigmask`
but the guard condition didn't match with th...
katei (Yuta Saito)
02:40 AM Revision f907a711 (git): [DOC] RDoc for Complex (#9260)
burdettelamar (Burdette Lamar)
02:39 AM Bug #20044: Add runtime flag and environment variable for prism
I noticed that the patch outputs a warning.
```
$ ./local/bin/ruby --parser=prism -e ''
./local/bin/ruby: warnin...
mame (Yusuke Endoh)
02:13 AM Revision 36b389c2 (git): [wasm] dln.c: Guard `dladdr` use in symbol incompatibility check
wasi-libc recently added a family of `dl*` functions[^1], but it still
doesn't have `dladdr` unlike other platforms. ...
katei (Yuta Saito)
02:13 AM Revision acfd2e9d (git): Update default gems list at 5ea862f26e86be6fabcc938e22bc2d [ci skip]
git[bot]
02:07 AM Revision 5ea862f2 (git): [ruby/psych] Bump up 5.1.2
https://github.com/ruby/psych/commit/a9ab74d132 hsbt (Hiroshi SHIBATA)
02:07 AM Revision b3598f95 (git): [ruby/psych] Use `assert_same` in tests where applicable
https://github.com/ruby/psych/commit/0dc25a9d6a AMomchilov (Alexander Momchilov)
02:07 AM Revision e6fa1d62 (git): [ruby/psych] Use `compare_by_identity` instead of `object_id`
Object IDs became more expensive in Ruby 2.7. Using `Hash#compare_by_identity` let's us get the same effect, without ... AMomchilov (Alexander Momchilov)
01:20 AM Revision 46085ef9 (git): [DOC] No ducuments for internal library
nobu (Nobuyoshi Nakada)
12:25 AM Revision ce436ff3 (git): Fix flaky test test_stat_heap
The test sometimes fails with:
1) Failure:
TestGc#test_stat_heap [/tmp/ruby/src/trunk-repeat50/test/ruby/tes...
peterzhu2118 (Peter Zhu)

12/18/2023

11:26 PM Misc #20046: DevMeeting-2023-12-20
* [Bug #19683] ruby-3.3.0-preview1 does not build with BSD make without --with-baseruby (jeremyevans0)
* This has ...
jeremyevans0 (Jeremy Evans)
11:19 PM Revision 3c471149 (git): Unmask signal before re-raising fatal signal
On Linux, while the signal handler runs, that signal is masked, so in
the rb_bug_for_fatal_signal() code path we didn...
alanwu (Alan Wu)
08:25 PM Bug #20064: Inconsistent behavior between array splat *nil and hash splat **nil
I agree, for several years this topic just keeps popping up, being mentioned by many people as an odd situation. It's... Dan0042 (Daniel DeLorme)
08:09 PM Bug #20072 (Closed): free(): invalid pointer when compiled with --enable-shared --with-jemalloc
When ruby is built with `--enable-shared --with-jemalloc` on Linux (current Gentoo, ubuntu22 in docker),
running a...
misdoro (Mikhail Doronin)
07:51 PM Revision 11fa76b1 (git): compare_by_identity: remove alloc for non-empty Hash
If a Hash is non-empty, there's no point calling `ar_force_convert_table`. We'll be immediately discarding that new s... AMomchilov (Alexander Momchilov)
07:51 PM Revision b5c6c012 (git): compare_by_identity: remove alloc for empty Hash
For non-empty Hashes, this function needs to rehash all the stored values (using the new `compare` and `hash` functio... AMomchilov (Alexander Momchilov)
07:44 PM Bug #20071 (Closed): Reading code from stdin SEGV's when `--parser=prism`
Applied in changeset commit:git|893fe30ef2b30525d932d6b1256f717cc60b3311.
----------
[PRISM] Fix crash when --parser...
eightbitraptor (Matt V-H)
05:06 PM Bug #20071: Reading code from stdin SEGV's when `--parser=prism`
cc @HParker
Would you be ok to take a look at the PR? I'm not sure of the best way to address this.
eightbitraptor (Matt V-H)
05:04 PM Bug #20071 (Closed): Reading code from stdin SEGV's when `--parser=prism`
The following examples all SEGV on master.
```
ruby --parser=prism
cat test_code.rb | ruby --parser=prism
ruby ...
eightbitraptor (Matt V-H)
07:44 PM Revision 893fe30e (git): [PRISM] Fix crash when --parser=prism called with stdin
[Bug #20071]
Currently Ruby crashes when the --parser=prism flag is used either with
no input, or with input that is...
eightbitraptor (Matt V-H)
07:36 PM Revision 4b125b70 (git): [DOC] Copy Prism release notes to NEWS
k0kubun (Takashi Kokubun)
07:11 PM Revision 71b7a24c (git): [DOC] Clarify what is 3.2
k0kubun (Takashi Kokubun)
07:00 PM Feature #20069: Buffer class in stdlib
pynix (Pynix wang) wrote:
> ruby use `String` to deal with bytes, this cause error on irb "invalid byte sequence in...
shan (Shannon Skipper)
02:03 AM Feature #20069: Buffer class in stdlib
pynix (Pynix wang) wrote:
> ruby use `String` to deal with bytes, this cause error on irb "invalid byte sequence in...
austin (Austin Ziegler)
06:50 PM Revision 495a237e (git): [DOC] Note about yjit_alloc_size in NEWS
It's a pretty useful feature in 3.3. k0kubun (Takashi Kokubun)
05:26 PM Revision 6c4b04de (git): clear `sched->lock_onwer` at fork
`sched->lock_owner` can be non-NULL at fork because the timer thread
can acquire the lock while forking. `lock_owner`...
ko1 (Koichi Sasada)
05:04 PM Feature #20070: commas in pattern match
zverok (Victor Shepelev) wrote in #note-1:
> I am though thinking that maybe some slow future changes to the `rescue...
Dan0042 (Daniel DeLorme)
05:03 PM Feature #20070: commas in pattern match
I understand what you mean but this is not about keeping strict consistency per se. It's a specific case that I find ... Dan0042 (Daniel DeLorme)
04:08 PM Feature #20070: commas in pattern match
I don't think it would be possible to keep consistency: the difference from `case`/`when` habits is conscious, due to... zverok (Victor Shepelev)
03:42 PM Feature #20070 (Open): commas in pattern match
In pattern matching, `case v; in 1,2,3` is a synonym for `case v; in [1,2,3]`
This is the one thing that keeps con...
Dan0042 (Daniel DeLorme)
03:37 PM Revision f35fec77 (git): Reset pinned_slots at the beginning of GC
pinned_slots is not being reset every GC, which causes this assertion to
fail:
```
Assertion Failed: gc.c:7076:gc_pi...
peterzhu2118 (Peter Zhu)
12:42 PM Revision f6ad49b8 (git): Use #initialize instead of `initialize` in shape perf warning
This is more consistent with other messages. byroot (Jean Boussier)
11:58 AM Revision b2fc1b05 (git): Update `BasicSocket#recv` documentation on return value
Ref: https://github.com/ruby/ruby/pull/6407
[Bug #19012]
`0` is now interpreted as closed connection an not an
empt...
byroot (Jean Boussier)
11:17 AM Revision 40fc9b07 (git): [DOC] No document for internal or debug methods
nobu (Nobuyoshi Nakada)
11:17 AM Revision baf1403f (git): [DOC] Show `PTY.getpty` as an alias of `PTY.spawn`
`:nodoc:` directive does not work at method definition in C, and must
be at the implementation function. That is, th...
nobu (Nobuyoshi Nakada)
11:17 AM Revision 835f1461 (git): [DOC] Add document of IO::Buffer#hexdump
nobu (Nobuyoshi Nakada)
11:17 AM Revision e9b0b601 (git): [DOC] Add documents of constants for IO#wait event mask
nobu (Nobuyoshi Nakada)
11:17 AM Revision 494e6b54 (git): [DOC] Add links from `File::Constants` in dir.c to `File` constants
Due to the bug ruby/rdoc#1067, `rb_file_const` needs `Document-const`
directives.
nobu (Nobuyoshi Nakada)
11:17 AM Revision 9b00b2bf (git): [DOC] Add links from `File::Constants` to `File` constants
nobu (Nobuyoshi Nakada)
11:17 AM Revision a94f3f20 (git): [DOC] Added notes regarding `:nodoc:` in C code
nobu (Nobuyoshi Nakada)
11:17 AM Revision 9abaf00c (git): [DOC] documents of aliased methods
nobu (Nobuyoshi Nakada)
09:33 AM Revision ba1d1522 (git): Make the SHAPE_TOO_COMPLEX performance warning more actionable
As suggested by Mame, we should try to help users fix the issues
without having to lookup the meaning of the warning.
byroot (Jean Boussier)
06:24 AM Bug #20037 (Closed): ractor related test failure on recent ruby3.3.0dev
k0kubun (Takashi Kokubun)
06:19 AM Bug #20037: ractor related test failure on recent ruby3.3.0dev
This bug can be closed (I cannot close this bug). mtasaka (Mamoru TASAKA)
05:17 AM Revision e8064c6c (git): Shorten the workflow name
Looking at the name in the list, "Miscellaneous / Miscellaneous checks"
seems too verbose/repetitive. Let's make it "...
k0kubun (Takashi Kokubun)
05:15 AM Revision 83194aa2 (git): Make the check_misc job name more descriptive
We're going to add check_misc as a required status check, and "checks"
was a bit too vague for matching the job name.
k0kubun (Takashi Kokubun)
04:45 AM Revision d8978445 (git): Improve YJIT documentation for Ruby 3.3 (#9263)
k0kubun (Takashi Kokubun)

12/17/2023

11:49 PM Revision 0601bce6 (git): [DOC] Add Socket::ResolutionError documentation
nobu (Nobuyoshi Nakada)
11:47 PM Revision 71c4a9c3 (git): [DOC] Correct the location of Addrinfo document
The document must be placed immediately before the class definition.
No other statements can be placed in between.
nobu (Nobuyoshi Nakada)
11:38 PM Revision e316128e (git): [DOC] Stop unintentional references to builtin or standard names
nobu (Nobuyoshi Nakada)
11:37 PM Feature #20069: Buffer class in stdlib
pynix (Pynix wang) wrote:
> ruby use `String` to deal with bytes
Ruby uses big classes. That avoids duplicating a...
duerst (Martin DΓΌrst)
08:50 AM Feature #20069: Buffer class in stdlib
```
irb(main):048> SecureRandom.bytes(10)
=> "\xB6e\x1C\xF3T\x9C\xA1\xDF\xBD\xEA"
irb(main):049> SecureRandom.byte...
pynix (Pynix wang)
07:52 PM Bug #19012: BasicSocket#recv* methods return an empty packet instead of nil on closed connections
Should the docs for [BasicSocket#recv_nonblock](https://docs.ruby-lang.org/en/master/BasicSocket.html#method-i-recv_n... zverok (Victor Shepelev)
01:37 PM Revision 7bfa1c3d (git): Revert "[DOC] Make undocumented socket constans nodoc"
This reverts commit cbda94edd80b0f664eda927f9ce9405b2074633a, because
`:nodoc:` does not work for constants.
In the ...
nobu (Nobuyoshi Nakada)
12:17 PM Revision aab74eaf (git): [DOC] Fix Travis-CI condition
"Not document only" should be honored always. Also simplified repo
and branch conditions
nobu (Nobuyoshi Nakada)
11:17 AM Revision cbda94ed (git): [DOC] Make undocumented socket constans nodoc
nobu (Nobuyoshi Nakada)
11:17 AM Revision 557d929b (git): [DOC] Utilize COMMENTS.default_proc to add fallback documents
nobu (Nobuyoshi Nakada)
11:14 AM Revision 7a60196a (git): Fix ext/socket/constdefs.c dependency [ci skip]
nobu (Nobuyoshi Nakada)
11:00 AM Revision e0914ed2 (git): Add `undocumnted` target [ci skip]
nobu (Nobuyoshi Nakada)
 

Also available in: Atom