Activity
From 08/20/2024 to 08/26/2024
08/26/2024
-
06:08 PM Bug #20700 (Feedback): `warn_cr_in_shebang()` doesn't fire if there's no `\n`
- The `warn_cr_in_shebang()` function looks for `\r\n` together, but the `\r` should emit a warning, regardless if ther...
-
04:53 PM Feature #11273 (Closed): [PATCH] Make it possible to `load` from a FIFO file
- Closing as we carry a test since commit:bc8687acd62584bf2ba9a951289f3f25a4de7229 that exercises this functionality.
-
04:13 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
- I think that makes sense, as an opposite of `take_while`:
* `take_while` takes all elements until the block returns ... -
12:38 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
- IMO `take_until` shouldn't include the element. So the OP example should be:
```rb
Enumerator.produce(3, &:pred).ta... -
12:14 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
- One issue with `take_until` is: does it include the element for which it yielded `true`?
In the description example ... -
01:56 PM Misc #20660: DevMeeting-2024-09-05
- * [Feature #20594] A new String method to append bytes while preserving encoding (byroot)
* Continuation from previ... -
09:07 AM Feature #20692: Rewrite Array#bsearch in Ruby
- `find_minimum_mode = finder || !finder` isn't this always true?
-
06:59 AM Bug #20699 (Open): On Windows, the `__dir__` keyword is garbled in paths containing Japanese characters, and `require_relative` fails as well
- In paths containing Japanese characters, such as:
C:\γγΉγ_test\test.rb
Code:
``` ruby
# this code -> C:\γγΉγ_... -
02:37 AM Bug #20690: URI.encode_www_form_component method escapes tilde when it's not supposed to
- I labeled it as a bug, but maybe it's more of a feature request..? sorry if I'm getting it wrong.
I have also crea...
08/25/2024
-
06:24 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
- > These options should take callables in this proposal. Procs and Methods certainly meet the condition: "Any value th...
-
06:14 PM Feature #18368: Range#step semantics for non-Numeric ranges
- Here we go: https://github.com/ruby/ruby/pull/11454
In the absence of further discussion, I went with option (3): ... -
01:22 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- `-C` option arguments are cumulative and can be relative paths.
I don't think `ruby -C subdir -e 'exec(*Process.argv... -
01:08 PM Feature #19057: Hide implementation of `rb_io_t`.
- OK, unless `FMODE_EXTERNAL` is given `descriptor` will be closed when a new object could not be allocated.
I thought... -
08:41 AM Feature #19057: Hide implementation of `rb_io_t`.
- I found `rb_io_open_descriptor` is a bad design, it can results in FD-leaks, because a file descriptor isn't a Ruby o...
-
06:14 AM Bug #20694 (Third Party's Issue): "try to mark T_NONE object" error for very large hash
- Yep, it's a bug in `ffi` or a gem using `ffi`.
-
02:14 AM Bug #20694: "try to mark T_NONE object" error for very large hash
- Looking at the backtrace, looks like it's coming from the ffi gem. The problem seems to have been fixed here:
https:... -
02:05 AM Bug #20694: "try to mark T_NONE object" error for very large hash
- This is the complete backtrace: https://gist.github.com/ngan/0e81cf7a4d822e46aab12acbadd10765
Sorry for the delay! -
03:13 AM Bug #20698: Please backport fix for CVE-2024-43398
- ruby_3_2 commit:3a3784a197383046537e66a9c567b96a52f0f86f merged revision(s) commit:29500e3034681a30045dea462d6bb653e8...
-
03:10 AM Bug #20698 (Closed): Please backport fix for CVE-2024-43398
08/24/2024
-
11:17 PM Bug #20680 (Closed): No "void context" warning for literals/etc. in ensure block
- Applied in changeset commit:git|620ce3807b51e126bfb41b9b87ff7b33584058f2.
----------
[Bug #20680] `ensure` block is ... -
10:04 PM Bug #20694: "try to mark T_NONE object" error for very large hash
- Ah yes, I meant hash.
Iβll upload the full back trace when Iβm back online later today. -
09:47 PM Bug #20694: "try to mark T_NONE object" error for very large hash
- > very large arrays
You mean hashes right?
This smells like a missing write barrier in the compiler or iseq loa... -
08:08 AM Bug #20698 (Closed): Please backport fix for CVE-2024-43398
- This is similar request to #20667, but since that was already partially done, I have decided to open new ticket
-
01:53 AM Feature #20625: Object#chain_of
- @matz since we don't have a `not_nil?` method, what do you think about adding a `take_until` method to Enumerable or ...
08/23/2024
-
11:45 PM Bug #20693: Dir.tmpdir should perform a real access check before warning about writability
- I did think about this, but the way the stat methods work is that the `stat(2)` syscall once on the path and returns ...
-
05:59 PM Bug #20693: Dir.tmpdir should perform a real access check before warning about writability
- What about changing/fixing `stat.writable?` to behave like `File.writable?`
It seems to me a source of confusion and ... -
06:26 AM Bug #20693: Dir.tmpdir should perform a real access check before warning about writability
- I have a PR for doing this: https://github.com/ruby/ruby/pull/11403
But actually it breaks Bundler's tests, becaus... -
11:42 PM Bug #20697 (Open): `Rational("1r")` fails while `Complex("1i")` succeeds
- @mame reported:
```ruby
Rational("1r") #=> invalid value for convert(): "1r" (ArgumentError)
```
https://gith... -
11:35 PM Bug #20696 (Open): `IO.read` ignores `err:` option
- I expected the following code captures the error message, but `err:` option is ignored.
```shell-session
$ ruby -... -
10:48 PM Bug #20691 (Closed): Use-after-free in WeakKeyMap#clear
- Applied in changeset commit:git|552f5cd50c8b622294e2dc87a73eb9e1102d78a0.
----------
Fix use-after-free in WeakKeyMa... -
05:43 PM Bug #20691: Use-after-free in WeakKeyMap#clear
- I opened a backport PR to 3.3: https://github.com/ruby/ruby/pull/11443
-
10:03 PM Bug #20695 (Closed): Elevated GC allocations in parse.y parser
- Testing on the `lobsters` benchmark from [`yjit-bench`](https://github.com/shopify/yjit-bench), the latest `master` p...
-
02:19 AM Feature #20673: Enable native SOCKS support by default
- Enabling SOCKS support depends `SOCKS_SERVER` too now, I think it is unusual.
So I agree to enable by default.
I ... -
12:50 AM Bug #20694: "try to mark T_NONE object" error for very large hash
- Can you share the full backtrace, not only "Control frame information" section but also "C level backtrace informatio...
-
12:22 AM Bug #20694 (Third Party's Issue): "try to mark T_NONE object" error for very large hash
- In CI, we've been occasionally seeing `[BUG] try to mark T_NONE object`. I don't have any way to reproduce it but I'm...
08/22/2024
-
11:32 PM Bug #20693 (Closed): Dir.tmpdir should perform a real access check before warning about writability
- The code in `Dir.tmpdir` attempts to warn the user if their temp directory is deficient for some reason:
```ruby
... -
09:04 PM Feature #20692 (Open): Rewrite Array#bsearch in Ruby
- inspired by https://bugs.ruby-lang.org/issues/20182
# Proporsal
Rewrite Array#bsearch
```ruby
class Array
... -
08:43 PM Feature #18368: Range#step semantics for non-Numeric ranges
- matz (Yukihiro Matsumoto) wrote in #note-31:
> It seems this change breaks step over string ranges (e.g. `"a".."z").... -
01:04 PM Feature #18368: Range#step semantics for non-Numeric ranges
- @mame It doesnβt take long, but Iβll have time for that on the weekend (most probably Sunday).
I hope that some cl... -
01:02 PM Feature #18368: Range#step semantics for non-Numeric ranges
- @zverok Please fix the incompatibility first before having such a discussion. If it takes long, I will have to revert...
-
06:44 AM Feature #18368: Range#step semantics for non-Numeric ranges
- @matz I can certainly implement the specialization, but just to clarify: are there any evidence that people use `("a"...
-
03:11 AM Feature #18368: Range#step semantics for non-Numeric ranges
- If we take this compatibility as important and go with it, should we give up `("a".."aaaa").step("a")` or support it?
-
02:44 AM Feature #18368: Range#step semantics for non-Numeric ranges
- We have little choice but to specialize it for strings as we don't want to add support for `"a" + 3` that will most c...
-
01:29 AM Feature #18368 (Open): Range#step semantics for non-Numeric ranges
- It seems this change breaks step over string ranges (e.g. `"a".."z").step(3)`). We need to handle string ranges speci...
-
07:26 PM Bug #20688: Use-after-free in WeakMap and WeakKeyMap
- I opened a PR to backport to Ruby 3.3: https://github.com/ruby/ruby/pull/11439
-
02:02 PM Bug #20688 (Closed): Use-after-free in WeakMap and WeakKeyMap
- Applied in changeset commit:git|df9a6aa94330cbf414afcd957d1b87defc67e1c5.
----------
Fix WeakMap use-after-free
[Bu... -
04:05 PM Bug #20691 (Closed): Use-after-free in WeakKeyMap#clear
- GitHub PR: https://github.com/ruby/ruby/pull/11437
If the WeakKeyMap has been marked but sweeping hasn't started y... -
10:24 AM Misc #20013: Travis CI status
- jaruga (Jun Aruga) wrote in #note-37:
> I am seeing Travis infra errors. It started at least since 13th August 2024 ... -
09:11 AM Misc #20013: Travis CI status
- Sent a PR to allow failures for ppc64le/s390x on ruby/prism.
https://github.com/ruby/prism/pull/3005
-
09:10 AM Misc #20013: Travis CI status
- I am seeing Travis infra errors. It started at least since 13th August 2024 until now. Now the errors only happen on ...
-
09:33 AM Bug #20690 (Rejected): URI.encode_www_form_component method escapes tilde when it's not supposed to
- ## Problem
As the title says, `Uri.encode_www_form_component` is escaping tilde (`~`) where it should not according... -
08:03 AM Bug #20682: Slave PTY output is lost after a child process exits in macOS
- @akr
I'd appreciate any ideas you may have. -
08:00 AM Bug #20682: Slave PTY output is lost after a child process exits in macOS
- Here is the summary that we know so far.
## Current PTY's behavior
The slave PTY output is lost after a child p... -
07:54 AM Bug #20682: Slave PTY output is lost after a child process exits in macOS
- @mame and I have noticed that there is a problem in the workaround solution: https://github.com/ruby/ruby/pull/11404
... -
08:03 AM Bug #20586: Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted
- jeremyevans0 (Jeremy Evans) wrote in #note-11:
>
> I've submitted a pull request to add error checking to `getlogi... -
07:35 AM Bug #20677 (Closed): error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
- Applied in changeset commit:git|86c2724e75375ceb165c378ed4261c551136e593.
----------
Don't emit ELF notes on non-ELF... -
05:27 AM Bug #20689 (Open): TestInvokeVerb#test_invokeverb has warnings on Windows
- `make test-all TESTS="test/win32ole/test_folderitem2_invokeverb.rb"` shows the following warnings.
```
2024-08-22...
08/21/2024
-
10:52 PM Bug #20586: Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted
- jeremyevans0 (Jeremy Evans) wrote in #note-10:
> ivoanjo (Ivo Anjo) wrote in #note-9:
> > The only (potential?) iss... -
09:46 PM Bug #20687 (Open): Does tarball require baseruby?
-
10:14 AM Bug #20687: Does tarball require baseruby?
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> In that case, the system ruby is used to re-check encoding sources and u... -
09:12 AM Bug #20687 (Closed): Does tarball require baseruby?
- Applied in changeset commit:git|6ab591f80aa19d63ecd1e1df3c09c391efb318a6.
----------
[Bug #20687] Check if base ruby... -
03:14 AM Bug #20687: Does tarball require baseruby?
- Thanks for looking into this, @hsbt and @nobu! β€οΈ
-
03:06 AM Bug #20687: Does tarball require baseruby?
- In that case, the system ruby is used to re-check encoding sources and update encdb.h if needed.
Encodings under enc... -
02:09 AM Bug #20687 (Closed): Does tarball require baseruby?
- From https://github.com/rbenv/ruby-build/issues/2435
I'm wondering why tarball use system ruby with above environm... -
02:05 PM Bug #20688 (Closed): Use-after-free in WeakMap and WeakKeyMap
- GitHub PR: https://github.com/ruby/ruby/pull/11421
We cannot free the weakmap_entry before the ST_DELETE because i...
08/20/2024
-
06:17 AM Misc #20683 (Closed): Propose @ono-max as a committer
- I've finished account setup for ono-san.
-
04:29 AM Misc #20683: Propose @ono-max as a committer
- @hsbt
Yes. I sent the email to the address. -
03:23 AM Misc #20683: Propose @ono-max as a committer
- @ono-max Can you give Required and Optional information of https://github.com/ruby/ruby/wiki/Committer-How-To#how-to-...
-
02:00 AM Bug #20679 (Closed): Rails CI errors since abc04e898b627ab37fa9dd5e330f239768778d8b
- Applied in changeset commit:git|ea7ceff82cec98d0c419e9807dcb33dcc08b56fa.
----------
Avoid hash allocation for certa...