Project

General

Profile

Activity

From 11/11/2022 to 11/17/2022

11/17/2022

11:19 PM Revision cb4c89e0 (git): Fix quoting of code in `NEWS.md`.
Samuel Williams
10:50 PM Revision ea8a7287 (git): Add support for `sockaddr_un` on Windows. (#6513)
* Windows: Fix warning about undefined if_indextoname()
* Windows: Fix UNIXSocket on MINGW and make .pair more relia...
Samuel Williams
10:02 PM Revision 4e4b29b1 (git): YJIT: Make the code GC test stabler
The first `add_pages` call shouldn't hit Code GC yet; otherwise
`compiles` returns false. With the increased code siz...
k0kubun (Takashi Kokubun)
08:59 PM Revision c80edc9f (git): YJIT: Add object shape count to stats (#6754)
k0kubun (Takashi Kokubun)
08:10 PM Feature #19135: Support `UNIXSocket` on Windows
PR: https://github.com/ruby/ruby/pull/6513 ioquatix (Samuel Williams)
08:09 PM Feature #19135 (Closed): Support `UNIXSocket` on Windows
In recent versions of Windows, the required parts are now supported: https://devblogs.microsoft.com/commandline/af_un... ioquatix (Samuel Williams)
08:10 PM Misc #12474: Wishlist for Windows Unix compatibility features
UNIXSocket is implemented in https://bugs.ruby-lang.org/issues/19135 ioquatix (Samuel Williams)
07:43 PM Revision 4b29eb17 (git): Fix indentation of switch statement in shape.c
peterzhu2118 (Peter Zhu)
07:31 PM Revision 3f3a5391 (git): YJIT: Add missing key for non-stats build
k0kubun (Takashi Kokubun)
06:58 PM Revision 0446d961 (git): YJIT: Fix typo in stats references (#6753)
k0kubun (Takashi Kokubun)
05:00 PM Bug #19133: mswin build - missing RbConfig::CONFIG['libdirname']
@nobu
Thanks. Exactly the same patch I started with, then changed to:
```ruby
libdirname = RbConfig::CONFIG.fet...
MSP-Greg (Greg L)
04:49 PM Bug #19133 (Feedback): mswin build - missing RbConfig::CONFIG['libdirname']
It may not exist.
Probably, this patch works?
```diff
diff --git a/spec/ruby/optional/capi/spec_helper.rb b/sp...
nobu (Nobuyoshi Nakada)
05:27 AM Bug #19133 (Feedback): mswin build - missing RbConfig::CONFIG['libdirname']
Key and value exists with Ubuntu & mingw/ucrt builds, missing in mswin build.
Noticed when locally run spec test (...
MSP-Greg (Greg L)
02:19 PM Revision 189e3c0a (git): Add default cases for cache point finding function
make_now_just (Hiroya Fujinami)
02:19 PM Revision 90bfac29 (git): Add OP_CCLASS_MB case
make_now_just (Hiroya Fujinami)
12:52 PM Revision a145a204 (git): [DOC] Update about `sec` argument of `Time.new`
nobu (Nobuyoshi Nakada)
12:28 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
nobu (Nobuyoshi Nakada) wrote in #note-11:
> At the developers meeting today, someone proposed something like this.
...
tomstuart (Tom Stuart)
12:05 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
At the developers meeting today, someone proposed something like this.
> ```ruby
> point = Point.new(**(Origin.to...
nobu (Nobuyoshi Nakada)
07:33 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
I'm seeing some overlap with "Object#with to set and restore attributes around a block" https://bugs.ruby-lang.org/is... p8 (Petrik de Heus)
09:57 AM Revision 7b1d23fd (git): Windows: Readlink improvements (#6745)
* Windows: Use readlink emulation for File.readlink
This fixes readlink emulation for the ERROR_MORE_DATA case and g...
Lars Kanis
09:30 AM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Feature #19134] `**` is not allowed in `def foo(...)`
* I believe `**` should be allowed, or both `*` and `&`...
shugo (Shugo Maeda)
05:00 AM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
This dev meeting has been postponed to 1st Dec. for various reasons.
If you have any topics you really want us to ...
mame (Yusuke Endoh)
09:27 AM Feature #19134 (Closed): ** is not allowed in def foo(...)
`*` and `&` are allowed in the body of a method with `...` argument forwarding, but `**` is not allowed.
```
def ...
shugo (Shugo Maeda)
09:12 AM Feature #18571: Removed the bundled sources from release package after Ruby 3.2
We should add the additional options and instructions to document or NEWS. hsbt (Hiroshi SHIBATA)
09:09 AM Bug #19132: `**` を引数に指定すると no anonymous keyword rest parameter になる
* UnboundMethod#parametersなどでは ** という変数名が見えている
* `DVAR@1:6-1:8 nil` で `**`を表現するよりは、`kwrest: (DVAR@1:6-1:8 :**)`で表現したほ...
yui-knk (Kaneko Yuichiro)
08:52 AM Bug #19132: `**` を引数に指定すると no anonymous keyword rest parameter になる
shugo (Shugo Maeda) wrote in #note-5:
> nobu (Nobuyoshi Nakada) wrote in #note-4:
> > `:**`に統一でいいのではないでしょうか。
>
>...
shugo (Shugo Maeda)
03:32 AM Bug #19132: `**` を引数に指定すると no anonymous keyword rest parameter になる
nobu (Nobuyoshi Nakada) wrote in #note-4:
> `:**`に統一でいいのではないでしょうか。
Rubyレベルで公開されている情報が `:**` なので私もそちらに合わせる方がよいように思...
shugo (Shugo Maeda)
03:23 AM Bug #19132: `**` を引数に指定すると no anonymous keyword rest parameter になる
`:**`に統一でいいのではないでしょうか。 nobu (Nobuyoshi Nakada)
08:17 AM Feature #19036: Provide a way to set path for File instances created with for_fd
It seems okay for `File.for_fd(fd, path: ...)` but I'm not sure `IO.for_fd(fd, path: ...)`. Maybe it affects only `#i... ko1 (Koichi Sasada)
06:42 AM Feature #18685 (Closed): Enumerator.product: Cartesian product of enumerables
https://github.com/ruby/ruby/pull/6197 has been merged for Ruby 3.2 hsbt (Hiroshi SHIBATA)
06:40 AM Bug #18281 (Closed): Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
```ruby
$ gem -v
3.4.0.dev
$ gem uninstall -aIx debug
Successfully uninstalled debug-1.4.0
Successfully uninstal...
hsbt (Hiroshi SHIBATA)
06:16 AM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
I'm +1 to https://bugs.ruby-lang.org/issues/18996#note-8 basically.
>And a new completion-specific API
```ruby
...
hsbt (Hiroshi SHIBATA)
04:53 AM Revision 71e668e6 (git): Update default gems list at c76909e551f0f60b7a354ab748ef1a [ci skip]
git[bot]
04:52 AM Revision c76909e5 (git): [ruby/irb] Bump up 1.4.3
https://github.com/ruby/irb/commit/1bddbbf602 hsbt (Hiroshi SHIBATA)
04:06 AM Revision 923c1aae (git): Drop Ruby 2.5 support
Because it has reached EOL for more than 1.5 years and it won't be
supported by the next reline version either.
st0012 (Stan Lo)
03:39 AM Revision e61b3e6f (git): [ruby/irb] Fix https://github.com/ruby/irb/pull/295: Ignore Java
package reference objects in
JRuby
https://github.com/ruby/irb/commit/84d030182d
byteit101 (Patrick Plenefisch)
12:30 AM Revision a777ec0d (git): YJIT: Shrink version lists after mutation (#6749)
k0kubun (Takashi Kokubun)

11/16/2022

11:48 PM Revision 3259aceb (git): YJIT: Pack BlockId and CodePtr (#6748)
k0kubun (Takashi Kokubun)
11:31 PM Revision 1b8236ac (git): YJIT: Add compiled_branch_count stats (#6746)
k0kubun (Takashi Kokubun)
11:30 PM Revision 6de4032e (git): YJIT: Stop wrapping CmePtr with CmeDependency (#6747)
* YJIT: Stop wrapping CmePtr with CmeDependency
* YJIT: Fix an outdated comment [ci skip]
k0kubun (Takashi Kokubun)
11:09 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Bug #19132] `**` with other keyword parameters causes "no anonymous keyword rest parameter" (shugo)
* RBS exp...
shugo (Shugo Maeda)
11:03 PM Bug #19132: `**` を引数に指定すると no anonymous keyword rest parameter になる
shugo (Shugo Maeda) wrote in #note-1:
> 内部的な変数名が変わってtest/ruby/test_ast.rbが失敗するようになったのでその部分は対処しましたが、この修正方法だと他にも問題があるか...
shugo (Shugo Maeda)
02:16 PM Bug #19132: `**` を引数に指定すると no anonymous keyword rest parameter になる
new_args_tail()でkw_argsがある時にANON_KEYWORD_REST_IDがローカル変数のテーブルから削られてしまうようです。
f_kwrestの値をinternal_idからANON_KEYWORD_REST...
shugo (Shugo Maeda)
05:15 AM Bug #19132 (Closed): `**` を引数に指定すると no anonymous keyword rest parameter になる
Ruby 3.2.0-preview3 で次のスクリプトを実行するとエラーになります。
```ruby
def hoge(a, *, k: nil, **)
foo(*, **)
end
```
```
% ru...
tommy (Masahiro Tomita)
06:32 PM Feature #19117: Include the method owner in backtraces, not just the method name
> Not all code follow a convention where classes map to files 1 to 1.
And that's why I wrote "usually/often", not "a...
Dan0042 (Daniel DeLorme)
05:01 PM Feature #19117: Include the method owner in backtraces, not just the method name
Dan0042 (Daniel DeLorme) wrote in #note-16:
> The owner is usually/often right there in the filepath
That's not t...
Eregon (Benoit Daloze)
04:57 PM Feature #19117: Include the method owner in backtraces, not just the method name
It must be the owner, anything else would be very confusing.
I believe nobody wants `String#then` (there is no such ...
Eregon (Benoit Daloze)
04:40 PM Feature #19117: Include the method owner in backtraces, not just the method name
> we're really talking about showing the owner or the receiver of the method?
My suggestion is for the owner. Simp...
byroot (Jean Boussier)
04:25 PM Feature #19117: Include the method owner in backtraces, not just the method name
I'd like to clarify if we're really talking about showing the *owner* or the *receiver* of the method?
```ruby
cl...
Dan0042 (Daniel DeLorme)
04:20 PM Feature #19117: Include the method owner in backtraces, not just the method name
+1 thanks for looking into this. Happy to help out as well, since I'm quite interested in it! :)
One case where I ...
ivoanjo (Ivo Anjo)
06:09 PM Revision 3eb7a652 (git): YJIT: Shrink the vectors of Block after mutation (#6739)
k0kubun (Takashi Kokubun)
06:08 PM Revision 05af4175 (git): YJIT: Show YJIT build option in RUBY_DESCRIPTION (#6738)
YJIT: Show YJIT profile in RUBY_DESCRIPTION k0kubun (Takashi Kokubun)
04:56 PM Bug #19115: RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
thomthom (Thomas Thomassen) wrote in #note-3:
> So, this isn't necessarily limited to macOS? It just happens to be t...
alanwu (Alan Wu)
01:25 PM Bug #19115: RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
So, this isn't necessarily limited to macOS? It just happens to be the configuration we're using on that platform? thomthom (Thomas Thomassen)
12:25 AM Bug #19115: RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
The issue is specific to extensions that are statically linked into the build in `--with-static-linked-ext`.
`autolo...
alanwu (Alan Wu)
02:47 PM Feature #19104: Introduce the cache-based optimization for Regexp matching
I created a pull request for the report. Thanks @byroot.
https://github.com/ruby/ruby/pull/6744
make_now_just (Hiroya Fujinami)
02:09 PM Feature #19104: Introduce the cache-based optimization for Regexp matching
Not sure if helpful, but after working around this bug, we realized that it wasn't just returning the wrong value.
...
byroot (Jean Boussier)
07:37 AM Feature #19104: Introduce the cache-based optimization for Regexp matching
I believe this change may have introduced a weird bug which is causing the `sass` gem to fail in unpredictable ways. ... byroot (Jean Boussier)
11:47 AM Revision 24cbc50c (git): Remove duplicate `.rbinc` on `.rb` dependencies
nobu (Nobuyoshi Nakada)
10:02 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
While it’s undeniable that this method duplicates its receiver in some sense, I’d like to add my support for the `#wi... tomstuart (Tom Stuart)
09:58 AM Revision 1f4f6c98 (git): Using UNDEF_P macro
S_H_ (Shun Hiraoka)
09:42 AM Revision dc1c4e46 (git): Clean extension build directories and exts.mk file
nobu (Nobuyoshi Nakada)
09:42 AM Revision be65cf53 (git): Remove `-j` option from `MFLAGS` for sub-makes
nobu (Nobuyoshi Nakada)
07:42 AM Revision fca50abb (git): Let mjit-bindgen use BASERUBY and bundle/inline (#6740)
k0kubun (Takashi Kokubun)
05:59 AM Revision cd2da094 (git): MJIT: Refactor BitField dereference a little
k0kubun (Takashi Kokubun)
05:34 AM Revision e7443dbb (git): Rewrite Symbol#to_sym and #intern in Ruby (#6683)
k0kubun (Takashi Kokubun)

11/15/2022

11:25 PM Feature #19068: Upgrades required Bison version for development
Thanks for sharing.
I think `brew install bison` is enough because the command install `[email protected]` now.
It seems ...
yui-knk (Kaneko Yuichiro)
03:02 PM Feature #19068: Upgrades required Bison version for development
Although because `bison` is only needed for development/non-release builds it's a smaller concern.
So then it's ne...
Eregon (Benoit Daloze)
02:52 PM Feature #19068: Upgrades required Bison version for development
@yui-knk Just installing bison is not enough on macOS:
https://github.com/ruby/ruby-dev-builder/actions/runs/3471482...
Eregon (Benoit Daloze)
02:50 PM Feature #19068: Upgrades required Bison version for development
This broke ruby-dev-builder: https://github.com/ruby/ruby-dev-builder/actions/runs/3464389673/jobs/5785863246
I'll t...
Eregon (Benoit Daloze)
11:23 PM Revision 41b0f641 (git): YJIT: Always encode Opnd::Value in 64 bits on x86_64 for GC offsets (#6733)
* YJIT: Always encode Opnd::Value in 64 bits on x86_64
for GC offsets
Co-authored-by: Alan Wu <alansi.xingwu@shopif...
k0kubun (Takashi Kokubun)
11:20 PM Revision 0d384ce6 (git): YJIT: Include actual memory region size in stats (#6736)
k0kubun (Takashi Kokubun)
10:50 PM Revision d1fb6595 (git): YJIT: Count getivar side exits by receiver flag changes (#6735)
k0kubun (Takashi Kokubun)
10:14 PM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
I think that a PR for a documentation change on this would probably be accepted. austin (Austin Ziegler)
08:57 PM Revision 1125274c (git): YJIT: Invalidate redefined methods only through cme (#6734)
Co-authored-by: Alan Wu <[email protected]>
Co-authored-by: Alan Wu <[email protected]>
k0kubun (Takashi Kokubun)
05:26 PM Revision 9751b549 (git): [ruby/irb] Improve testing infra
(https://github.com/ruby/irb/pull/442)
* Add test_in_isolation task to run tests in isolation
This simulates how te...
Stan Lo
03:44 PM Revision ac063fd4 (git): Depending on revision.h with VPATH
nobu (Nobuyoshi Nakada)
03:43 PM Misc #19098: Time#strftime: %z and width
I have checked on MacOS Monterey and Debian 11 (bullseye) (in Docker, if it matters) and received the same results li... andrykonchin (Andrew Konchin)
03:34 PM Bug #19087: String#to_c supports multiple "_"
Thank you! andrykonchin (Andrew Konchin)
03:33 PM Misc #19131 (Open): MatchData#values_at(): addressing with Range and Integer index behaves differently for the first element (entire matched string)
I've noticed a strange nuance and not sure whether it's intentional or not. In case it's intentional - it seems to me... andrykonchin (Andrew Konchin)
01:53 PM Revision 5dcbe588 (git): Fix buffer overrun in ivars when rebuilding shapes
In rb_shape_rebuild_shape, we need to increase the capacity when
capacity == next_iv_index since the next ivar will b...
peterzhu2118 (Peter Zhu)
12:31 PM Bug #18003: Rework internal IO to directly invoke scheduler with IO object.
> `rb_io_wait_readable`, `rb_io_wait_writable` and `rb_wait_for_single_fd` are
deprecated in favour of `rb_io_mayb...
Eregon (Benoit Daloze)
12:10 PM Feature #19119: Add an interface for out-of-process profiling tools to access Ruby information
Eregon (Benoit Daloze) wrote in #note-7:
> So basically there would be some core API to start profiling (and it woul...
kjtsanaktsidis (KJ Tsanaktsidis)
11:38 AM Feature #19119: Add an interface for out-of-process profiling tools to access Ruby information
kjtsanaktsidis (KJ Tsanaktsidis) wrote:
> This variable would be constantly kept populated with up-to-date informati...
Eregon (Benoit Daloze)
03:59 AM Feature #19119: Add an interface for out-of-process profiling tools to access Ruby information
Thank you for your feedback!
mame (Yusuke Endoh) wrote in #note-2:
> I understood this ticket as follows.
>
> ---
...
kjtsanaktsidis (KJ Tsanaktsidis)
11:19 AM Revision 36dc99af (git): Added empty class for test methods in TestIRB cases
hsbt (Hiroshi SHIBATA)
10:08 AM Revision aecb7f6e (git): [ruby/irb] Deprecate USE_RELINE and USE_REIDLINE
Based on this commit: https://github.com/ruby/irb/commit/93f87ec65344b44123b0150a5fc07de1fd4c80c4
It appears that th...
st0012 (Stan Lo)
10:08 AM Revision 34320d88 (git): [ruby/irb] Deprecate reidline flags
https://github.com/ruby/irb/commit/9957e83f7d st0012 (Stan Lo)
10:08 AM Revision 4f348e48 (git): [ruby/irb] Rename leftover Reidline references
https://github.com/ruby/irb/commit/0ed8b103ed st0012 (Stan Lo)
10:07 AM Revision 1eae1514 (git): [ruby/irb] Remove duplicated TestInputMethod definitions
https://github.com/ruby/irb/commit/4b831d02e1 st0012 (Stan Lo)
09:18 AM Feature #18951: Object#with to set and restore attributes around a block
I discussed this very quickly with @matz at RWC, and it seems the two main concerns are:
- `with` is seen as too...
byroot (Jean Boussier)
08:34 AM Revision 1a9e87fe (git): MJIT: Fix vm_cc_cme(cc).def.type to use bit field
access properly. Because the libclang node had two children, it wasn't
handled well by the pattern matching for the b...
k0kubun (Takashi Kokubun)
08:18 AM Revision f500ca9b (git): Handle more MJIT compilation failures
NotImplementedError is not part StandardError, for example. When that
kind of exception happens, current_cc_unit rema...
k0kubun (Takashi Kokubun)
08:15 AM Revision 2652bc35 (git): [ruby/racc] Update racc.gemspec
Updated homepage to https://github.com/ruby/racc Johnny Willemsen
07:39 AM Revision 69e47b7f (git): MJIT: Remove reference to ROBJECT_EMBED_LEN_MAX
maybe not used since some shape changes? k0kubun (Takashi Kokubun)
07:38 AM Revision d15d1c01 (git): Rename --mjit-min-calls to --mjit-call-threshold (#6731)
for consistency with YJIT k0kubun (Takashi Kokubun)
07:38 AM Bug #19113: Inconsistency in retention of compare_by_identity flag in Hash methods
I think `Hash[]` remains all keys on the new Hash so `compare_by_identity` should be remained.
ko1 (Koichi Sasada)
06:59 AM Revision c75de1e3 (git): [ruby/bigdecimal] Add fallback definition of MAYBE_UNUSED
https://github.com/ruby/bigdecimal/commit/b2123faa52 Kenta Murata
05:45 AM Revision c925a2ee (git): Update RSpec gems
deivid (David Rodríguez)
04:02 AM Revision 3c60e030 (git): [ruby/bigdecimal] Replace sprintf by snprintf
https://github.com/ruby/bigdecimal/commit/d6f5bb40c7 Kenta Murata
01:04 AM Revision e74d82f6 (git): Implement LDURH on Aarch64
When RUBY_DEBUG is enabled, shape ids are 16 bits. I would like to do
16 bit comparisons, so I need to load halfword...
tenderlovemaking (Aaron Patterson)
12:53 AM Revision 9228ae97 (git): Try to let dependabot maintain the version comment
It seems like dependabot supports updating the `# vX.Y.Z` comment.
The reason why I disabled this was that it failed ...
k0kubun (Takashi Kokubun)
12:48 AM Feature #19129 (Feedback): Radix_Sort for arrays of fixnums (implemented)
nobu (Nobuyoshi Nakada)
12:48 AM Feature #19129: Radix_Sort for arrays of fixnums (implemented)
That idea is interesting.
I have a few questions.
* How is Linux concerned?
* What are tons of magic numbers?
nobu (Nobuyoshi Nakada)
12:34 AM Revision 3147a390 (git): [ruby/bigdecimal] Mark some functions MAYBE_UNUSED
https://github.com/ruby/bigdecimal/commit/d70a4d53e5 Kenta Murata
12:01 AM Revision 5c3dba83 (git): Re-order checks for colons in UTC offset
nobu (Nobuyoshi Nakada)

11/14/2022

11:42 PM Revision b7d59164 (git): Remove USE_RVARGC code
We don't need this constant to be exposed anymore, so remove it tenderlovemaking (Aaron Patterson)
11:39 PM Revision 6cd0553a (git): [rubygems/rubygems] Update comment by the review comment
https://github.com/rubygems/rubygems/commit/7c54dc56f6 Shohei YOSHIDA
11:39 PM Revision 436aa6e6 (git): [rubygems/rubygems] Fix '--force' option documentation of 'bundle clean'
'--path' option is no longer used.
https://github.com/rubygems/rubygems/commit/43b3d5f7bc
Shohei YOSHIDA
11:11 PM Bug #17504: Allow UTC offset without colons per ISO-8601
3.0 branch has not backported commit:9441f3f97087a4325ee80911859d37da41fa5050. nobu (Nobuyoshi Nakada)
09:59 PM Revision 710c1ada (git): Use string's capacity to determine if reembeddable
During auto-compaction, using length to determine whether or not a
string can be re-embedded may be a problem for new...
peterzhu2118 (Peter Zhu)
08:40 PM Revision 9a6c3355 (git): Set array capacity/shared immediately after alloc
If auto-compaction is enabled, then we have to set the capacity/shared
immediately after allocating a heap array. If ...
peterzhu2118 (Peter Zhu)
04:52 PM Feature #19119: Add an interface for out-of-process profiling tools to access Ruby information
byroot (Jean Boussier) wrote in #note-3:
> Since about a year ago however, when on Ruby 3.0+ (and when YJIT is not e...
mame (Yusuke Endoh)
12:11 PM Feature #19119: Add an interface for out-of-process profiling tools to access Ruby information
> the Ruby interpreter should be suspended at a safe place before reading.
That is what `stackprof` has been doing...
byroot (Jean Boussier)
10:28 AM Feature #19119: Add an interface for out-of-process profiling tools to access Ruby information
Thanks for the motivation and proposal. I think it's a good idea for Ruby to provide a mechanism for monitoring.
I u...
mame (Yusuke Endoh)
04:25 PM Revision 6dd1a5f5 (git): Remove unused function rb_shape_transition_shape
peterzhu2118 (Peter Zhu)
01:41 PM Revision 1221c774 (git): Clean YJIT libraries [ci skip]
nobu (Nobuyoshi Nakada)
12:03 PM Feature #19128: Hash#delete could take a second argument as the default value?
@dorianmariefr if you wish for this feature to be considered, you'll need to expand a bit on your description. Like p... byroot (Jean Boussier)
10:26 AM Feature #19128: Hash#delete could take a second argument as the default value?
Or
```ruby
{}.delete(:a) {[]}
```
nobu (Nobuyoshi Nakada)
10:18 AM Misc #19121: Time: utc offset argument's formats "+/-HH", "+/-HHMM", "+/-HHMMSS" are supported differently
3.0 seems partially backported. nobu (Nobuyoshi Nakada)
09:59 AM Bug #19127 (Closed): Build of 3.2.0-preview3 fails unless Ruby is already installed
Applied in changeset commit:git|3fae53a343ebd7686bb20d8f4b6855f4d11019cd.
----------
[Bug #19127] Fix revision.h dep...
nobu (Nobuyoshi Nakada)
06:42 AM Bug #19127: Build of 3.2.0-preview3 fails unless Ruby is already installed
On the nightly snapshot builds, it wasn't reproducible as of https://github.com/ruby/actions/actions/runs/3371938561/... k0kubun (Takashi Kokubun)
03:20 AM Bug #19127: Build of 3.2.0-preview3 fails unless Ruby is already installed
Seems by commit:git|39f91bc24baa37db3c3d1485902056f43b013b54. nobu (Nobuyoshi Nakada)
09:59 AM Revision 3fae53a3 (git): [Bug #19127] Fix revision.h dependency when no baseruby
Disconnect the dependency of revision.h on the timestamp file if no
baseruby is available
nobu (Nobuyoshi Nakada)
09:52 AM Feature #16796: Assigning local variables when using `case when regexp`
shyouhei (Shyouhei Urabe) wrote in #note-3:
> sawa (Tsuyoshi Sawada) wrote in #note-2:
>
> That's too confusing. Th...
milouse (Étienne Deparis)
08:29 AM Revision a8537aa6 (git): Import shape constants with mjit-bindgen
k0kubun (Takashi Kokubun)
08:24 AM Revision 80bab6c8 (git): Import class constants with mjit-bindgen
k0kubun (Takashi Kokubun)
08:22 AM Feature #19129: Radix_Sort for arrays of fixnums (implemented)
And doubles (merge_sort): https://github.com/alantudyk/ruby/commit/5b3d6c994f133698228358ca91d3e8965fbb45fe
```
$ ....
e8c (Viktor Reznov)
08:03 AM Feature #19117: Include the method owner in backtraces, not just the method name
I agree with this proposal in general.
As everyone is concerned, I don't think `#inspect` should be used to displa...
mame (Yusuke Endoh)
06:38 AM Revision e4e2ff76 (git): Update default gems list at d019c3a4bd7b0955c630195c585f3f [ci skip]
git[bot]
06:37 AM Revision d019c3a4 (git): [ruby/error_highlight] Bump version
https://github.com/ruby/error_highlight/commit/5275078dc6 mame (Yusuke Endoh)
06:22 AM Revision 81c494d8 (git): [ruby/error_highlight] Enable tests for TypeError and ArgumentError
These tests were unintentionally disabled by `if false`
https://github.com/ruby/error_highlight/commit/fa6d00d80d
mame (Yusuke Endoh)
06:06 AM Revision 8bfd4dd4 (git): [ruby/error_highlight] Enable ErrorHighlight for TypeError/ArgumentError only after Ruby 3.2
... because changing TypeError#message and ArgumentError#message is
highly incompatible.
https://github.com/ruby/err...
mame (Yusuke Endoh)
05:14 AM Revision 96d29dff (git): Fix invokebuiltin in Ruby MJIT
https://github.com/ruby/ruby/blob/45fe7f757522ed7d1d3ec754da59d41d45dd6bab/tool/ruby_vm/views/_mjit_compile_invokebui... k0kubun (Takashi Kokubun)
04:35 AM Revision 3dd4e381 (git): Reduce the number of branches in jit_exec (#6722)
* Reduce the number of branches in jit_exec
* Address build failure in some configurations
* Refactor yjit.h
k0kubun (Takashi Kokubun)
03:12 AM Feature #14244 (Closed): Better error messages for scripts with non-matching end statements
syntax_suggest gem will solve this issue. Closing. Thank you @schneems ! mame (Yusuke Endoh)
03:11 AM Feature #18564 (Closed): Add Exception#detailed_message
I think I have already merged the change. Closing. mame (Yusuke Endoh)
02:54 AM Revision ea278ddd (git): Bump actions/upload-artifact from 3.1.0 to 3.1.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.1.
- [Release notes](ht...
dependabot[bot]
02:32 AM Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
`syntax_suggest` is not working 3.2.0-preview3 too. @nobu will resolve this until preview4. hsbt (Hiroshi SHIBATA)
02:00 AM Bug #19130 (Closed): MRI failing when executing shell builtin commands with Errno::ENOENT
Sorry if this came up already, Google & Redmine came up blank but maybe I missed it. Bug was found on 3.0.0 but I tes... ifiht (Mikal R)

11/13/2022

11:13 PM Revision dc5e2eaa (git): Refactor update_global_event_hook
It seems more readable to put JIT invalidation code together. k0kubun (Takashi Kokubun)
10:41 PM Revision e377875c (git): s/mjit_func_t/jit_func_t/
k0kubun (Takashi Kokubun)
10:00 PM Revision 68e05234 (git): Remove unused debug counters
The structure and readability of jit_exec is messed up right now. I'd
like to help the current situation by this for ...
k0kubun (Takashi Kokubun)
05:54 PM Revision 6246788b (git): YJIT: Instrument global allocations on stats build (#6712)
* YJIT: Instrument global allocations on stats build
* Just use GLOVAL_ALLOCATOR.stats()
k0kubun (Takashi Kokubun)
05:51 PM Revision bc8ba244 (git): YJIT: Fix invalidation for c_call and c_return (#6719)
Follow-up for 2b8191bdad7545b71f270d2b25a34cd2b3afa02f. Since that
commit, we stopped doing code invalidation the sec...
alanwu (Alan Wu)
05:42 PM Revision a1b460bd (git): Update yjit.md
Remove disclaimer maximecb (Maxime Chevalier-Boisvert)
05:33 PM Revision d5e1b82f (git): YJIT: Remove unused src_ctx from Block (#6714)
k0kubun (Takashi Kokubun)
02:54 PM Revision 2f7d2662 (git): Control non-parallel parts with `.WAIT` if available
nobu (Nobuyoshi Nakada)
12:33 PM Revision 8d82f4ba (git): [ruby/bigdecimal] Add specific value allocators
* Add NewZero* and NewOne* function families
* Use them instead of VpAlloc for allocating 0 and 1
https://github.com...
Kenta Murata
09:05 AM Revision 70c9d5b5 (git): Try to overwrite the file in VPATH if possible
nobu (Nobuyoshi Nakada)
08:38 AM Revision 66529eef (git): Force to update revision.h when commits differ
nobu (Nobuyoshi Nakada)
08:08 AM Bug #18599: `vm->loaded_features_snapshot` became very inefficient in Ruby 3.1
ruby_3_1 012015d762d000966a33fcea5f3069decd9d4007 merged revision(s) b8f0dc59d52266d9fbfc039e2f4b0f727c62baa0. nagachika (Tomoyuki Chikanaga)
08:07 AM Revision 012015d7 (git): merge revision(s) b8f0dc59d52266d9fbfc039e2f4b0f727c62baa0: [Backport #18599]
rb_provide_feature: Prevent $LOADED_FEATURES from being copied
[Bug #18599]
`vm->loaded_features` a...
nagachika (Tomoyuki Chikanaga)
06:15 AM Revision 18fa7059 (git): Deal with different Ruby versions
k0kubun (Takashi Kokubun)
06:01 AM Revision 802dce4a (git): [ruby/bigdecimal] Add and use specific value allocators
* Add rbd_allocate_struct_zero for making 0.0
* Add rbd_allocate_struct_one for making 1.0
* Use them to replace VpAl...
Kenta Murata
06:01 AM Revision 019f53de (git): [ruby/bigdecimal] Make VPrint function always available
https://github.com/ruby/bigdecimal/commit/5391f7e92c Kenta Murata
05:55 AM Revision c0735d1d (git): Fix a CI failure in bigdecimal
k0kubun (Takashi Kokubun)
04:29 AM Revision d1f55dea (git): [ruby/bigdecimal] Tweak VpAlloc
* Stop reusing mx and mf
* Check szVal == NULL first
* Treat special values before checking the leading `#`
https://...
Kenta Murata
03:47 AM Revision bbb9f723 (git): [ruby/bigdecimal] Rewrite allocation functions
* Rename them
* Make allocation count operations atomic
https://github.com/ruby/bigdecimal/commit/a5ab34a115
Kenta Murata
02:46 AM Revision 27034102 (git): [ruby/bigdecimal] Twak GetPrecisionInt and rename it to check_int_precision
https://github.com/ruby/bigdecimal/commit/69d0588a3b Kenta Murata
02:30 AM Feature #19128: Hash#delete could take a second argument as the default value?
Since you are avoiding doing:
```rb
{}.delete(:a) || []
```
it must be the case that you have a hash in which...
sawa (Tsuyoshi Sawada)
02:24 AM Bug #19116: Array#pack is broken for long strings in buffer
ruby_3_1 db1aa39ffcaa5b9f062639eb30c76959f4607a8e merged revision(s) 199b59f065ce6f1c13b8424f35a70c513523211b. nagachika (Tomoyuki Chikanaga)
02:23 AM Bug #19105: mutex: Raise a ThreadError when detecting a fiber deadlock
ruby_3_1 61818395312c6e765dc8e7be8bf32cd2c82fec39 merged revision(s) eacedcfe44a0ae22bf54ddb7df193c48d4c857c6. nagachika (Tomoyuki Chikanaga)
02:23 AM Bug #19106: Time - Hour 24 with tzinfo to_s bug
ruby_3_1 728d9f18348bcffedb0880c67015f08a7c19665f merged revision(s) 011d4c57d21220249600dfb76db84840550da019. nagachika (Tomoyuki Chikanaga)
02:23 AM Bug #19081: Ractor warning shows an internal location
ruby_3_1 f8044a770009b78d46b583600c9bd6660328303f merged revision(s) 131c31a9209c61f84d318aa18b61f468f48b8219. nagachika (Tomoyuki Chikanaga)
02:22 AM Revision f8044a77 (git): merge revision(s) 131c31a9209c61f84d318aa18b61f468f48b8219: [Backport #19081]
[Bug #19081] Show the caller location in warning for Ractor
The internal location in ractor.rb is not useful...
nagachika (Tomoyuki Chikanaga)
02:20 AM Revision 728d9f18 (git): merge revision(s) 011d4c57d21220249600dfb76db84840550da019: [Backport #19106]
[Bug #19106] Normalize time at 24:00:00 with a timezone object
---
test/ruby/test_time_tz.rb | 5 +...
nagachika (Tomoyuki Chikanaga)
02:18 AM Revision 61818395 (git): merge revision(s) eacedcfe44a0ae22bf54ddb7df193c48d4c857c6: [Backport #19105]
mutex: Raise a ThreadError when detecting a fiber deadlock (#6680)
[Bug #19105]
If no fiber schedul...
nagachika (Tomoyuki Chikanaga)
02:13 AM Revision db1aa39f (git): merge revision(s) 199b59f065ce6f1c13b8424f35a70c513523211b: [Backport #19116]
Fix bug in array pack with shared strings
If string literals are long and they become shared, we need to mak...
nagachika (Tomoyuki Chikanaga)
02:02 AM Revision ef1c6109 (git): [ruby/bigdecimal] Tweak check_rounding_mode_option
https://github.com/ruby/bigdecimal/commit/e1c6c9be25 Kenta Murata
02:02 AM Revision 74c6e6e5 (git): [ruby/bigdecimal] Rewrite check_rounding_mode function
Use table-lookup algorithm instead of consecutive if-statements.
https://github.com/ruby/bigdecimal/commit/23eaff3ae5
Kenta Murata
02:02 AM Revision b89769b9 (git): [ruby/bigdecimal] [Doc] Fix the document of n_significant_digits
https://github.com/ruby/bigdecimal/commit/91b72a9341 Kenta Murata
02:02 AM Revision 977aac05 (git): [ruby/bigdecimal] Make GetVpValue inline
https://github.com/ruby/bigdecimal/commit/1b642e2e59 Kenta Murata
02:01 AM Revision 0d524867 (git): [ruby/bigdecimal] Make BigDecimal_double_fig inline
https://github.com/ruby/bigdecimal/commit/4ecf04da7a Kenta Murata
12:50 AM Feature #19129 (Feedback): Radix_Sort for arrays of fixnums (implemented)
Code is already written, all in one listing (git diff, test file, and results of tests):
```
$ cat ../ruby_sort/t...
e8c (Viktor Reznov)

11/12/2022

11:14 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Feature #19000] Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object] (bd... bdewater (Bart de Water)
10:28 PM Feature #19066: Enable Scorecard Github Action
Btw. it was recently added to rubygems and rubygems.org as well.
https://github.com/rubygems/rubygems/pull/6055
h...
retro (Josef Šimánek)
09:54 PM Feature #19059: Introduce top level `module TimeoutError` for aggregating various timeout error classes.
Lots of other languages are starting accept cancellation by using cancel tokens and have timeout a subclass of a Canc... dsisnero (Dominic Sisneros)
04:10 PM Feature #19128 (Rejected): Hash#delete could take a second argument as the default value?
e.g. `{}.delete(:a, [])` would return `[]` dorianmariefr (Dorian Marié)
12:24 PM Feature #19117: Include the method owner in backtraces, not just the method name
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-10:
> This ticket would handle making this change ONLY. The motivati...
Eregon (Benoit Daloze)
03:30 AM Feature #19117: Include the method owner in backtraces, not just the method name
@kjtsanaktsidis thanks for proposing to implement the patch, but don’t worry I’ll do it. byroot (Jean Boussier)
02:24 AM Feature #19117: Include the method owner in backtraces, not just the method name
Also - if I've got this right, I'm happy to write up a patch to implement this proposal - I've been playing around in... kjtsanaktsidis (KJ Tsanaktsidis)
02:08 AM Feature #19117: Include the method owner in backtraces, not just the method name
OK, so if I understand correctly, the proposal in this ticket is to make `Thread::Backtrace::Location#inspect` and `K... kjtsanaktsidis (KJ Tsanaktsidis)
08:15 AM Bug #19127: Build of 3.2.0-preview3 fails unless Ruby is already installed
This also happens on OpenBSD. I tested with a current OpenBSD snapshot and reproduced, but I assume it also happens ... jeremyevans0 (Jeremy Evans)
08:02 AM Bug #19127 (Closed): Build of 3.2.0-preview3 fails unless Ruby is already installed
# Steps to reproduce process
1. Make clean install of operating system.
2. Install tools and libraries necessary ...
yasuhirokimura (Yasuhiro KIMURA)
04:24 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
I tried to investigate bigdecimal's build problem on my MacBook Air. But, unfortunately, I couldn't. I used Xcode 1... mrkn (Kenta Murata)
02:22 AM Bug #19124: Compile with clang: Cannot compile with -flto -fvisibility=hidden
`-flto` itself works. `-fvisibility=` is needed for other `-fsanitize=` options. steakknife (Barry Allard)
01:36 AM Bug #19124 (Feedback): Compile with clang: Cannot compile with -flto -fvisibility=hidden
## Environment
- CentOS 9 Stream x86_64
- 96 threads
- 96 GiB RAM
- 140 GiB SSD storage
## Reproduction
`...
steakknife (Barry Allard)
02:00 AM Feature #19126 (Open): clang: Cannot compile with Control Flow Integrity (CFI)
Maybe related #19124
## Reproduction
```
sudo dnf install -y yum-utils
sudo yum-config-manager --enable crb
...
steakknife (Barry Allard)
01:49 AM Feature #19125 (Open): Support SafeStack
## LLVM's current SafeStack support limitations
- ucontext.h not yet supported (needs LLVM enhancement or workarou...
steakknife (Barry Allard)

11/11/2022

11:38 PM Bug #18599: `vm->loaded_features_snapshot` became very inefficient in Ruby 3.1
> Is this targeted to be ported to Ruby 3.1?
Yes.
byroot (Jean Boussier)
03:32 PM Bug #18599: `vm->loaded_features_snapshot` became very inefficient in Ruby 3.1
Is this targeted to be ported to Ruby 3.1? I see it's not included in 3.1.2 nor in the ruby_3_1 branch. thomthom (Thomas Thomassen)
11:37 PM Feature #19117: Include the method owner in backtraces, not just the method name
> I think the one thing we should do is special handling of singleton classes to use the . notation instead, since th... byroot (Jean Boussier)
10:01 AM Feature #19117: Include the method owner in backtraces, not just the method name
Agreed the better default Module#inspect is a mostly separate thing (matching across processes is too difficult IMHO,... Eregon (Benoit Daloze)
12:23 AM Feature #19117: Include the method owner in backtraces, not just the method name
@kjtsanaktsidis I understand what you are trying to do, but I think it's orthogonal to the current issue.
I'll qui...
byroot (Jean Boussier)
10:40 PM Revision 0a9d51ee (git): Migrate our resolver engine to PubGrub
https://github.com/rubygems/rubygems/pull/5960
Co-authored-by: David Rodríguez <[email protected]>
hsbt (Hiroshi SHIBATA)
09:51 PM Feature #19066 (Closed): Enable Scorecard Github Action
I added ossf/scorecards at https://github.com/ruby/ruby/pull/6716.
Thanks for introducing that. We will triage the...
hsbt (Hiroshi SHIBATA)
09:05 PM Revision 14a1394b (git): [ruby/irb] Simplify info command's tests
(https://github.com/ruby/irb/pull/440)
https://github.com/ruby/irb/commit/5942949226
st0012 (Stan Lo)
05:29 PM Misc #19123 (Open): Error handling of Struct#values_at and Array#values_at is slightly inconsistent
`Struct#values_at` and `Array#values_at look pretty similar and handle all the complex cases of arguments (integer Ra... andrykonchin (Andrew Konchin)
05:05 PM Revision a48e01cc (git): [ruby/net-http] Update lib/net/http.rb
https://github.com/ruby/net-http/commit/16d042fad6
Co-authored-by: Peter Zhu <[email protected]>
burdettelamar (Burdette Lamar)
05:05 PM Revision 4d9ada22 (git): [ruby/net-http] Prettify class hierarchies in Net::HTTP
https://github.com/ruby/net-http/commit/4a5732e210 burdettelamar (Burdette Lamar)
04:13 PM Revision 04c5adf8 (git): YJIT: Fix staying in invalidated code after proc calls
Previously, there is no instruction boundary patch point after
the call to a non-leaf C function we generate for
OPTI...
alanwu (Alan Wu)
04:06 PM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
@ioquatix apologies for the direct assignment; you just seemed like the person who has the most knowledge and investm... smcgivern (Sean McGivern)
04:06 PM Misc #19122 (Assigned): Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
I'd like to propose that Ruby stops using MADV_FREE when freeing a Fiber's stack, and switches to using MADV_DONTNEED... smcgivern (Sean McGivern)
02:50 PM Misc #19121 (Open): Time: utc offset argument's formats "+/-HH", "+/-HHMM", "+/-HHMMSS" are supported differently
I've noticed a strange difference between Ruby versions 2.7, 3.0 and 3.1.
The mentioned above formats are supporte...
andrykonchin (Andrew Konchin)
02:14 PM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
Interestingly, my crash happened on `RUBY_INTERNAL_EVENT_GC_ENTER` (you can see my stack includes an attempt to garba... ivoanjo (Ivo Anjo)
02:11 PM Misc #19120: How does YJIT work in --enable-shared case?
Guys, thanks for answering and sharing the info!
> YJIT does NOT generate Rust code at runtime to perform its JIT ...
jaruga (Jun Aruga)
12:12 PM Revision 90bbc891 (git): Enable only master-branch
hsbt (Hiroshi SHIBATA)
12:12 PM Revision 5a1ddc48 (git): Test with topic-branch
hsbt (Hiroshi SHIBATA)
12:12 PM Revision 800caf4e (git): Use secrets.SCORECARD_READ_TOKEN
hsbt (Hiroshi SHIBATA)
12:12 PM Revision a0fcbce4 (git): Try to use ossf/scorecards
hsbt (Hiroshi SHIBATA)
08:24 AM Revision 28611be6 (git): Merge RubyGems/Bundler master from ee2f8398324af4bc1b95f7565ce2fda98126e026
hsbt (Hiroshi SHIBATA)
08:24 AM Revision de159c5a (git): [rubygems/rubygems] Store last check even when upgrade is not available and fix test.
https://github.com/rubygems/rubygems/commit/bcffc2b0a5 retro (Josef Šimánek)
08:24 AM Revision 7ce0f81f (git): [rubygems/rubygems] Use file in XDG_STATE_HOME directory to store last update check timestamp.
https://github.com/rubygems/rubygems/commit/0fbc4ace8a retro (Josef Šimánek)
08:24 AM Revision c7d04306 (git): [rubygems/rubygems] Add 'call for update' to RubyGems install command.
https://github.com/rubygems/rubygems/commit/05811f8248 retro (Josef Šimánek)
08:24 AM Revision ceeefb58 (git): [rubygems/rubygems] github source should default to secure protocol
Bundler 2 switched to secure https here https://github.com/rubygems/rubygems/commit/c2e81f8ff63613871cc8b52653c5e176f... Jason Karns
12:07 AM Revision adfbee85 (git): Allow a float error for Regexp.timeout
The tests failed on windows
https://github.com/ruby/ruby/actions/runs/3440997073/jobs/5740085169#step:18:62
```
...
mame (Yusuke Endoh)
 

Also available in: Atom