Project

General

Profile

Activity

From 09/17/2024 to 09/23/2024

09/23/2024

11:40 PM Revision 48b3386f (git): Fix a typo
k0kubun (Takashi Kokubun)
11:39 PM Revision 798a115a (git): Fix a -Wsign-compare warning
../time.c:5247:50: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘long unsigned int’ due to unsignedness ... k0kubun (Takashi Kokubun)
07:51 PM Revision fc043a2e (git): Remove write barrier for non-Ruby object
enumerator's meth attribute is an ID, which is not a Ruby object, so we
should not apply the write barrier on it.
peterzhu2118 (Peter Zhu)
07:06 PM Bug #20729: Test failure with 0fc8422a05 and native mswin environment
@hsbt is there any way you can open a pull request with a failing test? All of the windows environments I'm seeing on... kddnewton (Kevin Newton)
06:29 PM Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
After reviewing `memcpy` and `memmove` from open-source libc implementations, I found some optimize for small copies ... hanazuki (Kasumi Hanazuki)
04:53 PM Bug #20758 (Closed): Build failure with macOS Sequoia (15.0) and Xcode 16
Closing this as a duplicate. My apologies. eightbitraptor (Matt V-H)
02:39 PM Bug #20758 (Closed): Build failure with macOS Sequoia (15.0) and Xcode 16
## Observed behaviour
Test failures in `TestProcess#test_daemon_noclose`. Output as follows:
```
Run options:
...
eightbitraptor (Matt V-H)
04:25 PM Revision ec04de75 (git): Bump debug.gem to 1.9.2
k0kubun (Takashi Kokubun)
04:25 PM Revision 5b600987 (git): Ensure fiber scheduler is woken up when close interrupts read
If one thread is reading and another closes that socket, the close
blocks waiting for the read to abort cleanly. This...
kjtsanaktsidis (KJ Tsanaktsidis)
03:45 PM Revision 19c617b5 (git): Revert "GC guard current_string in the putobject instruction"
This reverts commit 69f28ab715a02692fb2a9128bed46044963cbb50.
This commit is being reverted because it does not fix ...
peterzhu2118 (Peter Zhu)
02:36 PM Revision f6dcab5f (git): Assert that objects in write barrier are not dead
peterzhu2118 (Peter Zhu)
12:23 PM Revision 4c3727c6 (git): Add anonymous module name spec.
Samuel Williams
12:20 PM Bug #20733: Build failure OpenSSL extension with FreeBSD 13.3
It's good to know that the build failure was fixed. Can we close this issue ticket now?
jaruga (Jun Aruga)
10:53 AM Revision 5d53993a (git): [rubygems/rubygems] Don't try to auto-install dev versions of Bundler not available remotely
https://github.com/rubygems/rubygems/commit/1a7a3fdeb9 deivid (David Rodríguez)
10:49 AM Revision d0925c07 (git): [rubygems/rubygems] Ensure refs directory in cached git source
See https://github.com/rubygems/rubygems/issues/8046 for details
Prior to this commit a cached git source without a ...
dodecadaniel (Daniel Colson)
10:37 AM Revision c071fedb (git): [rubygems/rubygems] Fix `bundle outdated` with `--group` option
It was printing incorrect output and returning incorrect status.
https://github.com/rubygems/rubygems/commit/96f5979c7d
deivid (David Rodríguez)
05:29 AM Revision 7be1fafe (git): Refactor `Time#xmlschema`
And refine uncommon date cases.
# Iteration per second (i/s)
| |compare-ruby|built-ruby|...
nobu (Nobuyoshi Nakada)
12:29 AM Bug #20723: `IO#close` is broken on Ruby 3.3+ when using the Fiber scheduler.
Backport PR for 3.3 - https://github.com/ruby/ruby/pull/11664
No backport for 3.2 is required because this locking...
kjtsanaktsidis (KJ Tsanaktsidis)
12:19 AM Revision b811a9a0 (git): Implement CASE3 NODE keyword locations
ydah (Yudai Takada)
12:19 AM Revision 5334766b (git): Implement CASE2 NODE keyword locations
ydah (Yudai Takada)
12:19 AM Revision feac2b4b (git): Implement CASE NODE keyword locations
ydah (Yudai Takada)
12:11 AM Revision 02b36f75 (git): Unpoison page->freelist before trying to assert on it
Otherwise trying to deref the pointer can cause an ASAN crash, even
though the only reason we're dereferencing it is ...
KJ Tsanaktsidis

09/22/2024

11:36 AM Feature #20757: Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
Actually it seems like retrieving the method object using the `method_id` does not work well for super-calls. See thi... richardboehme (Richard Böhme)
03:22 AM Revision 95d26ee4 (git): Reuse dedent_string function in rb_ruby_ripper_dedent_string function
This change is reduce Ruby C API dependency for Universal Parser.
Reuse dedent_string functions in rb_ruby_ripper_ded...
S_H_ (Shun Hiraoka)

09/21/2024

06:00 PM Bug #20337 (Closed): Complex#inspect mutates the string returned by `real.inspect`
Applied in changeset commit:git|9f574fa12f0cbe9d7aa4a11a6c7055ed32f02822.
----------
Make Complex#{inspect,to_s} wor...
jeremyevans (Jeremy Evans)
06:00 PM Revision 9f574fa1 (git): Make Complex#{inspect,to_s} work correctly if real part #inspect returns frozen string
Make static f_format function take a non-frozen string to append
to.
This does not result in an additional allocatio...
jeremyevans (Jeremy Evans)
08:18 AM Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
nobu (Nobuyoshi Nakada) wrote in #note-7:
> Sorry to be late.
> I updated the [PR](https://github.com/ruby/ruby/pul...
Earlopain (Earlopain _)

09/20/2024

11:33 PM Bug #20337: Complex#inspect mutates the string returned by `real.inspect`
I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/11657 jeremyevans0 (Jeremy Evans)
09:34 PM Bug #20729: Test failure with 0fc8422a05 and native mswin environment
Yes. I still faced this. hsbt (Hiroshi SHIBATA)
03:47 PM Bug #20729: Test failure with 0fc8422a05 and native mswin environment
@hsbt I haven't been able to replicate this — are you still experiencing it? kddnewton (Kevin Newton)
05:17 PM Revision 75ed0863 (git): [ruby/prism] Fix `kDO_LAMBDA` token incompatibility for `Prism::Translation::Parser::Lexer`
## Summary
This PR fixes `kDO_LAMBDA` token incompatibility between Parser gem and `Prism::Translation::Parser` for ...
koic (Koichi ITO)
05:07 PM Revision 69f28ab7 (git): GC guard current_string in the putobject instruction
This is a band-aid solution for #11655 that only applies the fix for the
putobject instruction before the objtostring...
peterzhu2118 (Peter Zhu)
03:57 PM Revision 54a21851 (git): [rubygems/rubygems] Disallow RubyGems warnings during Bundler test suite
https://github.com/rubygems/rubygems/commit/472371ee1e deivid (David Rodríguez)
03:57 PM Revision 8dd87a66 (git): [rubygems/rubygems] I don't think we need a conditional shebang
https://github.com/rubygems/rubygems/commit/7ba7073a35 deivid (David Rodríguez)
03:57 PM Revision 9bf3210a (git): [rubygems/rubygems] Fix RubyGems warnings about missing shebang
https://github.com/rubygems/rubygems/commit/362c960497 deivid (David Rodríguez)
03:57 PM Revision c262861e (git): [rubygems/rubygems] Fix RubyGems warnings about pre-release dependencies
Nothing here relies on the dependency being on a pre-release, and
Bundler does not use prereleases in the realworld.
...
deivid (David Rodríguez)
03:57 PM Revision c30297b3 (git): [rubygems/rubygems] Fix RubyGems warnings about incorrect executable permissions
https://github.com/rubygems/rubygems/commit/92dcf60fc1 deivid (David Rodríguez)
03:57 PM Revision 42a6916a (git): [rubygems/rubygems] Fix RubyGems warnings about minimum required Ruby
https://github.com/rubygems/rubygems/commit/8f262f3a47 deivid (David Rodríguez)
03:42 PM Revision f515a1ab (git): [ruby/prism] Introduce partial_script option
https://github.com/ruby/prism/commit/b28877fa4f kddnewton (Kevin Newton)
02:58 PM Revision 2882408d (git): Remove unneeded function prototype for rb_gc_impl_mark
peterzhu2118 (Peter Zhu)
02:38 PM Feature #20757 (Closed): Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
**Abstract**
As a C-extension developer when using tracepoints I include "ruby/debug.h". This includes most of Trace...
richardboehme (Richard Böhme)
02:26 PM Revision 43e3416b (git): [rubygems/rubygems] Unconditionally set installed_by_version
It has been supported since RubyGems 2.2.0 via https://github.com/rubygems/rubygems/commit/4525e45a4d45
Signed-off-b...
segiddins (Samuel Giddins)
01:50 PM Revision 7836626f (git): Add c-style for prism [ci skip]
nobu (Nobuyoshi Nakada)
12:47 PM Bug #20452: Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
Sorry to be late.
I updated the [PR](https://github.com/ruby/ruby/pull/10633) to see `HAVE_PTHREAD_GETATTR_NP` inste...
nobu (Nobuyoshi Nakada)
12:09 PM Revision 276bb584 (git): Update parsey.yml as others
nobu (Nobuyoshi Nakada)
11:08 AM Bug #20271 (Assigned): Issue with moving embedded string across ractors
hsbt (Hiroshi SHIBATA)
11:08 AM Bug #20267 (Assigned): Hashes that use ar_table aren't moved properly across ractors
hsbt (Hiroshi SHIBATA)
10:32 AM Bug #19562 (Assigned): Setting default_(in|ex)ternal encoding after running an Ractor freezes ruby
hsbt (Hiroshi SHIBATA)
10:26 AM Revision 511925f9 (git): [ci-skip] Fix doc for `refinements`
The current doc is partially wrong since `refinements` method
returns an array of `Refinement` class, not `Module`.
I...
okuramasafumi (Masafumi OKURA)
10:19 AM Feature #18814 (Assigned): Ractor: add method to query incoming message queue size
hsbt (Hiroshi SHIBATA)
10:13 AM Revision 34e008d0 (git): [ruby/irb] Fix debug command in nomultiline mode
(https://github.com/ruby/irb/pull/1006)
* Fix debug command in nomultiline mode
* context.colorize_code -> context....
tompng (tomoya ishida)
09:58 AM Revision cf29594c (git): [rubygems/rubygems] Don't try to install locked bundler when `--local` is passed
https://github.com/rubygems/rubygems/commit/907d46964d deivid (David Rodríguez)
07:23 AM Revision aa2662d5 (git): Simplify offset calculations of `tbl0208`
nobu (Nobuyoshi Nakada)
07:23 AM Revision 75a8c937 (git): [Bug #18651] Pass undefined region in CP51932 as is to CP50220
nobu (Nobuyoshi Nakada)
07:23 AM Revision 546f13fd (git): Define `tbl0208` as a static array
nobu (Nobuyoshi Nakada)
07:23 AM Revision a8d600ed (git): Extract `iso2022jp_put_state`
nobu (Nobuyoshi Nakada)
03:20 AM Revision 26a3de0d (git): Define HAVE_ISINF for Visual Studio >= 2013
isinf is defined in Visual Studio since version 2013. Silvio Traversaro
01:10 AM Bug #20489 (Assigned): Ractor behavior strange in ruby master
hsbt (Hiroshi SHIBATA)
12:27 AM Bug #20727 (Assigned): YJIT segmentation fault inside of invalidate_block_version
hsbt (Hiroshi SHIBATA)
12:27 AM Feature #20724 (Assigned): Update to Unicode 16.0
hsbt (Hiroshi SHIBATA)
12:27 AM Feature #20715 (Assigned): `Ractor.[]` and `Ractor.[]=` to access Ractor local storage
hsbt (Hiroshi SHIBATA)
12:27 AM Misc #20661 (Assigned): Stop retrying tests in `make test-all` command by default
hsbt (Hiroshi SHIBATA)
12:27 AM Misc #20652 (Assigned): Memory allocation for gsub has increased from Ruby 2.7 to 3.3
hsbt (Hiroshi SHIBATA)
12:27 AM Feature #20627 (Assigned): `require` on Ractor should run on the main Ractor
hsbt (Hiroshi SHIBATA)
12:27 AM Bug #20420 (Assigned): benchmark/gc/redblack.rb license clarification
hsbt (Hiroshi SHIBATA)
12:27 AM Bug #20089 (Assigned): Fiber#kill transfers to root fiber
hsbt (Hiroshi SHIBATA)
12:27 AM Bug #18455 (Assigned): `IO#close` has poor performance and difficult to understand semantics.
hsbt (Hiroshi SHIBATA)
12:27 AM Bug #14681 (Assigned): `syswrite': stream closed in another thread (IOError)
hsbt (Hiroshi SHIBATA)
12:23 AM Feature #19171 (Closed): Update Unicode data to Unicode Version 15.1
@duerst This issue is duplicate of #19908. I'm closing this. hsbt (Hiroshi SHIBATA)
12:20 AM Bug #20733: Build failure OpenSSL extension with FreeBSD 13.3
I could build openssl extension with `--with-opt-dir=/usr/local`.
>FreeBSD 13.3 build on Ruby CI was failure from...
hsbt (Hiroshi SHIBATA)

09/19/2024

11:43 PM Bug #20734 (Closed): Test failure at FreeBSD 14.1
@nobu fixed this at https://github.com/ruby/ruby/commit/dc8c382266b056fa51408806478218f5230fbce2 hsbt (Hiroshi SHIBATA)
04:20 AM Bug #20734 (Assigned): Test failure at FreeBSD 14.1
I confirmed that https://github.com/ruby/ruby/commit/63cbe3f6ac9feb44a2e43b1f853e2ca7e049316c is not working with Fre... hsbt (Hiroshi SHIBATA)
10:53 PM Feature #20756 (Rejected): Introduce Boolean class
#12515 is an enough reason to reject this idea.
> Rejected for several reasons:
>
> * many gems and librarie...
matz (Yukihiro Matsumoto)
09:50 PM Feature #20756 (Rejected): Introduce Boolean class
Hello All,
Is is possible to add a parent class for `TrueClass` and `FalseClass`?
I always found it strange that ...
kbrock (Keenan Brock)
06:51 PM Revision 2230ac4a (git): Fix potentially missing write barrier in iseq_build_kw
We're writing objects to the iseq but not firing the write barrier. peterzhu2118 (Peter Zhu)
06:51 PM Revision ead280fe (git): Replace RB_OBJ_WRITTEN with RB_OBJ_WRITE in iseq_set_arguments_keywords
peterzhu2118 (Peter Zhu)
06:51 PM Revision 7a2b5ed5 (git): Replace RB_OBJ_WRITTEN with RB_OBJ_WRITE in pm_compile_scope_node
peterzhu2118 (Peter Zhu)
05:14 PM Revision dc644482 (git): Remove an unused variable
k0kubun (Takashi Kokubun)
04:39 PM Feature #20750: Allow rb_thread_call_with_gvl to work when thread already has GVL
Hello,
Here is the new proposed patch for your review.
https://github.com/ruby/ruby/pull/11649
I do not know i...
kbrock (Keenan Brock)
03:55 PM Feature #20750: Allow rb_thread_call_with_gvl to work when thread already has GVL
Benoit,
Thank you.
Maybe I should have run the more complete pattern that I see in the ruby code base:
```c
...
kbrock (Keenan Brock)
04:10 PM Revision d9981beb (git): [DOC] Improve docs for GC.latest_gc_info
peterzhu2118 (Peter Zhu)
03:28 PM Misc #20728: Propose Eileen Uchitelle as a core committer
Thank you for nominating me Kevin, and the support those who have commented so far. It would be an honor to be accept... eileencodes (Eileen Uchitelle)
02:34 PM Bug #20716 (Closed): Different instance_method behavior in Ruby 2.7 and Ruby 3.x
Applied in changeset commit:git|6118e8a47394409b53164b60e79fadf348b97db3.
----------
Fix method caching bug when inc...
jeremyevans (Jeremy Evans)
02:34 PM Revision 6118e8a4 (git): Fix method caching bug when including/prepend module A that prepends module B
Fix by always adding the generated iclass to the subclasses list,
otherwise the method cache for the iclass is not cl...
jeremyevans (Jeremy Evans)
12:21 PM Revision 167fba52 (git): Remove rb_gc_impl_initial_stress_set
peterzhu2118 (Peter Zhu)
09:08 AM Revision dc8c3822 (git): Fix bug at fork on FreeBSD
The main thread in a forked process appears not to own the read-write
lock.
nobu (Nobuyoshi Nakada)
09:06 AM Revision d9f6e326 (git): Don't update lockfile with bundler/inline
hsbt (Hiroshi SHIBATA)
07:23 AM Revision 46ee05f0 (git): Added missing block arg
hsbt (Hiroshi SHIBATA)
07:12 AM Revision 59db92a1 (git): [ruby/set] 2024
https://github.com/ruby/set/commit/ea95c5a3d2 Akinori MUSHA
07:11 AM Revision e53d2f20 (git): [ruby/set] Reword the document for to_a and clarify the implementation notes
ref. https://github.com/ruby/ruby/pull/11453
https://github.com/ruby/set/commit/3cf6d11bd2
Akinori MUSHA
05:59 AM Revision 24b587e7 (git): Use ppc64le coroutines for powerpc64-freebsd*
There is nothing endianness-related in ppc64le and all the tests pass on both ucontext and ppc64le coroutines on powe... Piotr Kubaj
05:59 AM Revision c362206a (git): Use ppc64le coroutines on powerpc64le-freebsd*
Only one ractor-related test fails, but it also fails with ucontext. Piotr Kubaj
05:33 AM Revision c193ca52 (git): Adjust indent [ci skip]
nobu (Nobuyoshi Nakada)
04:29 AM Bug #20607 (Closed): Exception messages are inconsistent when thread-local variables are accessed
Applied in changeset commit:git|8dc0d2904a7d859b463a3f44ac73e5d4540a1cc1.
----------
Update exception message in str...
jeremyevans (Jeremy Evans)
04:29 AM Revision 8dc0d290 (git): Update exception message in string_for_symbol
This is a static function only called in two places (rb_to_id and
rb_to_symbol), and in both places, both symbols and...
jeremyevans (Jeremy Evans)

09/18/2024

11:55 PM Bug #20597 (Closed): `eval('break if false')` should raise SyntaxError but retuns nil
Applied in changeset commit:git|268c72377b06b7d84a0998ca241340d0f58768f6.
----------
Raise a compile error for break...
jeremyevans (Jeremy Evans)
11:54 PM Revision 268c7237 (git): Raise a compile error for break/next/redo inside eval in cases where it is optimized away
In cases where break/next/redo are not valid syntax, they should
raise a SyntaxError even if inside a conditional blo...
jeremyevans (Jeremy Evans)
08:47 PM Revision 984a791d (git): [DOC] Escape the word GC in GC.config
peterzhu2118 (Peter Zhu)
07:46 PM Revision 29f2cb83 (git): Fix evaluation order issue in f(**h, &h.delete(key))
Previously, this would delete the key in `h` before keyword
splatting `h`. This goes against how ruby handles `f(*a,...
jeremyevans (Jeremy Evans)
07:18 PM Revision e358104e (git): [DOC] Fix formatting for ways to create Range objects
peterzhu2118 (Peter Zhu)
06:26 PM Revision 9c12c39e (git): Revert "Fix evaluation order issue in f(**h, &h.delete(key))"
This reverts commit 07d3bf4832532ae7446c9a6924d79aed60a7a9a5.
No failures in the pull request CI, but there are now ...
jeremyevans (Jeremy Evans)
06:18 PM Bug #20640 (Closed): Evaluation Order Issue in f(**h, &h.delete(key))
Applied in changeset commit:git|07d3bf4832532ae7446c9a6924d79aed60a7a9a5.
----------
Fix evaluation order issue in f...
jeremyevans (Jeremy Evans)
06:18 PM Revision 07d3bf48 (git): Fix evaluation order issue in f(**h, &h.delete(key))
Previously, this would delete the key in h before keyword
splatting h. This goes against how ruby handles f(*a, &a.p...
jeremyevans (Jeremy Evans)
04:58 PM Revision f8e1c93f (git): Move more of GC.latest_gc_info into Ruby
peterzhu2118 (Peter Zhu)
04:42 PM Bug #20740 (Closed): prism_compile coding issue for PM_FORWARDING_SUPER_NODE
Applied in changeset commit:git|c14b60630d680addd5b4ef9c9b159a26a5446483.
----------
Fix coding issue in prism_compi...
luke-gru (Luke Gruber)
04:42 PM Revision 461c4896 (git): [rubygems/rubygems] Add a note about when hack can be removed
https://github.com/rubygems/rubygems/commit/058b29fe98 deivid (David Rodríguez)
04:42 PM Revision ae214be9 (git): [rubygems/rubygems] Fix TODO
https://github.com/rubygems/rubygems/commit/2cd13005f6 deivid (David Rodríguez)
04:42 PM Revision 47db8bc0 (git): [rubygems/rubygems] Stop fighting with ourselves
https://github.com/rubygems/rubygems/commit/7cf2fdcfa1 deivid (David Rodríguez)
03:52 PM Revision c14b6063 (git): Fix coding issue in prism_compile.c
Make sure to set back `ISEQ_COMPILE_DATA(iseq)->current_block` for
forwarding super nodes with a block.
Fixes [Bug #...
luke-gru (Luke Gruber)
03:52 PM Revision 96da3f16 (git): [ruby/prism] Allow returns in default parameter values
https://github.com/ruby/prism/commit/e98ea15596 kddnewton (Kevin Newton)
02:18 PM Revision 5df5eba4 (git): Change rb_gc_impl_get_measure_total_time to return a bool
peterzhu2118 (Peter Zhu)
01:29 PM Bug #20755 (Closed): IO::Buffer#transfer transfers mutable reference to String's memory but not lock ownership
`IO::Buffer.for` with a block yields a mutable IO::Buffer that shares underlying memory with a mutable String. While ... hanazuki (Kasumi Hanazuki)
12:14 PM Bug #20754: [doc] `Hash::new` is missing from rdoc for 3.4
What a simple fix, now I know myself. Thank you! Earlopain (Earlopain _)
12:06 PM Bug #20754 (Closed): [doc] `Hash::new` is missing from rdoc for 3.4
Applied in changeset commit:git|f82618578666ee720bdc0ec8e4aeace541f2d953.
----------
[Bug #20754] Document in hash.rb
nobu (Nobuyoshi Nakada)
11:40 AM Bug #20754 (Closed): [doc] `Hash::new` is missing from rdoc for 3.4
I was interested in the `capacity` argument added in https://github.com/ruby/ruby/pull/10357 but found any reference ... Earlopain (Earlopain _)
12:03 PM Revision f8261857 (git): [Bug #20754] Document in hash.rb
nobu (Nobuyoshi Nakada)
12:02 PM Misc #20717: DevMeeting-2024-10-03
* [Feature #20750] Expose ruby_thread_has_gvl_p in ruby/thread.h (eregon)
* I think rb_thread_call_with_gvl() shoul...
Eregon (Benoit Daloze)
12:00 PM Feature #20750: Allow rb_thread_call_with_gvl to work when thread already has GVL
OK the issue/bug is
https://github.com/ruby/ruby/blob/4797b0704ae49fb42c8ad9a45028efbe2298b5f5/thread.c#L1899
```
...
Eregon (Benoit Daloze)
11:56 AM Feature #20750: Allow rb_thread_call_with_gvl to work when thread already has GVL
So what is the concrete issue if the pattern above is replaced by `rb_thread_call_with_gvl(method_call, &context);`?
...
Eregon (Benoit Daloze)
11:48 AM Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
I don't think we can legitimately expose an API that can lead to a crash if used incorrectly.
So yeah, I think we ...
byroot (Jean Boussier)
08:03 AM Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
If this is an intentional restriction to gain performance, I would like to propose adding documentation that the meth... hanazuki (Kasumi Hanazuki)
02:19 AM Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
Since the doc says "using `memcpy`", it may be intentionally undetermined/unsupported.
> Efficiently copy from a s...
nobu (Nobuyoshi Nakada)
10:17 AM Bug #20753 (Closed): [doc] IO::Buffer examples try to write into readonly buffer returned from IO::Buffer.for
`IO::Buffer.for` without a block returns a readonly `IO::Buffer`. Some examples in the documentation for `IO::Buffer`... hanazuki (Kasumi Hanazuki)
10:00 AM Bug #20752: IO::Buffer#slice creates mutable IO::Buffer instance that points to readonly memory (e.g. fronzen String)
It results in bus errors with 3.1 and 3.2.
```
$ ruby3.2 -e 'IO::Buffer.for(RUBY_DESCRIPTION).slice.set_string("p...
nobu (Nobuyoshi Nakada)
09:38 AM Bug #20752 (Closed): IO::Buffer#slice creates mutable IO::Buffer instance that points to readonly memory (e.g. fronzen String)
```irb
irb(main):001> RUBY_DESCRIPTION.frozen?
=> true
irb(main):002> IO::Buffer.for(RUBY_DESCRIPTION).set_string(...
hanazuki (Kasumi Hanazuki)
06:30 AM Feature #20309: Bundled gems for Ruby 3.5
Eregon (Benoit Daloze) wrote in #note-38:
> vo.x (Vit Ondruch) wrote in #note-35:
> > I don't think it is bad idea ...
vo.x (Vit Ondruch)
02:16 AM Revision 4797b070 (git): Prevent a warning (retry)
```
test/ruby/test_case.rb:75: warning: 'when' clause on line 75 duplicates 'when' clause on line 75 and is ignored
```
mame (Yusuke Endoh)
12:59 AM Revision 94a17f32 (git): Detect existing Visual Studio instances using `vswhere.exe`
https://learn.microsoft.com/en-us/visualstudio/install/tools-for-managing-visual-studio-instances?view=vs-2022#using-... nobu (Nobuyoshi Nakada)
12:06 AM Revision 7c4b0284 (git): YJIT: Accept key for runtime_stats to return only that stat (#11536)
Randy Stauner

09/17/2024

11:49 PM Bug #20751 (Closed): Regression in Prism related to use of return in default argument values
kddnewton (Kevin Newton) wrote in #note-2:
> I believe this was fixed this morning. Could you double-check that this...
jeremyevans0 (Jeremy Evans)
11:37 PM Bug #20751: Regression in Prism related to use of return in default argument values
I believe this was fixed this morning. Could you double-check that this is still an issue? kddnewton (Kevin Newton)
11:19 PM Bug #20751 (Closed): Regression in Prism related to use of return in default argument values
All versions of parse.y dating at least back to Ruby 1.8.7, and Prism in both Ruby 3.3.5 and 3.4.0preview1, correctly... jeremyevans0 (Jeremy Evans)
10:34 PM Feature #20750: Allow rb_thread_call_with_gvl to work when thread already has GVL
Hello Benoit,
Thank you for your question.
Eregon (Benoit Daloze) wrote in #note-1:
> This seems like a strang...
kbrock (Keenan Brock)
08:03 PM Feature #20750: Allow rb_thread_call_with_gvl to work when thread already has GVL
Note that the majority of the search results are just CRuby using it, and GitHub not detecting it's effectively copie... Eregon (Benoit Daloze)
04:52 PM Feature #20750 (Open): Allow rb_thread_call_with_gvl to work when thread already has GVL
Hello All,
I'm hoping we can make `ruby_thread_has_gvl_p` a public method and no longer experimental.
I saw the...
kbrock (Keenan Brock)
10:12 PM Revision 39679d7f (git): [ruby/uri] Fix spelling of "cannot"
https://github.com/ruby/uri/commit/77241d6508 deivid (David Rodríguez)
08:35 PM Revision 5307c65c (git): Make rb_gc_impl_set_measure_total_time return void
peterzhu2118 (Peter Zhu)
08:09 PM Revision b203e667 (git): [rubygems/rubygems] Fix spelling, it's "cannot" rather than "can not"
https://github.com/rubygems/rubygems/commit/3434f094a2 deivid (David Rodríguez)
07:22 PM Revision dc61c7fc (git): Rename rb_gc_impl_get_profile_total_time to rb_gc_impl_get_total_time
peterzhu2118 (Peter Zhu)
07:22 PM Revision 2af080bd (git): Change rb_gc_impl_get_profile_total_time to return unsigned long long
peterzhu2118 (Peter Zhu)
07:22 PM Revision 5de7517b (git): Use unsigned long long for marking and sweeping time
peterzhu2118 (Peter Zhu)
06:47 PM Revision 748933aa (git): [ruby/prism] Accept "do" blocks in some parameter default values
https://github.com/ruby/prism/commit/6d7b734dbe kddnewton (Kevin Newton)
02:39 PM Feature #20742: Trying to assign to a variable in statement modifier should emit a warning
Earlopain (A S) wrote in #note-5:
> Should this just work? If I do:
>
> ```rb
> if a = 0.zero?
> p a
> end
...
jeremyevans0 (Jeremy Evans)
09:00 AM Feature #20742: Trying to assign to a variable in statement modifier should emit a warning
Should this just work? If I do:
```rb
if a = 0.zero?
p a
end
```
it has no problem with it. I would expec...
Earlopain (Earlopain _)
02:34 PM Revision 0160dafc (git): Replace all GC.disable with EnvUtil.without_gc
peterzhu2118 (Peter Zhu)
02:07 PM Revision 82151a86 (git): Fix a typo, sorry!
mame (Yusuke Endoh)
01:52 PM Revision fd5e5839 (git): Prevent two warnings
```
/home/chkbuild/chkbuild/tmp/build/20240917T123003Z/ruby/test/ruby/test_case.rb:73: warning: 'when' clause on line...
mame (Yusuke Endoh)
12:40 PM Bug #20749: Error message not shown in output with prism
This was an issue with the error_highlight gem. I made a PR here: https://github.com/ruby/error_highlight/pull/48 luke-gru (Luke Gruber)
12:37 PM Feature #20309: Bundled gems for Ruby 3.5
vo.x (Vit Ondruch) wrote in #note-35:
> I don't think it is bad idea to start using `bundle install --local`, i.e. us...
Eregon (Benoit Daloze)
09:40 AM Feature #20309: Bundled gems for Ruby 3.5
> I don't think so. Bundler should provide that feature for like debug, stackprof and irb. I and @mame (Yusuke Endoh)... deivid (David Rodríguez)
08:53 AM Feature #20309: Bundled gems for Ruby 3.5
>The fact that we want binding.irb to work regardless of being in a bundle exec context or not feels like a sign that... hsbt (Hiroshi SHIBATA)
11:10 AM Revision cf063c00 (git): [rubygems/rubygems] Bump rubies in CI to 3.3.5
A spec needed changes because now loading the default `json` prints a
warning about `ostruct` getting loaded although...
deivid (David Rodríguez)
08:48 AM Bug #20734: Test failure at FreeBSD 14.1
I could build 4ca588eede and `git clean -fxd`.
But Ruby CI is still stopped from Sep 5th.
https://rubyci.s3.am...
hsbt (Hiroshi SHIBATA)
08:37 AM Bug #20631: Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
`Process.daemon` is working fine at macOS 15.1 beta3 and Xcode 16 RC.
I enabled `TestProcess#test_daemon_noclose` ...
hsbt (Hiroshi SHIBATA)
07:16 AM Revision 1ecac5d4 (git): TestProcess#test_daemon_noclose is working fine with macOS 15.1 beta3 and Xcode 16 RC
hsbt (Hiroshi SHIBATA)
06:44 AM Revision 95f08f2b (git): Skip failing examples related with https://github.com/ruby/ruby/commit/d81b0588bb3c97167d1f7e2d2a74185e0c19b68c
hsbt (Hiroshi SHIBATA)
06:37 AM Revision c0116860 (git): Removed accidentally commit for snapshot file of prism
hsbt (Hiroshi SHIBATA)
06:12 AM Revision d81b0588 (git): [ruby/strscan] Accept String as a pattern at non head
(https://github.com/ruby/strscan/pull/106)
It supports non-head match cases such as StringScanner#scan_until.
If we...
naitoh (Jun NAITOH)
05:41 AM Revision 7d80c139 (git): Unlock parallel_tests
deivid (David Rodríguez)
05:39 AM Revision 80e934c2 (git): [rubygems/rubygems] Fix `--local` hitting the network when default gems are included
https://github.com/rubygems/rubygems/commit/b9a2d4d539 deivid (David Rodríguez)
05:39 AM Revision 335d6309 (git): [rubygems/rubygems] Improve spec
The behavior it's testing is independent from the bundle path being
used.
https://github.com/rubygems/rubygems/commi...
deivid (David Rodríguez)
05:39 AM Revision 166cde7d (git): [rubygems/rubygems] Fix spec to setup a default gem correctly
Looking at the description is something that used to be done a long time
ago.
https://github.com/rubygems/rubygems/c...
deivid (David Rodríguez)
05:39 AM Revision 7428709d (git): [rubygems/rubygems] Inline a private method
Removes an (in my opinion) excessive indirection and handles options
more consistently.
https://github.com/rubygems/...
deivid (David Rodríguez)
05:39 AM Revision 7e0934d3 (git): [rubygems/rubygems] Consistently access install options through symbol keys
https://github.com/rubygems/rubygems/commit/7ddf1dc70a deivid (David Rodríguez)
05:15 AM Revision 70111fcc (git): Prevent a warning due to error recovery of prism
mame (Yusuke Endoh)
05:10 AM Revision d90da940 (git): Prevent warnings for RubyVM::AbstractSyntaxTree.parse in test_ast.rb
mame (Yusuke Endoh)
04:56 AM Revision d84b062b (git): Prevent warning: assigned but unused variable - message
mame (Yusuke Endoh)
03:54 AM Revision 4ca588ee (git): Bump github/codeql-action from 3.26.6 to 3.26.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 to 3.26.7.
- [Release notes](https:...
dependabot[bot]
03:52 AM Revision bb2d2473 (git): [DOC] Fix autoload method formatting
itsNikolay (Nikolay Ponomarev)
03:46 AM Revision bb7025b7 (git): Activate irb if irb is bundled gems
hsbt (Hiroshi SHIBATA)
03:44 AM Revision 76d927f8 (git): Prevent prism warnings in syntax exhaustive tests
[Bug #20736] mame (Yusuke Endoh)
12:28 AM Revision 4e59e7d3 (git): [Bug #20737] Do not warn default gems to be promoted in Ruby 3.5 (#11613)
hsbt (Hiroshi SHIBATA)
12:11 AM Bug #20723 (Closed): `IO#close` is broken on Ruby 3.3+ when using the Fiber scheduler.
Applied in changeset commit:git|e08d5239b68ad61a731f4938cf963e37a5e88c25.
----------
Ensure fiber scheduler is woken...
kjtsanaktsidis (KJ Tsanaktsidis)
12:11 AM Revision e08d5239 (git): Ensure fiber scheduler is woken up when close interrupts read
If one thread is reading and another closes that socket, the close
blocks waiting for the read to abort cleanly. This...
kjtsanaktsidis (KJ Tsanaktsidis)
 

Also available in: Atom