Activity
From 05/12/2023 to 05/18/2023
05/18/2023
-
11:42 PM Bug #19680: test_process.rb tests fail sometimes on FreeBSD
- Apologies, I accidentally submitted the issue while I was still writing it, just editing the issue to provide some de...
-
11:41 PM Bug #19680 (Closed): test_process.rb tests fail sometimes on FreeBSD
- I've been investigating the repeated failures of test_process.rb on FreeBSD on rubyci. I'm still working on it but I ...
-
08:28 PM Feature #19642: Remove vectored read/write from `io.c`.
- I understand the concern of copying the `iovec`, but it seems like the overhead of making N calls to `write` would at...
-
03:26 PM Feature #19642: Remove vectored read/write from `io.c`.
- I would like to do a more comprehensive review of performance, but it seems minimal, even in the best possible circum...
-
03:12 PM Feature #19642: Remove vectored read/write from `io.c`.
- https://github.com/ruby/ruby/pull/7825
-
07:20 PM Bug #19386: `test_hmac.rb` of openssl is timeout on RHEL9
- RHEL 9.2 was released. The openssl RPM (maybe version 3.0.7. I haven't checked it by myself) on RHEL 9.2 should fix t...
-
07:00 PM Revision cfb79973 (git): [ruby/irb] Refactor RubyLex's input/io methods
- (https://github.com/ruby/irb/pull/583)
1. Make `RubyLex#set_input` simply assign the input block. This matches
th... -
06:51 PM Misc #19679 (Closed): Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
- # Background
There is currently a Wiki at https://bugs.ruby-lang.org/projects/ruby/wiki which contains documentati... -
04:17 PM Revision d74b32db (git): change to test/objectspace, don't rely on Object's shape not being "too complex"
-
04:05 PM Revision 0c3f6992 (git): Introduce gc_mark_table macro
-
02:34 PM Bug #595 (Closed): Fiber ignores ensure clause
- https://github.com/ruby/ruby/commit/2df5a697e2726a11f0441b13fb5c73dd549837c8
- 02:33 PM Revision 2df5a697 (git): Add Fiber#kill, similar to Thread#kill. (#7823)
-
01:21 PM Feature #19610: GC.delay_promotion
- I opened #19678.
-
06:14 AM Feature #19610: GC.delay_promotion
- Should we edit the title or open another ticket?
-
01:20 PM Feature #19678 (Closed): Don't immediately promote children of old objects
- This is an alternate proposal to #19610 where the feature is not configurable and always enabled.
GitHub Pull Requ... -
04:39 AM Feature #19634: Pattern matching dynamic key
- Some actual examples of dynamic key matching in Elixir: https://github.com/search?q=%2F%25%5C%7B%5C%5E%2F+&type=code
-
04:28 AM Feature #19634: Pattern matching dynamic key
- FWIW, Elixir actually supports it, but I don't recall seeing it used in the wild
``` elixir
map = %{mentor_name: "Jo... -
03:41 AM Feature #19634: Pattern matching dynamic key
- Probably, you are proposing `mentor_proposals in ^mentor_name => [*, ^mentee_name, *]`. I still cannot imagine the ca...
-
03:44 AM Bug #19677 (Closed): Failed to build ruby from the source code when following the guide
-
03:30 AM Bug #19677: Failed to build ruby from the source code when following the guide
- After the first successful build, I couldn't reproduce the build failure noted above.
In addition to it, the build j... -
02:39 AM Bug #19677 (Closed): Failed to build ruby from the source code when following the guide
- I followed the document "Building Ruby" (doc/contributing/building_ruby.md) and got build errors.
At the step of "5.... -
03:28 AM Revision b695f58d (git): [ruby/irb] Print deprecation warning for `help` command
- (https://github.com/ruby/irb/pull/567)
* Give show_doc its own command class
* Print deprecation warning for `help`... -
02:39 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- > now addressed with packwerk from what I understand.
Ah, not exactly (or at least not entirely), but that's anoth...
05/17/2023
-
05:14 PM Feature #12165: Hash#first, Hash#last
- nobu (Nobuyoshi Nakada) wrote in #note-5:
> Although I've not thought about `Hash#last`, once when `st_table` got ke... -
01:37 AM Feature #12165: Hash#first, Hash#last
- Although I've not thought about `Hash#last`, once when `st_table` got keeping the insertion order I proposed `Hash#re...
-
03:38 PM Feature #19610: GC.delay_promotion
- In the developer meeting in Matsumoto, we discussed this ticket. We agreed that making this feature configurable make...
-
01:19 PM Revision cea9c30f (git): Move ar_hint to ar_table_struct
- This allows Hashes with ST tables to fit int he 80 byte size pool.
-
01:19 PM Revision 0938964b (git): Implement Hash ST tables on VWA
-
01:19 PM Revision 5199f2aa (git): Implement Hash AR tables on VWA
-
08:45 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- Yeah, I understand.
I also have the feeling that you are using an autoloader just because it allows you to plug in... -
08:04 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- Thanks, that makes sense.
In one way we're not far apart. In another, though, I think we still are, because the diff... -
04:42 AM Revision 264ba0f8 (git): [ruby/irb] Fix Test timedout in test_debug_cmd
- (https://github.com/ruby/irb/pull/582)
* Suppress Reline::IOGate.cursor_pos writing escape sequence in test_debug_cm... -
02:03 AM Bug #18743: Enumerator#next / peek re-use each others stacktraces
- Seems find to me.
One thing I concerned, `stop_exc` will be re-created every times, and no way to know where it was ...
05/16/2023
-
07:02 PM Feature #12165: Hash#first, Hash#last
- @nobu Since you commented recently, what do you think about about a performant Hash#last(n=1) and a related performan...
-
06:41 PM Feature #19644 (Rejected): Module::current to complement Module::nesting
- Module::current == Module::nesting[0] but without needlessly walking the entire nesting hierarchy.
Could be useful... -
01:03 PM Bug #18743: Enumerator#next / peek re-use each others stacktraces
- Hey again, @ko1. This is just a reminder that the patch is pushed to Github and is waiting for a decision.
Best,
... -
11:11 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- For example, if you tell me: I have devised this anonymous namespace manager (external to Zeitwerk, in principle) to ...
-
10:19 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- > If I understand correctly, you would not be against, say, a format whereby the file explicitly set its toplevel as ...
-
09:28 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- > Our main discrepancy is that I don't like implicit nesting. I want you to open a file and see what it defines.
Agr... -
05:50 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- > Concretely speaking, look at rails_on_im for an example. Here, I made some changes to Rails setup to replace Zeitwe...
-
10:09 AM Bug #14387 (Closed): Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- Ruby 2.5 is EOL today. I'll close this.
If you have this issue with Ruby 3.2, please file it with another issue. T... -
09:54 AM Misc #19581 (Closed): Will Openssl 1.1.x fully support for Ruby3.1 throught the life time of Ruby3.1?
-
08:42 AM Misc #19608 (Closed): Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
- Thank you. If you have any issue, please notify me.
-
08:20 AM Bug #4173: TestProcess#test_wait_and_sigchild が、たまに失敗する
- So I noticed the FreeBSD process tests failed a few times - looking at it today/tomorrow. I also actually managed to ...
-
06:58 AM Feature #19643 (Closed): Direct primitive compare sort for Array#sort_by
- Also see https://github.com/ruby/ruby/pull/7805
# Introduction
In most of case sort_by works on primitive type.... - 03:49 AM Revision 4d1ca2e1 (git): Ensure SIGCHLD always uses a signal handler. (#7819)
-
03:20 AM Bug #11582 (Closed): On Solaris, Rational#** returns -Infinity for Rational(0) when passed a negative Float
- This issue is solved by [Misc #15347].
In the C99 spec, The behavior of pow(3) in corner cases are clearly defined...
05/15/2023
- 09:49 PM Revision 00521320 (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.75 to 0.9.77.
- [Release notes](https://github.com/oxid... -
06:52 PM Revision 89451434 (git): [wasm] Allocate asyncify buffer on heap to save stack usage
- 02:14 PM Revision ab7bb38a (git): Remove explicit SIGCHLD handling. (#7816)
- * Remove unused SIGCHLD handling.
* Remove unused `init_sigchld`.
* Remove unnecessary `#define RUBY_SIGCHLD (0)`.
... -
01:36 PM Revision bab9966b (git): [DOC] Fix a link [ci skip]
-
01:06 PM Feature #19572: Add a new TracePoint event for rescued exceptions
- We discussed this at the [RubyKaigi dev-meeting](https://bugs.ruby-lang.org/issues/19599) as a topic and I also did a...
-
12:47 PM Misc #19608: Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
- Thank you for discussing the topic in the meeting.
I started to work as a co-maintainer of the ruby/openssl for the ... -
10:10 AM Revision 3fe45a31 (git): Process parse.y without temporary files
-
10:01 AM Revision 41dccb6a (git): Lrama v0.5.0 (#7814)
-
06:33 AM Feature #19642 (Closed): Remove vectored read/write from `io.c`.
- https://github.com/socketry/async/issues/228#issuecomment-1546789910 is a comment from the kernel developer who tells...
-
06:12 AM Revision c7067ed1 (git): Use the rb_sys_fail_str macro in signal.c
- Let signal.c include "internal/error.h" explicitly to ensure that the
identifier rb_sys_fail_str in signal.c refers t... -
05:08 AM Bug #19635: errno may be overwritten by rb_sprintf if it triggers GC
- Thank you, I missed it.
Please update the dependency in common.mk too. -
04:37 AM Bug #19635: errno may be overwritten by rb_sprintf if it triggers GC
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> Applied in changeset commit:git|e3385f87831f036eaba96558cb4d83c8d5c43901... -
04:37 AM Bug #4173 (Closed): TestProcess#test_wait_and_sigchild が、たまに失敗する
- Applied in changeset commit:git|8bd4d8867a0222a3c30a0c7ee1f69b06baa8e91a.
----------
Unskip the test skipped in #417... -
04:36 AM Bug #4173: TestProcess#test_wait_and_sigchild が、たまに失敗する
- Just to clarify, there was an unexpected issue with my PR, but only a small part of it was reverted due to some unexp...
- 04:37 AM Revision 8bd4d886 (git): Unskip the test skipped in #4173 (#7809)
- This test was skipped 12 years ago because it was flaky on FreeBSD and
OpenBSD. Since then, Ruby's SIGCHLD handling h... - 03:41 AM Revision d9033d37 (git): Bump ruby/setup-ruby from 1.148.0 to 1.149.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.148.0 to 1.149.0.
- [Release notes](https://github... -
02:47 AM Feature #19641 (Open): Allow setting OpenSSL::SSL::SSLContext in Net::HTTP
- [Abstract]
Allow setting OpenSSL::SSL::SSLContext in Net::HTTP.
[Background]
The current implementation of Net::... -
02:15 AM Bug #19640 (Closed): `IO#puts` can generate zero length iov which can cause rb_bug crash.
-
02:14 AM Bug #19640: `IO#puts` can generate zero length iov which can cause rb_bug crash.
- Merged in https://github.com/ruby/ruby/commit/0b2613f44309bddae45562c9f3a14ed43e56959b
-
01:08 AM Bug #19640: `IO#puts` can generate zero length iov which can cause rb_bug crash.
- I added a test, without the patch, it crashes:
```
> make test-all TESTS=test/fiber/test_io.rb
sed 's/{\$([^(){}... - 02:13 AM Revision 0b2613f4 (git): `rb_io_puts` should not write zero length strings. (#7806)
05/14/2023
-
02:24 PM Bug #19025 (Closed): Ripper cannot parse syntax ok code that has numbered parameters
- Applied in changeset commit:git|91c004885fc75a93cadf0094fa86ec3bd0ec25f5.
----------
[Bug #19025] Numbered parameter... -
01:25 PM Feature #19294: Enumerator.product works incorrectly with consuming enumerators
- Perhaps `#rewind` could be called, but (IMO) that shouldn't be the default either. Two kwargs?
```ruby
Enumerator.... -
05:33 AM Feature #19294: Enumerator.product works incorrectly with consuming enumerators
- @headius and I discussed this. We don't think it is possible to get the output requested without keeping all enumera...
-
01:16 PM Revision 91c00488 (git): [Bug #19025] Numbered parameter names are always local variables
-
11:47 AM Bug #19640 (Closed): `IO#puts` can generate zero length iov which can cause rb_bug crash.
- In the fiber scheduler, `IO#puts ""` or `IO#puts nil` can generate a zero length `iov` which causes `io_binwritev_int...
-
11:05 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- > The question was: If `/foo` is a root directory, and you want to associate to it an anonymous module as custom name...
-
10:26 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- The question was: If `/foo` is a root directory, and you want to associate to it an anonymous module as custom namesp...
-
03:47 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- I wrote:
> I personally do not believe this is necessary.
In fact, I realized this is not quite complete. I don't w... -
02:24 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- > Let's talk anonymous namespaces for a moment in Zeitwerk. If you could assign an anonymous namespace to `/foo` in Z...
-
10:53 AM Bug #19632: Disable external iterator for frozen enumerator
- +1. And yes peek can have side effect so should be considered mutating method.
-
12:41 AM Bug #19632: Disable external iterator for frozen enumerator
- If a result value is not stored, `peek` invokes the iterator and stores it in its internal state. For that reason, I ...
-
10:46 AM Bug #19639 (Feedback): Escaped newline literals in Regexp are ignored in extended / free-spacing mode
- I don’t think it is a bug, because a backslash at the end of line is line concatenation and those two chars are dropp...
-
10:08 AM Bug #19639 (Feedback): Escaped newline literals in Regexp are ignored in extended / free-spacing mode
- When we want to match whitespace with a Regexp that uses the x-flag, we can do that with escaped literal whitespace:
... -
10:09 AM Bug #4173: TestProcess#test_wait_and_sigchild が、たまに失敗する
- I had a bit of a look at this and I don't think it's a problem anymore.
This test was skipped 12 years ago because... -
06:38 AM Revision bdaa4915 (git): Add user argument to some macros used by bison
-
06:38 AM Revision 3150516a (git): Preprocess input parse.y from stdin
-
05:36 AM Bug #5334 (Closed): Segmentation fault in InternetExplorer IServiceProvider interface
-
05:17 AM Revision edca57e6 (git): [wasm] Fix `unreachable` error during printing setjmp trace message
-
05:12 AM Bug #18933: Dir.tmpdir implemented in non-Ractor-safe manner
- Why not just put this in a private constant? I believe that would be Ractor-safe and it would make more sense than a ...
-
04:44 AM Feature #18258 (Closed): Ractor.shareable? can be slow and mutates internal object flags.
- @headius and I discussed this and we agree it is not a bug, though potentially the situation could be improved. You ...
-
04:22 AM Bug #17680 (Closed): tab completion no longer works on irb3.0
- This change from 2.5 is expected due to differences between reline and readline. As readline has been removed from s...
-
04:12 AM Bug #17664 (Closed): Behavior of sockets changed in Ruby 3.0 to non-blocking
-
03:58 AM Bug #16959 (Rejected): Weakmap has specs and third-party usage despite being a private API
- WeakMap has now been in the wild with documentation and specs for several years, so I think it has become a de-facto ...
-
03:22 AM Bug #11531 (Rejected): IPAddr#== implements wrong logic
-
03:01 AM Bug #5179: Complex#rationalize and to_r with approximate zeros
- I've explored the behaviour here a bit, and I think I do believe that `0.0` really does represent the concept of "zer...
-
01:32 AM Revision b632566f (git): Introduce anddot_multiple_assignment_check function
05/13/2023
-
02:14 PM Bug #19632: Disable external iterator for frozen enumerator
- `peek` does not seem to modify the enumerator? Should we prohibit it (or not)?
-
07:56 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- @shioyama ahhh, I see what you mean now re the sentiment.
So, yes, if someone asks my personal opinion about modif... -
06:01 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- Thanks @fxn for your reply! I was going to update this, but I brought it up at the recent [Dev Meeting](https://bugs....
- 06:59 AM Revision cee69037 (git): Update bundled gems list at 2023-05-13
-
05:54 AM Revision 38ef5f7b (git): Introduce math_arc macro
-
02:21 AM Revision 5f411b9b (git): [rubygems/rubygems] Bump up thor-1.2.2
- https://github.com/rubygems/rubygems/commit/d9a003b4e7
-
01:07 AM Revision 30326844 (git): fix wording of spec description [ci skip]
-
01:04 AM Revision 93dd13d9 (git): Remove warnings and errors in `regexec.c` with `ONIG_DEBUG_...` macros (#7803)
-
12:59 AM Misc #16512: Improving `www.ruby-lang.org` reference by merging with `rubyreferences.github.io`
- I discussed this with @ufuk. We will work this to forward.
05/12/2023
-
11:24 PM Feature #10602: Support multithreaded profiling
- PR to implement this being discussed in https://github.com/ruby/ruby/pull/7784
-
10:21 PM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- Oh, regarding TracePoint.
First of all, let me stress that Ruby core confirmed the specific usage of TracePoint made... -
09:57 PM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
- Hey, sorry for not replying earlier, for some reason messages from Redmine often end up in my spam folder.
> I know ... -
09:36 AM Bug #19635 (Closed): errno may be overwritten by rb_sprintf if it triggers GC
- Applied in changeset commit:git|e3385f87831f036eaba96558cb4d83c8d5c43901.
----------
[Bug #19635] Preserve `errno`
... -
09:36 AM Revision c803e92d (git): Return `errno` as the result instead of the global variable
-
09:36 AM Revision 30d72056 (git): Add `rb_sys_fail_sprintf` macro
-
09:36 AM Revision e3385f87 (git): [Bug #19635] Preserve `errno`
- The following functions are turned into macros and no longer can be
used as expressions in core.
- rb_sys_fail
- rb_s... -
09:29 AM Feature #19637 (Closed): Use Lrama LALR parser generator instead of Bison
- I merge https://github.com/ruby/ruby/pull/7798 then close this ticket.
-
05:12 AM Feature #19637: Use Lrama LALR parser generator instead of Bison
- Sounds great. We will no longer suffer bison compatibility issues.
Matz. -
09:25 AM Revision a1b01e77 (git): Use Lrama LALR parser generator instead of Bison
- https://bugs.ruby-lang.org/issues/19637
Co-authored-by: Nobuyoshi Nakada <[email protected]> -
08:15 AM Revision d314fe42 (git): Revert "Don't call action-slack if SLACK_WEBHOOK_URL is not set"
- This reverts commit 223a79e6830ca9c3619258ac00eebffb7754a0a1.
-
07:22 AM Misc #19353 (Closed): Drop gcc <= 6 and clang <= 9
- Applied in changeset commit:git|27a21ad201b04f9af6c206836b4c7543fb69a1e7.
----------
give up checking old compilers
... -
07:22 AM Revision 27a21ad2 (git): give up checking old compilers
- These old compilers needed old OSes, which are getting EODed. We
cannot maintain healthy binary of them (building co... -
06:40 AM Revision 223a79e6 (git): Don't call action-slack if SLACK_WEBHOOK_URL is not set
- For a PR, SLACK_WEBHOOK_URL is not set
-
05:15 AM Revision b742fb02 (git): [DOC] Update how to run tool/enc-unicode.rb
-
04:18 AM Bug #19168: "such file" is bad grammar
- "No such file" is proper English, while "cannot load such file" is not. It seems like this message was written by a ...
Also available in: Atom