Project

General

Profile

Activity

From 12/03/2022 to 12/09/2022

12/09/2022

11:39 PM Revision 381e128c (git): [ruby/irb] Fix step command (https://github.com/ruby/irb/pull/477)
The current `next` pre-command workaround on IRB source stepping
moves the location by 1 extra line. A better way is to make `debug`
skip IRB frames completely, which is what this commit does.
It also fixes the step command's test. The ...
Stan Lo
10:12 PM Revision daa893db (git): YJIT: implement `getconstant` YARV instruction (#6884)
* YJIT: implement getconstant YARV instruction
* Constant id is not a pointer
* Stack operands must be read after jit_prepare_routine_call
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
maximecb (Maxime Chevalier-Boisvert)
09:14 PM Revision 1c057cfc (git): YJIT: Filter out 0-exit ops from Top-20 exit ops (#6892)
k0kubun (Takashi Kokubun)
04:38 PM Feature #19193 (Assigned): drop DOS TEXT mode support
On Windows platform, ```File.open(path, "r")``` returns an object different from "rt" and "rb". I call that DOS TEXT mode here.
DOS TEXT mode does
* crlf conversion
* 0x1a treated EOF charactor on read
and others (see Bug #19192)...
YO4 (Yoshinao Muramatsu)
04:06 PM Revision d7812d19 (git): objspace_dump.c: dump the capacity field for INITIAL_CAPACITY shapes
We forgot about that one, it's quite useful to see which capacity
we started from.
byroot (Jean Boussier)
04:02 PM Bug #19192 (Open): IO has third data mode, document is incomplete.
The documentation on the mode parameter of File.open is incomplete, I would like to clarify IO's data mode actual behavior here.
document says
```
To specify whether data is to be treated as text or as binary data, either of the fol...
YO4 (Yoshinao Muramatsu)
04:02 PM Feature #19191 (Open): Implicit console input transcoding is more desirable
In response to Bug #18353, STDIN.internal_encoding are set and encoding is converted explcitly on Windows platform.
For example, ```[STDIN.external_encoding, STDIN.internal_encoding] # => [Encoding::Windows-31J, Encoding::UTF-8]``` if S...
YO4 (Yoshinao Muramatsu)
02:34 PM Revision 12b52686 (git): Remove unused counter for heap_page->pinned_slots
eightbitraptor (Matt V-H)
01:18 PM Bug #19167 (Closed): Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
Applied in changeset commit:git|11acb7f7bcf6e80e03cf83bba863b9b3f980fdca.
----------
[Bug #19167] Remove useless conversion of classes for special const
nobu (Nobuyoshi Nakada)
01:15 PM Revision fe679988 (git): Clean up a temporary file
nobu (Nobuyoshi Nakada)
01:11 PM Revision 11acb7f7 (git): [Bug #19167] Remove useless conversion of classes for special const
nobu (Nobuyoshi Nakada)
01:11 PM Revision 181d4bee (git): Use rb_inspect instead of +PRIsVALUE for Object.inspect
In order to preserve the values when TrueClass, FalseClass or NilClass
are stored in ivars
eightbitraptor (Matt V-H)
12:18 PM Bug #19087: String#to_c supports multiple "_"
I agree that the new behavior is consistent and preferable, but I don't think it should be fixed on the stable branches.
If there are any troubles on the real world applications with this issue, please let me know.
nagachika (Tomoyuki Chikanaga)
12:12 PM Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
ruby_3_1 a1124dc162810f86cb0bff58cde24064cfc561bc merged revision(s) 58cc3c9f387dcf8f820b43e043b540fa06248da3. nagachika (Tomoyuki Chikanaga)
12:11 PM Revision a1124dc1 (git): merge revision(s) 58cc3c9f387dcf8f820b43e043b540fa06248da3: [Backport #19187]
[Bug #19187] Fix for tzdata-2022g
---
test/ruby/test_time_tz.rb | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
nagachika (Tomoyuki Chikanaga)
08:50 AM Feature #19036: Provide a way to set path for File instances created with for_fd
Eregon (Benoit Daloze) wrote in #note-7:
> > - Should we introduce `IO#path=`?
> ...
Agree. Also briefly brainstormed some possible security issues with being able to mutate the path after init. Don't want to go there and don't really ...
headius (Charles Nutter)
07:59 AM Revision 7c438328 (git): Update default gems list at 01cf3ab3b8ee20ad6746373ae17a56 [ci skip]
git[bot]
07:57 AM Revision 01cf3ab3 (git): [ruby/date] Bump version to 3.3.1
https://github.com/ruby/date/commit/b7a8229041 hsbt (Hiroshi SHIBATA)
07:55 AM Revision e96b64f5 (git): [ruby/date] No-op gem for JRuby for now
Remove all shipped files and require path on JRuby until we can
add JRuby's extension to the gem.
Temporary workaround for #48
https://github.com/ruby/date/commit/94c3becef2
headius (Charles Nutter)
07:48 AM Revision f25e76fd (git): MJIT: Improve comments for JIT fields [ci skip]
k0kubun (Takashi Kokubun)
07:43 AM Revision 8893913a (git): MJIT: Clarify jit_unit is only for MJIT
k0kubun (Takashi Kokubun)
07:37 AM Revision c668eaff (git): Update default gems list at 93ac1503be10c43978fe7ee1fec95c [ci skip]
git[bot]
07:36 AM Revision 93ac1503 (git): Added condition for ruby/ruby repository
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 0677bbe3 (git): Merge syntax_suggest master
Pick from https://github.com/ruby/syntax_suggest/commit/daee74dcb06296fa69fe8595fdff5d93d432b30d hsbt (Hiroshi SHIBATA)
07:36 AM Revision 9557c8ed (git): Merge net-protocol-0.2.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 4cbd3e19 (git): Merge RDoc-6.5.0
hsbt (Hiroshi SHIBATA)
07:36 AM Revision a4e14b9d (git): Merge RubyGems/Bundler master
Pick from https://github.com/rubygems/rubygems/commit/823c776d951f3c35094611473ec77f94e8bf6610 hsbt (Hiroshi SHIBATA)
07:36 AM Revision d928ebac (git): Merge Psych-5.0.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 98e33aa9 (git): Merge yaml-0.2.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 3b45498d (git): Merge json-2.6.3
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 7d04cddf (git): Merge stringio-3.0.4
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 286812bc (git): Merge fiddle-1.1.1
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 4e31fea7 (git): Merge strscan-3.0.5
hsbt (Hiroshi SHIBATA)
07:36 AM Revision bcf01b18 (git): Reapply the following commits related to extend timeout value.
66d1900423e6fb9774c2fe72dba8c2968b54d7ab
0686e4181d04dd911316a227753ceaa96d8c6533
1a63468831524f68e73cbb068071652c6486cfc6
e1fee7f949cb6719122672fa1081c60984a5339f
232e43fd52e53f667c2c290cffb4afa524889f0f
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 643918ec (git): Merge csv-3.2.6
hsbt (Hiroshi SHIBATA)
07:08 AM Revision 260a00d8 (git): MJIT: Refactor JIT failure handling
k0kubun (Takashi Kokubun)
07:06 AM Revision 4885aa9a (git): MJIT: Add comments about custom hooks [ci skip]
k0kubun (Takashi Kokubun)
06:58 AM Revision 97ed0562 (git): MJIT: Give a more appropriate name to the initial state
k0kubun (Takashi Kokubun)
06:53 AM Revision 0dc5c117 (git): MJIT: Convert compact_p flag to an enum
I'm gonna add another type of unit shortly. k0kubun (Takashi Kokubun)
06:40 AM Revision bfc22576 (git): MJIT: Drop an obsoleted explanation [ci skip]
There's no MJIT worker thread anymore k0kubun (Takashi Kokubun)
06:40 AM Revision 33aa06e3 (git): Use a ruby-lang alias [ci skip]
k0kubun (Takashi Kokubun)
06:40 AM Revision bda070f0 (git): [ruby/rdoc] Fix `=end` delimiter
https://github.com/ruby/rdoc/commit/e1679fa7e4 nobu (Nobuyoshi Nakada)
06:40 AM Revision acd857b9 (git): [ruby/rdoc] Non-RD part feature has not been imported to RDoc
https://github.com/ruby/rdoc/commit/fe0159de2f nobu (Nobuyoshi Nakada)
06:40 AM Revision b749bc05 (git): [ruby/rdoc] Use Tempfile
https://github.com/ruby/rdoc/commit/0b9dde5ab4 nobu (Nobuyoshi Nakada)
06:36 AM Revision fa64889a (git): [ruby/erb] Use a ruby-lang alias on spec.email
https://github.com/ruby/erb/commit/39414f32a5 k0kubun (Takashi Kokubun)
05:58 AM Revision db09ddf8 (git): Update default gems list at d7baa17b49a681a7436718f6219fcb [ci skip]
git[bot]
05:57 AM Revision d7baa17b (git): [ruby/etc] Bump version to 1.4.2
https://github.com/ruby/etc/commit/5cac138538 hsbt (Hiroshi SHIBATA)
05:42 AM Revision ec184077 (git): MJIT: Remove obsoleted conditional variables
k0kubun (Takashi Kokubun)
04:36 AM Revision 54a6bd2f (git): Update default gems list at 95b423f93a418abc010d7bc1baab48 [ci skip]
git[bot]
04:35 AM Revision 95b423f9 (git): [ruby/irb] Version 1.6.0
https://github.com/ruby/irb/commit/d799c5c9da k0kubun (Takashi Kokubun)
02:26 AM Revision 6ea3edbd (git): Fix bad code example in documentation
janosch-x (Janosch Müller)

12/08/2022

10:35 PM Revision e714907d (git): YJIT: Upgrade bindgen to stabilize and reduce output
The new version has an option to merge everything into a big
`extern "C"` block and it's nicer.
More importantly, this upgrade fixes an issue where Ubuntu with Clang 12
and macOS with Clang 14 gave a one line diff for `rb_shape_t`. It w...
alanwu (Alan Wu)
10:33 PM Revision 51ef991d (git): YJIT: Drop Copy trait from Context (#6889)
k0kubun (Takashi Kokubun)
10:31 PM Revision b26c9ce5 (git): YJIT: implement opt_newarray_min YARV instruction (#6888)
maximecb (Maxime Chevalier-Boisvert)
09:46 PM Revision c9076d54 (git): [ruby/irb] Add show_doc as an alias to the help command
(https://github.com/ruby/irb/pull/475)
In the long-term, we want to align with `Pry`, `byebug` and `debug` to
use the `help` command to list all commands, which is what `show_cmds`
currently does. And `show_doc` will be the command to l...
Stan Lo
09:05 PM Bug #19169 (Closed): Kernel#freeze doesn't propagate to singleton class when the singleton class has prepended modules
Applied in changeset commit:git|bb8afd7265af41a75e8889774aa26f157f146380.
----------
Freeze singleton class, not its origin
Previously, when we froze an object, we froze
`RCLASS_ORIGIN(object.singleton_class)`, which didn't freeze
`obj...
alanwu (Alan Wu)
09:05 PM Revision 12b7c129 (git): [ruby/irb] Gracefully handle missing command argument
(https://github.com/ruby/irb/pull/473)
* Handle file loading commands' argument error gracefully
Currently, if users don't provide an argument to `source`,
`irb_load`, and `irb_require`, IRB raises `ArgumentError` with full
stacktrace....
Stan Lo
09:00 PM Revision 234c3a05 (git): Update default gems list at 8bbf4e5d8dccba3adf07fb56a38c06 [ci skip]
git[bot]
08:58 PM Revision 8bbf4e5d (git): [ruby/stringio] bump up to 3.0.5
https://github.com/ruby/stringio/commit/e62b9d78d3 Sutou Kouhei
08:58 PM Revision bb8afd72 (git): Freeze singleton class, not its origin
Previously, when we froze an object, we froze
`RCLASS_ORIGIN(object.singleton_class)`, which didn't freeze
`object.singleton_class` when it has some prepended modules.
Origin iclass are internal objects and users can't interact with
the...
alanwu (Alan Wu)
08:58 PM Revision 47a5b34a (git): YJIT: Fold check-yjit-bindings into yjit-bindgen
So it's shorter on CI and the hint about how the fix the failure shows
up. It's going to print a diff locally too, but that should be fine.
alanwu (Alan Wu)
08:58 PM Revision 2ae26554 (git): YJIT: Add a hint for fixing "check-yjit-bindings"
This makes it clear what to do when the CI check
fails and should remove a few minutes of confusion
for people seeing this for the first time.
alanwu (Alan Wu)
07:11 PM Revision a87f802f (git): [ruby/irb] Kill PTY process after test is finished
(https://github.com/ruby/irb/pull/471)
The killing/waiting logic is borrowed from ruby/debug:
https://github.com/ruby/debug/blob/ec5ae5aebd61a99dc84028d8dffa8e7e165c1ec6/test/support/test_case.rb#L107-L136
Stan Lo
07:10 PM Revision 3956bb85 (git): [ruby/irb] Add "show_cmds" command to list all commands'
descriptions
(https://github.com/ruby/irb/pull/463)
https://github.com/ruby/irb/commit/7e857655ac
Stan Lo
06:31 PM Revision 2cea8e01 (git): MJIT: Mark MJIT's objects from mjit_mark
It looks like the current way of marking objects was breaking
eightbitraptor's upcoming VWA changes and this seems to fix it.
k0kubun (Takashi Kokubun)
05:46 PM Revision 73771e4b (git): ObjectSpace.dump_all: dump shapes as well
I see several arguments in doing so.
First they use a non trivial amount of memory, so for various memory
profiling/mapping tools it is relevant to have visibility of the space
occupied by shapes.
Then, some pathological code can creat...
byroot (Jean Boussier)
05:20 PM Revision b19490f7 (git): Use the built bundled gems in test-all as well as test-bundled-gems
nobu (Nobuyoshi Nakada)
03:38 PM Revision 5738ae70 (git): [DOC] Update `rb_gc_mark_locations` doc
The documentation says that the `end` pointer will be marked
but looking at the source, that is not the case.
Jimmy Bourassa
02:41 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
I also agree the 0-kwargs case should be supported for general use like `data.with(**changes)`, whether `changes` is empty or not. And that reads fine of course.
It's also like `Hash#merge` with no arguments.
I think `#with` with empty...
Eregon (Benoit Daloze)
02:24 PM Feature #19036: Provide a way to set path for File instances created with for_fd
ioquatix (Samuel Williams) wrote in #note-6:
> Implemented in https://github.com/ruby/ruby/pull/6867.
Thanks!
> ...
I think not, AFAIK there is no need for this to be mutable.
> - Should we introduce `IO#dup(..., path:)`?
De...
Eregon (Benoit Daloze)
05:22 AM Feature #19036 (Closed): Provide a way to set path for File instances created with for_fd
Implemented in https://github.com/ruby/ruby/pull/6867.
Follow up discussion:
- Should we introduce `IO#path=`?
- Should we introduce `IO#dup(..., path:)`?
ioquatix (Samuel Williams)
12:29 PM Revision e9f6d6b3 (git): Ignore .o.tmp files
byroot (Jean Boussier)
12:15 PM Revision 6081fd45 (git): [ruby/net-protocol] Failing test case for #19
Unfortunately we have to use a mock, but this test demonstrate the
mutation bug fixed in #19.
It fails on 0.2.0 but passes on 0.1.3 or 0.2.1.
https://github.com/ruby/net-protocol/commit/40a1ab687c
byroot (Jean Boussier)
10:39 AM Misc #18976: [ANN] blade.nagaokaut.ac.jp is down
I restored some of mojibake messages of Japanese lists that are `ruby-list` and `ruby-dev`.
hsbt (Hiroshi SHIBATA)
07:13 AM Misc #18976 (Closed): [ANN] blade.nagaokaut.ac.jp is down
>I'll build the simple txt archives like https://blade.ruby-lang.org/ruby-core/xxxxxx.
> ...
done. You can access the above archive like https://blade.ruby-lang.org/ruby-core/1 , https://blade.ruby-lang.org/ruby-dev/1 ...
>I'll creat...
hsbt (Hiroshi SHIBATA)
08:03 AM Bug #19167: Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
Essentially, this behavior is an "unofficial" feature for internal use only (not expected to be documented), so it has not been described in doc/extension.rdoc.
> Note: In the format string, "%"PRIsVALUE can be used for Object#to_s
...
nobu (Nobuyoshi Nakada)
07:24 AM Revision 516fe627 (git): Update default gems list at 6f44dc8edf5b444a45ea9f0a375a26 [ci skip]
git[bot]
07:23 AM Revision 6f44dc8e (git): [ruby/net-protocol] Bump version to 0.2.1
https://github.com/ruby/net-protocol/commit/06d1420936 hsbt (Hiroshi SHIBATA)
07:17 AM Revision 8547f61d (git): [ruby/net-protocol] Undo BufferedIO#rbuf_consume_all_shareable! optimization
This optimization is unsafe because `dest` is allowed to be a custom
object responding to `<<` (e.g. a block wrapped in `ReadAdapter`).
So the receiver can hold onto the passed buffer for as long as it wants.
If it was guaranteed that ...
byroot (Jean Boussier)
07:17 AM Revision a57a3154 (git): [rubygems/rubygems] Avoid deprecated Gem::Platform.match in Gem::Resolver::InstallerSet
https://github.com/rubygems/rubygems/commit/05cb5410cb Eregon (Benoit Daloze)
06:05 AM Revision 3938bd1b (git): MJIT: Remove Windows-specific code
because we no longer support it k0kubun (Takashi Kokubun)
05:20 AM Revision 09bc3abd (git): MJIT: Deal with a TODO with assertion
k0kubun (Takashi Kokubun)
05:19 AM Revision 6fd5d2dc (git): Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867)
Samuel Williams
05:13 AM Revision b2764752 (git): Update default gems list at b9d055d7604ea41f54268076622c8a [ci skip]
git[bot]
05:12 AM Revision b9d055d7 (git): [ruby/stringio] bump up to 3.0.4
https://github.com/ruby/stringio/commit/5ba853d6ff Sutou Kouhei
03:35 AM Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
ruby_3_0 a0a99185577794b1915eba0dc5154f09cc95e81d merged revision(s) 58cc3c9f. usa (Usaku NAKAMURA)
03:35 AM Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
ruby_2_7 36cadad6434bc31bc2d60697698cd5b930c097ce merged revision(s) 58cc3c9f. usa (Usaku NAKAMURA)
03:33 AM Revision 36cadad6 (git): merge revision(s) 58cc3c9f: [Backport #19187]
[Bug #19187] Fix for tzdata-2022g
---
test/ruby/test_time_tz.rb | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
U.Nakamura
03:33 AM Revision d21f9853 (git): Bump teeny
U.Nakamura
03:31 AM Revision 7e121dc4 (git): [ruby/logger] Another performance improvement on the Formatter by
using Kernel#sprintf over String#%
(https://github.com/ruby/logger/pull/75)
* Prefer Kernel#sprintf over String#% for formatting Strings
matsuda (Akira Matsuda)
03:31 AM Revision a0a99185 (git): merge revision(s) 58cc3c9f: [Backport #19187]
[Bug #19187] Fix for tzdata-2022g
---
test/ruby/test_time_tz.rb | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
U.Nakamura
03:30 AM Revision 9de654cb (git): Bump teeny
U.Nakamura
03:28 AM Revision 7ab4820a (git): [ruby/logger] Only assign to `@filename` if the path is valid.
(https://github.com/ruby/logger/pull/81)
https://github.com/ruby/logger/commit/b41d7c699c
Samuel Williams
03:22 AM Revision 2efaa805 (git): Don't sync jar artifact of CGI
hsbt (Hiroshi SHIBATA)
03:21 AM Revision 701251c5 (git): [ruby/logger] Drop RDoc development dependency to avoid CI failures.
(https://github.com/ruby/logger/pull/82)
https://github.com/ruby/logger/commit/8915627234
Samuel Williams
02:09 AM Revision 7cd0dacb (git): Update default gems list at 9fce6014b52852265c6b34a04a2057 [ci skip]
git[bot]
02:08 AM Revision 9fce6014 (git): [ruby/psych] Bump version to 5.0.1
https://github.com/ruby/psych/commit/bdf20e6042 hsbt (Hiroshi SHIBATA)
01:09 AM Revision 645cd94d (git): Add debug counters to RubyVM.stat (#6086)
* Add debug counters to RubyVM.stat
* Use SIZET2NUM
Co-author: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Prefix debug_counter_names
Chris Seaton

12/07/2022

11:30 PM Revision a2d3f560 (git): [ruby/irb] Lazily load the multi-irb extension
(https://github.com/ruby/irb/pull/472)
* Lazily load the multi-irb extension
We now have plan to implement a command that prints all commands'
information, which will need to load all command files without actually
running them.
But b...
Stan Lo
09:46 PM Revision 30c76f4d (git): Update yjit.md
Update citation, fix outdated and inaccurate information. maximecb (Maxime Chevalier-Boisvert)
08:44 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
Hi @mame! Thank you for your questions.
mame (Yusuke Endoh) wrote in #note-24:
> Thanks for the update.
> ...
The challenge is that this operation "make a copy of an immutable value object with 0 or more fields changed" is so fundamenta...
RubyBugs (A Nonymous)
08:02 PM Revision 9350c2b1 (git): Update YJIT warning, mention need to install rustc (#6873)
maximecb (Maxime Chevalier-Boisvert)
08:00 PM Revision 3bb7a401 (git): Update NEWS.md
maximecb (Maxime Chevalier-Boisvert)
05:57 PM Revision a89d856f (git): Update spec/bundler/bundler/fetcher/compact_index_spec.rb
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Aaron Patterson
05:57 PM Revision edc7af48 (git): Stop transitioning to UNDEF when undefining an instance variable
Cases like this:
```ruby
obj = Object.new
loop do
obj.instance_variable_set(:@foo, 1)
obj.remove_instance_variable(:@foo)
end
```
can cause us to use many more shapes than we want (and even run out).
This commit changes the code su...
tenderlovemaking (Aaron Patterson)
04:49 PM Bug #19167: Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
~~I'll change the flag.~~
nobu (Nobuyoshi Nakada)
04:35 PM Bug #19167: Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
I've pushed a fix and a regression test up to [PR #6872](https://github.com/ruby/ruby/pull/6872) eightbitraptor (Matt V-H)
04:02 PM Bug #19167: Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
It looks like this behaviour was codified in a spec since the commit that @alanwu mentioned was committed.
[This commit (a28aa80c739a1d169649a4da833ef48cfb3465b3)](https://github.com/ruby/ruby/commit/a28aa80c739a1d169649a4da833ef48cfb...
eightbitraptor (Matt V-H)
12:47 PM Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
coolo (Stephan Kulow) wrote:
> I can see no other option than not to test this detail - because relying on correct timezone data (either way) is barely possible.
I agree that we should not test tzdata itself.
https://github.com/nobu...
nobu (Nobuyoshi Nakada)
10:41 AM Bug #19187 (Closed): Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
The workaround was committed to master branch at 58cc3c9f387dcf8f820b43e043b540fa06248da3. nagachika (Tomoyuki Chikanaga)
12:27 PM Revision f725bf35 (git): Fix a typo in NEWS.md. [ci-skip]
nagachika (Tomoyuki Chikanaga)
11:31 AM Revision 01fd1c48 (git): [rubygems/rubygems] Remove remaining dev profile test
https://github.com/rubygems/rubygems/commit/7d50e998b3 Ian Ker-Seymer
11:31 AM Revision 88497b21 (git): [rubygems/rubygems] Better tests are better
https://github.com/rubygems/rubygems/commit/17abb80c2c Ian Ker-Seymer
11:31 AM Revision ef509347 (git): [rubygems/rubygems] Fix string match in test
https://github.com/rubygems/rubygems/commit/82554f2bfd Ian Ker-Seymer
11:31 AM Revision 55416123 (git): [rubygems/rubygems] Always build in release mode
https://github.com/rubygems/rubygems/commit/7b84fc1f19 Ian Ker-Seymer
11:31 AM Revision 37d10caa (git): [rubygems/rubygems] Updates rb-sys to 0.9.46
https://github.com/rubygems/rubygems/commit/6c2e7aafd6 Ian Ker-Seymer
10:48 AM Revision 581b4a3c (git): NEWS.md: Remove an extraneous word [ci skip]
nobu (Nobuyoshi Nakada)
10:44 AM Bug #19190 (Closed): `Regexp.compile('regexp', 'n')` raises `unknown regexp option: n (ArgumentError)`
nobu (Nobuyoshi Nakada)
09:57 AM Bug #19190: `Regexp.compile('regexp', 'n')` raises `unknown regexp option: n (ArgumentError)`
FYI: This issue has been fixed at racc-1.6.1
https://github.com/ruby/racc/commit/65cd26efd88e013c532c223fe9ab9ea4d0c93271
hsbt (Hiroshi SHIBATA)
09:24 AM Bug #19190 (Closed): `Regexp.compile('regexp', 'n')` raises `unknown regexp option: n (ArgumentError)`
I get the following unexpected error when using Ruby 3.2.0-dev.
## Expected (Ruby 3.1 and prior)
No errors:
```console
% ruby -ve "Regexp.compile('regexp', 'n')"
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-darwin19...
koic (Koichi ITO)
10:19 AM Revision 58cc3c9f (git): [Bug #19187] Fix for tzdata-2022g
nobu (Nobuyoshi Nakada)
10:19 AM Revision c43203fd (git): NEWS.md: Remove white space only lines [ci skip]
nobu (Nobuyoshi Nakada)
09:08 AM Revision 1968b4e2 (git): Mention `rb_hash_new_capa` and `rb_internal_thread_*` in NEWS.md
byroot (Jean Boussier)
07:56 AM Bug #19012: BasicSocket#recv* methods return an empty packet instead of nil on closed connections
I was able to implement the desired behavior in https://github.com/ruby/ruby/pull/6407 byroot (Jean Boussier)
07:46 AM Revision 65545c66 (git): MJIT: Fix an assertion broken with --mjit-wait enabled
k0kubun (Takashi Kokubun)
07:21 AM Revision 17d45fee (git): MJIT: Refactor mjit_wait
k0kubun (Takashi Kokubun)
07:05 AM Revision 57cb4a81 (git): MJIT: Remove obsoleted MJIT counters
k0kubun (Takashi Kokubun)
07:00 AM Revision 12916e28 (git): MJIT: Use xfree for units
now that we use ZALLOC_N for allocating units k0kubun (Takashi Kokubun)
06:59 AM Revision 718e4f6e (git): MJIT: Explain why we have MJIT_CFLAGS_PIPE [ci skip]
k0kubun (Takashi Kokubun)
06:40 AM Revision 98c41dfe (git): MJIT: Just use ZALLOC_N in create_unit
We no longer use an MJIT worker thread, so there's no need to avoid GC. k0kubun (Takashi Kokubun)
06:19 AM Revision 7e207040 (git): MJIT: Remove an unused argument and unused counters
I plan to rebuild MJIT metrics later, not using debug counters. k0kubun (Takashi Kokubun)
06:09 AM Revision 940b3170 (git): document for commit 5bbba76489628f450949 [ci skip]
shyouhei (Shyouhei Urabe)
05:36 AM Revision e6b63b38 (git): MJIT: Refactor the jit_func enum for MJIT
All values should have a MJIT_ prefix. We could address the warning for
the end mark if we just define the macro for the check next to the enum.
It even simplifies some code for checking the enum.
k0kubun (Takashi Kokubun)
03:55 AM Bug #19188: Ruby 2.7.7 CGI Cookie Processing
You may want to use cgi gem 0.3.6 mame (Yusuke Endoh)
03:32 AM Revision bcd8b2f0 (git): NEWS.md: Added some missing features
Also, tool/update-NEWS-refs.rb is added to help the update of NEWS.md. mame (Yusuke Endoh)

12/06/2022

11:56 PM Bug #19189 (Closed): Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime
Starting with Ruby 3.1.3, mkmf.rb calls to `pkg-config` will fail if `pkg-config` wasn't present on the system at the time it was built. Prior to that version, even if Ruby itself wasn't configured with `pkg-config`, mkmf.rb would be abl... mistydemeo (Misty De Meo)
11:11 PM Revision 8684904c (git): NEWS.md: Explain the change of [Feature #18367]
mame (Yusuke Endoh)
09:43 PM Revision 40a9964b (git): Set max_iv_count (used for object shapes) based on inline caches
With this change, we're storing the iv name on an inline cache on
setinstancevariable instructions. This allows us to check the inline
cache to count instance variables set in initialize and give us an
estimate of iv capacity for an obje...
jemmai (Jemma Issroff)
09:19 PM Bug #19167: Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
Currently it's using a format string with `"%+"PRIsVALUE`,
which calls rb_inspect() for most values, but with special-case
handling for a NilClass and friends. The special handling was
introduced in commit:4191a6b90d3eeb63a31609dba29a...
alanwu (Alan Wu)
06:27 PM Bug #19167: Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
tompng (tomoya ishida) wrote:
> ~~~ruby
> ...
This is exhibiting the same behaviour on the `master` branch.
This looks to be happening because `inspect_i` from `object.c` gets called for each instance variable, and that is using the...
eightbitraptor (Matt V-H)
08:37 PM Revision 64cdf8ba (git): Update dependencies
dodecadaniel (Daniel Colson)
08:37 PM Revision e69b91fa (git): Introduce BOP_CMP for optimized comparison
Prior to this commit the `OPTIMIZED_CMP` macro relied on a method lookup
to determine whether `<=>` was overridden. The result of the lookup was
cached, but only for the duration of the specific method that
initialized the cmp_opt_data c...
dodecadaniel (Daniel Colson)
08:37 PM Revision c43951e6 (git): Move BOP macros to separate file
This commit moves ruby_basic_operators and the unredefined macros out of
vm_core.h and into basic_operators.h so that we can use them more
broadly in places where we currently use a method look up via
`rb_method_basic_definition_p` (e.g....
dodecadaniel (Daniel Colson)
06:39 PM Bug #19188 (Closed): Ruby 2.7.7 CGI Cookie Processing
This is already fixed on the master branch: https://github.com/ruby/ruby/commit/745dcf5326ea2c8e2047a3bddeb0fbb7e7d07649 alanwu (Alan Wu)
06:26 PM Bug #19188 (Closed): Ruby 2.7.7 CGI Cookie Processing
This is my first bug report here, apologies if I mess things up.
Ruby 2.7.7 introduced a code change in lib/ruby/2.7.0/cgi/cookie.rb. There is now a custom setter for the domain attribute. You can see me debugging this below
```
...
apremdas@yahoo.co.uk (Andrew Premdas)
02:27 PM Revision 9d4483f2 (git): [ruby/net-http] [DOC] Fix call-seq for Net::HTTP.start
The lack of a newline between the call-seq and the documentation was
causing the documentation to be parsed as a call-seq.
https://github.com/ruby/net-http/commit/1a212e2065
peterzhu2118 (Peter Zhu)
11:33 AM Bug #19187 (Closed): Ruby 3.1.3 testsuite fails after timezone 2022g update is applied
The timezone database changed incompatible to what ruby's testsuite expects.
See the announcement here: http://mm.icann.org/pipermail/tz-announce/2022-November/000076.html and note the little detail
Singapore's 1981-12-31 change...
coolo (Stephan Kulow)
11:24 AM Feature #19183 (Closed): Add bin/goruby, bin/ruby, and lib/libruby.so.3.2.0 (or similar) to .gitignore
Applied in changeset commit:git|14074567ea7bdfc956167d101e90ceaa59ed296b.
----------
[Feature #19183] Ignore interim artifacts [ci skip]
nobu (Nobuyoshi Nakada)
11:24 AM Revision 14074567 (git): [Feature #19183] Ignore interim artifacts [ci skip]
nobu (Nobuyoshi Nakada)
09:24 AM Bug #18623 (Closed): `make runnable` does not work
Applied in changeset commit:git|901471ab8a36f841fbd1f7396877444a25b06db6.
----------
[Bug #18623] Link only existing excutables to make runnable [ci skip]
nobu (Nobuyoshi Nakada)
09:23 AM Revision 87a1fb9a (git): NEWS: `UnboundMethod#==`
ko1 (Koichi Sasada)
09:13 AM Feature #18798 (Closed): `UnboundMethod#==` with inherited classes
https://github.com/ruby/ruby/pull/6855 was merged.
`p String.instance_method(:object_id) == Array.instance_method(:object_id) #=> true`
ko1 (Koichi Sasada)
08:52 AM Revision 901471ab (git): [Bug #18623] Link only existing excutables to make runnable [ci skip]
nobu (Nobuyoshi Nakada)
07:24 AM Feature #18639 (Closed): Update Unicode data to Unicode Version 15.0.0
Completed with commits f82a38be2616 to 68bb6bfc35e8. duerst (Martin Dürst)
05:55 AM Revision 81e274c9 (git): [DOC] Improve documentation to RB_ALLOCV
Although the storage of the opaque Ruby object is an array of VALUEs, the intention of RB_ALLOCV is to allocate bytes of memory. larskanis (Lars Kanis)
05:18 AM Feature #18980: `it` as a default block parameter
I see that `$.` is already a <a href="https://docs.ruby-lang.org/en/2.4.0/globals_rdoc.html">pre-defined variable</a> which would make `$.method_name` difficult to parse. Then `_$` looks a little bit too close to the pre-defined variable... maedi (Maedi Prichard)
04:50 AM Revision 8c62b360 (git): Bump octokit/request-action
Bumps [octokit/request-action](https://github.com/octokit/request-action) from 4579f9e1e690974421f9f6928a30fb448e967c60 to 52ce92ce3185e00e2425f043c3e9509121929aea.
- [Release notes](https://github.com/octokit/request-action/releases)
- ...
dependabot[bot]
02:52 AM Revision 53473f8e (git): Remove unused link [ci skip]
znz (Kazuhiro NISHIYAMA)
02:52 AM Revision cf12a8f2 (git): Fix a link [ci skip]
znz (Kazuhiro NISHIYAMA)
02:51 AM Revision 78d42c23 (git): Remove unused headings [ci skip]
znz (Kazuhiro NISHIYAMA)
02:18 AM Revision 80bd9c64 (git): Revert wrong sync in 9aa18f61f297fcb2ee0cbd4be0772607745274b7 [ci skip]
znz (Kazuhiro NISHIYAMA)
02:08 AM Bug #19180 (Closed): rbconfig.rb does not get updated when common.mk is changed
Applied in changeset commit:git|e9a0f45dc40d3539640739c1cc7e6c47abc02a2f.
----------
[Bug #19180] rbconfig.rb depends on common.mk
nobu (Nobuyoshi Nakada)
02:06 AM Revision e9a0f45d (git): [Bug #19180] rbconfig.rb depends on common.mk
nobu (Nobuyoshi Nakada)
01:17 AM Revision 68bb6bfc (git): update NEWS to mention Unicode version 15.0.0
duerst (Martin Dürst)
01:11 AM Revision e0487ec4 (git): update rbconfig spec to Unicode version 15.0.0
(this includes emoji version 15.0) duerst (Martin Dürst)
01:11 AM Revision 368b8448 (git): update Unicode include files to version 15.0.0
duerst (Martin Dürst)
01:11 AM Revision 66bf1563 (git): move Unicode include files to version 15.0.0 directory
duerst (Martin Dürst)
01:11 AM Revision 156069d7 (git): update Unicode normalization tables to version 15.0.0
duerst (Martin Dürst)
01:11 AM Revision ea532bd5 (git): add file version check for new Unicode emoji file header
The change in the Unicode emoji file header took place at
version 14.0.0, but is needed only from version 15.0.0
because in version 14.0.0, another check is still active.
duerst (Martin Dürst)
01:11 AM Revision f82a38be (git): change Unicode version to 15.0.0
duerst (Martin Dürst)
12:53 AM Revision 9aa18f61 (git): [ruby/irb] Allow disabling autocompletion with
`IRB_USE_AUTOCOMPLETE=false`
(https://github.com/ruby/irb/pull/469)
* Allow using IRB_USE_AUTOCOMPLETE=false to disable autocompletion
Currently, the only 2 ways to disable autocompletion are:
1. Create `.irbrc` and set `IRB.conf[:USE...
Stan Lo
12:08 AM Bug #19007: Unicode tables differences from Unicode.org 14.0 data
The wrong properties were fixed for version 14.0.0 with commit e31d645. This issue should stay open until we are sure what caused the wrong properties in the first place. duerst (Martin Dürst)

12/05/2022

11:58 PM Revision e31d645d (git): fix wrong property information in name2ctype.h
Co-authored-by: Nobuyoshi Nakada [nobu@ruby-lang.org](mailto:nobu@ruby-lang.org)
See https://github.com/ruby/ruby/pull/6451 and
https://bugs.ruby-lang.org/issues/19007.
This keeps the Unicode version at 14.0.0, so this commit
is suited...
duerst (Martin Dürst)
11:03 PM Revision b78fbfdb (git): Skip auto-request-review on fork repositories
k0kubun (Takashi Kokubun)
10:43 PM Revision 235fc504 (git): YJIT: Remove --yjit-code-page-size (#6865)
Certain code page sizes don't work and can cause crashes, so having this
value available as a command-line option is a bit dangerous. Remove it
and turn it into a constant instead.
alanwu (Alan Wu)
10:33 PM Revision e4aba8f5 (git): Add shape_id to heap dump
jemmai (Jemma Issroff)
09:58 PM Bug #19115: RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
thomthom (Thomas Thomassen) wrote in #note-8:
> Will this patch be pack-ported to the 3.1 branch?
It's up to the branch maintainer, @nagachika, to decide.
alanwu (Alan Wu)
02:16 PM Bug #19115: RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
Will this patch be pack-ported to the 3.1 branch? thomthom (Thomas Thomassen)
09:20 PM Revision e7642d80 (git): YJIT: Extract SHAPE_ID_NUM_BITS into a constant (#6863)
jemmai (Jemma Issroff)
06:43 PM Feature #16122: Data: simple immutable value object
@ston1x I understand where you are coming from (make the declaration more homogenous for the sake of IDE's convenience), and I don't think that the goal is meaningless, but in this case, it will lead to severe complication of semantics/i... zverok (Victor Shepelev)
07:22 AM Feature #16122: Data: simple immutable value object
I propose a little bit different approach:
```ruby
Ticket = Data.define(:event_id, :user_id,:start_at) do
# And other methods defined below
def validate
puts "Validated!"
end
end
```
This is much consistent and wor...
matz (Yukihiro Matsumoto)
03:17 PM Bug #19184 (Feedback): create a Range with String subclass presents a weird behavior
It is not about Range, but about the change of `String#succ` behavior.
[Here is the reason](https://rubyreferences.github.io/rubychanges/3.0.html#string-always-returning-string) + explanation of the behavior change. Basically, `#succ`...
zverok (Victor Shepelev)
02:37 PM Bug #19184 (Feedback): create a Range with String subclass presents a weird behavior
``` ruby
class CalendarMonth < String
def succ
self.class.new(
if december?
"#{year + 1}-01"
else
"#{year}-#{(month + 1).to_s.rjust(2, '0')}"
end
)
end
private
def decembe...
clavius_tales (Clavius Tales Rocha Moreira)
01:16 PM Revision 1602d75c (git): [ruby/did_you_mean] Do not suggest #name= for #name and vice versa
(https://github.com/ruby/did_you_mean/pull/180)
* Do not suggest #name= for #name and vice versa
* Avoid allocating unnecessary MatchData
Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
Co-authored-by: Jean byro...
Matthew Boeh
12:03 PM Revision 74923aaf (git): [ruby/irb] Close leaked pty IOs
https://github.com/ruby/irb/commit/cc9b1d7ba8 nobu (Nobuyoshi Nakada)
10:45 AM Revision 8e5d1277 (git): Update default gems list at fa865f5752d55c6fd2f88b81401c43 [ci skip]
git[bot]
10:44 AM Revision fa865f57 (git): [ruby/bigdecimal] Bump version to 3.1.3
https://github.com/ruby/bigdecimal/commit/25a75c2033 hsbt (Hiroshi SHIBATA)
10:30 AM Revision d0888f77 (git): Update default gems list at 3fe5890f7b2edca1b5e25b1bf240bb [ci skip]
git[bot]
10:29 AM Revision 3fe5890f (git): [ruby/did_you_mean] Bump version to 1.6.2
https://github.com/ruby/did_you_mean/commit/f5b15128e2 hsbt (Hiroshi SHIBATA)
10:23 AM Revision 0b767d74 (git): Use io/console to avoid stty error [ci skip]
nobu (Nobuyoshi Nakada)
09:20 AM Feature #19183 (Closed): Add bin/goruby, bin/ruby, and lib/libruby.so.3.2.0 (or similar) to .gitignore
When I compile ruby, and then use `git status`, the files `bin/goruby`, `bin/ruby`, and `lib/libruby.so.3.2.0` (or similar) always show up as untracked files. I think they should be added to .gitignore. duerst (Martin Dürst)
09:04 AM Feature #19177 (Closed): optional offset for Array#index
Closing as duplicate.
@Dan0042 can you revive the previous issue? The principle was accepted indeed, but it seems there was still a few open questions.
It's probably a bit late for 3.2, but would be worth trying to get this revived...
byroot (Jean Boussier)
08:33 AM Revision faee3b90 (git): Update default gems list at b62b7dc705b347e9fdd0aa543a0a22 [ci skip]
git[bot]
08:26 AM Revision 3f8dad04 (git): [ruby/zlib] Bump version to 3.0.0
https://github.com/ruby/zlib/commit/f1ce5e3e8d hsbt (Hiroshi SHIBATA)
08:24 AM Revision 48644e71 (git): tool/runruby.rb: remove LD_PRELOAD-like env-var options from runruby.rb
LD_PRELOAD sometimes forces loading libraries into unrelated
executables. For example, macOS on recent Apple Silicon can execute
arm64 and arm64e binaries by default, and /usr/bin/clang is built as
arm64e. If Ruby is built as arm64, and ...
katei (Yuta Saito)
08:22 AM Revision 3396b10f (git): [ruby/win32ole] Bump version to 1.8.9
https://github.com/ruby/win32ole/commit/e4a1f3a2bf hsbt (Hiroshi SHIBATA)
08:20 AM Revision b62b7dc7 (git): [ruby/uri] Bump version to 0.12.0
https://github.com/ruby/uri/commit/72f22716f8 hsbt (Hiroshi SHIBATA)
08:18 AM Revision 8f7ec172 (git): Update default gems list at 325ac80c21d9da96b314d1e5b0cb1d [ci skip]
git[bot]
08:18 AM Revision 3fe8907b (git): [ruby/un] Bump version to 0.2.1
https://github.com/ruby/un/commit/8f1c78e27c hsbt (Hiroshi SHIBATA)
08:16 AM Revision eca80901 (git): [ruby/tsort] Bump version to 0.1.1
https://github.com/ruby/tsort/commit/dd71002c65 hsbt (Hiroshi SHIBATA)
08:15 AM Revision 325ac80c (git): [ruby/tmpdir] Bump version to 0.1.3
https://github.com/ruby/tmpdir/commit/ee99c758fd hsbt (Hiroshi SHIBATA)
08:14 AM Revision ab314610 (git): Update default gems list at 3909cfaa02f96976e2734948e35600 [ci skip]
git[bot]
08:13 AM Revision 3909cfaa (git): [ruby/timeout] Bump version to 0.3.1
https://github.com/ruby/timeout/commit/4941e8c871 hsbt (Hiroshi SHIBATA)
08:09 AM Revision 30379e33 (git): Handle depend files on nmake
nobu (Nobuyoshi Nakada)
08:09 AM Revision facb5cd4 (git): Clean compiler intermediate files more
nobu (Nobuyoshi Nakada)
08:04 AM Revision f64718cb (git): Update default gems list at faafb7b74027213b59e7cfbd4de969 [ci skip]
git[bot]
08:03 AM Revision faafb7b7 (git): [ruby/stringio] Revert "Bump version to 3.0.4"
This reverts commit https://github.com/ruby/stringio/commit/aeb7e1a0bde6.
https://github.com/ruby/stringio/commit/003dd0d003
hsbt (Hiroshi SHIBATA)
08:03 AM Revision 88735f9e (git): Update default gems list at 95e272baf801aa081569729c5bc518 [ci skip]
git[bot]
08:02 AM Revision 95e272ba (git): [ruby/stringio] Bump version to 3.0.4
https://github.com/ruby/stringio/commit/aeb7e1a0bd hsbt (Hiroshi SHIBATA)
07:52 AM Revision 2c78ca64 (git): Update default gems list at f5355df6102fbfb4f6f3391448518c [ci skip]
git[bot]
07:51 AM Revision f5355df6 (git): [ruby/securerandom] Bump version to 0.2.1
https://github.com/ruby/securerandom/commit/5bfe7d6c16 hsbt (Hiroshi SHIBATA)
07:49 AM Revision 771c4ee6 (git): Update default gems list at 52c76d0f692c3be8670bcbe1c77915 [ci skip]
git[bot]
07:49 AM Revision 52c76d0f (git): [ruby/resolv] Bump version to 0.2.2
https://github.com/ruby/resolv/commit/261f049058 hsbt (Hiroshi SHIBATA)
07:45 AM Revision fca68f37 (git): Update default gems list at 40ee1eea76f91af9387a8d3b55c573 [ci skip]
git[bot]
07:44 AM Revision 40ee1eea (git): [ruby/psych] Bump version to 5.0.0
https://github.com/ruby/psych/commit/4fed0941b9 hsbt (Hiroshi SHIBATA)
07:39 AM Revision 40e82877 (git): Update default gems list at 73404e8f1233bdeb6cbe5b80acf3f0 [ci skip]
git[bot]
07:38 AM Revision 73404e8f (git): [ruby/pstore] Bump version to 0.1.2
https://github.com/ruby/pstore/commit/2d95c19c43 hsbt (Hiroshi SHIBATA)
07:36 AM Revision 68be8908 (git): Update default gems list at 7a7d1b38537356aa5d1dd6ed85f00d [ci skip]
git[bot]
07:35 AM Revision 7a7d1b38 (git): [ruby/pp] Bump version to 0.4.0
https://github.com/ruby/pp/commit/8870aa02df hsbt (Hiroshi SHIBATA)
07:34 AM Revision ba715122 (git): Update default gems list at 0d5ad44ac3565e780076c8cc4b8b2c [ci skip]
git[bot]
07:33 AM Revision 0d5ad44a (git): [ruby/pathname] Bump version to 0.2.1
https://github.com/ruby/pathname/commit/7e796cc78e hsbt (Hiroshi SHIBATA)
07:19 AM Revision e11bf1f2 (git): Update default gems list at 71b4d355266ae4ae3c2bf05b5882ed [ci skip]
git[bot]
07:17 AM Revision 71b4d355 (git): [ruby/optparse] Bump version to 0.3.0
https://github.com/ruby/optparse/commit/c80dfb1ebd hsbt (Hiroshi SHIBATA)
07:14 AM Revision d9f75c6c (git): Update default gems list at c5911408f905fdd90f6b93026adc5a [ci skip]
git[bot]
07:14 AM Revision c5911408 (git): [ruby/open-uri] Bump version to 0.3.0
https://github.com/ruby/open-uri/commit/783892ebb0 hsbt (Hiroshi SHIBATA)
07:06 AM Revision d97949ea (git): Update default gems list at 04311008b6fcb32d3a9512b644acc6 [ci skip]
git[bot]
06:54 AM Revision 04311008 (git): Use loc to fix a failure of test_ast.rb
```
1) Failure:
TestAst#test_ranges:test/fiber/scheduler.rb [/home/runner/work/ruby/ruby/src/test/ruby/test_ast.rb:122]:
<[]> expected but was
<[{:type=>:max_validation_error,
:max=>
#<RubyVM::AbstractSyntaxTree::Node:...
shugo (Shugo Maeda)
06:53 AM Revision 0cfe77d4 (git): Update default gems list at ad970f54742c3275e407baa8d5777c [ci skip]
git[bot]
06:51 AM Revision ccb41a0a (git): [ruby/nkf] Bump version to 0.1.2
https://github.com/ruby/nkf/commit/98607bd2be hsbt (Hiroshi SHIBATA)
06:46 AM Revision ad970f54 (git): [ruby/net-protocol] Bump version to 0.2.0
https://github.com/ruby/net-protocol/commit/3097bb4cc3 hsbt (Hiroshi SHIBATA)
06:45 AM Revision 4a5a6578 (git): Update default gems list at 8a5dffe513a0b5bd8264b4b19a80c7 [ci skip]
git[bot]
06:42 AM Revision 9e114338 (git): [ruby/net-http] Bump version to 0.3.1
https://github.com/ruby/net-http/commit/09a9ea163a hsbt (Hiroshi SHIBATA)
06:39 AM Revision 826adbc9 (git): [ruby/mutex_m] Bump version to 0.1.2
https://github.com/ruby/mutex_m/commit/57f23978cd hsbt (Hiroshi SHIBATA)
06:36 AM Revision 8a5dffe5 (git): [ruby/logger] Bump version to 1.5.2
https://github.com/ruby/logger/commit/9c4ae3b81d hsbt (Hiroshi SHIBATA)
06:32 AM Revision fad4e906 (git): Update default gems list at 8c596369e8e308672a34031378e2d4 [ci skip]
git[bot]
06:32 AM Revision 51cfe701 (git): [ruby/ipaddr] Bump version to 1.2.5
https://github.com/ruby/ipaddr/commit/d92acb3982 hsbt (Hiroshi SHIBATA)
06:22 AM Revision 8c596369 (git): [ruby/io-nonblock] Bump version to 0.2.0
https://github.com/ruby/io-nonblock/commit/46c0ec245e hsbt (Hiroshi SHIBATA)
06:19 AM Revision c9476446 (git): Update default gems list at 05caafb4731c796890027cafedaac5 [ci skip]
git[bot]
06:19 AM Revision 519c31e4 (git): [ruby/getoptlong] Bump version to 0.2.0
https://github.com/ruby/getoptlong/commit/71fbf2123f hsbt (Hiroshi SHIBATA)
06:15 AM Revision f41d38a6 (git): [ruby/forwardable] Bump version to 1.3.3
https://github.com/ruby/forwardable/commit/301687dbfa hsbt (Hiroshi SHIBATA)
06:12 AM Revision 05caafb4 (git): [ruby/fileutils] Bump version to 1.7.0
https://github.com/ruby/fileutils/commit/213e6a3d1f hsbt (Hiroshi SHIBATA)
06:10 AM Revision 594c663f (git): Update default gems list at f6dad3954469b0051286237bd6bb4b [ci skip]
git[bot]
06:10 AM Revision 2649055c (git): Should use argsloc for the last argument for arg_append()
shugo (Shugo Maeda)
06:09 AM Revision f6dad395 (git): [ruby/fcntl] Bump version to 1.0.2
https://github.com/ruby/fcntl/commit/20fd776303 hsbt (Hiroshi SHIBATA)
06:08 AM Revision da5fe6e8 (git): Update default gems list at a0deb649098979ec1c7349080a3241 [ci skip]
git[bot]
06:07 AM Revision a0deb649 (git): [ruby/etc] Bump version to 1.4.1
https://github.com/ruby/etc/commit/b3e9d9ceb0 hsbt (Hiroshi SHIBATA)
06:00 AM Revision e01c980a (git): Update default gems list at 3cfb7afbfec492ba5ec2f7f50775bd [ci skip]
git[bot]
05:59 AM Revision 3cfb7afb (git): [ruby/drb] Bump version to 2.1.1
https://github.com/ruby/drb/commit/7c2d56e9f3 hsbt (Hiroshi SHIBATA)
05:57 AM Revision ce3abb42 (git): Update default gems list at fcbafe7f4a22417f20b327a22696df [ci skip]
git[bot]
05:56 AM Revision fcbafe7f (git): [ruby/digest] Bump version to 3.1.1
https://github.com/ruby/digest/commit/fad16582ea hsbt (Hiroshi SHIBATA)
05:48 AM Revision f1f39a5f (git): Update default gems list at c4d22d47f8bd019ae6df98fafb9db7 [ci skip]
git[bot]
05:47 AM Revision c4d22d47 (git): [ruby/delegate] Bump version to 0.3.0
https://github.com/ruby/delegate/commit/420637be45 hsbt (Hiroshi SHIBATA)
05:40 AM Revision 650b87b0 (git): Manually bumped date-3.3.0 version
hsbt (Hiroshi SHIBATA)
05:25 AM Revision 6b0ff6f9 (git): Update default gems list at 0f534bfb6ae03247620beb871c9325 [ci skip]
git[bot]
05:19 AM Revision 774dad49 (git): [ruby/date] Bump version to 3.3.0
https://github.com/ruby/date/commit/ac1642cf39 hsbt (Hiroshi SHIBATA)
05:15 AM Revision 0f534bfb (git): [ruby/benchmark] Bump version to 0.2.1
https://github.com/ruby/benchmark/commit/303ac8f28b hsbt (Hiroshi SHIBATA)
05:04 AM Revision 4d39a11c (git): Change the dependabot interval to monthly
It's not that important for ruby/ruby to keep them up to date. k0kubun (Takashi Kokubun)
05:03 AM Revision d110bf9c (git): Bump ruby/setup-ruby from 1.125.0 to 1.126.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.125.0 to 1.126.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/de6f5b9c340068d049670c6b6ae8dc94cf...
dependabot[bot]
05:03 AM Revision c880625f (git): Bump github/codeql-action from 2.1.33 to 2.1.35
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.33 to 2.1.35.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md...
dependabot[bot]
05:00 AM Revision f64b2354 (git): Update default gems list at d7b00b55a91583610cf5ceac162d65 [ci skip]
git[bot]
04:59 AM Revision d7b00b55 (git): [ruby/rdoc] Bump version to 6.4.0
https://github.com/ruby/rdoc/commit/c5e7ee03ac hsbt (Hiroshi SHIBATA)
04:56 AM Revision 3491ac8a (git): Update default gems list at 5fb3dec05868f9513b15d0b0a9c81d [ci skip]
git[bot]
04:55 AM Revision 5fb3dec0 (git): [ruby/racc] Bump version to 1.6.1
https://github.com/ruby/racc/commit/1768ed252f hsbt (Hiroshi SHIBATA)
04:54 AM Bug #19182 (Closed): ALWAYS_UPDATE_UNICODE=yes downloads all the Unicode files twice when executing make
`make` downloads all the Unicode files twice when ALWAYS_UPDATE_UNICODE is set to yes. One download is for miniruby, the second is for ruby. This shouldn't be necessary. I hope this can be fixed. duerst (Martin Dürst)
04:52 AM Bug #19181 (Closed): lib/unicode-normalize/tables.rb does not get updated even if ALWAYS_UPDATE_UNICODE is set to yes
To update lib/unicode-normalize/tables.rb to Unicode version 15.0.0, I had to manually remove this file. This should not be necessary. Also, it should not be necessary to have to set ALWAYS_UPDATE_UNICODE to yes just to update this file. duerst (Martin Dürst)
03:14 AM Revision 16b2e030 (git): [ruby/reline] Remove unapproved color setting APIs
These APIs/configs are not approved by the Ruby core, so they can't be
released to the public. This means having them in the codebase will
block other fixes/features from being released as well.
So this commit removes those exposed inte...
Stan Lo
02:22 AM Revision 06cc30b1 (git): gitignore yjit_exit_locations.dump
hsbt (Hiroshi SHIBATA)
12:30 AM Bug #19180 (Closed): rbconfig.rb does not get updated when common.mk is changed
I changed UNICODE_VERSION in common.mk to 15.0.0, and ran `make up`, `make`, `make runnable`, and various tests several times.
Still rbconfig.rb, and therefore `RbConfig::CONFIG["UNICODE_VERSION"]`, says that the Unicode version is 14...
duerst (Martin Dürst)

12/04/2022

11:46 PM Feature #19134 (Open): ** is not allowed in def foo(...)
I think it's most conservative to probhibit `*` and `**`:
```ruby
def foo(...)
bar(&) # OK
baz(*) # error
quux(**) # error
end
```
And an error should occur in the following code instead of dropping keyword arguments:
```ruby
de...
shugo (Shugo Maeda)
10:48 PM Feature #19134: ** is not allowed in def foo(...)
Eregon (Benoit Daloze) wrote in #note-5:
> IMHO if `...` is used then `*`, `**` and `&` should all be forbidden (a SyntaxError at parse time).
> ...
`&` is allowed in 3.1, so it's a breaking change to prohibit it.
shugo (Shugo Maeda)
06:08 PM Feature #19134: ** is not allowed in def foo(...)
Although, it should still be possible to optimize delegation as good as possible and allow `*`/`**`/`&` by having those behave like `def args(*,**,&) = *`, `def kwargs(*,**,&) = **`, `def block(*,**,&) = &` and as if `*` was replaced by ... Eregon (Benoit Daloze)
06:04 PM Feature #19134: ** is not allowed in def foo(...)
IMHO if `...` is used then `*`, `**` and `&` should all be forbidden (a SyntaxError at parse time).
Because that way is the best for optimizing delegation.
And also taking apart `*` and `**` is arguably not really delegation anymore.
Eregon (Benoit Daloze)
11:32 PM Bug #18623: `make runnable` does not work
@nakada: I again hit this. I found out that the solution is easy, just do `make goruby` before using `make runnable`. I propose to add `goruby` to the targets necessary when creating `runnable`, to avoid additional steps and unnecessary ... duerst (Martin Dürst)
08:57 PM Feature #10343: Postfix notations for `when` and `else` inside `case` statement
After eight years, I still think this would be a good feature. Any opinions? sawa (Tsuyoshi Sawada)
08:23 PM Revision d90835ae (git): Fix crash when RGENGC_CHECK_MODE=2
Commit dba61f4 fixes a crash when GC'ing a iseq that failed to compile.
However, if we turn on RGENGC_CHECK_MODE then rb_iseq_memsize crashes
since it cannot handle an iseq without is_entries.
peterzhu2118 (Peter Zhu)
08:22 PM Revision e58c4f97 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/84)
https://github.com/ruby/net-http/commit/660046386f
burdettelamar (Burdette Lamar)
03:10 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
hsbt (Hiroshi SHIBATA) wrote in #note-8:
> >But your way of updating "json" as a normal gem over the default gem means that whenever ruby is used with --disable-gems then the updated version is not used and thus a CVE could still be exp...
graywolf (Gray Wolf)
12:03 AM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
I've created an initial document, trying to distill some of the discussions here into a single place that downstream package maintainers can use as guidance.
https://github.com/ruby/ruby/pull/6856
Please help expand this document t...
ioquatix (Samuel Williams)
08:32 AM Misc #19176: Missing insns_info for iseqs in ruby 3.2 built with debug options
This happening only if ruby is built with following options: `-C --with-valgrind -E CFLAGS='-O0 -g3 -fno-inline -ggdb -DHAVE_DEBUG'`
Not sure which one causing this.
hurricup (Alexandr Evstigneev)
07:14 AM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
It seems that `...` is faster without [Feature #19134]:
```
simple call 13.250M (± 2.0%) i/s - 66.792M in 5.043180s
delegate without splat
12.523M (± 1.3%) i/s - 62.863M in 5.020866...
shugo (Shugo Maeda)
06:44 AM Feature #17942: Add a `initialize(public @a, private @b)` shortcut syntax for defining public/private accessors for instance vars as part of constructor
LevLukomskyi (Lev Lukomskyi) wrote in #note-6:
> [Y]ou are forced to create a lot of duplication [...]
> ...
Not necessarily. You can do with 2 times (counting the use with `attr_reader`):
def initialize(*args)
@poll_item...
sawa (Tsuyoshi Sawada)
03:54 AM Feature #17942: Add a `initialize(public @a, private @b)` shortcut syntax for defining public/private accessors for instance vars as part of constructor
This means you want only `initialize` method to be parsed specially?
And when bypassing this method, e.g., `Marshal.load`, no accessor will be defined?
nobu (Nobuyoshi Nakada)
02:02 AM Bug #19144: Ruby should set AI_V4MAPPED | AI_ADDRCONFIG getaddrinfo flags by default
A gentle poke to see if anybody has some thoughts on this? kjtsanaktsidis (KJ Tsanaktsidis)
01:59 AM Feature #19179 (Open): Support parsing SCM_CRED(ENTIALS) messages from ancillary messages
## Background
Linux and FreeBSD support processes at either end of a unix socket identifying themselves to the other party by passing an ancillary message of type `SCM_CREDENTIALS` (Linux) or `SCM_CREDS` (FreeBSD). The socket library ...
kjtsanaktsidis (KJ Tsanaktsidis)
12:26 AM Feature #19177: optional offset for Array#index
Oops, sorry, duplicate of #17056, which has a PR and was accepted but... never merged? Dan0042 (Daniel DeLorme)

12/03/2022

11:08 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
>But your way of updating "json" as a normal gem over the default gem means that whenever ruby is used with --disable-gems then the updated version is not used and thus a CVE could still be exposed.
`--disable-gems` is only developmen...
hsbt (Hiroshi SHIBATA)
11:03 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
austin (Austin Ziegler) wrote in #note-5:
> No, they can be upgraded independently.
That is interesting. The second sentence from https://rubyreferences.github.io/rubyref/stdlib/bundled.html says "Unlike standard library, these gems ...
Segaja (Andreas Schleifer)
10:55 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
Austin, Thanks for your explanation for details.
We will update the all of bundled stdlibs(=default gems) at the release time of Ruby.
hsbt (Hiroshi SHIBATA)
10:20 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
Segaja (Andreas Schleifer) wrote in #note-4:
> austin (Austin Ziegler) wrote in #note-3:
> ...
No, they can be upgraded independently.
```console
$ ruby -rjson -e 'puts "JSON: #{JSON::VERSION}"'
JSON: 2.6.1
$ gem search '^json$'
...
austin (Austin Ziegler)
10:14 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
austin (Austin Ziegler) wrote in #note-3:
> Segaja (Andreas Schleifer) wrote in #note-2:
> ...
I think we have a naming difference here. I'm talking about the "default gems" as listed on https://stdgems.org/3.0.4/ for example for CRuby...
Segaja (Andreas Schleifer)
10:11 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
Segaja (Andreas Schleifer) wrote in #note-2:
> hsbt (Hiroshi SHIBATA) wrote in #note-1:
> ...
Since the stdlib gems are able to be upgraded independently of Ruby, the need for *immediate* CRuby releases (or other Ruby release versions)...
austin (Austin Ziegler)
09:55 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
hsbt (Hiroshi SHIBATA) wrote in #note-1:
> >As far as I know stdlibs get only updated for the users if CRuby releases a new version. So will CRuby always release a new version if there is a critical fix an stdlib "needs" to be updated?
...
Segaja (Andreas Schleifer)
09:53 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
>As far as I know stdlibs get only updated for the users if CRuby releases a new version. So will CRuby always release a new version if there is a critical fix an stdlib "needs" to be updated?
The all of stdlibs are maintained CRuby c...
hsbt (Hiroshi SHIBATA)
09:19 PM Misc #19178 (Closed): How does CRuby handle CVE issues in stdlib gems which get patched?
If there is a CVE issue in one of the stdlibs ( https://stdgems.org/ ) which gets patched, what is CRubys approach on how to push this critical fix to the users?
As far as I know stdlibs get only updated for the users if CRuby release...
Segaja (Andreas Schleifer)
08:54 PM Misc #19170: DevMeeting-2022-12-15
- [Misc #19178] Distribution of Ruby and Standard Library gems. ioquatix (Samuel Williams)
07:40 PM Bug #19173 (Closed): syntax_suggest segfaults on syntax error when refinement activated
Applied in changeset commit:git|dba61f487cd7c1555f1187a2e2846506c1b143be.
----------
return early if there is no is_entries buffer
If there is a compilation error, is_entries may not be allocated, but
ic_size could be greater than 0. ...
tenderlovemaking (Aaron Patterson)
07:04 PM Misc #19155 (Closed): documentation of Pathname#join with absolute path
Applied in changeset commit:git|b8a73e704ddc77db36317dda293e99fb0ee641f4.
----------
[ruby/pathname] [Misc #19155] [DOC] Addion of absolute paths
https://github.com/ruby/pathname/commit/3cb5ed2576
nobu (Nobuyoshi Nakada)
07:03 PM Revision dba61f48 (git): return early if there is no is_entries buffer
If there is a compilation error, is_entries may not be allocated, but
ic_size could be greater than 0. If we don't have a buffer to iterate
over, just return early. Otherwise GC could segv
[Bug #19173]
tenderlovemaking (Aaron Patterson)
04:50 PM Feature #19177 (Closed): optional offset for Array#index
String#index allows an optional offset:
```ruby
"the quick brown fox jumps over the lazy dog".index("the") #=> 0
"the quick brown fox jumps over the lazy dog".index("the",1) #=> 31
```
I was a bit surprised that Array doesn't ...
Dan0042 (Daniel DeLorme)
04:29 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]

> …treats unknown keywords passed to this method as an error. I had already made it clear that I thought it should be an error at the end of my message earlier in this thread … and I think we are all in agreement on this point in this ...
RubyBugs (A Nonymous)
04:15 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
austin (Austin Ziegler) wrote in #note-32:
> If `origin` is a `Point` containing `x` and `y` values, then `origin#copy(x: 1, y: 2, z: 3)` should do…what? Should it error or just take the values that it knows?
The [current implement...
ufuk (Ufuk Kayserilioglu)
02:49 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
ufuk (Ufuk Kayserilioglu) wrote in #note-31:
> RubyBugs (A Nonymous) wrote in #note-29:
> ...
I think that `#copy` is OK, but this is more of a (checked?) `#merge`, right? I think that would be where my question comes in. If `origin` i...
austin (Austin Ziegler)
02:44 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
RubyBugs (A Nonymous) wrote in #note-29:
> Hi Matz and Ufuk, please consider that making no-args an error makes programming around this API dynamically more complicated
Indeed, that is true. However, personally, I find a `with` call ...
ufuk (Ufuk Kayserilioglu)
02:26 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
RubyBugs (A Nonymous) wrote in #note-29:
> please consider that making no-args an error makes programming around this API dynamically more complicated
I second this request. In the interests of regularity, it should be fine to ask fo...
tomstuart (Tom Stuart)
02:09 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
ufuk (Ufuk Kayserilioglu) wrote in #note-28:
> Thank you @matz. I will update the implementation to make the no-args case an error, and point people to use `dup` to make identical shallow clones instead in the error message.
> ...
Hi Mat...
RubyBugs (A Nonymous)
02:56 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
Thank you @matz. I will update the implementation to make the no-args case an error, and point people to use `dup` to make identical shallow clones instead in the error message.
I read the dev meeting notes and saw that you made a point...
ufuk (Ufuk Kayserilioglu)
02:12 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
I think it should be an error. I am still not 100% sure `with` is the best name.
Matz.
matz (Yukihiro Matsumoto)
04:24 PM Feature #16122: Data: simple immutable value object
Thanks a lot for implementing this feature! Can't wait to start applying it in specific use-cases.
However, I am also wondering if it is possible to define such `Data`-derived classes in a "traditional way", meaning something like this, ...
ston1x (Nicolai Stoianov)
03:53 PM Revision b8a73e70 (git): [ruby/pathname] [Misc #19155] [DOC] Addion of absolute paths
https://github.com/ruby/pathname/commit/3cb5ed2576 nobu (Nobuyoshi Nakada)
03:05 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
oh, I still very much want the "break"/"return" semantic, and I still think it should be invoked via Fiber#cancel (not a special exception class with Fiber#raise).
But I think the semantics and implementation should be slightly differ...
nevans (Nicholas Evans)
01:25 PM Misc #19176 (Open): Missing insns_info for iseqs in ruby 3.2 built with debug options
I'm not quite sure it is a proper place to ask questions, correct me if I'm wrong.
But I have a problem with ruby-3.2.0 previews. Looks like iseq is missing `insns_info`s.
It works fine in with pre-3.2 rubies but seems something has...
hurricup (Alexandr Evstigneev)
07:33 AM Feature #18980: `it` as a default block parameter
Ruby takes so much syntax last years. I fear it. Let's not strain our lovely language, please. funny_falcon (Yura Sokolov)
12:21 AM Feature #18980: `it` as a default block parameter
@maedi `_$`, and especially `$`, have the same problems as `@` in which it is super easy to confuse and hard to differentiate `$.size` vs `$size`, as mentioned here https://bugs.ruby-lang.org/issues/18980#note-28 ufuk (Ufuk Kayserilioglu)
02:27 AM Revision 7b2306a3 (git): Remove unguaranteed assertion [ci skip]
It can be configured by `--with-os-version-style=TYPE` option, and
just copies from theApple's installation as the default. We don't
know why it is major only.
nobu (Nobuyoshi Nakada)
 

Also available in: Atom