Project

General

Profile

Activity

From 01/19/2024 to 01/25/2024

01/25/2024

11:48 PM Revision 30b4070f (git): Update bundled gems list at b822f9f6fc5a00ec08dbc698b98458 [ci skip]
git[bot]
11:47 PM Revision b822f9f6 (git): Bundle rbs-3.4.3 (#9702)
* Bundle rbs-3.4.3
* Remove rbs from `TEST_BUNDLED_GEMS_ALLOW_FAILURES` list
* Add the failing tests to `rbs_skip_tests`
soutaro (Soutaro Matsumoto)
11:15 PM Revision 5bd69491 (git): [PRISM] Add raw option to assert_prism_eval
peterzhu2118 (Peter Zhu)
10:30 PM Bug #20208: Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
Thanks for your thoughts.
I agree ideally Ruby wouldn’t be carrying around hacks to work around glibc bugs that ca...
kjtsanaktsidis (KJ Tsanaktsidis)
04:32 PM Bug #20208: Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
I'll address each suggestion from my POV, though this is not my usual area of work. It sure is tricky.
1) I feel l...
jprokop (Jarek Prokop)
02:35 AM Bug #20208: Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
I opened https://github.com/ruby/ruby/pull/9698 for the Net::HTTP tests.
The rubyspec tests are a little trickier....
kjtsanaktsidis (KJ Tsanaktsidis)
12:00 AM Bug #20208: Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
Thanks for this report - it was super detailed and made it very easy for me to figure out what's going on!
Firstly...
kjtsanaktsidis (KJ Tsanaktsidis)
10:08 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux

Any guess as to when the backport to 3.3.0 will land? Our 3.3.0 upgrade is on hold, wondering if we should wait or ...
navels (Lee Nave)
09:49 PM Bug #20213 (Closed): zsuper with keyword splat without explicit keywords incorrectly uses mutable keyword splat
As the subject states, the super call in this code is compiled incorrectly:
```ruby
extend(Module.new{def a(**k) ...
jeremyevans0 (Jeremy Evans)
09:45 PM Revision 2034e6ad (git): YJIT: Support concattoarray and pushtoarray (#9708)
k0kubun (Takashi Kokubun)
09:17 PM Revision f0224adf (git): YJIT: Assert lea source operand type
alanwu (Alan Wu)
08:10 PM Revision e452caac (git): [PRISM] Fix next inside rescue
eightbitraptor (Matt V-H)
05:46 PM Bug #20212 (Closed): Regex match method is crashing - (irb):6: [BUG] Segmentation fault at 0x0000000000000000 ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-darwin22]
Tried this with ruby 3.3.0, both irb and rails console are crashing
```ruby
DOMAIN_REGEX = Regexp.new(
/\A((?=...
rubanthilak (Ruban Thilak)
05:14 PM Revision e7262966 (git): [PRISM] Fix indentation of test_ScopeNode
peterzhu2118 (Peter Zhu)
04:49 PM Feature #20205: Enable `frozen_string_literal` by default
Alright, I finally got hold of the benchmarking server. For the record it's an AWS c5n.metal, with various tuning lik... byroot (Jean Boussier)
03:43 PM Feature #20205: Enable `frozen_string_literal` by default
> I have no idea which benchmarks are micro and which are headline. What about erubi and erubi-rails?
Each yjit-b...
byroot (Jean Boussier)
03:32 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-31:
> I shouldn't have ran the micro-benchmarks anyway, only the headline benc...
Dan0042 (Daniel DeLorme)
02:33 PM Feature #20205: Enable `frozen_string_literal` by default
> The worst case is -6% on setivar_object
This is a fluke caused by random slowdown on my development machine. Her...
byroot (Jean Boussier)
01:53 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-25:
> You are missing the social aspect of it.
Thank you for the explanation. ...
Dan0042 (Daniel DeLorme)
12:18 PM Feature #20205: Enable `frozen_string_literal` by default
> I would say 5% on lobsters is a huge gain.
Still trying to get hold on our benchmarking server...
But just to...
byroot (Jean Boussier)
11:30 AM Feature #20205: Enable `frozen_string_literal` by default
mame (Yusuke Endoh) wrote in #note-9:
> @zverok Ah, that's exactly why I was against the introduction of `frozen_str...
Eregon (Benoit Daloze)
04:23 PM Revision d4cc77e7 (git): YJIT: Add a counter for invokebuiltin exits (#9696)
k0kubun (Takashi Kokubun)
04:11 PM Revision 1301422d (git): [PRISM] Fix VM_CALL_ARGS_SPLAT_MUT failures
kddnewton (Kevin Newton)
01:58 PM Revision ebf803aa (git): [ruby/prism] Fix Ruby head build
https://github.com/ruby/prism/commit/149e2ff7f6 kddnewton (Kevin Newton)
11:26 AM Bug #20197: Postponed job invocations are significantly reduced in Ruby 3.3
Ah, thank you - yes, this should be backported to 3.3 I think. kjtsanaktsidis (KJ Tsanaktsidis)
09:09 AM Bug #20197: Postponed job invocations are significantly reduced in Ruby 3.3
@kjtsanaktsidis I'm assuming this should be backported to 3.3, but if I'm wrong you can change it to `DONTNEED` byroot (Jean Boussier)
02:10 AM Bug #20197 (Closed): Postponed job invocations are significantly reduced in Ruby 3.3
Applied in changeset commit:git|ef276858d9295208add48e27208c69184dc50472.
----------
Trigger postponed jobs on runni...
kjtsanaktsidis (KJ Tsanaktsidis)
10:20 AM Revision fdb8f086 (git): [ruby/irb] Reword history file documentation and fix typo
(https://github.com/ruby/irb/pull/842)
https://github.com/ruby/irb/commit/bbabf818c7
Eddie Lebow
09:58 AM Revision 4bd58e1a (git): [ruby/irb] diabled ==> disabled
https://github.com/ruby/irb/commit/295797ff37 ydah (Yudai Takada)
09:58 AM Revision 03341156 (git): [ruby/irb] Synatx ==> Syntax
https://github.com/ruby/irb/commit/2ffacaa031 ydah (Yudai Takada)
09:58 AM Revision 819ae2c2 (git): [ruby/irb] assigment ==> assignment
https://github.com/ruby/irb/commit/24c7694467 ydah (Yudai Takada)
09:58 AM Revision 5f9f46a2 (git): [ruby/irb] reseting ==> resetting
https://github.com/ruby/irb/commit/6209f06c72 ydah (Yudai Takada)
09:58 AM Revision 9b1cc68b (git): [ruby/irb] configuation ==> configuration
https://github.com/ruby/irb/commit/a27a511777 ydah (Yudai Takada)
09:58 AM Revision fd9b9685 (git): [ruby/irb] recever ==> receiver
https://github.com/ruby/irb/commit/dbd0e368c4 ydah (Yudai Takada)
09:58 AM Revision 6580a95f (git): [ruby/irb] inifinity ==> infinity
https://github.com/ruby/irb/commit/78dea58000 ydah (Yudai Takada)
09:58 AM Revision 4d4d4184 (git): [ruby/irb] overrided ==> overridden
https://github.com/ruby/irb/commit/b77b23aade ydah (Yudai Takada)
07:06 AM Revision 0f5407b3 (git): Simplified test case for encoding option
Co-authored-by: Nobuyoshi Nakada <[email protected]> hsbt (Hiroshi SHIBATA)
07:06 AM Revision d13a57cd (git): Use Encoding.local_charmap instead of locale
In my windows environment uses cp932 for terminal encoding. hsbt (Hiroshi SHIBATA)
07:06 AM Revision 1d972498 (git): Use Encoding::CESU_8 for test case
Encoding::Windows_31J is already loaded in mswin platform hsbt (Hiroshi SHIBATA)
06:54 AM Feature #20210: Invalid source encoding raises ArgumentError, not SyntaxError
I don't remember the reason to select `ArgumentError`, `SyntaxError` feels more reasonable.
https://github.com/ruby/...
nobu (Nobuyoshi Nakada)
02:28 AM Feature #20210 (Closed): Invalid source encoding raises ArgumentError, not SyntaxError
I was hoping we could change the error that is raised when an invalid source encoding is found from an ArgumentError ... kddnewton (Kevin Newton)
06:06 AM Revision ff55d6b8 (git): Use `token_seen` and simplify `comment_at_top`
Instead of scanning before the current comment. nobu (Nobuyoshi Nakada)
05:00 AM Feature #20211 (Open): Consider re-adding 3.2-style support of Anonymous Args/Blocks
(My sincere apologies if this issue has already been raised, I didn't see it in Ruby 3.4 backlog.)
As per https://...
johnnyshields (Johnny Shields)
03:42 AM Revision 2b9719ea (git): Ignore --parser=prism failures until prism compiler fixed for recent optimizations
jeremyevans (Jeremy Evans)
03:42 AM Revision fb596499 (git): Temporarily ignore bundled gems failures for rbs and typeprof on macos, similar to ubuntu
This should be reverted after rbs and typeprof are updated to handle
the changes for the optimizations.
jeremyevans (Jeremy Evans)
02:29 AM Feature #20066: Reduce Implicit Array/Hash Allocations For Method Calls Involving Splats
Please try! ko1 (Koichi Sasada)
02:26 AM Feature #20066 (Closed): Reduce Implicit Array/Hash Allocations For Method Calls Involving Splats
jeremyevans0 (Jeremy Evans)
02:25 AM Revision 42d891be (git): Add benchmark for implicit array/hash allocation reduction changes
Benchmark results:
```
named_multi_arg_splat
after: 5344097.6 i/s
before: 3088134.0 i/s - 1.73x slower
named_...
jeremyevans (Jeremy Evans)
02:25 AM Revision 4f77d8d3 (git): Do not use ruby2_keywords for ... argument forwarding
This allows ... argument forwarding to benefit from Allocationless
Anonymous Splat Forwarding, allowing the `f` call ...
jeremyevans (Jeremy Evans)
02:25 AM Revision 0f90a24a (git): Introduce Allocationless Anonymous Splat Forwarding
Ruby makes it easy to delegate all arguments from one method to another:
```ruby
def f(*args, **kw)
g(*args, **kw)...
jeremyevans (Jeremy Evans)
02:25 AM Revision b8516d6d (git): Add pushtoarray VM instruction
This instruction is similar to concattoarray, but it takes the
number of arguments to push to the array, removes that...
jeremyevans (Jeremy Evans)
02:25 AM Revision 6e06d0d1 (git): Add concattoarray VM instruction
This instruction is similar to concatarray, but assumes the first
object is already an array, and appends to it direc...
jeremyevans (Jeremy Evans)
02:25 AM Revision 22e48846 (git): Add VM_CALL_ARGS_SPLAT_MUT callinfo flag
This flag is set when the caller has already created a new array to
handle a splat, such as for `f(*a, b)` and `f(*a,...
jeremyevans (Jeremy Evans)
02:10 AM Revision ef276858 (git): Trigger postponed jobs on running_ec if that is available
Currently, any postponed job triggered from a non-ruby thread gets sent
to the main thread, but if the main thread is...
kjtsanaktsidis (KJ Tsanaktsidis)
01:51 AM Revision 2e18228d (git): Use echo with all platforms
hsbt (Hiroshi SHIBATA)
01:51 AM Revision 52085b66 (git): Use echo command in mswin platform
hsbt (Hiroshi SHIBATA)
12:18 AM Bug #20203: `TestEnumerable` test failures with GCC 14
The GC by default doesn't move objects so it shouldn't write to the array. I guess it's a use-after-free and double f... alanwu (Alan Wu)
12:03 AM Revision 34c688b1 (git): Omit TestCompilePrism on s390x for now (#9694)
k0kubun (Takashi Kokubun)

01/24/2024

11:27 PM Bug #20207: Segmentation fault for a regexp containing positive and negative lookaheads
I get a SEGV on darwin if I run it repeatedly. With 3.3.0 and Valgrind on Linux I get:
```
==216941== Invalid read o...
alanwu (Alan Wu)
12:13 PM Bug #20207: Segmentation fault for a regexp containing positive and negative lookaheads
Also ruby-head backtrace:
```
BUG] Segmentation fault at 0x0000000000000008
ruby 3.4.0dev (2024-01-24T10:33:25Z ...
byroot (Jean Boussier)
12:11 PM Bug #20207: Segmentation fault for a regexp containing positive and negative lookaheads
@nobu I do get a SEGV on both x86_64 and ARM64:
```
-- C level backtrace information ----------------------------...
byroot (Jean Boussier)
11:06 AM Bug #20207: Segmentation fault for a regexp containing positive and negative lookaheads
FYI, it raises a `SystemStackError`. nobu (Nobuyoshi Nakada)
08:41 AM Bug #20207 (Closed): Segmentation fault for a regexp containing positive and negative lookaheads
I'm getting segmentation fault for the following regexp with Ruby 3.3.0:
``` ruby
puts 'clan'.match?(/(?=.*a)(?!....
Sundeep (Sundeep Agarwal)
11:06 PM Revision 2cc7a56e (git): YJIT: Avoid leaks by skipping objects with a singleton class
For receiver with a singleton class, there are multiple vectors YJIT can
end up retaining the object. There is a path...
alanwu (Alan Wu)
11:06 PM Bug #20209 (Closed): YJIT can leak memory by retaining objects with singleton class
We've received [reports](https://github.com/ruby/ruby/pull/9693) of YJIT causing memory leaks in production Rails app... alanwu (Alan Wu)
10:32 PM Revision f769d68a (git): [PRISM] Fix getblockparamproxy for forwarding arguments
peterzhu2118 (Peter Zhu)
10:32 PM Feature #20205: Enable `frozen_string_literal` by default
> when you are using --enable-frozen-string-literal, you need to have everything fixed for things to work. So maybe a... byroot (Jean Boussier)
10:25 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-25:
> As of today running ruby with `--enable=frozen_string_literal` is a litt...
jeremyevans0 (Jeremy Evans)
09:58 PM Feature #20205: Enable `frozen_string_literal` by default
> and possiblity convince them to switch to frozen_string_literal: false style
You are missing the social aspect ...
byroot (Jean Boussier)
09:36 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-14:
> > Conversely let me ask: Is it really that much work to just set RUBYOPT...
Dan0042 (Daniel DeLorme)
07:57 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-22:
> But you are right that it is uncommon for users to put `# frozen_string_...
palkan (Vladimir Dementyev)
07:49 PM Feature #20205: Enable `frozen_string_literal` by default
That's by design, each `eval` call is its own file, and it doesn't inherit the pragma from the file where it's invoke... byroot (Jean Boussier)
07:48 PM Feature #20205: Enable `frozen_string_literal` by default
> There is one use case in which having # frozen_string_literal: true differs from RUBYOPT=--enable=frozen_string_lit... kddnewton (Kevin Newton)
07:45 PM Feature #20205: Enable `frozen_string_literal` by default
> Files with # frozen_string_literal: true or # frozen_string_literal: false don't change in behavior at all.
Ther...
palkan (Vladimir Dementyev)
07:42 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-16:
> > Here you go: https://github.com/ruby-next/freezolite 🙂
>
> As menti...
palkan (Vladimir Dementyev)
06:56 PM Feature #20205: Enable `frozen_string_literal` by default
> The trade is compatibility, but I don't think the trade is worthwhile and not very extreme.
Sorry, I made a typo...
tenderlovemaking (Aaron Patterson)
06:53 PM Feature #20205: Enable `frozen_string_literal` by default
mame (Yusuke Endoh) wrote in #note-9:
> I can understand if all String objects were frozen by default, but freezing ...
tenderlovemaking (Aaron Patterson)
06:13 PM Feature #20205: Enable `frozen_string_literal` by default
> Here you go: https://github.com/ruby-next/freezolite 🙂
As mentioned on Reddit when you first published that gem,...
byroot (Jean Boussier)
05:46 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-8:
> Devise a way to set compile options for all files inside a directory
...
palkan (Vladimir Dementyev)
05:46 PM Feature #20205: Enable `frozen_string_literal` by default
> Conversely let me ask: Is it really that much work to just set RUBYOPT="--enable=frozen_string_literal" in your app... byroot (Jean Boussier)
05:29 PM Feature #20205: Enable `frozen_string_literal` by default
I think this was discussed or suggested before. Personally
I have all my .rb files with one header line being:
#...
rubyFeedback (robert heiler)
05:14 PM Feature #20205: Enable `frozen_string_literal` by default
> I think the community pulled through it and I don't seem to hear much about it anymore.
Careful; the community "...
Dan0042 (Daniel DeLorme)
04:28 PM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-10:
> Is that legacy code even still working on 3.x after the keyword argument...
jeremyevans0 (Jeremy Evans)
03:34 PM Feature #20205: Enable `frozen_string_literal` by default
I'm still trying to get a hold onto the benchmarking server, but the 5% figure on `lobsters` seems to be quite consis... byroot (Jean Boussier)
02:22 PM Feature #20205: Enable `frozen_string_literal` by default
@byroot Thanks for the quick benchmark! It depends on further benchmarking, but currently, I don't see enough advanta... mame (Yusuke Endoh)
11:14 AM Feature #20205: Enable `frozen_string_literal` by default
> Maybe what could help is a declaration on a higher level, e.g. per gem or so rather than per source file
That's ...
byroot (Jean Boussier)
11:12 AM Feature #20205: Enable `frozen_string_literal` by default
+1 to this issue proposal, it sounds like a good plan.
And agreed with @zverok, having frozen literals by default is ...
Eregon (Benoit Daloze)
11:11 AM Feature #20205: Enable `frozen_string_literal` by default
`frozen_string_literal` can lead to more efficient code, but it's also part of a programming style (usually called fu... duerst (Martin Dürst)
09:46 AM Feature #20205: Enable `frozen_string_literal` by default
> but because standardrb doesn't enforce it (and many folks have been defaulting to that), I've seen several codebas... byroot (Jean Boussier)
09:44 AM Feature #20205: Enable `frozen_string_literal` by default
> I think we should evaluate the value of # frozen_string_literal: true before making it the default.
So it's not ...
byroot (Jean Boussier)
09:34 AM Feature #20205: Enable `frozen_string_literal` by default
> The purpose of `# frozen_string_literal: true` is to make Ruby code fast and memory-saving. When it was introduced,... zverok (Victor Shepelev)
04:38 AM Feature #20205: Enable `frozen_string_literal` by default
I think we should evaluate the value of `# frozen_string_literal: true` before making it the default.
The purpose ...
mame (Yusuke Endoh)
08:32 PM Revision a65b52b5 (git): [ruby/prism] Add missing snapshot for the new file
https://github.com/ruby/prism/commit/459a9f544e Max Prokopiev
08:32 PM Revision e9f936df (git): [ruby/prism] Extract snippet into its own file and skip in TruffleRuby
https://github.com/ruby/prism/commit/12649ee74c Max Prokopiev
08:32 PM Revision 91a5093c (git): [ruby/prism] Force encoding during deserialization of constants
otherwise we get failing tests if we have non-ascii
characters in fixtures/**/*.txt
https://github.com/ruby/prism/co...
Max Prokopiev
08:32 PM Revision 6a63aaad (git): [ruby/prism] Use char_is_identifier_start() to check for valid method name
alnum_char() only checks for alphanumeric characters while
ignoring other valid cases (like emoji codepoints for exam...
Max Prokopiev
08:18 PM Revision 7d61454f (git): [PRISM] Fix method calls in keyword arguments
Fixes ruby/prism#2248. peterzhu2118 (Peter Zhu)
08:04 PM Revision 94f3f950 (git): Fix repeated block param
Co-Authored-By: Matt Valentine-House <[email protected]> tenderlovemaking (Aaron Patterson)
08:04 PM Revision 1817af50 (git): Fix local table size / index for repeated kwrest
Co-Authored-By: Matt Valentine-House <[email protected]> tenderlovemaking (Aaron Patterson)
08:04 PM Revision 13c76e40 (git): Fix local table size and variable offset for repeated keywords
Co-Authored-By: Matt Valentine-House <[email protected]> tenderlovemaking (Aaron Patterson)
08:04 PM Revision 8b7e78f1 (git): Fix local table size and index for required post underscore
Co-Authored-By: Matt Valentine-House <[email protected]> tenderlovemaking (Aaron Patterson)
08:04 PM Revision bb6af928 (git): Fix local table space for `*_`
We need to make sure there is enough room in the local table for
repeated `*_` parameters
Co-Authored-By: Matt Valen...
tenderlovemaking (Aaron Patterson)
08:04 PM Revision 03f76f09 (git): Fix repeated optional _ parameters
Ensure there is enough space in the local table for repeated optional
parameters.
Co-Authored-By: Matt Valentine-Hou...
tenderlovemaking (Aaron Patterson)
08:04 PM Revision 29c3ec3d (git): Fix required positional repeated _ parameters
Co-Authored-By: Matt Valentine-House <[email protected]> tenderlovemaking (Aaron Patterson)
08:02 PM Revision 44c337a3 (git): [PRISM] Support __LINE__, __FILE__, and __ENCODING__ in patterns, fix pinned expressions
kddnewton (Kevin Newton)
07:18 PM Revision c888b8d6 (git): [PRISM] Handle implicit lvar write in hash pattern
kddnewton (Kevin Newton)
07:18 PM Revision 020fe6e0 (git): [PRISM] Fix forwarding from within block
Fixes ruby/prism#2253. peterzhu2118 (Peter Zhu)
06:42 PM Revision dc8fb7d9 (git): [PRISM] Fix crash in anonymous block with forwarding arguments
Fixes ruby/prism#2262. peterzhu2118 (Peter Zhu)
06:37 PM Revision 455fb320 (git): [ruby/prism] Add an implicit node for the target of a hash pattern
This simplifies compiling it, since you can now compile the value
as if it were always there.
https://github.com/rub...
kddnewton (Kevin Newton)
06:26 PM Revision 303fef87 (git): YJIT: Update yjit.md about mem size (#9687)
k0kubun (Takashi Kokubun)
06:14 PM Revision 17025282 (git): YJIT: reduce default exec mem size to 48MiB (#9685)
YJIT: reduce default exec mem size to 48MiB based
Based on user feedback from @jhawthorn and others.
Better for smal...
maximecb (Maxime Chevalier-Boisvert)
06:11 PM Revision 6b9317c9 (git): [PRISM] Don't skip test_ForwardingArgumentsNode
It seems to work with RUBY_ISEQ_DUMP_DEBUG=to_binary so we can try this
test again on CI.
peterzhu2118 (Peter Zhu)
06:09 PM Revision 23d46829 (git): YJIT: fix small bug causing jit_rb_int_rshift to side-exit (#9684)
YJIT: fix bug causing jit_rb_int_rshift to side-exit
The nqueens benchmark was showing zero performance improvement
...
maximecb (Maxime Chevalier-Boisvert)
05:40 PM Revision 578ff326 (git): Move filling in the rest of the locals to the end
tenderlovemaking (Aaron Patterson)
05:40 PM Revision 7a33a1ae (git): Insert all locals in the locals index table
Prism provides an index (local_body_index) which is supposed to point at
the start of locals declared in the method b...
tenderlovemaking (Aaron Patterson)
05:22 PM Misc #20191: Deprecate magic encoding comment
kddnewton wrote:
> Python 2/3 changed the default encoding for string literals.
I think you need to consider to inc...
rubyFeedback (robert heiler)
04:48 PM Feature #16049 (Closed): optimization for frozen dynamic string literals "#{exp}".dup and +"#{exp}"
jeremyevans0 (Jeremy Evans)
04:41 PM Feature #16049: optimization for frozen dynamic string literals "#{exp}".dup and +"#{exp}"
Dynamic string literals are not longer frozen, this can be closed.
(Would it be possible for the author to close t...
Dan0042 (Daniel DeLorme)
04:41 PM Revision 927928ba (git): [PRISM] Fix anonymous keyword arguments
Fixes ruby/prism#2256. peterzhu2118 (Peter Zhu)
04:18 PM Revision 4220bdba (git): [PRISM] Remove dead code from prism_compile.c
Previously, we were using the main pm_compile_node switch to compile
target nodes. Eventually we switched to pm_compi...
kddnewton (Kevin Newton)
03:37 PM Revision 767f5d04 (git): [PRISM] Use lvar depths for starting
kddnewton (Kevin Newton)
03:08 PM Revision 529700d3 (git): [PRISM] Nested MultiWriteNode with method calls
Fixes ruby/prism#2247. peterzhu2118 (Peter Zhu)
11:51 AM Revision d86c4e55 (git): Define `IO_WITHOUT_GVL` macro
nobu (Nobuyoshi Nakada)
11:27 AM Bug #20203: `TestEnumerable` test failures with GCC 14
If you want to keep using `qsort_r`, please use it to sort a temporary array of array indices, and not an array of GC... fweimer (Florian Weimer)
11:07 AM Bug #20203: `TestEnumerable` test failures with GCC 14
So there is more insights from glibc developers and it seems the issue is that "Ruby uses qsort_r in an undefined way... vo.x (Vit Ondruch)
10:33 AM Revision 0f417d64 (git): Initialize errno variables and fix maybe-uninitialized warnings
nobu (Nobuyoshi Nakada)
10:25 AM Bug #20208 (Assigned): Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
mame (Yusuke Endoh)
09:49 AM Bug #20208 (Closed): Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
A bug was found when dealing with Ruby tests downstream. One of our builders has a specific networking configuration,... jprokop (Jarek Prokop)
09:12 AM Revision 4099b04c (git): Pend make option test on mswin platform
hsbt (Hiroshi SHIBATA)
09:11 AM Revision fb39128d (git): [rubygems/rubygems] Added test for rubygems
https://github.com/rubygems/rubygems/commit/64405147c9 hsbt (Hiroshi SHIBATA)
09:11 AM Revision 6191f4a1 (git): [rubygems/rubygems] Simplified test-case for original issue
https://github.com/rubygems/rubygems/commit/89086c5458 hsbt (Hiroshi SHIBATA)
09:11 AM Revision 723deec9 (git): [rubygems/rubygems] Keep compatibility of past versions
https://github.com/rubygems/rubygems/commit/54b67fb251 hsbt (Hiroshi SHIBATA)
09:11 AM Revision 1018dca0 (git): [rubygems/rubygems] Skip to load commented out words
https://github.com/rubygems/rubygems/commit/e6a9148ba2 hsbt (Hiroshi SHIBATA)
09:00 AM Revision 53d0cf44 (git): Use exit 0 instead of true on windows platform
hsbt (Hiroshi SHIBATA)
07:22 AM Feature #20196: Proposal: Binary data literal
Reminds me of discussions in ISO C/C++ committee (in both, simultaneously, by the same person). C23 opted not to have... shyouhei (Shyouhei Urabe)
06:55 AM Revision c8355a8d (git): syslog is already extracted as bundled gems
hsbt (Hiroshi SHIBATA)
06:47 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
@naruse is actually positive for changing error messages (see #note-28). I guess everybody here is agreeing to @byro... shyouhei (Shyouhei Urabe)
06:18 AM Feature #20152: mkmf / extconf: Add a proper way to not compile the extension
Finally jumping in here. I think this was initiated by me filing an issue on erb to move the C extension out to a sep... headius (Charles Nutter)
06:00 AM Feature #20187 (Closed): Bundled gems at Ruby 3.4
I extracted all targeted default gems with the following PRs.
* https://github.com/ruby/ruby/pull/9607
* https://...
hsbt (Hiroshi SHIBATA)
05:10 AM Revision 270ad763 (git): Revert "Ensure File.open applies default umask on gem extract"
This reverts commit 01f9766aa05182a7bbdc914a5dcd8a36ebade861. hsbt (Hiroshi SHIBATA)
05:09 AM Revision 2f06e4f7 (git): Revert "Pend tests on Travis CI"
This reverts commit 772afa00b5109f55c1d8359c688aca4063818549. hsbt (Hiroshi SHIBATA)
04:56 AM Revision 6bd997ec (git): [rubygems/rubygems] Remove no longer necessary code
https://github.com/rubygems/rubygems/commit/b7d2de2ba8 deivid (David Rodríguez)
04:55 AM Revision 1e519abe (git): [rubygems/rubygems] Fix rake extension warning
https://github.com/rubygems/rubygems/commit/04973e349c ntkme (Natsuki Natsume)
04:50 AM Revision 772afa00 (git): Pend tests on Travis CI
hsbt (Hiroshi SHIBATA)
04:50 AM Revision 01f9766a (git): Ensure File.open applies default umask on gem extract
martinemde (Martin Emde)
03:44 AM Revision 2defa9f4 (git): [DOC] Elaborate exceptional behaviors on Windows
nobu (Nobuyoshi Nakada)
03:44 AM Revision 769bb924 (git): [DOC] Tips for space containing `exe_path`
nobu (Nobuyoshi Nakada)
03:44 AM Revision 62305864 (git): [DOC] Add Argument `args` subsection
nobu (Nobuyoshi Nakada)
03:44 AM Revision be6e06ef (git): [DOC] Separate standard shells per platforms
nobu (Nobuyoshi Nakada)
03:44 AM Revision 828f3ecf (git): [DOC] Move `exe_path` example to `Process` module document
Exchanged with `Kernel.spawn`, like as `Kernel.exec` and
`Kernel.system`. This description should be common for thes...
nobu (Nobuyoshi Nakada)
03:43 AM Revision df5f2fab (git): [DOC] Correction for Process.spawn doc
burdettelamar (Burdette Lamar)
03:10 AM Revision c16aaf11 (git): Bump actions/upload-artifact from 4.2.0 to 4.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](ht...
dependabot[bot]
01:44 AM Revision a170f185 (git): No longer needed to sync syslog
hsbt (Hiroshi SHIBATA)
01:11 AM Feature #19057: Hide implementation of `rb_io_t`.
"Eregon (Benoit Daloze) via ruby-core" <[email protected]> wrote:
> I would be more worried about the C co...
Anonymous
12:53 AM Revision d914f82a (git): Use test fixed version of debug gem https://github.com/ruby/debug/pull/1067
hsbt (Hiroshi SHIBATA)
12:47 AM Revision 974b141f (git): YJIT: Reuse get_array_{ptr,len}
alanwu (Alan Wu)
12:23 AM Bug #20195 (Closed): 3.3.0 YJIT mishandles ruby2_keywords splat into methods taking a rest parameter
Applied in changeset commit:git|ac1e9e443a0d6a4d4c0801c26d1d8bd33d9eb431.
----------
YJIT: Fix ruby2_keywords splat+...
alanwu (Alan Wu)
12:22 AM Revision ac1e9e44 (git): YJIT: Fix ruby2_keywords splat+rest and drop bogus checks
YJIT didn't guard for ruby2_keywords hash in case of splat calls that
land in methods with a rest parameter, creating...
alanwu (Alan Wu)

01/23/2024

10:54 PM Revision c0cabc0a (git): Dump annotations on RubyVM::ISeq.disasm (#9667)
Make it easier to check what annotations an ISEQ has. SINGLE_NOARG_LEAF
is added automatically, so it's hard to be su...
k0kubun (Takashi Kokubun)
10:45 PM Revision 909a710a (git): [PRISM] Fix anonymous splat nodes
Fixes ruby/prism#2257. peterzhu2118 (Peter Zhu)
10:39 PM Revision 996776e9 (git): Leave a comment about the limitation of Primitive
and adjust some code styling from that PR. k0kubun (Takashi Kokubun)
09:29 PM Feature #20182 (Closed): Rewrite Array#each in Ruby
k0kubun (Takashi Kokubun)
09:00 PM Bug #20206 (Closed): PTY.spawn seems to fail to capture the output of "echo foo" once in a while
We use PTY.spawn to call "echo foo", and on Mac it seems to randomly fail, capturing an empty output every now and th... lacostej (Jerome Lacoste)
08:30 PM Bug #20195 (Open): 3.3.0 YJIT mishandles ruby2_keywords splat into methods taking a rest parameter
alanwu (Alan Wu)
08:13 PM Bug #20195 (Closed): 3.3.0 YJIT mishandles ruby2_keywords splat into methods taking a rest parameter
jeremyevans0 (Jeremy Evans)
08:23 PM Revision 7ac74f5c (git): Revert "Skip a failing test for Prism"
This reverts commit 557b69e83b27dafea435719fc3afc2e67e155962. peterzhu2118 (Peter Zhu)
08:23 PM Revision cecf4260 (git): [PRISM] Fix block fowarding
peterzhu2118 (Peter Zhu)
08:23 PM Revision 333f4b49 (git): [PRISM] Support block parameters with no name
Fixes ruby/prism#2249. peterzhu2118 (Peter Zhu)
08:09 PM Revision c84237f9 (git): Rewrite Array#each in Ruby using Primitive (#9533)
k0kubun (Takashi Kokubun)
07:36 PM Revision 27c1dd86 (git): YJIT: Allow inlining ISEQ calls with a block (#9622)
* YJIT: Allow inlining ISEQ calls with a block
* Leave a TODO comment about u16 inline_block
k0kubun (Takashi Kokubun)
07:00 PM Revision 557b69e8 (git): Skip a failing test for Prism
This should be reverted once https://github.com/ruby/prism/issues/2249
is closed.
k0kubun (Takashi Kokubun)
06:32 PM Feature #20205: Enable `frozen_string_literal` by default
> Given that rubocop is quite popular in the community and it has enforced the usage of # frozen_string_literal: true... matheusrich (Matheus Richard)
03:26 PM Feature #20205 (Assigned): Enable `frozen_string_literal` by default
### Context
The `frozen_string_literal: true` pragma was introduced in Ruby 2.3, and as far as I'm aware the plan ...
byroot (Jean Boussier)
06:08 PM Feature #20080: Introduce #bounds method on Range
@hsbt I just added to the next meeting, thank you for letting me know! https://bugs.ruby-lang.org/issues/20193#note-4 stuyam (Stuart Yamartino)
06:02 PM Misc #20193: DevMeeting-2024-02-14
* [Feature #20080] Introduce #bounds method on Range (stuyam)
* `#bounds` method on range to return raw bound data ...
stuyam (Stuart Yamartino)
05:02 PM Revision a846d391 (git): List branch maintainers in maintainers.md
I'm not aware of this information being available
anywhere else.
byroot (Jean Boussier)
04:53 PM Bug #20203: `TestEnumerable` test failures with GCC 14
vo.x (Vit Ondruch) wrote in #note-3:
> So far, it was attributed to "issue within glibc qsort".
By mistake. Back ...
vo.x (Vit Ondruch)
01:41 PM Bug #20203: `TestEnumerable` test failures with GCC 14
So far, it was attributed to "issue within glibc qsort". vo.x (Vit Ondruch)
11:57 AM Bug #20203: `TestEnumerable` test failures with GCC 14
I have also reported the issue against GCC in Fedora where the toolchain folks are already at it:
https://bugzilla...
vo.x (Vit Ondruch)
11:45 AM Bug #20203: `TestEnumerable` test failures with GCC 14
This is the backtrace I was able to get:
~~~
[72/83] TestEnumerable#test_inject_array_op_redefined[Detaching afte...
vo.x (Vit Ondruch)
04:04 PM Bug #20204 (Closed): 3.3.0 YJIT rises TypeError instead of ArgumentError with some incorrect calls
Applied in changeset commit:git|7f51959ff14fbe06bc1afd283d1af17b26161cf4.
----------
YJIT: Move guard up for a case ...
alanwu (Alan Wu)
04:04 PM Revision 7f51959f (git): YJIT: Move guard up for a case of splat+rest
Previously, YJIT put the guard for having enough items to extract from
splat array at a place where the side exit is ...
alanwu (Alan Wu)
03:47 PM Bug #20194 (Closed): Memory leak with TracePoint on bmethod
Applied in changeset commit:git|b14674b236445fb70f484603e678722760f678f4.
----------
Memory leak with TracePoint on ...
peterzhu2118 (Peter Zhu)
03:47 PM Revision b14674b2 (git): Memory leak with TracePoint on bmethod
[Bug #20194]
When disabling the TracePoint on bmethod, the hooks list is not freed.
For example:
obj = Object....
peterzhu2118 (Peter Zhu)
03:10 PM Feature #8506 (Rejected): Object#iter_for / Object#to_iter
Right, so given they do the same or very similar, let's close this. Eregon (Benoit Daloze)
01:50 PM Feature #8506: Object#iter_for / Object#to_iter
The following examples:
```ruby
0.iter_for(:next).take(5) # => [0, 1, 2, 3, 4]
Date.new(2013, 1, 1).iter_for(:next_mo...
p8 (Petrik de Heus)
01:44 PM Feature #19057: Hide implementation of `rb_io_t`.
Agreed, from the hardware POV it has to store the struct in a reasonable/consistent manner in memory.
I would be mor...
Eregon (Benoit Daloze)
01:02 PM Feature #19057: Hide implementation of `rb_io_t`.
"ioquatix (Samuel Williams) via ruby-core" <[email protected]> wrote:
> Are you saying that in general:
>...
Anonymous
07:10 AM Revision 7cf74a2f (git): Run test-bundled-gems again with macos-arm-oss runner
hsbt (Hiroshi SHIBATA)
07:10 AM Revision 5987f0b7 (git): Retired macos-11 because this version is EOL, and added macos-13(beta)
hsbt (Hiroshi SHIBATA)
12:35 AM Revision 8c3eb47f (git): All btests are passing with Prism
We can remove the exclusion list now tenderlovemaking (Aaron Patterson)
12:35 AM Revision cfa15bb1 (git): Handle trailing commas on blocks
We need to set a special flag on block iseqs when there is a trailing
comma.
Fixes: https://github.com/ruby/prism/is...
tenderlovemaking (Aaron Patterson)
12:33 AM Revision 6fb9dc50 (git): [rubygems/rubygems] Bump shlex
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.1.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-s...
dependabot[bot]
12:33 AM Revision cb8235c9 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.86 to 0.9.87.
- [Release notes](https://github.com/oxid...
dependabot[bot]
12:33 AM Revision 7811dd16 (git): [rubygems/rubygems] Bump shlex
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.1.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-s...
dependabot[bot]
12:02 AM Revision f423ced5 (git): update tests
tenderlovemaking (Aaron Patterson)
12:02 AM Revision 270a46e3 (git): Check keyword parameters correctly
We weren't checking the right offsets when compiling methods with
keyword parameters that had complex code.
Fixes: h...
tenderlovemaking (Aaron Patterson)

01/22/2024

11:58 PM Revision ee7f63eb (git): Make lastline and nextline to be rb_parser_string
This commit changes `struct parser_params` lastline and nextline
from `VALUE` (String object) to `rb_parser_string_t ...
yui-knk (Kaneko Yuichiro)
11:45 PM Revision 706eea9d (git): Fixup 2e69137dbe9fd7c03dac9b8adc30a7eba3ecb10b
hsbt (Hiroshi SHIBATA)
11:15 PM Revision d8af85ad (git): [Prism] Uncomment tests that now pass
eightbitraptor (Matt V-H)
11:15 PM Revision d054904c (git): [Prism] Don't change file after setting it.
This causes the Iseq file names to be wrong, which is affecting
Tracepoint events in certain cases.
because we're ta...
eightbitraptor (Matt V-H)
11:15 PM Revision 4592fdc5 (git): [Prism] path and script name are not the same
When loading Ruby from a file, or parsing using
RubyVM::InstructionSequence.
eightbitraptor (Matt V-H)
11:12 PM Revision 2e2dfc46 (git): Bump ruby/setup-ruby from 1.168.0 to 1.169.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.168.0 to 1.169.0.
- [Release notes](https://github...
dependabot[bot]
11:07 PM Revision 708fa774 (git): [PRISM] Fix keyword arguments in IndexOrWriteNode
Fixes ruby/prism#2236. peterzhu2118 (Peter Zhu)
11:07 PM Revision 1838dbf6 (git): [PRISM] Fix splat and block in aset
peterzhu2118 (Peter Zhu)
11:07 PM Revision 18471923 (git): [PRISM] Fix block in aset
Fixes ruby/prism#2223. peterzhu2118 (Peter Zhu)
10:44 PM Revision a64e26c5 (git): Bump capstone from 0.10.0 to 0.11.0 in /yjit (#9653)
Bumps [capstone](https://github.com/capstone-rust/capstone-rs) from 0.10.0 to 0.11.0.
- [Release notes](https://githu...
dependabot[bot]
10:35 PM Revision 28fc7fa8 (git): Revert "Bump shlex"
This reverts commit dcabe87fc8b8523cabea533df18d2b3b616e78da.
Revert "Bump shlex"
This reverts commit 47264b78c2e1b...
k0kubun (Takashi Kokubun)
10:34 PM Revision cffa54ac (git): Try to exclude rubygems Rust stuff from dependabot
It should be managed in rubygems/rubygems and sync-ed to ruby/ruby. We
shouldn't get PRs to rubygems in ruby/ruby.
k0kubun (Takashi Kokubun)
10:16 PM Revision dcabe87f (git): Bump shlex
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.1.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-s...
dependabot[bot]
10:11 PM Revision bd189599 (git): Bump shlex from 1.1.0 to 1.3.0 in /yjit/bindgen (#9652)
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.1.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-s...
dependabot[bot]
10:10 PM Revision 47264b78 (git): Bump shlex
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.1.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-s...
dependabot[bot]
08:56 PM Bug #20204 (Closed): 3.3.0 YJIT rises TypeError instead of ArgumentError with some incorrect calls
Test with:
```ruby
def foo(a, *) = a
def call(args, &)
foo(1)
foo(*args, &)
end
call([1, 2])
call([...
alanwu (Alan Wu)
08:29 PM Feature #20202: Memoized endless method definitions
I understand why some people might not like endless methods, but I don't think they're purely one-line methods (read ... matheusrich (Matheus Richard)
07:56 PM Feature #20202: Memoized endless method definitions
matheusrich wrote:
> it's also a common pattern on Ruby codebases
I am not sure it is that common. It is perhap...
rubyFeedback (robert heiler)
04:40 PM Feature #20202 (Rejected): Memoized endless method definitions
I propose introducing a shorthand for memoized endless method definitions:
```rb
class Foo
def bar ||= :memoiz...
matheusrich (Matheus Richard)
08:22 PM Revision 8065672d (git): [PRISM] Force semicolon at the end of PM macros
peterzhu2118 (Peter Zhu)
08:21 PM Revision 26309416 (git): [PRISM] Use PM_SWAP macro
peterzhu2118 (Peter Zhu)
08:16 PM Revision 789de597 (git): [PRISM] Use PM_POP macro
peterzhu2118 (Peter Zhu)
08:02 PM Revision 7db68322 (git): Fix compiling rescue + ensure
When we're compiling begin / rescue / ensure nodes, we need to "wrap"
the code in the begin statements correctly. Th...
tenderlovemaking (Aaron Patterson)
06:58 PM Revision 1236cad9 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.86 to 0.9.87.
- [Release notes](https://github.com/oxid...
dependabot[bot]
06:51 PM Feature #20196: Proposal: Binary data literal
rubyFeedback (robert heiler) wrote in #note-1:
> I think it may be easier to focus only on %b() at first, rather tha...
ziggythehamster (Keith Gable)
06:31 PM Revision 2918e43d (git): Skip a flaky Ractor test for YJIT
`[BUG] pthread_mutex_lock: Invalid argument (EINVAL)` doesn't seem like
a fault of YJIT?
https://github.com/ruby/rub...
k0kubun (Takashi Kokubun)
05:56 PM Revision dbd76d91 (git): [PRISM] Fix keyword splat in IndexAndWriteNode and IndexOrWriteNode
Fixes ruby/prism#2232 and ruby/prism#2234. peterzhu2118 (Peter Zhu)
05:55 PM Revision ab99ce91 (git): [PRISM] Insert concatarray for index targets with splat
kddnewton (Kevin Newton)
05:54 PM Revision e5f8585a (git): [PRISM] Fix line for leave instructions
kddnewton (Kevin Newton)
05:49 PM Revision 4fc0a901 (git): Set a cached Ruby path using setup-ruby (#9645)
k0kubun (Takashi Kokubun)
05:10 PM Bug #20203 (Open): `TestEnumerable` test failures with GCC 14
There is ongoing mass rebuild in Fedora and that is first time GCC 14 is used and we observe test failures in `TestEn... vo.x (Vit Ondruch)
04:55 PM Revision 703eee77 (git): YJIT: Drop extra arguments passed by yield (#9596)
Support dropping extra arguments passed by `yield` in blocks. For
example `10.times { work }` drops the count argumen...
alanwu (Alan Wu)
04:42 PM Revision c7e87b21 (git): Fix up [Bug #20001]
nobu (Nobuyoshi Nakada)
04:26 PM Revision a7af34fa (git): [PRISM] Fix keywords arguments in IndexAndWriteNode
Fixes ruby/prism#2233. peterzhu2118 (Peter Zhu)
04:23 PM Revision 5906ce42 (git): [ruby/prism] Static literal flag for string hash keys
https://github.com/ruby/prism/commit/26a2d774cd kddnewton (Kevin Newton)
04:21 PM Revision 6401f282 (git): [PRISM] Fix up source line for 1-indexed line numbers
kddnewton (Kevin Newton)
04:16 PM Revision eb579706 (git): [ruby/prism] Reference prism after require
https://github.com/ruby/prism/commit/0a8ff431df kddnewton (Kevin Newton)
04:13 PM Revision e00f42e5 (git): [ruby/prism] Return 1-indexed line numbers
https://github.com/ruby/prism/commit/ad17f58729 kddnewton (Kevin Newton)
04:12 PM Revision d68aaa66 (git): [PRISM] Freeze regex literals in iseqs
kddnewton (Kevin Newton)
04:11 PM Misc #20201 (Rejected): Should `opt_reverse` be renamed?
When you use keywords with the &&= or ||= operator on a [] method call, it uses the `opt_reverse` instruction. For ex... kddnewton (Kevin Newton)
03:51 PM Revision 580429d2 (git): [PRISM] Fix incorrect ordering of MultiTargetNode
Fixes ruby/prism#2218. peterzhu2118 (Peter Zhu)
03:18 PM Revision 6bcbb9a0 (git): Make prism respect dump_without_opt
kddnewton (Kevin Newton)
02:40 PM Revision 2abf1530 (git): [PRISM] Add TP call/return events to method ISEQs
eightbitraptor (Matt V-H)
02:10 PM Revision ee8f9267 (git): Enable test_syntax.rb
kddnewton (Kevin Newton)
01:24 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
> I need to understand how all this constant metadata logic/API works with fibers, because we always talk about thre... byroot (Jean Boussier)
01:22 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
@Eregon Yeah, I was not addressing thread semantics in that comment, same as `autoload?`.
BTW, I need to understan...
fxn (Xavier Noria)
10:26 AM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
fxn (Xavier Noria) wrote in #note-19:
> The code responsible for loading is the caller, `bar.rb` should work the sam...
Eregon (Benoit Daloze)
01:19 PM Revision b8495048 (git): [ruby/prism] Unescape method name for unary methods.
https://github.com/ruby/prism/commit/4386a4c0da eightbitraptor (Matt V-H)
12:45 PM Revision b4b35b14 (git): Add an autoload spec for the behavior inside autoload but after the constant is defined
byroot (Jean Boussier)
12:03 PM Bug #20197: Postponed job invocations are significantly reduced in Ruby 3.3
Thank you for your investigation and thorough explanation! I now understand what was happening.
> This PR will I thi...
osyoyu (Daisuke Aritomo)
05:29 AM Bug #20197: Postponed job invocations are significantly reduced in Ruby 3.3
OK, I investigated this a bit. The reason your example only runs the callback once is that the "is-an-interrupt-pendi... kjtsanaktsidis (KJ Tsanaktsidis)
10:40 AM Revision b841e32b (git): Update default gems list at d940e3b2c3c413b697c415718d4ef0 [ci skip]
git[bot]
10:39 AM Revision d940e3b2 (git): `cexpr!` must be up to one per line now
nobu (Nobuyoshi Nakada)
10:39 AM Revision 127b19ab (git): Use line numbers as builtin-index
The order of iseq may differ from the order of tokens, typically
`while`/`until` conditions are put after the body.
...
nobu (Nobuyoshi Nakada)
10:15 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
I think for that last example, omitting `ASCII-8BIT` would be much clearer, also two sets of parens seems too much.
...
Eregon (Benoit Daloze)
09:23 AM Revision 15f6ee05 (git): Update bundled gems list at 754e4e0c9cab9d5a71c33831f7cad5 [ci skip]
git[bot]
09:23 AM Revision 754e4e0c (git): Stop sync csv repo
hsbt (Hiroshi SHIBATA)
09:23 AM Revision 2e69137d (git): Use version dependant library for completion test
hsbt (Hiroshi SHIBATA)
09:23 AM Revision 92141d62 (git): Document about csv at Ruby 3.4
hsbt (Hiroshi SHIBATA)
09:23 AM Revision f2dce4e6 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/csv/**/*.rb
hsbt (Hiroshi SHIBATA)
09:23 AM Revision e195710d (git): Extract csv
hsbt (Hiroshi SHIBATA)
07:06 AM Revision a70e5004 (git): Update default gems list at 3d19409637de1462b6790d2a92344b [ci skip]
git[bot]
07:05 AM Revision 3d194096 (git): Use index for referring to symbols in `args` rule instead of named references
In `args: args ',' arg_splat`, `args` is not unique name.
Currently the associated rule is interpreted as
`$$ = rest_...
yui-knk (Kaneko Yuichiro)
07:00 AM Revision 3736130d (git): Update bundled gems list at 8bcc764f71c8bb93871dc6a7526319 [ci skip]
git[bot]
06:59 AM Revision 8bcc764f (git): Document about syslog at Ruby 3.4
hsbt (Hiroshi SHIBATA)
06:59 AM Revision b5b98546 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/syslog/**/*.rb
hsbt (Hiroshi SHIBATA)
06:59 AM Revision 029b6d5b (git): Extract syslog
hsbt (Hiroshi SHIBATA)
05:18 AM Revision 4d31d680 (git): Update bundled gems list at 38a1b88d1eb7cc1c0ff2baa36e8550 [ci skip]
git[bot]
05:17 AM Revision 38a1b88d (git): Skip nkf from check_existence
hsbt (Hiroshi SHIBATA)
05:17 AM Revision 52a0ebe2 (git): Document about nkf at Ruby 3.4
hsbt (Hiroshi SHIBATA)
05:17 AM Revision f869f2ec (git): Stop sync nkf repo
hsbt (Hiroshi SHIBATA)
05:17 AM Revision df70faa9 (git): Extract nkf
hsbt (Hiroshi SHIBATA)
05:02 AM Bug #20150: Memory leak in grapheme clusters
Hello Tomoyuki,

Many thanks for your careful explanation!

Regards, Martin.

On 2024-01-19 17:14, nagachika...
Anonymous
04:42 AM Revision 34315510 (git): [ruby/irb] Fix documentation typo, `niL` -> `nil`
https://github.com/ruby/irb/commit/79086a9dda Eddie Lebow
03:38 AM Bug #20198 (Closed): Threaded DNS resolver does not propagate errno to the calling thread
Fix in the above PR was merged. kjtsanaktsidis (KJ Tsanaktsidis)
01:08 AM Bug #20198: Threaded DNS resolver does not propagate errno to the calling thread
https://github.com/ruby/ruby/pull/9628 will fix this. kjtsanaktsidis (KJ Tsanaktsidis)
01:05 AM Bug #20198 (Closed): Threaded DNS resolver does not propagate errno to the calling thread
If we get a return value of `EAI_SYSTEM` from `getaddrinfo`, we transform that into an appropriate `Errno::` exceptio... kjtsanaktsidis (KJ Tsanaktsidis)
03:35 AM Revision 3b3f0366 (git): Refine entry title
hsbt (Hiroshi SHIBATA)
03:35 AM Revision c44d15c6 (git): Stop sync drb repo
hsbt (Hiroshi SHIBATA)
03:34 AM Revision 6c0e58a5 (git): Make sure the correct error is raised for EAI_SYSTEM resolver fail
In case of EAI_SYSTEM, getaddrinfo is supposed to set more detail in
errno; however, because we call getaddrinfo on a...
kjtsanaktsidis (KJ Tsanaktsidis)
03:32 AM Revision ce5e7629 (git): Bump ruby/setup-ruby from 1.167.0 to 1.168.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.167.0 to 1.168.0.
- [Release notes](https://github...
dependabot[bot]
03:31 AM Revision 12e697f9 (git): Update default gems list at 5b109ff14d274d0599839c61c77b32 [ci skip]
git[bot]
03:30 AM Revision 5b109ff1 (git): [ruby/nkf] Bump up version to 0.2.0
https://github.com/ruby/nkf/commit/65506fecfd hsbt (Hiroshi SHIBATA)
03:06 AM Revision 4a11f50f (git): [DOC] Update command_injection.rdoc
- Add missing `Kernel.exec` and `Kernel.spawn`.
- Elaborate arguments that can cause injections.
nobu (Nobuyoshi Nakada)
02:44 AM Revision 33290896 (git): Disable NSS modules when using the leakchecker
The leakchecker will report leaked file descriptors when tests do things
like access `Etc.getgrgid`, for example, if ...
kjtsanaktsidis (KJ Tsanaktsidis)
02:09 AM Revision 0fadac4c (git): Update bundled gems list at 52fc93cab71e56699fb2b216faca12 [ci skip]
git[bot]
02:08 AM Revision 52fc93ca (git): added redirect wrapper for envutil
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 220f7c9d (git): Re-use drb from bundled gems
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 854b1f60 (git): Document about drb at Ruby 3.4
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 87f16fbc (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/drb/start_service_spec.rb
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 36fc5ee6 (git): Extract drb
hsbt (Hiroshi SHIBATA)
12:57 AM Revision 67b00f72 (git): Make tests play with upstream Ruby tests
CI broke in https://github.com/ruby/ruby/pull/9604 because if any Ruby
tests run `require 'net/http'`, they will poll...
stanhu (Stan Hu)
12:57 AM Revision 00dc1cac (git): Reapply "[rubygems/rubygems] Fix activation conflicts when circularly requiring a gem"
This reverts commit 04cf66765a8a9d48baea6d9aee266dc9aa21df27. hsbt (Hiroshi SHIBATA)
12:57 AM Revision d51f4c92 (git): Reapply "[rubygems/rubygems] Fix `require` of a default gem when unresolved gems depend on it"
This reverts commit 54552b89e73fc616ba47c1c87d33625af99cbce9. hsbt (Hiroshi SHIBATA)
12:19 AM Revision 94af1e5b (git): [ruby/uri] Removed commented-out code
https://github.com/ruby/uri/commit/feb8e0dd73 hsbt (Hiroshi SHIBATA)
12:12 AM Revision 34c5e787 (git): [ruby/nkf] Drop GPL and add licenses to gemspec
https://github.com/ruby/nkf/commit/19df7138f7 headius (Charles Nutter)
12:12 AM Revision c6b548ac (git): [ruby/nkf] Add JRuby extension to the gem
This pulls in the nkf extension implementation from JRuby. The
build and load logic has been updated along the same l...
headius (Charles Nutter)

01/21/2024

09:46 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
> @byroot's proposal
To clarify what I'm proposing if the rename is not acceptable is:
```ruby
>> Encoding::BINARY
...
byroot (Jean Boussier)
09:41 AM Revision e2e15ddd (git): [DOC] `echo` command may not be a shell built-in
nobu (Nobuyoshi Nakada)
09:21 AM Bug #20180: Inconsistent evaluation of `**{}` depending on position in array
Seems like this behavior changed in 2.7. byroot (Jean Boussier)
09:15 AM Bug #20197: Postponed job invocations are significantly reduced in Ruby 3.3
> especially for profilers such as StackProf.
Not that it makes this less of a bug, but note that recent versions ...
byroot (Jean Boussier)
09:01 AM Feature #20196: Proposal: Binary data literal
> A library (possibly standard library/gem) could have a function like binary take a string (potentially a heredoc) a... retro (Josef Šimánek)
06:21 AM Feature #20196: Proposal: Binary data literal
I think it may be easier to focus only on %b() at first, rather than concomitantly on %B() as
well, for returning an...
rubyFeedback (robert heiler)

01/20/2024

10:31 PM Bug #20180: Inconsistent evaluation of `**{}` depending on position in array
I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/9624 jeremyevans0 (Jeremy Evans)
10:01 PM Bug #20197: Postponed job invocations are significantly reduced in Ruby 3.3
I hacked at the postponed job infrastructure pretty extensively in 3.3, I’ll have a look at this bug in the next few ... kjtsanaktsidis (KJ Tsanaktsidis)
03:58 PM Bug #20197 (Closed): Postponed job invocations are significantly reduced in Ruby 3.3
The number of postponed job invocations has been significantly reduced in Ruby 3.3.
While my understanding is that p...
osyoyu (Daisuke Aritomo)
04:50 PM Feature #19117: Include the method owner in backtraces, not just the method name
byroot (Jean Boussier) wrote in #note-36:
> Also it's likely (still not 100% decided) we'll be running a 3.4 prerele...
Dan0042 (Daniel DeLorme)
11:04 AM Feature #19117: Include the method owner in backtraces, not just the method name
> large-scale app development
Yes, the larger the app, the more likely you are to have many methods with the same...
byroot (Jean Boussier)
12:58 AM Feature #19117: Include the method owner in backtraces, not just the method name
In fact, I am also a bit afraid that it could be too redundant in large-scale app development. But it's interesting t... mame (Yusuke Endoh)
03:27 PM Revision 366b14c0 (git): More tests
burdettelamar (Burdette Lamar)
02:59 AM Feature #20196 (Open): Proposal: Binary data literal
I sometimes find myself needing to write some bytes in a Ruby string literal, and this experience leaves a lot to be ... ziggythehamster (Keith Gable)
01:12 AM Revision 99d6e2f1 (git): [PRISM] Revisit target nodes
kddnewton (Kevin Newton)
01:05 AM Bug #20195 (Closed): 3.3.0 YJIT mishandles ruby2_keywords splat into methods taking a rest parameter
Check with:
```ruby
ruby2_keywords def foo(*args) = args
def bar(*args, **kw) = [args, kw]
def pass_bar(*ar...
alanwu (Alan Wu)

01/19/2024

10:57 PM Revision ac4046d3 (git): [ruby/prism] switch unless to if
https://github.com/ruby/prism/commit/29bdbf4212
Co-authored-by: Kevin Newton <[email protected]>
Adam Hess
10:57 PM Revision cfabe9c5 (git): [ruby/prism] Handle stovetop start in constant path fullname
https://github.com/ruby/prism/commit/3a216e63fe HParker (Adam Hess)
09:45 PM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
Are you able to share the source code and error message? Thanks. ioquatix (Samuel Williams)
09:04 PM Revision ed50161b (git): [PRISM] Fix ensure code running twice
Fixes: ruby/prism#2212 eileencodes (Eileen Uchitelle)
08:37 PM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
shioimm (Misaki Shioi) wrote in #note-8:
> shugo (Shugo Maeda) wrote in #note-6:
> > Users of libraries such as Net...
shugo (Shugo Maeda)
01:11 PM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
shugo (Shugo Maeda) wrote in #note-6:
> Users of libraries such as Net::HTTP, Net::FTP, and Net::IMAP can't use TCPSo...
shioimm (Misaki Shioi)
09:41 AM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
shioimm (Misaki Shioi) wrote in #note-2:
> There is no way to disable it; HE is intended to avoid fatal delays. Intr...
shugo (Shugo Maeda)
08:53 AM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
shioimm (Misaki Shioi) wrote in #note-5:
> Thank you for comments.
> I agree that I need to reconsider the current ...
shugo (Shugo Maeda)
08:32 PM Revision 4778b0ee (git): Fix kwarg ordering
Required keyword arguments need to come first.
Fixes: https://github.com/ruby/prism/issues/2158
Co-authored-by: Kev...
tenderlovemaking (Aaron Patterson)
07:51 PM Revision e0f7cee8 (git): YJIT: Avoid doubly splitting Opnd::Value on CSel (#9617)
YJIT: Avoid doubly splitting Opnd::Value k0kubun (Takashi Kokubun)
07:48 PM Feature #19117: Include the method owner in backtraces, not just the method name
> That's just how Ruby code is written nowadays.
It's a common pattern for classes that are long enough, but it's...
byroot (Jean Boussier)
07:38 PM Feature #19117: Include the method owner in backtraces, not just the method name
byroot (Jean Boussier) wrote in #note-32:
> Can you tell me without opening the source file, the owner of that metho...
Dan0042 (Daniel DeLorme)
03:42 PM Feature #19117: Include the method owner in backtraces, not just the method name
> "connection_adapters/abstract/database_statements" is repeated as "ActiveRecord::ConnectionAdapters::DatabaseStatem... byroot (Jean Boussier)
03:36 PM Feature #19117: Include the method owner in backtraces, not just the method name
It's not so much the length but the redundancy. "active_record/connection_adapters/abstract/database_statements" is r... Dan0042 (Daniel DeLorme)
03:25 PM Feature #19117: Include the method owner in backtraces, not just the method name
> Please try it with a Rails backtrace, so you get something like:
@Dan0042 I find that is much better than the ex...
byroot (Jean Boussier)
03:02 PM Feature #19117: Include the method owner in backtraces, not just the method name
Please try it with a Rails backtrace, so you get something like:
```
#before
from /opt/ruby/3.1/lib/ruby/gems/3.1.0/g...
Dan0042 (Daniel DeLorme)
09:37 AM Feature #19117: Include the method owner in backtraces, not just the method name
I tried the following (contrived) script:
```ruby
class Abstract
def oops
yield
end
end
class Conc...
byroot (Jean Boussier)
09:11 AM Feature #19117: Include the method owner in backtraces, not just the method name
> What do you think?
I think it's beautiful. I'll try to get some time to build your branch and play with it, see ...
byroot (Jean Boussier)
05:39 AM Feature #19117: Include the method owner in backtraces, not just the method name
I prototyped this proposal: https://github.com/ruby/ruby/pull/9605
Fortunately, this would bring neither perrforma...
mame (Yusuke Endoh)
07:09 PM Revision 740f0b52 (git): [PRISM] Fix typo with pm_scope_node_destroy
We need to run the pm_scope_node_destroy after compiling the iseq. peterzhu2118 (Peter Zhu)
05:35 PM Revision efe4b8ac (git): Fix ensure code when running break in a while loop
We need to run ensure code when breaking from a while loop
Co-authored-by: John Hawthorn <[email protected]>
Co-a...
tenderlovemaking (Aaron Patterson)
05:35 PM Revision 200d3cc1 (git): add assert on SP
tenderlovemaking (Aaron Patterson)
04:22 PM Revision 400341ae (git): [PRISM] Sync to latest
kddnewton (Kevin Newton)
04:18 PM Revision 5a5cf23d (git): [PRISM] Fix indentation for PM_SCOPE_NODE [ci skip]
peterzhu2118 (Peter Zhu)
04:12 PM Revision ba4b00d3 (git): * remove trailing spaces. [ci skip]
git[bot]
04:12 PM Revision da521fc9 (git): [ruby/prism] Parsing rules document
https://github.com/ruby/prism/commit/57a9575543 kddnewton (Kevin Newton)
04:00 PM Revision 3c929017 (git): YJIT: Optimize defined?(yield) (#9599)
* YJIT: Optimize defined?(yield)
* Remove an irrelevant comment
* s/get/gen/
k0kubun (Takashi Kokubun)
03:43 PM Revision a58e0916 (git): [ruby/prism] Extract identifier lexing documentation to separate file
https://github.com/ruby/prism/commit/c9df17e3c0 Matthew Healy
03:43 PM Revision 9c06297c (git): [ruby/prism] Remove non-ASCII examples from ReadNode fields documentation
This is due to a constraint, enforced in `templates/template.rb`,
relating to non-UTF-8 locales prohibiting non-ASCII...
Matthew Healy
03:43 PM Revision 57c138c5 (git): [ruby/prism] Document ConstantReadNode fields
https://github.com/ruby/prism/commit/a1623f6451 Matthew Healy
03:43 PM Revision b7d37e27 (git): [ruby/prism] Document LocalVariableReadNode fields
https://github.com/ruby/prism/commit/5e9afd3729 Matthew Healy
03:43 PM Revision 1c5e5406 (git): [ruby/prism] Document NumberedReferenceReadNode fields
https://github.com/ruby/prism/commit/c3148b4519 Matthew Healy
03:43 PM Revision 3fa6dbf3 (git): [ruby/prism] Document BackReferencedReadNode fields
https://github.com/ruby/prism/commit/99a5660623 Matthew Healy
03:43 PM Revision 512be6ce (git): [ruby/prism] Document GlobalVariableReadNode fields
https://github.com/ruby/prism/commit/5d092e6389 Matthew Healy
03:43 PM Revision 9031fd08 (git): [ruby/prism] Document ClassVariableReadNode fields
https://github.com/ruby/prism/commit/23ed81dd15 Matthew Healy
03:43 PM Revision 88810f71 (git): [ruby/prism] Document InstanceVariableReadNode fields
https://github.com/ruby/prism/commit/c0747103b0 Matthew Healy
03:29 PM Bug #20194 (Closed): Memory leak with TracePoint on bmethod
GitHub PR: https://github.com/ruby/ruby/pull/9614
When disabling the TracePoint on bmethod, the hooks list is not ...
peterzhu2118 (Peter Zhu)
03:25 PM Revision d0b774cf (git): Remove null checks for xfree
xfree can handle null values, so we don't need to check it. peterzhu2118 (Peter Zhu)
02:49 PM Revision d29cd972 (git): [ruby/prism] Use inttypes for more accurate printf formatting
https://github.com/ruby/prism/commit/2a22b9b72f kddnewton (Kevin Newton)
02:19 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
I opened a PR with some extra specs for the behavior *after* the constant is defined, but *before* the autoload is co... byroot (Jean Boussier)
01:42 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
Ah, I see.
So that, to me, stll reinforces my main design principle, that I have not shared so far in the discussion...
fxn (Xavier Noria)
01:37 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
@fxn The `defined?` should be before the assignment in the autoloading thread. Eregon (Benoit Daloze)
01:16 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
Are you guys sure `defined?` depends on the thread? In this test running in 3.3 I don't seem to reproduce:
```ruby...
fxn (Xavier Noria)
12:45 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
Alright, I guess I better see what you mean now, there is a spec for `defined?` during autoload, that ensure other th... byroot (Jean Boussier)
12:37 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
Ok, so I see what you mean. Accessing `Const` from another thread while the autoload is still being resolve blocks un... byroot (Jean Boussier)
12:22 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
Alternatively if `const_source_location` returns a different result based on the calling thread then I agree it seems... Eregon (Benoit Daloze)
12:19 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
One problem though with that restore way is, I think, `const_source_location` is always the same for all threads.
Wha...
Eregon (Benoit Daloze)
12:15 PM Bug #8973: Allow to configure archlibdir for multiarch
Can this be reopened or should create new ticket? vo.x (Vit Ondruch)
11:28 AM Misc #20193: DevMeeting-2024-02-14
* [Bug #20188] `Module#const_source_location` returns wrong information when real constant was defined but autoload i... byroot (Jean Boussier)
08:43 AM Misc #20193: DevMeeting-2024-02-14
* [Feature #16495] Inconsistent quotes in error messages (mame)
* Implemented a prototype.
* Error message: ``u...
mame (Yusuke Endoh)
07:57 AM Misc #20193 (Closed): DevMeeting-2024-02-14
# The next dev meeting
**Date: 2024/02/14 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
11:02 AM Revision 7b0f6d6d (git): Update bundled gems list at c46d23cde7c6bfc2af762525a767cd [ci skip]
git[bot]
11:02 AM Revision c46d23cd (git): Added dependencies rinda and drb
hsbt (Hiroshi SHIBATA)
11:02 AM Revision fa5094e1 (git): Stop sync rinda repo
hsbt (Hiroshi SHIBATA)
11:02 AM Revision ce73fbd7 (git): Document about rinda at Ruby 3.4
hsbt (Hiroshi SHIBATA)
11:02 AM Revision 411cda2d (git): Extract rinda
hsbt (Hiroshi SHIBATA)
09:01 AM Bug #19918: Should `a[&b]=c` be syntax valid?
https://github.com/nobu/ruby/tree/ary_set-block nobu (Nobuyoshi Nakada)
07:53 AM Bug #19918 (Assigned): Should `a[&b]=c` be syntax valid?
Discussed at the dev meeting. @matz wanted to allow `a[&b]` and forbid `a[&b] = c` if the implementation is not overl... mame (Yusuke Endoh)
08:57 AM Revision 0f315216 (git): Update bundled gems list as of 2024-01-19
git[bot]
08:44 AM Revision 31a5d4a0 (git): Skip test task for resolv-replace
hsbt (Hiroshi SHIBATA)
08:44 AM Revision 36095ed3 (git): Removed sync task for resolv-replace
hsbt (Hiroshi SHIBATA)
08:44 AM Revision 6c098d14 (git): Document about resolv-replace at Ruby 3.4
hsbt (Hiroshi SHIBATA)
08:44 AM Revision 99c2c703 (git): Extract resolv-replace
hsbt (Hiroshi SHIBATA)
08:14 AM Bug #20150: Memory leak in grapheme clusters
Hello, Martin-sensei.
In my understandings, there's no explicit rule regarding the order of backporting to each st...
nagachika (Tomoyuki Chikanaga)
07:57 AM Misc #20075 (Closed): DevMeeting-2024-01-17
mame (Yusuke Endoh)
07:45 AM Feature #16495: Inconsistent quotes in error messages
I prototyped it: https://github.com/ruby/ruby/pull/9608
Still need to update prism and ruby/spec.
For informati...
mame (Yusuke Endoh)
07:28 AM Revision 9ac316bb (git): Update bundled gems list at 11ec59c92bab5346fc0fdce9d8ed2a [ci skip]
git[bot]
07:27 AM Revision 11ec59c9 (git): Removed sync task for abbrev
hsbt (Hiroshi SHIBATA)
07:27 AM Revision e28bdff9 (git): Document about abbrev at Ruby 3.4
hsbt (Hiroshi SHIBATA)
07:27 AM Revision f4670b46 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/abbrev/**/*.rb
hsbt (Hiroshi SHIBATA)
07:27 AM Revision b4ee5266 (git): Extract abbrev as bundled gems
hsbt (Hiroshi SHIBATA)
06:56 AM Revision d3898e97 (git): Removed sync task for observer
hsbt (Hiroshi SHIBATA)
06:35 AM Revision e8cb9e13 (git): Update bundled gems list as of 2024-01-18
git[bot]
06:24 AM Revision fb5722c0 (git): Document about observer at Ruby 3.4
hsbt (Hiroshi SHIBATA)
06:24 AM Revision 8b551b0e (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/observer/**/*.rb
hsbt (Hiroshi SHIBATA)
06:24 AM Revision 176a4428 (git): Extract observer as bundled gems
hsbt (Hiroshi SHIBATA)
05:01 AM Revision 68b403c4 (git): Fixed inconsistent library name
hsbt (Hiroshi SHIBATA)
05:00 AM Revision 385a1b15 (git): Fixed upstream URL at bundled gems
hsbt (Hiroshi SHIBATA)
03:12 AM Revision 54552b89 (git): Revert "[rubygems/rubygems] Fix `require` of a default gem when unresolved gems depend on it"
This reverts commit f1f5f22d22a149f20e019728b1ab35593d29d81a. hsbt (Hiroshi SHIBATA)
02:54 AM Revision 04cf6676 (git): Revert "[rubygems/rubygems] Fix activation conflicts when circularly requiring a gem"
This reverts commit db44088c2a92040879386aa5f268db4c858e4e5b.
https://github.com/ruby/ruby/actions/runs/7578672002...
hsbt (Hiroshi SHIBATA)
02:44 AM Revision 7265a5be (git): Bump actions/upload-artifact from 4.1.0 to 4.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](ht...
dependabot[bot]
02:29 AM Revision a8fa28ab (git): Bump uri version used in development
deivid (David Rodríguez)
02:28 AM Revision db44088c (git): [rubygems/rubygems] Fix activation conflicts when circularly requiring a gem
If a gem is required circular, and there are unresolved specs depending
on it, we may end up in an activation conflic...
deivid (David Rodríguez)
02:28 AM Revision f1f5f22d (git): [rubygems/rubygems] Fix `require` of a default gem when unresolved gems depend on it
The following conditions must be met:
* A default gem is required.
* A previous require left some gems unresolved, a...
deivid (David Rodríguez)
02:28 AM Revision 8044e579 (git): [rubygems/rubygems] Add a comment to explain default gem activation
https://github.com/rubygems/rubygems/commit/291128268f deivid (David Rodríguez)
02:16 AM Revision 74e5665e (git): Update default gems list at b2ec4308d69a13f3ff3b1b3128d52b [ci skip]
git[bot]
01:49 AM Revision b2ec4308 (git): [ruby/irb] Bump version to v1.11.1
(https://github.com/ruby/irb/pull/837)
https://github.com/ruby/irb/commit/f052097c4b
st0012 (Stan Lo)
01:49 AM Revision 91f35305 (git): [ruby/strscan] Add test to check encoding for empty string
(https://github.com/ruby/strscan/pull/80)
See: https://github.com/ruby/strscan/issues/78#issuecomment-1890849891
ht...
naitoh (Jun NAITOH)
01:49 AM Revision ac636f57 (git): [ruby/strscan] Bump version
https://github.com/ruby/strscan/commit/d6f97ec102 Sutou Kouhei
01:49 AM Revision 4e476710 (git): [rubygems/rubygems] Test that regular gems don't shadow default gems
https://github.com/rubygems/rubygems/commit/b8ca5950a6 deivid (David Rodríguez)
01:22 AM Revision 7b253cfe (git): RJIT: Properly reject keyword splat with `yield`
See the fix for YJIT. alanwu (Alan Wu)
01:22 AM Revision bbd249e3 (git): YJIT: Properly reject keyword splat with `yield`
We don't have support for keyword splat anywhere, but we tried to
compile these anyways in case of `invokeblock`. Thi...
alanwu (Alan Wu)
12:25 AM Bug #20192 (Closed): YJIT in 3.3.0 miscompiles `yield` with keyword splats
Test with:
```ruby
def splat_kw(kwargs) = yield(**kwargs)
p splat_kw({}) { _1 }
```
```shell
% ruby --yji...
alanwu (Alan Wu)
 

Also available in: Atom