Project

General

Profile

Activity

From 08/13/2024 to 08/19/2024

08/19/2024

11:51 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
@matheusrich In my opinion `take_until` might be an interesting method to add, but I think we are unnecessarily compl... ufuk (Ufuk Kayserilioglu)
09:05 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
> The one problem we don’t currently have neither Enumerable#take_until, nor Object#not_nil?, to write something like... matheusrich (Matheus Richard)
11:46 PM Bug #20686: URI::HTTPS can build URI with blank, invalid host
jhawthorn (John Hawthorn) wrote in #note-2:
> jeremyevans0 (Jeremy Evans) wrote in #note-1:
> > It appears RFC 3986...
jeremyevans0 (Jeremy Evans)
10:59 PM Bug #20686: URI::HTTPS can build URI with blank, invalid host
Interestingly RFC2396_PARSER seems to allow nil for a host but not empty string, so the newer behaviour is at least m... jhawthorn (John Hawthorn)
10:45 PM Bug #20686: URI::HTTPS can build URI with blank, invalid host
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> It appears RFC 3986 allows empty hosts (https://datatracker.ietf.org...
jhawthorn (John Hawthorn)
08:04 PM Bug #20686: URI::HTTPS can build URI with blank, invalid host
ronricardo (Roniece Ricardo) wrote:
> In Ruby 3.4.0+, calling `URI::HTTPS.build(host: "")` does not raise `URI::Inva...
jeremyevans0 (Jeremy Evans)
07:40 PM Bug #20686 (Open): URI::HTTPS can build URI with blank, invalid host
In Ruby 3.4.0+, calling `URI::HTTPS.build(host: "")` does not raise `URI::InvalidComponentError` as expected. Instead... ronricardo (Roniece Ricardo)
10:32 PM Bug #20586: Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted
Anonymous wrote in #note-8:
> `rb_getpwdirnam_for_login` currently does not have any explicit
> handling for `EIN...
jeremyevans0 (Jeremy Evans)
09:19 AM Bug #20586: Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted
Hey! As usual thanks for picking up these thorny bugs :)
The fix looks good! In particular I've re-tested it with...
ivoanjo (Ivo Anjo)
10:09 PM Bug #20679: Rails CI errors since abc04e898b627ab37fa9dd5e330f239768778d8b
jeremyevans0 (Jeremy Evans) wrote in #note-3:
> Definitely related to the `ruby2_keywords` optimization. I'll keep d...
jeremyevans0 (Jeremy Evans)
07:21 PM Revision e398e84c (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.100 to 0.9.101.
- [Release notes](https://github.com/ox...
dependabot[bot]
05:55 PM Revision d1b2479b (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.100 to 0.9.101.
- [Release notes](https://github.com/ox...
dependabot[bot]
02:58 PM Revision cb284877 (git): Make assertions allow incremental GC when disabled
When assertions are enabled, the following code triggers an assertion
error:
GC.disable
GC.start(immediate_m...
peterzhu2118 (Peter Zhu)
11:48 AM Revision 786d0006 (git): [ruby/rdoc] Avoid potentially loading the same extension from different versions of the same gem
Avoids warnings like
```
/path/to/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/rbs-3.4.0/lib/rdoc/discover.rb:10: warning: me...
deivid (David Rodríguez)
10:50 AM Revision cd0d4ec0 (git): Single letter ASCII operator is same as the corresponding ID
nobu (Nobuyoshi Nakada)
10:13 AM Misc #20685: Ruby 3.2.4 tag mentions unrelated changes (CVE-2024-27280)
Thank you for your greate catch! You are totally right. ruby-3.2 seriese contains stringio-3.0.4 from the beginning.
...
nagachika (Tomoyuki Chikanaga)
09:21 AM Misc #20685 (Closed): Ruby 3.2.4 tag mentions unrelated changes (CVE-2024-27280)
# Problem
According to https://github.com/ruby/ruby/releases/tag/v3_2_4,
it mentions "CVE-2024-27280: Buffer over...
kenhys (Kentaro Hayashi)
09:20 AM Feature #20684 (Closed): Add optimized instructions for frozen literal Hash and Array
# Context
Methods that take empty arrays or empty hashes as default values allocate a new object each time the met...
etienne (Étienne Barrié)
06:36 AM Revision 566f2eb5 (git): Merge `rb_fork_ruby2` into `rb_fork_ruby`
nobu (Nobuyoshi Nakada)
06:35 AM Bug #20677: error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
https://github.com/ruby/ruby/pull/11405 - I think this should fix it. It seems new toolchains truncate the section na... kjtsanaktsidis (KJ Tsanaktsidis)
05:44 AM Bug #20677: error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
> deciding if BTI/PAC is available.
Silly me, this is about amd64.
So what you're running into is that I added ...
kjtsanaktsidis (KJ Tsanaktsidis)
04:58 AM Misc #20683: Propose @ono-max as a committer
Approved.
Matz.
matz (Yukihiro Matsumoto)
02:34 AM Misc #20683 (Assigned): Propose @ono-max as a committer
+1
Our test suite and CI are complex and complicated. We need more maintainer for that.
hsbt (Hiroshi SHIBATA)
02:04 AM Misc #20683: Propose @ono-max as a committer
I forgot to mention that he has expressed his willingness to accept committer's proposal here: https://bugs.ruby-lang... mame (Yusuke Endoh)
02:01 AM Misc #20683 (Closed): Propose @ono-max as a committer
I'd like to propose @ono-max as a committer.
He has contributed to Ruby's test framework, starting with the introd...
mame (Yusuke Endoh)
01:53 AM Bug #20682: Slave PTY output is lost after a child process exits in macOS
mame (Yusuke Endoh) wrote in #note-2:
> The PR looks good to me.
>
> @ono-max Do you want to merge it yourself? I...
ono-max (Naoto Ono)
01:51 AM Bug #20682: Slave PTY output is lost after a child process exits in macOS
The PR looks good to me.
@ono-max Do you want to merge it yourself? If you are willing, I'd like to propose you as...
mame (Yusuke Endoh)
01:21 AM Bug #20682: Slave PTY output is lost after a child process exits in macOS
I created the PR: https://github.com/ruby/ruby/pull/11404
This change works in my macOS environment.
ono-max (Naoto Ono)
01:16 AM Bug #20682 (Closed): Slave PTY output is lost after a child process exits in macOS
According to Launchable, the following PTY tests are flaky only on macOS.
https://app.launchableinc.com/organizati...
ono-max (Naoto Ono)
12:04 AM Revision 70613595 (git): [rubygems/rubygems] Change new gem README template to have copyable code blocks
https://github.com/rubygems/rubygems/commit/c805e9b558 marcoroth (Marco Roth)

08/18/2024

01:22 PM Bug #19374: Issue with Ractor.make_shareable with curried procs
Hey y'all -
I'm commenting here to say that this bug seems to be the only way I was able to pass a Proc to a Ractor...
reesericci (Reese Armstrong)
10:15 AM Feature #18368 (Closed): Range#step semantics for non-Numeric ranges
Applied in changeset commit:git|d450f9d6a28f01b7ca6030a925921dbf35cee439.
----------
Make Range#step to consistently...
zverok (Victor Shepelev)
10:15 AM Revision d450f9d6 (git): Make Range#step to consistently use + for iteration (#7444)
Make Range#step to consistently use + for iteration [Feature #18368]
Previously, non-numerics expected step to be in...
zverok (Victor Shepelev)
09:30 AM Bug #20344: argument stack underflow (-1)
ruby_3_2 commit:21c708ee802e1a59901eccc6448e40e8f72189b8 merged revision(s) commit:992596fb7af18a7f472589a607d0eb3fbb... nagachika (Tomoyuki Chikanaga)
09:07 AM Revision 21c708ee (git): merge revision(s) 992596fb7af18a7f472589a607d0eb3fbb03b49a: [Backport #20344]
Fix next inside block argument stack underflow
[Bug #20344]
Fix compile_next adding removable adjust...
nagachika (Tomoyuki Chikanaga)
09:03 AM Bug #20490: Process.waitpid2(-1, Process::WNOHANG) misbehaves on Ruby 3.1 & 3.2 with detached process
Merged at https://github.com/ruby/ruby/commit/65fed1c3e439bc47bcf6ec884431a86cb9ebd1dc. Thank you! nagachika (Tomoyuki Chikanaga)
09:02 AM Revision 65fed1c3 (git): Allow waitpid(-1, Process::WNOHANG) to be woken if a waitpid(pid) is
...pending
If two threads are running, with one calling waitpid(-1, Process::WNOHANG),
and another calling waitpid($...
stanhu (Stan Hu)
08:30 AM Bug #20681: Regular expression warnings are treated as compiler warnings during runtime
nobu (Nobuyoshi Nakada) wrote in #note-1:
> You may want to re-define `Warning.warn`.
Thank you, that works. Apol...
Earlopain (Earlopain _)
03:25 AM Bug #20681 (Feedback): Regular expression warnings are treated as compiler warnings during runtime
You may want to re-define `Warning.warn`. nobu (Nobuyoshi Nakada)
03:51 AM Bug #20586: Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted
On 2024-08-16 21:59:04, "jeremyevans0 (Jeremy Evans) via ruby-core" <[email protected]> spake thus:
>Issue...
Anonymous
02:20 AM Bug #20649: Ripper fails to tokenize `def f; (x)::A =`
ruby_3_2 commit:a8a25291447e3630d455e82851ca58fc8ac372ec merged revision(s) commit:97449338d6cb42d9dd7c9ca61550616e7e... nagachika (Tomoyuki Chikanaga)
02:19 AM Bug #20571: Compile error on for loop
ruby_3_2 commit:50399eebd96c76ce808ea4d84fe39693f585a531 merged revision(s) commit:1870505f478cc75993b296b7144a45137a... nagachika (Tomoyuki Chikanaga)
02:19 AM Bug #20651: `false && (1 in 1)` produces argument stack underflow (-1)
ruby_3_2 commit:50399eebd96c76ce808ea4d84fe39693f585a531 merged revision(s) commit:1870505f478cc75993b296b7144a45137a... nagachika (Tomoyuki Chikanaga)
02:19 AM Revision 50399eeb (git): merge revision(s) 1870505f478cc75993b296b7144a45137ace6937: [Backport #20651] [Backport #20571]
Fix wrong unreachable chunk remove when jump destination label is unremovable nagachika (Tomoyuki Chikanaga)
02:03 AM Bug #20654: Floor and ceil have unexpected behaviour when ndigits is large
Thank you for preparing the backport PRs. They were merged. nagachika (Tomoyuki Chikanaga)
01:52 AM Revision a8a25291 (git): merge revision(s) 97449338d6cb42d9dd7c9ca61550616e7e6b6ef6: [Backport #20649]
[Bug #20649] Allow `nil` as 2nd argument of `assign_error`
Fallback to the last token element in that case, ...
nagachika (Tomoyuki Chikanaga)

08/17/2024

12:42 PM Bug #20667: Backport REXML CVE fixes
ruby_3_2 commit:0f2f6b31aa6433fd800f0621b5bedbaf0da12a6f merged revision(s) commit:2a7da0b6e76929c684cd948630a897c1d5... nagachika (Tomoyuki Chikanaga)
12:41 PM Revision 0f2f6b31 (git): merge revision(s) 2a7da0b6e76929c684cd948630a897c1d5b16c26: [Backport #20667]
Update bundled gems list as of 2024-08-12 nagachika (Tomoyuki Chikanaga)
11:08 AM Bug #20681 (Feedback): Regular expression warnings are treated as compiler warnings during runtime
I have some code that recieves arbitrary input and parses it as a regexp. To supress potential warnings I'm defining ... Earlopain (Earlopain _)
10:36 AM Revision 4dbf386c (git): [DOC] Add `$;` to the list of deprecated global variables
Neil Carvalho
09:57 AM Bug #20680 (Closed): No "void context" warning for literals/etc. in ensure block
Providing this code, I would expect ruby to emit a void context warning:
```rb
begin
foo
rescue
bar
ensur...
Earlopain (Earlopain _)
07:00 AM Revision 694181a9 (git): Update bundled gems list as of 2024-08-16
git[bot]
12:59 AM Bug #20679: Rails CI errors since abc04e898b627ab37fa9dd5e330f239768778d8b
Reverted in commit:d56470a27c5a8a2e7aee7a76cea445c2d29c0c59
Here's a failing example that does not require Rails:
...
jeremyevans0 (Jeremy Evans)
12:59 AM Revision d56470a2 (git): Revert "Avoid hash allocation for certain proc calls"
This reverts commit abc04e898b627ab37fa9dd5e330f239768778d8b.
This caused problems in a Rails test.
jeremyevans (Jeremy Evans)

08/16/2024

11:46 PM Bug #20679: Rails CI errors since abc04e898b627ab37fa9dd5e330f239768778d8b
Thanks for the report. I will revert and then try to work on a fix. jeremyevans0 (Jeremy Evans)
11:08 PM Bug #20679 (Closed): Rails CI errors since abc04e898b627ab37fa9dd5e330f239768778d8b
Rails CI against Ruby master branch gets failed since abc04e898b627ab37fa9dd5e330f239768778d8b
### Steps to reprod...
yahonda (Yasuo Honda)
09:59 PM Bug #20586: Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted
I've submitted a pull request that I hope will address most of these issues: https://github.com/ruby/ruby/pull/11393
...
jeremyevans0 (Jeremy Evans)
08:12 PM Revision 2fe6a4f8 (git): Fix assertion error when TracePoint has incompatible events
TracePoints with incompatible events (i.e. events not in ISEQ_TRACE_EVENTS)
with a method target will fail an asserti...
peterzhu2118 (Peter Zhu)
08:11 PM Revision 77ac853c (git): [DOC] Tweaks to Array#assoc (#11384)
burdettelamar (Burdette Lamar)
05:10 PM Revision 1917c8c8 (git): [ruby/openssl] Remove test_ed25519_not_approved_on_fips.
This commit fixes the following failure on OpenSSL master FIPS case.
```
1) Failure: test_ed25519_not_approved_on_fi...
Jun Aruga
04:01 PM Bug #20623 (Closed): Unexpected behavior of blocks in Enumerator::Lazy#zip
jeremyevans0 (Jeremy Evans)
01:26 PM Revision bbbe07a5 (git): Speed up finalizers for objects without object ID
If the object being finalized does not have an object ID, then we don't
need to insert into the object ID table, we c...
peterzhu2118 (Peter Zhu)
12:52 PM Bug #20675: Parse error with required kwargs and omitted parens
> for `f k:<newline>val`, I found about 500 cases.
Thank you for searching. That's a lot more than I was able to f...
Dan0042 (Daniel DeLorme)
08:43 AM Bug #20675: Parse error with required kwargs and omitted parens
Dan0042 (Daniel DeLorme) wrote in #note-4:
> I believe Matz was talking about changing the behavior of `f k:<newline...
ko1 (Koichi Sasada)
08:42 AM Revision 703305bd (git): Revert soname changes
- only i386-ucrt soname is changed to fix building on x86 clang
- fix detection of x86intrin.h on x86 system
- mingw ...
Raed Rizqie
07:55 AM Revision 21dfe34a (git): Stringize VM_ASSERT expression before expansion
nobu (Nobuyoshi Nakada)
06:43 AM Revision 196d59f6 (git): Parenthesize macro arguments
nobu (Nobuyoshi Nakada)
06:43 AM Revision 129b4936 (git): Simplify and clarify bitmask calculation
nobu (Nobuyoshi Nakada)
06:09 AM Revision 08db4bc6 (git): [ruby/openssl] test_s_generate_parameters: Consider a DSA error in FIPS.
DSA kengen is not FIPS-approved. The `EVP_PKEY_paramgen` in the
`OpenSSL::PKey.generate_parameters("DSA")` raises a D...
Jun Aruga
05:51 AM Revision 018bd07f (git): Fix some warnings
* Fix unused functions when no `mmap`.
```
shape.c:285:1: warning: unused function 'redblack_insert' [-Wunused-f...
Raed Rizqie
12:47 AM Revision c06fbb19 (git): Fix flaky TestSetTraceFunc#test_remove_in_trace by filtering trace events
ono-max (Naoto Ono)

08/15/2024

10:12 PM Bug #20675: Parse error with required kwargs and omitted parens
The reason for this inconsistency is backwards compatibility, so as not to break existing code when omitted hash valu... jeremyevans0 (Jeremy Evans)
04:04 PM Bug #20675: Parse error with required kwargs and omitted parens
I believe Matz was talking about changing the behavior of `f k:<newline>`, so method definition `def foo k:<newline>`... Dan0042 (Daniel DeLorme)
02:16 AM Bug #20675: Parse error with required kwargs and omitted parens
This change is compatibility issue and I counted the number of `def foo k:<newline>` patterns and I found about 4000 ... ko1 (Koichi Sasada)
08:00 PM Revision abc04e89 (git): Avoid hash allocation for certain proc calls
Previous, proc calls such as:
```ruby
proc{|| }.(**empty_hash)
proc{|b: 1| }.(**r2k_array_with_empty_hash)
```
both...
jeremyevans (Jeremy Evans)
06:33 PM Revision 2c6e16eb (git): Don't assume st_data_t and VALUE are the same in rb_gc_impl_object_id
peterzhu2118 (Peter Zhu)
05:34 PM Revision de28ef7d (git): [PRISM] Use src encoding not ext encoding
kddnewton (Kevin Newton)
05:34 PM Revision eb08a280 (git): [PRISM] test_invalid_jump assertion updates for prism
kddnewton (Kevin Newton)
05:34 PM Revision a402b18c (git): [PRISM] test_syntax_check assertion updates for prism
kddnewton (Kevin Newton)
04:59 PM Revision 2d66ef71 (git): Show anonymous and ambiguous params in ISeq disassembly
Previously, in the disasesmbly for ISeqs, there's no way to know if the
anon_rest, anon_kwrest, or ambiguous_param0 f...
kddnewton (Kevin Newton)
04:52 PM Revision 33bffde9 (git): [DOC] Tweaks for Array#at
burdettelamar (Burdette Lamar)
04:50 PM Revision 5cb6954b (git): [ruby/prism] Fix up lex result constants
https://github.com/ruby/prism/commit/084baca463 kddnewton (Kevin Newton)
04:49 PM Revision d2361ba1 (git): [DOC] Tweaks for Array#push
burdettelamar (Burdette Lamar)
04:48 PM Revision edda29a1 (git): [DOC] Fix Related for Array#all?
burdettelamar (Burdette Lamar)
04:46 PM Revision 1f994683 (git): [DOC] Tweaks for Array#any?
burdettelamar (Burdette Lamar)
04:40 PM Revision cbf508da (git): [ruby/prism] Special error for too short unicode errors
https://github.com/ruby/prism/commit/9f1f7d08bd kddnewton (Kevin Newton)
02:38 PM Revision 8312c5be (git): Fix GC_ASSERT for gc.c and gc/default.c
gc.c mistakenly defined GC_ASSERT as blank, which caused it to be a
no-op. This caused all assertions in gc.c and gc/...
peterzhu2118 (Peter Zhu)
01:33 PM Revision 923e36ab (git): [ruby/rdoc] Fix sidebar scroll again and add missing footer back
(https://github.com/ruby/rdoc/pull/1154)
* Add missing footers
In #1152 the footer partial was only added to the in...
st0012 (Stan Lo)
10:11 AM Bug #20678 (Closed): Doxygen document doesn't print Ruby C APIs properly
jaruga (Jun Aruga)
10:11 AM Bug #20678: Doxygen document doesn't print Ruby C APIs properly
Ufuk, thank you for info!
I found the document about the `rb_scan_args` (`ruby_doxygen_rb_scan_args.png`) by click...
jaruga (Jun Aruga)
10:04 AM Bug #20678: Doxygen document doesn't print Ruby C APIs properly
I believe it is being generated. Probably not where you expect it to be, though: https://docs.ruby-lang.org/capi/en/m... ufuk (Ufuk Kayserilioglu)
09:53 AM Bug #20678 (Closed): Doxygen document doesn't print Ruby C APIs properly
I am looking for how to see a list of Ruby C API descriptions written in the comment area by a command.
For exampl...
jaruga (Jun Aruga)
08:16 AM Revision 2a933609 (git): Delete unnecessary rubocop disable comment
Kentaro Takeyama
06:55 AM Revision 8a7e6f68 (git): Improve base time of assert_linear_performance (#11369)
Remove `.ceil` from base time calculation that makes 10x gap.
This will make the assertion more strict and also less ...
tompng (tomoya ishida)
03:09 AM Revision a1d8ef6e (git): Bump github/codeql-action from 3.26.1 to 3.26.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.1 to 3.26.2.
- [Release notes](https:...
dependabot[bot]
01:14 AM Bug #20677: error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
Ah. I might have to add some feature detection to the configure script for this when deciding if BTI/PAC is available... kjtsanaktsidis (KJ Tsanaktsidis)

08/14/2024

08:23 PM Revision fd974f5d (git): Increase timeout of test_finalizer
The test is timing out on lpi4a so a longer timeout should fix it. peterzhu2118 (Peter Zhu)
08:16 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
byroot (Jean Boussier) wrote in #note-36:
> As for the API, my two cents is that it would make the most sense in `Pr...
Dan0042 (Daniel DeLorme)
07:39 PM Revision 09bf3c9d (git): [PRISM] Trigger moreswitches off shebang
kddnewton (Kevin Newton)
07:27 PM Bug #20675: Parse error with required kwargs and omitted parens
I agree that `f k:` at end of line should be parsed as `f(k:)`. Even though it is backward incompatible, it can be de... Dan0042 (Daniel DeLorme)
06:06 PM Revision 002e785e (git): [ruby/irb] Fix kill pager pid throwing Errno::ESRCH when pager
process already terminated
(https://github.com/ruby/irb/pull/989)
https://github.com/ruby/irb/commit/949f032e9b
tompng (tomoya ishida)
05:49 PM Revision 0610f1b0 (git): Fix crash when GC runs during finalizers at shutdown
We need to remove from the finalizer_table after running all the
finalizers because GC could trigger during the final...
peterzhu2118 (Peter Zhu)
05:47 PM Revision 85f99b38 (git): [DOC] Tweaks to Array#all? (#11365)
burdettelamar (Burdette Lamar)
05:40 PM Revision a952ea24 (git): [ruby/prism] Callback on shebang switches
Add the ability to receive a callback when the parser encounters a
shebang that contains additional switches after th...
kddnewton (Kevin Newton)
05:19 PM Revision 66312ad9 (git): Re-initialize vm->ractor.sched.lock after fork (#11372)
[Bug #20633] Re-initialize vm->ractor.sched.lock after fork
Previously under certain conditions it was possible to e...
jhawthorn (John Hawthorn)
04:35 PM Feature #20676: Pathnames aren't Comparable
It looks like I got it wrong. `<=>` does case-sensitive matching and doesn't behave the way I thought it did. General... gmcgibbon (Gannon McGibbon)
01:48 PM Feature #20676: Pathnames aren't Comparable
> I think we should add Pathname#start_with?(path) for convenience, or maybe Pathname#inside?(path).
Yes, having m...
byroot (Jean Boussier)
01:20 PM Feature #20676: Pathnames aren't Comparable
I think we should add `Pathname#start_with?(path)` for convenience, or maybe `Pathname#inside?(path)`.
FWIW it alrea...
Eregon (Benoit Daloze)
12:59 PM Feature #20676: Pathnames aren't Comparable
Hanmac (Hans Mackowiak) wrote in #note-4:
> nobu (Nobuyoshi Nakada) wrote in #note-2:
> > Probably you may want to ...
ufuk (Ufuk Kayserilioglu)
12:50 PM Feature #20676: Pathnames aren't Comparable
nobu (Nobuyoshi Nakada) wrote in #note-2:
> Probably you may want to do:
>
> ```ruby
> (Pathname("/a/b/c").to_s+...
Hanmac (Hans Mackowiak)
12:01 PM Feature #20676 (Feedback): Pathnames aren't Comparable
nobu (Nobuyoshi Nakada)
11:56 AM Feature #20676: Pathnames aren't Comparable
Probably you may want to do:
```ruby
(Pathname("/a/b/c").to_s+"/").start_with?(Pathname("/a/b").to_s+"/")
```
nobu (Nobuyoshi Nakada)
08:00 AM Feature #20676: Pathnames aren't Comparable
> to check if pathnames are subdirectories of each other
I don't understand.
```ruby
>> Pathname("/a/b").to_s...
byroot (Jean Boussier)
04:28 PM Revision 88954a0e (git): [ruby/prism] Tweak inspect representation of `Prism::Location`
This PR tweaks inspect representation of `Prism::Location`.
## Before
During debugging, the meaning of `@location=h...
koic (Koichi ITO)
02:51 PM Revision 264175db (git): [DOC] Update comment about how object ID is calculated
The object ID no longer treats symbols in a special way so we can simplify
the comment about how it is calculated.
peterzhu2118 (Peter Zhu)
08:41 AM Misc #20661: Stop retrying tests in `make test-all` command by default
I add some background.
As a result of the introduction of Launchable (#20254), it was discovered that many test fa...
mame (Yusuke Endoh)
07:01 AM Revision d0954741 (git): Update bundled gems list as of 2024-08-14
git[bot]
05:48 AM Bug #20677: error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
@kjtsanaktsidis Could you take a look? mame (Yusuke Endoh)
04:32 AM Bug #20677 (Closed): error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
ruby (the development version as of 2024-08-11) does not build on macOS 11 or earlier with Apple Clang 1300 or earlie... ryandesign (Ryan Carsten Schmidt)
04:06 AM Revision f2f177ed (git): [ruby/irb] Improve easter_egg logo resolution
(https://github.com/ruby/irb/pull/987)
https://github.com/ruby/irb/commit/ab394db93f
tompng (tomoya ishida)
03:24 AM Revision e7046f1f (git): Increase the default timeout in assert_darwin_vm_dump_works
ono-max (Naoto Ono)
03:14 AM Revision 983d91cf (git): Bump github/codeql-action from 3.26.0 to 3.26.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.1.
- [Release notes](https:...
dependabot[bot]

08/13/2024

11:13 PM Revision b20957bd (git): [ruby/resolv] test_dns: Fix failure on Windows
(https://github.com/ruby/resolv/pull/58)
test_dns: Fix failure on Windows
1. Switch to #with_udp_and_tcp helper met...
sorah (Sorah Fukumori)
09:43 PM Feature #20676 (Feedback): Pathnames aren't Comparable
👋
I was working with Pathnames recently and noticed that I could do:
```rb
Pathname("/a/b").to_s <= Pathname("...
gmcgibbon (Gannon McGibbon)
09:09 PM Revision 094e5336 (git): [ruby/resolv] Reuse open TCP connection
[RFC7766] Section 5 recommends stub resolvers to reuse open TCP
connections to a nameserver.
[RFC7766]: https://data...
hanazuki (Kasumi Hanazuki)
09:09 PM Revision 4be9b72f (git): [ruby/resolv] Fix TCP fallback with multiple nameservers
Under the following conditions the exception
`Resolv::DNS::Requester::RequestError: host/port don't match` is raised:...
igrpst (Igor Pstyga)
08:56 PM Revision 525008cd (git): Delete newarraykwsplat
The pushtoarraykwsplat instruction was designed to replace newarraykwsplat,
and we now meet the condition for deletio...
alanwu (Alan Wu)
08:51 PM Bug #20670 (Closed): fork deadlocks in child process due to timer thread
Fixed by https://github.com/ruby/ruby/commit/87a85550edd786665e081b355c6af62c4854b1d7 jhawthorn (John Hawthorn)
07:53 PM Revision b80b8399 (git): Don't set stack end in rb_gc_mark_roots
We don't need to set the stack end in rb_gc_mark_roots because it is
already set in mark_current_machine_context.
peterzhu2118 (Peter Zhu)
07:37 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
Needs a bit of polish (e.g. doc and spec), but that's essentially what I think we should do: https://github.com/ruby/... byroot (Jean Boussier)
05:58 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
It might make sense to split this ticket into two requests: one for `Process.argv` or similar and one for re-executin... kddnewton (Kevin Newton)
05:25 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
As for the API, my two cents is that it would make the most sense in `Process`. e.g. `Process.argv`, such as:
```b...
byroot (Jean Boussier)
05:19 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
This need came up again in https://github.com/rubygems/rubygems/pull/7933.
AFAICT there is currently no good way f...
byroot (Jean Boussier)
06:52 PM Revision 87a85550 (git): Re-initialize vm->ractor.sched.lock after fork
Previously under certain conditions it was possible to encounter a
deadlock in the forked child process if ractor.sch...
jhawthorn (John Hawthorn)
01:19 PM Bug #20675: Parse error with required kwargs and omitted parens
I think this would be *great* and would *love* to use keyword parameters without parenthesis...but I don't know how c... bkuhlmann (Brooke Kuhlmann)
02:12 AM Bug #20675 (Closed): Parse error with required kwargs and omitted parens
As pointed out in https://github.com/mruby/mruby/issues/6268, keyword arguments without surrounding parens are a bit ... matz (Yukihiro Matsumoto)
01:10 PM Revision 908305a2 (git): Sync rdoc
Stan Lo
12:41 PM Revision a6581114 (git): [ruby/prism] Fix up spacing in generated node.rb
https://github.com/ruby/prism/commit/50d79b734b kddnewton (Kevin Newton)
06:44 AM Bug #20674 (Rejected): Time zone conversion issue Time.at
nobu (Nobuyoshi Nakada)
06:42 AM Bug #20674 (Third Party's Issue): Time zone conversion issue Time.at
```ruby
require 'active_support'
require 'active_support/core_ext'
Time.zone = "Central Time (US & Canada)"
p T...
nobu (Nobuyoshi Nakada)
03:56 AM Bug #20674 (Rejected): Time zone conversion issue Time.at
`Time.zone=` method is not defined in Ruby itself, ~~probably defined by ActiveSupport~~, I don't know from where it ... nobu (Nobuyoshi Nakada)
05:47 AM Revision 436d23f8 (git): Make sure to wait for the thread to exit in TestProcess#test_wait_and_sigchild
ono-max (Naoto Ono)
03:35 AM Bug #20662 (Feedback): pack("g") completely discards any actual NaN value and always packs the same single-precision bytes for a NaN
I'm curious about your use case.
For what purpose and how do you want to use it?
nobu (Nobuyoshi Nakada)
03:18 AM Bug #20671 (Closed): Do not show "unused block" warning on `send`
Matz accepted this idea so now I merged it.
ko1 (Koichi Sasada)
03:17 AM Revision d5afa2cc (git): do not show unused block on `send`
Some case it is difficult to know the calling method uses a block
or not with `send` on a general framework. So this ...
ko1 (Koichi Sasada)
01:48 AM Revision eedf6c35 (git): Revert change of "mingw-ucrt" platform string
... of commit 00176cd40fe9f385231e9c20b956fc4a84d240b9.
The reverted change was made only for constistency, as discu...
Lars Kanis
01:28 AM Revision 00e2e24e (git): Launchable: Fix condition for bootstraptest
ono-max (Naoto Ono)
 

Also available in: Atom