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
-
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... -
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...
-
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... -
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 ...
-
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... -
09:08 PM Revision 688a1314 (git): [DOC] Clean up doc for File#flock (#9332)
-
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...
-
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...
-
02:51 PM Revision 47f33c38 (git): Remove useless `#if 1` in array.c
-
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... -
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... -
11:25 AM Feature #19370: Anonymous parameters for blocks?
- https://github.com/ruby/ruby/pull/9330
-
10:36 AM Revision fe9e57ba (git): Adjust indent [ci skip]
-
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... -
09:15 AM Revision dc7785e1 (git): Set 1.1 now checks subclass-ness stricter
-
09:03 AM Revision f6e9899e (git): Make rbconfig.rb loadable from exe/ruby
- So that it can run without `--disable=gems` option.
-
09:03 AM Revision 8c03bdac (git): Control the precheck for test-all by `PRECHECK_TEST_ALL`
- 07:51 AM Revision 40bc7ede (git): Set 1.1.0 has been imported
- 07:50 AM Revision c66ff6fa (git): [ruby/set] Bump version to 1.1.0
- https://github.com/ruby/set/commit/d6cab5bcc8
- 07:50 AM Revision 67882d76 (git): [ruby/set] Use the pattern argument instead of a block
- https://github.com/ruby/set/commit/c63047c2ce
- 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
- 07:50 AM Revision 271c74a4 (git): [ruby/set] Drop support for Ruby 2
- https://github.com/ruby/set/commit/64dad673d8
-
06:18 AM Revision da02d08f (git): RJIT: Rewind $! after compilation
-
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... -
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. -
03:31 AM Revision 9b289d58 (git): [DOC] RDoc for Complex (#9307)
-
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... -
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.
... -
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.
... -
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_... -
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... - 12:35 AM Revision 24ff13d8 (git): Update default gems list at 7d7a84e99fca816ec352c95965687d [ci skip]
-
12:34 AM Revision 7d7a84e9 (git): Merge RubyGems-3.5.3 and Bundler-2.5.3
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. -
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. -
11:10 PM Revision 2fe9e085 (git): MN: skip RUBY_DESCRIPTION spec on MN enabled
-
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... -
08:56 PM Revision c974ee1a (git): ensure to restart antoher thread
-
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... -
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 ...
-
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... -
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 ...
-
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.... -
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...-
07:24 PM Revision 19d082dc (git): RJIT: Distinguish Pointer with Array
- This is more convenient for accessing those fields.
-
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...
-
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.
... -
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... -
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...
-
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...
-
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... -
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... -
04:31 PM Feature #20027: Add Range Deconstruction
- Conversation moved to new issue for implementation of `#begin_and_end` method on Range: #20080
-
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 ...
-
01:12 AM Feature #20027: Add Range Deconstruction
- ```ruby
(1..42).minmax #=> [1, 42]
(42..1).minmax #=> [nil, nil]
``` -
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... -
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}"`
-
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...
-
02:08 PM Revision 40e3f782 (git): Extract `forwarding_arg_check` function
-
02:08 PM Revision 11c2aa03 (git): Extract `arg_splat` nonterminal symbol
- 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... -
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...
-
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... -
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/...
-
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... -
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... -
08:41 AM Bug #20079: alexandria testsuite began to segfault recently
- Well, indeed the culprit seems commit:11fa76b1b521072c200c78ea023960221ff426d6
-
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"...
-
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... -
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... -
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... -
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) ===... -
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.
-
07:15 AM Revision e8639098 (git): [Bug #19977] Fix (nil..nil) === x not to raise TypeError
-
07:12 AM Feature #19725 (Closed): Improve the match cache optimization to support look-ahead and atomic groups
-
07:00 AM Revision f263e447 (git): RJIT: Avoid retaining unrelated local variables in memory
-
06:55 AM Bug #20029 (Closed): coroutine/arm64/Context.S does not support PAC/BTI
-
06:55 AM Bug #20029: coroutine/arm64/Context.S does not support PAC/BTI
- https://github.com/ruby/ruby/pull/9306 has been merged.
-
06:53 AM Revision ef4797bb (git): [DOC] Fix NEWS markup
-
06:28 AM Revision 17e35105 (git): Add Regexp updates to NEWS.md
-
06:15 AM Revision e364436c (git): [DOC] NEWS entries for Parser
-
05:59 AM Revision f3c82df9 (git): RJIT: Minimize string allocations in InsnCompiler
-
05:46 AM Revision 2e0277b1 (git): RJIT: Make --rjit-trace actually work
-
05:10 AM Revision 4c6f07ee (git): RJIT: Update bindgen
-
05:05 AM Revision 64c52cd1 (git): RJIT: Add --rjit-trace to allow TracePoint during JIT
-
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... -
03:45 AM Revision cae11dd8 (git): debug.gem v1.9.1
-
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... -
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
-
02:30 AM Revision 35587150 (git): coroutine/arm64/Context.S: Insert `bti c` as BTI landing pad
-
02:30 AM Revision d9e5564c (git): coroutine/arm64: Sign return address if PAC enabled
-
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 ... -
01:34 AM Revision 0c05551f (git): Typo fixes for public headers [ci skip]
-
01:12 AM Revision 009968a7 (git): RJIT: Avoid incrementing vm_insns_count
- during compilation
-
12:47 AM Revision 3c182776 (git): RJIT: Clean up unnecessary documentation
-
12:45 AM Revision 18a97aff (git): RJIT: Fix a wrong comparison in set_local_type
12/21/2023
-
11:48 PM Revision 68bcca4c (git): RJIT: Fix unwanted shadowing in set_local_type
- local_idx should not be overwritten.
-
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... -
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... -
10:32 PM Revision 78b27ce6 (git): RJIT: Streamline RJIT enablement check
- in bootstrap tests so that `make btest-bruby` skips the right tests.
-
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... - 10:24 PM Revision 69bed94c (git): Update default gems list at 82496f2b389278a569fa7680ee6faa [ci skip]
-
10:24 PM Revision 82496f2b (git): Merge RubyGems-3.5.2 and Bundler-2.5.2
-
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... -
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... -
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... -
08:27 PM Revision e04197ab (git): [DOC] Fix NoMethodError example of rendering (#9309)
- Fix NoMethodError example of rendering
-
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.
... -
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.
... -
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... -
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... -
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.
-
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_... -
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... -
05:17 PM Revision 1710eb93 (git): [DOC] Fix rb_postponed_job_register_once typo
- Co-authored-by: Dustin Brown <dbrown9@gmail.com>
-
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... -
12:02 PM Revision fd473513 (git): Fix a typo in NEWS.md
-
09:55 AM Bug #20052 (Third Party's Issue): reline behaves oddly with redirect (non tty)
-
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... -
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... -
05:16 AM Revision bcb4706d (git): Added limitation of bundled gems warning feature with bootsnap
-
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?). -
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...
-
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...
-
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... -
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... -
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... -
02:30 AM Misc #20046 (Closed): DevMeeting-2023-12-20
-
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...
- 01:26 AM Revision 28e38866 (git): Update bundled gems list at d587852cf7f660308d1287e85767ad [ci skip]
-
01:26 AM Revision d587852c (git): Bundle RBS 3.4.0 (#9293)
- Bundle RBS 3.4.0 and TypeProf 0.21.9.
-
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...
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... -
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... -
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... -
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...
-
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... -
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... -
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 ...
-
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... -
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... -
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.
-
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...
- 10:36 AM Revision fac7d2c1 (git): Update default gems list at 31959f1f13c0dcbb517469b4cbf29a [ci skip]
-
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 -
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... -
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... -
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...
-
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 ?
-
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...
-
09:08 AM Feature #20053 (Closed): M:N Threads, now w/ macOS support (kqueue)
- https://github.com/ruby/ruby/pull/9178 has been merged.
-
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?
... -
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.
-
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'... -
08:28 AM Revision 7c2d8198 (git): Fix a grammar issue in the shape performance warning message
-
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...
-
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.
-
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.
... -
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... -
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.
-
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...
-
08:00 AM Revision 4927f251 (git): skip `MAP_STACK` on FreeBSD
-
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...
-
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... -
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... -
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, ... -
05:36 AM Revision 7ef90b39 (git): Correct free_on_exit env var to free_at_exit
-
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... -
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
-
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... -
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...
- 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 -
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...
-
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.
>
> 
...
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... -
10:50 PM Revision 3d984366 (git): [PRISM] Correct the jump target for redo in FOR_NODE
-
10:50 PM Revision 371ff808 (git): [PRISM] Fix parameter numbering in For Node
-
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 ... -
10:29 PM Revision f0b86f8c (git): RDoc for Complex
-
10:04 PM Revision 054f56fd (git): moved object should not have a shape ID
- fix [Bug #19917]
-
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... -
10:00 PM Revision ec51a3c8 (git): declare `rb_thread_io_blocking_call`
-
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... -
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... -
08:21 PM Revision 50d39219 (git): Use RICLASS_OWNS_M_TBL_P
- It's more consistent with gc_mark_children.
-
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...
-
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...
-
07:47 PM Revision bd91c512 (git): YJIT: Add stats option to RubyVM::YJIT.enable (#9297)
-
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... -
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`
`... -
07:30 PM Revision 084b44e7 (git): RDoc for Complex
-
05:09 PM Bug #20008 (Closed): f(**kw, &block) calls block.to_proc before kw.to_hash
- Fixed by commit:a950f230788d51e13d16596e37cb77e4cc6e2311 and commit:f64357540eabad0f1bfaa6be60710d153325b064
-
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... -
03:21 AM Bug #20072: free(): invalid pointer when compiled with --enable-shared --with-jemalloc
- Could you share your config.log and crash report?
-
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... -
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 ...
-
05:05 AM Bug #20043: `defined?` checks for method existence but only sometimes
- It seems a bug from Ruby 2.2.

-
02:13 PM Revision 8e6f63df (git): Implement IO::Buffer on VWA
- 01:11 PM Revision 1822acdf (git): [DOC] remove reference to pre-3.0 splat operator behavior
-
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 ...
-
08:59 AM Bug #20042 (Closed): ObjectSpace finalizer can cause segfault
- Applied in changeset commit:git|f9a48548cf3ef54fc0a385ccd78c708737055ecc.
----------
restore the stack pointer on fi... -
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... -
08:06 AM Revision 96e4f42b (git): RJIT: Correct the macro that defines rb_vm_insns_count
-
08:05 AM Revision 8d5af353 (git): RJIT: Avoid retaining comments unless --rjit-dump-disasm
- This significantly reduces retained objects on RJIT.
-
08:02 AM Revision 8671cd59 (git): RJIT: Correct the type of rb_vm_insns_count
-
08:00 AM Revision edd6581e (git): RJIT: Declare rb_vm_insns_count
-
07:55 AM Revision eb872d17 (git): RJIT: Share rb_vm_insns_count for vm_insns_count
-
07:21 AM Feature #19326: Please add a better API for passing a Proc to a Ractor
- Are there any updates on this issue?
-
06:45 AM Feature #20053 (Assigned): M:N Threads, now w/ macOS support (kqueue)
-
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...
-
06:40 AM Bug #19996 (Assigned): `RUBY_MN_THREADS=1` triggers Action Cable unit test failures
-
06:32 AM Feature #20011 (Closed): Reduce implicit array allocations on caller side of method calling
-
06:17 AM Bug #20029 (Assigned): coroutine/arm64/Context.S does not support PAC/BTI
-
05:02 AM Bug #20045 (Assigned): `TestDir#test_home` fails on i686
- @jemmai Could you take a look at this?
-
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.
-
04:48 AM Revision dee45ac2 (git): [DOC] State MatchData#[] when multiple captures with the same name
-
04:48 AM Bug #20059 (Closed): TracePoint#enable can be called multiple times, increasing the number of invokations
-
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... -
02:40 AM Revision f907a711 (git): [DOC] RDoc for Complex (#9260)
-
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... -
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. ... - 02:13 AM Revision acfd2e9d (git): Update default gems list at 5ea862f26e86be6fabcc938e22bc2d [ci skip]
-
02:07 AM Revision 5ea862f2 (git): [ruby/psych] Bump up 5.1.2
- https://github.com/ruby/psych/commit/a9ab74d132
-
02:07 AM Revision b3598f95 (git): [ruby/psych] Use `assert_same` in tests where applicable
- https://github.com/ruby/psych/commit/0dc25a9d6a
-
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 ...
-
01:20 AM Revision 46085ef9 (git): [DOC] No ducuments for internal library
-
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...
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 ... -
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... -
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...
-
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... -
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...
-
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...
-
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... -
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. -
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 ... -
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... -
07:36 PM Revision 4b125b70 (git): [DOC] Copy Prism release notes to NEWS
-
07:11 PM Revision 71b7a24c (git): [DOC] Clarify what is 3.2
-
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... -
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... -
06:50 PM Revision 495a237e (git): [DOC] Note about yjit_alloc_size in NEWS
- It's a pretty useful feature in 3.3.
-
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`... -
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... -
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 ...
-
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...
-
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... -
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... -
12:42 PM Revision f6ad49b8 (git): Use #initialize instead of `initialize` in shape perf warning
- This is more consistent with other messages.
-
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... -
11:17 AM Revision 40fc9b07 (git): [DOC] No document for internal or debug methods
-
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... -
11:17 AM Revision 835f1461 (git): [DOC] Add document of IO::Buffer#hexdump
-
11:17 AM Revision e9b0b601 (git): [DOC] Add documents of constants for IO#wait event mask
-
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. -
11:17 AM Revision 9b00b2bf (git): [DOC] Add links from `File::Constants` to `File` constants
-
11:17 AM Revision a94f3f20 (git): [DOC] Added notes regarding `:nodoc:` in C code
-
11:17 AM Revision 9abaf00c (git): [DOC] documents of aliased methods
-
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. -
06:24 AM Bug #20037 (Closed): ractor related test failure on recent ruby3.3.0dev
-
06:19 AM Bug #20037: ractor related test failure on recent ruby3.3.0dev
- This bug can be closed (I cannot close this bug).
-
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 "... -
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. -
04:45 AM Revision d8978445 (git): Improve YJIT documentation for Ruby 3.3 (#9263)
12/17/2023
-
11:49 PM Revision 0601bce6 (git): [DOC] Add Socket::ResolutionError documentation
-
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. -
11:38 PM Revision e316128e (git): [DOC] Stop unintentional references to builtin or standard names
-
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... -
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... -
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...
-
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 ... -
12:17 PM Revision aab74eaf (git): [DOC] Fix Travis-CI condition
- "Not document only" should be honored always. Also simplified repo
and branch conditions -
11:17 AM Revision cbda94ed (git): [DOC] Make undocumented socket constans nodoc
-
11:17 AM Revision 557d929b (git): [DOC] Utilize COMMENTS.default_proc to add fallback documents
-
11:14 AM Revision 7a60196a (git): Fix ext/socket/constdefs.c dependency [ci skip]
-
11:00 AM Revision e0914ed2 (git): Add `undocumnted` target [ci skip]