Project

General

Profile

Activity

From 11/16/2022 to 11/22/2022

11/22/2022

11:14 PM Feature #19138: `SyntaxError#path` for syntax_suggest
`SyntaxError` can have a series of errors.
Before adding `line`, we need to consider how to provide that list.
nobu (Nobuyoshi Nakada)
11:07 PM Feature #19138: `SyntaxError#path` for syntax_suggest
Should we also expose the `line`. Or maybe `source_location`?
Just a suggestion, if we only need `path` I think it's...
Eregon (Benoit Daloze)
10:39 PM Misc #19142 (Open): Run test suites against 'install', based on ENV variable?
Some time ago I believe there was discussion about:
```
make
make test
make install
```
vs
```
make
ma...
MSP-Greg (Greg L)
09:54 PM Revision aedf682b (git): Free the IV table after estimation
We need to make sure the name table is freed otherwise we have a memory
leak.
tenderlovemaking (Aaron Patterson)
09:49 PM Revision 003f8ea8 (git): Remove dead code in rb_obj_copy_ivar
The removed code is a duplicate of the code above. peterzhu2118 (Peter Zhu)
09:18 PM Revision c4e99ac4 (git): Update yjit.md
maximecb (Maxime Chevalier-Boisvert)
09:11 PM Feature #19071 (Closed): Add Time#deconstruct, #deconstruct_keys, and #to_h
https://github.com/ruby/ruby/pull/6594 merged. zverok (Victor Shepelev)
09:10 PM Revision eaf2b6c4 (git): Add Time#deconstruct_keys
zverok (Victor Shepelev)
08:57 PM Revision 63f4a7a1 (git): YJIT: Skip padding jumps to side exits on Arm (#6790)
YJIT: Skip padding jumps to side exits
Co-authored-by: Maxime Chevalier-Boisvert <[email protected]...
k0kubun (Takashi Kokubun)
08:28 PM Revision 9c5e3671 (git): Increment max_iv_count on class based on number of set_iv in initialize (#6788)
We can loosely predict the number of ivar sets on a class based on the
number of iv set instructions in the initializ...
jemmai (Jemma Issroff)
05:32 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
Async already has the concept of structured concurrency.
> I've been reading https://cr.openjdk.java.net/~rpressler/...
ioquatix (Samuel Williams)
12:20 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
I've been reading https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part2.html#scope-variables again and parts of... Eregon (Benoit Daloze)
05:24 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
Maybe `Enumerator` should not use a full fiber - but something less that behaves like the thread it's run on? An unde... chrisseaton (Chris Seaton)
01:40 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
I had a call with @byroot about this issue.
First of all, in the cases it's possible it's best to avoid `Enumerato...
Eregon (Benoit Daloze)
11:26 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
> How do we address this with Thread::Monitor?
If you are trying to say that one can shoot themselves in the foot ...
byroot (Jean Boussier)
11:18 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
It's not only an issue with Fiber scheduler although that is the most obvious way to illustrate.
After all Fiber sche...
Eregon (Benoit Daloze)
08:46 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
> Based on that I don't think a per-thread Monitor is really a solution
In the case of the original issue they are...
byroot (Jean Boussier)
05:10 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
Why do you need a recursive mutex for this code? Why not just lock inside the enumerator around whatever shared resou... ioquatix (Samuel Williams)
05:23 PM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
> I think you want to mean "if the string is not ASCII-compatible".
Can you explain why?
I think a string is on...
chrisseaton (Chris Seaton)
08:26 AM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
chrisseaton (Chris Seaton) wrote in #note-1:
> Possibly we should raise an exception if the string is not `ascii_onl...
nobu (Nobuyoshi Nakada)
03:37 PM Bug #19140 (Closed): rb_vm_insn_addr2insn: invalid insn address
jeremyevans0 (Jeremy Evans)
08:37 AM Bug #19140: rb_vm_insn_addr2insn: invalid insn address
That's valuable insight! Probably it is a volatile memory fault then. I restarted the physical machine now and I have... turion (Manuel Bärenz)
02:04 PM Revision 16ea2213 (git): Merge CGI-0.3.5
hsbt (Hiroshi SHIBATA)
12:50 PM Revision 14704023 (git): Merge RubyGems-3.3.26 and Bundler-2.3.26
hsbt (Hiroshi SHIBATA)
12:50 PM Revision b102175b (git): Merge RubyGems-3.3.25 and Bundler-2.3.25
hsbt (Hiroshi SHIBATA)
12:50 PM Revision 6f59f0be (git): Merge RubyGems-3.3.24 and Bundler-2.3.24
hsbt (Hiroshi SHIBATA)
11:55 AM Revision 8f2586f1 (git): merge revision(s) 36f297e62108072b9377d927321928b994f66a93:
Use valid tokens as cookie names
---
spec/ruby/library/cgi/cookie/name_spec.rb | 12 ++++++------
...
nagachika (Tomoyuki Chikanaga)
05:20 AM Revision 20b9d7b9 (git): Use `enum` over `int`
nobu (Nobuyoshi Nakada)
05:07 AM Revision 8c02084a (git): Use dedicated assertions for warnings
nobu (Nobuyoshi Nakada)
04:58 AM Revision 77f96300 (git): Avoid unnecessary use of global variables
nobu (Nobuyoshi Nakada)
02:32 AM Revision 36f297e6 (git): Use valid tokens as cookie names
nobu (Nobuyoshi Nakada)
02:13 AM Revision 32d202eb (git): Update default gems list at 805d70f716c782e82ec77ca623b217 [ci skip]
git[bot]
02:12 AM Revision 805d70f7 (git): [ruby/cgi] Bump up 0.3.5
https://github.com/ruby/cgi/commit/daf88c2a75 hsbt (Hiroshi SHIBATA)
02:12 AM Revision 58682b69 (git): [ruby/cgi] Relax domain label restrictions
https://github.com/ruby/cgi/commit/b46d41c363 nobu (Nobuyoshi Nakada)
02:01 AM Revision 5304b3bd (git): Update default gems list at 3f960cf445dd387a5497ffad897ea6 [ci skip]
git[bot]
02:00 AM Revision 3f960cf4 (git): [ruby/cgi] Bump up 0.3.4
https://github.com/ruby/cgi/commit/3649a27bf4 hsbt (Hiroshi SHIBATA)
02:00 AM Revision 0e75b2f2 (git): [ruby/cgi] Prevent CRLF injection
Throw a RuntimeError if the HTTP response header contains CR or LF to
prevent HTTP response splitting.
https://hacke...
mame (Yusuke Endoh)
02:00 AM Revision c05f85f3 (git): [ruby/cgi] Check cookie name/path/domain characters
https://hackerone.com/reports/1204977
https://github.com/ruby/cgi/commit/30107a4797
nobu (Nobuyoshi Nakada)
01:20 AM Bug #19139: Ruby 2.3.8 - 42912 IOT instruction (core dumped) when running rake -v
The fault occurred in /lib/x86_64-linux-gnu/libssl.so.3.
https://gist.github.com/Pauloparakleto/3cef9f75b8dce6215d00f...
nobu (Nobuyoshi Nakada)

11/21/2022

10:04 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
> That means any framework using Monitor is incompatible to be used with Enumerator.
It's only problematic if both t...
Eregon (Benoit Daloze)
10:02 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
@Eregon how does this relate to `Fiber#storage`? byroot (Jean Boussier)
05:50 PM Feature #19141 (Open): Add thread-owned Monitor to protect thread-local resources
### Background
In Ruby v3.0.2, Monitor was modified to be owned by fibers instead of threads [for reasons as desc...
wildmaples (Maple Ong)
08:52 PM Bug #19140: rb_vm_insn_addr2insn: invalid insn address
Thanks for the report. The stack trace shows that it's crashing
during GC, which means some bytecode object on the h...
alanwu (Alan Wu)
03:12 PM Bug #19140 (Closed): rb_vm_insn_addr2insn: invalid insn address
I recently upgraded my mastodon installation to 4.0.2 (and possibly also updated a minor ruby version, not sure) and ... turion (Manuel Bärenz)
06:52 PM Revision cf05c202 (git): Fixup spec/ruby/optional/capi/rbasic_spec.rb for mswin
MSP-Greg (Greg L)
06:28 PM Bug #19139 (Feedback): Ruby 2.3.8 - 42912 IOT instruction (core dumped) when running rake -v
Ruby 2.3 is out of support. Can you reproduce this issue Ruby 3.0 or 3.1? jeremyevans0 (Jeremy Evans)
01:35 PM Bug #19139 (Feedback): Ruby 2.3.8 - 42912 IOT instruction (core dumped) when running rake -v
https://gist.github.com/Pauloparakleto/3cef9f75b8dce6215d00f073e6b977ca
Above is the link to the backtrack. There ...
Paulo.Felipe (Paulo Souza)
06:27 PM Revision 607fb49d (git): YJIT: Lower the required Rust version from 1.58.1 to 1.58.0 (#6780)
k0kubun (Takashi Kokubun)
04:47 PM Bug #19115: RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
I've submitted a [PR](https://github.com/ruby/ruby/pull/6756) to fix this issue and I thought I'd also post some upda... alanwu (Alan Wu)
04:26 PM Revision 09423876 (git): Let SHAPE_BITS take 32 bits on debug builds
The ractor_belonging_id has been moved out of the headers, so object
shapes can take the top 32 bits of the flags on ...
peterzhu2118 (Peter Zhu)
04:26 PM Revision 5f95228c (git): Add RVALUE_OVERHEAD and move ractor_belonging_id
This commit adds RVALUE_OVERHEAD for storing metadata at the end of the
slot. This commit moves the ractor_belonging_...
peterzhu2118 (Peter Zhu)
04:08 PM Feature #19138: `SyntaxError#path` for syntax_suggest
https://github.com/ruby/ruby/pull/6779 nobu (Nobuyoshi Nakada)
03:18 AM Feature #19138 (Closed): `SyntaxError#path` for syntax_suggest
Currently syntax_suggest searches the path name from the exception message.
But extracting the info from messages fo...
nobu (Nobuyoshi Nakada)
03:33 PM Revision b7a0ce32 (git): [Bug #19016] `SyntaxError` with parser error messages
Raise a `SyntaxError` with the parser error message, in the case
reading from a file instead of the `-e` option or st...
nobu (Nobuyoshi Nakada)
03:33 PM Revision 5b959e23 (git): [Bug #19016] re-order error handling at cleanup
Build and store the error message with `#detailed_message` before
terminating all Ractors, then show the message later.
nobu (Nobuyoshi Nakada)
03:31 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
nobu (Nobuyoshi Nakada) wrote in #note-5:
> The list in Ruby is based on http://pubs.opengroup.org/onlinepubs/009695...
nobu (Nobuyoshi Nakada)
03:24 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
ifiht (Mikal R) wrote in #note-3:
> Is there a ruby-specific list then of what gets implemented? Seems like `type` i...
nobu (Nobuyoshi Nakada)
03:22 PM Revision 1f0888ab (git): Speed up shape transitions
This commit significantly speeds up shape transitions as it changes
get_next_shape_internal to not perform a lookup (...
peterzhu2118 (Peter Zhu)
02:58 PM Revision 648927d7 (git): Refactor obj_ivar_set and vm_setivar
obj_ivar_set and vm_setivar_slowpath is essentially doing the same thing,
but the code is duplicated and not quite im...
peterzhu2118 (Peter Zhu)
01:53 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
Thank you for your response. How do the changes to the example make a difference? The results with the original exa... javanthropus (Jeremy Bopp)
12:22 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
I think your example needs to be as follows:
```ruby
#!/usr/bin/env ruby
def show(io, args)
printf(
"arg...
naruse (Yui NARUSE)
01:50 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Bug #19108] Format routines like pack blindly treat a string as ASCII-encoded (@eregon)
* Is it OK to make `unk...
Eregon (Benoit Daloze)
01:47 PM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
Agreed, I think it should be ArgumentError since it's otherwise silently ignoring characters in the pack format strin... Eregon (Benoit Daloze)
01:16 PM Revision 612aa5c2 (git): Use class methods of `File` over `Kernel.open` and `IO.read`
nobu (Nobuyoshi Nakada)
01:15 PM Revision 116920cf (git): [ruby/un] Use class methods of `File` over `Kernel.open`
https://github.com/ruby/un/commit/13bdd766fe nobu (Nobuyoshi Nakada)
10:54 AM Feature #19089: Load bundler/setup in gem_prelude.rb when "bundle exec" is used
naruse (Yui NARUSE) wrote in #note-12:
> People shouldn't use and recommend others to use --disable-gem as a workaro...
Eregon (Benoit Daloze)
03:32 AM Feature #19089: Load bundler/setup in gem_prelude.rb when "bundle exec" is used
People shouldn't use and recommend others to use --disable-gem as a workaround for a bug. It's only for debugging.
I...
naruse (Yui NARUSE)
10:26 AM Revision e2b15461 (git): [ruby/optparse] Use class methods of `File` over `IO`
https://github.com/ruby/optparse/commit/ab5073e4d8 nobu (Nobuyoshi Nakada)
08:46 AM Revision c9fbc779 (git): [ruby/irb] Add commands to start and use the debugger
(https://github.com/ruby/irb/pull/449)
* Seamlessly integrate a few debug commands
* Improve the break command supp...
k0kubun (Takashi Kokubun)
07:35 AM Revision 65e31402 (git): Use double quotes for nmake [ci skip]
nobu (Nobuyoshi Nakada)
07:32 AM Revision 854312ee (git): Refactor to use has_delayed_token macro
yui-knk (Kaneko Yuichiro)
07:21 AM Revision 3071a727 (git): Add a comment about confusing code [ci skip]
k0kubun (Takashi Kokubun)
07:13 AM Revision 730b841f (git): Prevent a "warning: ambiguity between regexp and two divisions"
mame (Yusuke Endoh)
06:10 AM Revision 166598a6 (git): Add outdate-bundled-gems target [ci skip]
nobu (Nobuyoshi Nakada)
05:25 AM Revision 427985c1 (git): Update default gems list at 509f04ca9159d1dd046af4ffb19cfa [ci skip]
git[bot]
05:24 AM Revision 509f04ca (git): [ruby/irb] Version 1.5.0
Asked by ko1 to release https://github.com/ruby/irb/pull/444 for
simplifying https://github.com/ruby/debug/pull/808,
...
k0kubun (Takashi Kokubun)
05:23 AM Revision 1753cf59 (git): Fix a broken interpolation #{head}
k0kubun (Takashi Kokubun)
05:17 AM Revision db8ff237 (git): Add a link to Feature #19070 ticket [ci skip]
yui-knk (Kaneko Yuichiro)
05:07 AM Revision 29e6d975 (git): Fix typos (#6775)
* s/Innteger/Integer/
* s/diretory/directory/
* s/Bufer/Buffer/
* s/defalt/default/
* s/covearge/coverage/
Yudai Takada
04:18 AM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
I don't have a strong opinion about this, but I'm generally against loosing performance.
Maybe it can be controlle...
ioquatix (Samuel Williams)
12:01 AM Feature #19070 (Closed): Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methods
Applied in changeset commit:git|d8601621edcf29e3323b90dcf04b774edd9fb45e.
----------
Enhance keep_tokens option for ...
yui-knk (Kaneko Yuichiro)
12:01 AM Revision d8601621 (git): Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methods
Implementation for Language Server Protocol (LSP) sometimes needs token information.
For example both `m(1)` and `m(1...
yui-knk (Kaneko Yuichiro)

11/20/2022

10:22 PM Revision bbc4cf5f (git): Revert wrong sync in 5958c305e5 [ci skip]
sync_default_gems.rb sometimes syncs too much. k0kubun (Takashi Kokubun)
03:40 PM Bug #4992: finalizer中のThread.newでSEGV
`Thread.new` is prohibited but not `Thread.start`.
```
$ ruby -v --disable=gems -d -e 'class E<StandardError;def ...
nobu (Nobuyoshi Nakada)
01:44 PM Bug #19016 (Closed): syntax_suggest is not working with Ruby 3.2.0-preview2
Applied in changeset commit:git|701dfe4eb741628213e4d701c13ad6d76904ac4f.
----------
[Bug #19016] Handle syntax erro...
nobu (Nobuyoshi Nakada)
11:00 AM Revision 701dfe4e (git): [Bug #19016] Handle syntax error in main script like other errors
So that `SyntaxError#detailed_message` will be used also in the case
exiting by such syntax error.
nobu (Nobuyoshi Nakada)
11:00 AM Revision 12b7b852 (git): Use `enum ruby_tag_type` over `int`
nobu (Nobuyoshi Nakada)
09:51 AM Revision 230c7de2 (git): sync_default_gems.rb: Fix substitution [ci skip]
As there should be no modified files just affter `git cherry-pick`
succeeded in `sync_default_gems_with_commits`, res...
nobu (Nobuyoshi Nakada)
08:18 AM Feature #17472 (Rejected): HashWithIndifferentAccess like Hash extension
As far as I understand, after `HashWithIndifferentAccess` is optimized to use `Symbol#name` and avoids to create dupl... naruse (Yui NARUSE)
05:58 AM Revision 779917fc (git): Avoid a timeout on test_cache_optimization_exponential
The timeout seems too short for some CIs.
http://rubyci.s3.amazonaws.com/debian11-aarch64/ruby-master/log/20221120T01...
k0kubun (Takashi Kokubun)
05:38 AM Revision 66ac288a (git): [ruby/irb] Push an accidentally uncommitted diff
https://github.com/ruby/irb/commit/7e9f27afd7 k0kubun (Takashi Kokubun)
05:34 AM Revision 67034ac7 (git): [ruby/irb] Deal with inconsistency with ruby/ruby
https://github.com/ruby/irb/commit/41d5012849 k0kubun (Takashi Kokubun)
05:32 AM Revision 8512b97d (git): [ruby/irb] Require missing EnvUtil
https://github.com/ruby/irb/commit/9bb1757b02 k0kubun (Takashi Kokubun)
05:31 AM Revision fa2e0cc0 (git): [ruby/irb] Try using a different file name
hoping to address:
https://github.com/ruby/ruby/actions/runs/3506561941/jobs/5873689640
https://github.com/ruby/irb/...
k0kubun (Takashi Kokubun)
05:19 AM Revision f4725167 (git): [ruby/irb] Require rubygems for ruby/ruby
You can't take rubygems for granted in a default gem.
https://github.com/ruby/ruby/actions/runs/3506561943/jobs/58736...
k0kubun (Takashi Kokubun)
05:14 AM Revision 1284baec (git): Skip TestDRbSSLAry on mswin
This doesn't seem to stably work on mswin:
https://github.com/ruby/ruby/actions/runs/3505363753/jobs/5871633211
For ...
k0kubun (Takashi Kokubun)
05:06 AM Revision e0f0367a (git): [ruby/irb] Fix CI failure on ruby/ruby
https://github.com/ruby/irb/commit/ea8c716922 k0kubun (Takashi Kokubun)
04:47 AM Revision 180ed611 (git): [ruby/irb] Add edit command (https://github.com/ruby/irb/pull/453)
* Add edit command
* Make find_source a public singleton method
* Add document for the edit command
* Make find_en...
Stan Lo
03:08 AM Feature #19137 (Open): Numbered parameters are not made available to IRB.
Hello !
It does not look like numbered parameters are available through the Binding that's used by IRB.
```ruby...
0x1eef (0x 1eef)
02:06 AM Revision 43999031 (git): Avoid warnings on MINGW:
win32/win32.c: In function 'rtc_error_handler':
win32/win32.c:691:5: warning: function 'rtc_error_handler' might be a...
Lars Kanis

11/19/2022

11:07 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
I don't think this is a bug. Ruby's behavior for the Kernel backtick method (what `%x` uses) is that a shell is only... jeremyevans0 (Jeremy Evans)
10:45 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
Is there a ruby-specific list then of what gets implemented? Seems like `type` is both included in the POSIX spec (ht... ifiht (Mikal R)
10:14 PM Revision 5958c305 (git): [ruby/irb] Document a full list of commands
(https://github.com/ruby/irb/pull/451)
* Document a full list of commands
* Document debug as well
* Make it less ...
k0kubun (Takashi Kokubun)
10:10 PM Revision 23750c86 (git): [ruby/irb] Update documentation about Autocompletion
(https://github.com/ruby/irb/pull/452)
https://github.com/ruby/irb/commit/e6b4917750
k0kubun (Takashi Kokubun)
04:10 PM Revision 01bc2fc5 (git): Update fake.rb for test-spec
spec/ruby/command_line/dash_v_spec.rb needs it. nobu (Nobuyoshi Nakada)
03:33 PM Revision 909ea6b6 (git): [ruby/net-http] About the Examples moved to separate file
https://github.com/ruby/net-http/commit/0512b5bfc9 burdettelamar (Burdette Lamar)
03:25 PM Revision e6162728 (git): [ruby/net-http] Enhanced RDoc for Net::HTTP
burdettelamar (Burdette Lamar)
03:17 PM Revision 2047636a (git): [ruby/net-http] Update lib/net/http/request.rb
https://github.com/ruby/net-http/commit/e3c9011edb
Co-authored-by: Peter Zhu <[email protected]>
burdettelamar (Burdette Lamar)
03:17 PM Revision dbb902fc (git): [ruby/net-http] Enhanced RDoc for Net::HTTP
https://github.com/ruby/net-http/commit/4444e8cea4 burdettelamar (Burdette Lamar)
03:17 PM Revision 951eabdc (git): [ruby/net-http] Enhanced RDoc for Net::HTTP
https://github.com/ruby/net-http/commit/6b30c5310b burdettelamar (Burdette Lamar)
02:38 AM Revision 50c6caba (git): [DOC] Change formatting in the exec docs
The last part of the sentence was accidentally put in enumeration, It
made an impression that it's one of the rules, ...
mjrzasa (Maciek Rząsa)
01:36 AM Revision 574d8498 (git): Run skipped minitest tests that now pass
The mentioned PR was merged. alanwu (Alan Wu)
01:27 AM Revision 6dcb7b92 (git): YJIT: Improve the failure message on enlarging a branch (#6769)
k0kubun (Takashi Kokubun)
01:17 AM Revision 082cfcfd (git): Add test cases for args forwarding after rest argument
yui-knk (Kaneko Yuichiro)
12:42 AM Revision 5c505f4a (git): Rename misleading label
We use this code path when we require the same extension twice, so it's
not necessarily about the feature being stati...
alanwu (Alan Wu)

11/18/2022

11:50 PM Revision 7f269a3c (git): Fix io/console test for --with-static-linked-ext
The tests looks for the .so file, which doesn't exist when the extension
is statically linked. In that situation it p...
alanwu (Alan Wu)
09:58 PM Revision 2185f0ca (git): Update assertion
New T_OBJECT objects will have a T_OBJECT shape tenderlovemaking (Aaron Patterson)
08:19 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
I just put up a PR implementing this using the `dup` proposal: https://github.com/ruby/ruby/pull/6766
Here are my ...
ufuk (Ufuk Kayserilioglu)
03:09 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
@RubyBugs I cannot understand the following parts of your first motivative example
```
# In loops
movements = [
...
mame (Yusuke Endoh)
08:04 PM Revision 9e067df7 (git): 32 bit comparison on shape id
This commit changes the shape id comparisons to use a 32 bit comparison
rather than 64 bit. That means we don't need...
tenderlovemaking (Aaron Patterson)
08:04 PM Revision 6582f348 (git): rename SHAPE_BITS to SHAPE_ID_NUM_BITS
tenderlovemaking (Aaron Patterson)
08:03 PM Bug #19136: OpenSSL::PKey::EC.check_key is useless when linked against OpenSSL 3
I just realized that `ruby/openssl` takes issue reports on the GitHub. Sorry about that! bannable (Joe Truba)
08:00 PM Bug #19136 (Third Party's Issue): OpenSSL::PKey::EC.check_key is useless when linked against OpenSSL 3
When calling `#check_key` against an `OpenSSL::PKey::EC` instance representing an invalid point for the group, the me... bannable (Joe Truba)
07:46 PM Bug #19113: Inconsistency in retention of compare_by_identity flag in Hash methods
The way I see it, `Hash[*args]` converts args to a Hash, and args is only considered as key-value pairs. So if `args ... Eregon (Benoit Daloze)
06:57 PM Bug #19113: Inconsistency in retention of compare_by_identity flag in Hash methods
headius (Charles Nutter) wrote in #note-6:
> Even though it's a "new Hash", it is supposed to be populated with "the...
jeremyevans0 (Jeremy Evans)
06:37 PM Bug #19113: Inconsistency in retention of compare_by_identity flag in Hash methods
Even though it's a "new Hash", it is supposed to be populated with "the given objects". If losing identity comparison... headius (Charles Nutter)
05:32 PM Bug #19113: Inconsistency in retention of compare_by_identity flag in Hash methods
headius (Charles Nutter) wrote in #note-3:
> jeremyevans0 (Jeremy Evans) wrote in #note-1:
> > I think the followin...
jeremyevans0 (Jeremy Evans)
05:03 PM Bug #19113: Inconsistency in retention of compare_by_identity flag in Hash methods
FWIW I ran into this while implementing Ruby 3.1 identhash semantics in JRuby, and then realized this is now one of t... headius (Charles Nutter)
05:02 PM Bug #19113: Inconsistency in retention of compare_by_identity flag in Hash methods
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> I think the following behavior makes the most sense:
>
> * `Hash....
headius (Charles Nutter)
06:03 PM Revision ba3b40a9 (git): [ruby/irb] Discover and load debug.gem even if it's not in Gemfile
(https://github.com/ruby/irb/pull/448)
* Minor fixes on debug command
* Discover and load debug.gem even if it's no...
k0kubun (Takashi Kokubun)
05:34 PM Revision b1cbc883 (git): [ruby/irb] Minor fixes on debug command
(https://github.com/ruby/irb/pull/447)
* Minor fixes on debug command
* Update lib/irb/cmd/debug.rb
k0kubun (Takashi Kokubun)
04:31 PM Revision 10788166 (git): Differentiate T_OBJECT shapes from other objects
We would like to differentiate types of objects via their shape. This
commit adds a special T_OBJECT shape when we a...
tenderlovemaking (Aaron Patterson)
10:01 AM Feature #19072: Reminder: Remove ABI version suffix like "3.2.0+2" from release version
Thanks @nobu
I also confirmed removing +n suffix with building snapshot applied `#define RUBY_PATCHLEVEL 0` to `ve...
hsbt (Hiroshi SHIBATA)
09:53 AM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
I've reproduced it on MRI 2.7.0, but not for all built-ins, just ones that are Bash-specific as per these lists:
* h...
mjrzasa (Maciek Rząsa)
09:40 AM Bug #19132 (Closed): `**` を引数に指定すると no anonymous keyword rest parameter になる
Applied in changeset commit:git|ddd62fadaf91418cd259593285bc59358fb0b166.
----------
Allow anonymous keyword rest pa...
shugo (Shugo Maeda)
09:25 AM Revision f0ce1186 (git): Make anonymous rest arg (*) and block arg (&) accessible from ARGS node
yui-knk (Kaneko Yuichiro)
09:23 AM Revision ddd62fad (git): Allow anonymous keyword rest parameter with other keyword parameters
Fixes [Bug #19132] shugo (Shugo Maeda)
09:11 AM Revision 00872d12 (git): [ruby/irb] Add debug command (https://github.com/ruby/irb/pull/446)
https://github.com/ruby/irb/commit/30faa13fa3 st0012 (Stan Lo)
08:53 AM Feature #18571 (Closed): Removed the bundled sources from release package after Ruby 3.2
I added build instructions with new options at https://github.com/ruby/ruby/commit/a80b66e7ebf1179964b416cee6fd236048... hsbt (Hiroshi SHIBATA)
08:51 AM Revision a80b66e7 (git): Added build instructions of psych and fiddle with source files of libyaml and libffi
hsbt (Hiroshi SHIBATA)
07:27 AM Misc #19030: [ANN] Migrate lists.ruby-lang.org to Google Groups
I also migrated ruby-cvs, ruby-ext and ruby-math.
and testing to post ruby-core and its integration of redmine.
hsbt (Hiroshi SHIBATA)
06:39 AM Revision ca1aa7af (git): Prevent a "method redefined" warning
http://rubyci.s3.amazonaws.com/ubuntu2004-arm/ruby-master/log/20221118T033003Z.log.html.gz
```
[21350/22024] TestIRB:...
mame (Yusuke Endoh)
06:02 AM Feature #19135 (Closed): Support `UNIXSocket` on Windows
It was merged. ioquatix (Samuel Williams)
05:56 AM Revision 417f3cd8 (git): tool/generic_erb.rb: Add a hack to prevent "unused variable" warnings
mame (Yusuke Endoh)
05:45 AM Revision e19afe36 (git): Revert "tool/generic_erb.rb: Use ERB#result_with_hash instead of #result"
This reverts commit bd148a2bdd0c1a4d7679eedcd649171cdb4234d7.
ERB#result_with_hash does not work on Ruby 2.2
https:...
mame (Yusuke Endoh)
05:39 AM Revision 096ffebb (git): Prevent a "warning: assigned but unused variable - s2"
mame (Yusuke Endoh)
05:38 AM Revision bd148a2b (git): tool/generic_erb.rb: Use ERB#result_with_hash instead of #result
to prevent the warnings:
```
./tool/generic_erb.rb:23: warning: assigned but unused variable - output
./tool/generic_...
mame (Yusuke Endoh)
04:17 AM Revision 98e9165b (git): Fix bug involving .send and overwritten methods. (#6752)
@casperisfine reporting a bug in this gist https://gist.github.com/casperisfine/d59e297fba38eb3905a3d7152b9e9350
Aft...
Jimmy Miller
01:55 AM Revision ab4379e0 (git): Refactor RB_SPECIAL_CONST_P (#6759)
Since https://github.com/ruby/ruby/pull/6599, RUBY_IMMEDIATE_MASK also
overlaps RUBY_Qnil. Now RB_SPECIAL_CONST_P see...
k0kubun (Takashi Kokubun)
12:47 AM Revision d8202a52 (git): [ruby/irb] Add an option to suppress code_around_binding
(https://github.com/ruby/irb/pull/444)
for debug.gem's `irb` command
k0kubun (Takashi Kokubun)
12:24 AM Feature #16517: mkmf.rb - changes for Windows ?
As we are adding the ability to make gems from rust added in rubygems, can we come back to this and enable this or ad... dsisnero (Dominic Sisneros)

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)
 

Also available in: Atom