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]
-
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` -
11:15 PM Revision 5bd69491 (git): [PRISM] Add raw option to assert_prism_eval
-
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... -
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... -
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.... -
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... -
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 ...-
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) ... -
09:45 PM Revision 2034e6ad (git): YJIT: Support concattoarray and pushtoarray (#9708)
-
09:17 PM Revision f0224adf (git): YJIT: Assert lea source operand type
-
08:10 PM Revision e452caac (git): [PRISM] Fix next inside rescue
-
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((?=... -
05:14 PM Revision e7262966 (git): [PRISM] Fix indentation of test_ScopeNode
-
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...
-
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... -
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... -
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... -
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. ... -
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... -
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... -
04:23 PM Revision d4cc77e7 (git): YJIT: Add a counter for invokebuiltin exits (#9696)
-
04:11 PM Revision 1301422d (git): [PRISM] Fix VM_CALL_ARGS_SPLAT_MUT failures
-
01:58 PM Revision ebf803aa (git): [ruby/prism] Fix Ruby head build
- https://github.com/ruby/prism/commit/149e2ff7f6
-
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.
-
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`
-
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... - 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 -
09:58 AM Revision 4bd58e1a (git): [ruby/irb] diabled ==> disabled
- https://github.com/ruby/irb/commit/295797ff37
-
09:58 AM Revision 03341156 (git): [ruby/irb] Synatx ==> Syntax
- https://github.com/ruby/irb/commit/2ffacaa031
-
09:58 AM Revision 819ae2c2 (git): [ruby/irb] assigment ==> assignment
- https://github.com/ruby/irb/commit/24c7694467
-
09:58 AM Revision 5f9f46a2 (git): [ruby/irb] reseting ==> resetting
- https://github.com/ruby/irb/commit/6209f06c72
-
09:58 AM Revision 9b1cc68b (git): [ruby/irb] configuation ==> configuration
- https://github.com/ruby/irb/commit/a27a511777
-
09:58 AM Revision fd9b9685 (git): [ruby/irb] recever ==> receiver
- https://github.com/ruby/irb/commit/dbd0e368c4
-
09:58 AM Revision 6580a95f (git): [ruby/irb] inifinity ==> infinity
- https://github.com/ruby/irb/commit/78dea58000
-
09:58 AM Revision 4d4d4184 (git): [ruby/irb] overrided ==> overridden
- https://github.com/ruby/irb/commit/b77b23aade
-
07:06 AM Revision 0f5407b3 (git): Simplified test case for encoding option
- Co-authored-by: Nobuyoshi Nakada <[email protected]>
-
07:06 AM Revision d13a57cd (git): Use Encoding.local_charmap instead of locale
- In my windows environment uses cp932 for terminal encoding.
-
07:06 AM Revision 1d972498 (git): Use Encoding::CESU_8 for test case
- Encoding::Windows_31J is already loaded in mswin platform
-
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/... -
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 ...
-
06:06 AM Revision ff55d6b8 (git): Use `token_seen` and simplify `comment_at_top`
- Instead of scanning before the current comment.
-
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://... -
03:42 AM Revision 2b9719ea (git): Ignore --parser=prism failures until prism compiler fixed for recent optimizations
-
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. -
02:29 AM Feature #20066: Reduce Implicit Array/Hash Allocations For Method Calls Involving Splats
- Please try!
-
02:26 AM Feature #20066 (Closed): Reduce Implicit Array/Hash Allocations For Method Calls Involving Splats
-
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_... -
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 ... -
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)... -
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... -
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... -
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,... -
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... -
01:51 AM Revision 2e18228d (git): Use echo with all platforms
-
01:51 AM Revision 52085b66 (git): Use echo command in mswin platform
-
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...
-
12:03 AM Revision 34c688b1 (git): Omit TestCompilePrism on s390x for now (#9694)
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... -
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 ... -
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 ----------------------------... -
11:06 AM Bug #20207: Segmentation fault for a regexp containing positive and negative lookaheads
- FYI, it raises a `SystemStackError`.
-
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)(?!.... -
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... -
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...
-
10:32 PM Revision f769d68a (git): [PRISM] Fix getblockparamproxy for forwarding arguments
-
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...
-
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... -
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 ... -
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... -
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_... -
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...
-
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...
-
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... -
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... -
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... -
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 ... -
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,... -
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
... -
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...
-
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:
#... -
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 "... -
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... -
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...
-
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...
-
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 ... -
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 ... -
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...
-
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...
-
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 ... -
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,...
-
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 ... - 08:32 PM Revision a65b52b5 (git): [ruby/prism] Add missing snapshot for the new file
- https://github.com/ruby/prism/commit/459a9f544e
- 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
- 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... - 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... -
08:18 PM Revision 7d61454f (git): [PRISM] Fix method calls in keyword arguments
- Fixes ruby/prism#2248.
-
08:04 PM Revision 94f3f950 (git): Fix repeated block param
- Co-Authored-By: Matt Valentine-House <[email protected]>
-
08:04 PM Revision 1817af50 (git): Fix local table size / index for repeated kwrest
- Co-Authored-By: Matt Valentine-House <[email protected]>
-
08:04 PM Revision 13c76e40 (git): Fix local table size and variable offset for repeated keywords
- Co-Authored-By: Matt Valentine-House <[email protected]>
-
08:04 PM Revision 8b7e78f1 (git): Fix local table size and index for required post underscore
- Co-Authored-By: Matt Valentine-House <[email protected]>
-
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... -
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... -
08:04 PM Revision 29c3ec3d (git): Fix required positional repeated _ parameters
- Co-Authored-By: Matt Valentine-House <[email protected]>
-
08:02 PM Revision 44c337a3 (git): [PRISM] Support __LINE__, __FILE__, and __ENCODING__ in patterns, fix pinned expressions
-
07:18 PM Revision c888b8d6 (git): [PRISM] Handle implicit lvar write in hash pattern
-
07:18 PM Revision 020fe6e0 (git): [PRISM] Fix forwarding from within block
- Fixes ruby/prism#2253.
-
06:42 PM Revision dc8fb7d9 (git): [PRISM] Fix crash in anonymous block with forwarding arguments
- Fixes ruby/prism#2262.
-
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... -
06:26 PM Revision 303fef87 (git): YJIT: Update yjit.md about mem size (#9687)
-
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... -
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. -
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
... -
05:40 PM Revision 578ff326 (git): Move filling in the rest of the locals to the end
-
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... -
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... -
04:48 PM Feature #16049 (Closed): optimization for frozen dynamic string literals "#{exp}".dup and +"#{exp}"
-
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... -
04:41 PM Revision 927928ba (git): [PRISM] Fix anonymous keyword arguments
- Fixes ruby/prism#2256.
-
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... -
03:37 PM Revision 767f5d04 (git): [PRISM] Use lvar depths for starting
-
03:08 PM Revision 529700d3 (git): [PRISM] Nested MultiWriteNode with method calls
- Fixes ruby/prism#2247.
-
11:51 AM Revision d86c4e55 (git): Define `IO_WITHOUT_GVL` macro
-
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...
-
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...
-
10:33 AM Revision 0f417d64 (git): Initialize errno variables and fix maybe-uninitialized warnings
-
10:25 AM Bug #20208 (Assigned): Net::HTTP errors with Errno::EAFNOSUPPORT when setting local_host with Addrinfo
-
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,...
-
09:12 AM Revision 4099b04c (git): Pend make option test on mswin platform
-
09:11 AM Revision fb39128d (git): [rubygems/rubygems] Added test for rubygems
- https://github.com/rubygems/rubygems/commit/64405147c9
-
09:11 AM Revision 6191f4a1 (git): [rubygems/rubygems] Simplified test-case for original issue
- https://github.com/rubygems/rubygems/commit/89086c5458
-
09:11 AM Revision 723deec9 (git): [rubygems/rubygems] Keep compatibility of past versions
- https://github.com/rubygems/rubygems/commit/54b67fb251
-
09:11 AM Revision 1018dca0 (git): [rubygems/rubygems] Skip to load commented out words
- https://github.com/rubygems/rubygems/commit/e6a9148ba2
-
09:00 AM Revision 53d0cf44 (git): Use exit 0 instead of true on windows platform
-
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...
-
06:55 AM Revision c8355a8d (git): syslog is already extracted as bundled gems
-
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...
-
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...
-
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://... -
05:10 AM Revision 270ad763 (git): Revert "Ensure File.open applies default umask on gem extract"
- This reverts commit 01f9766aa05182a7bbdc914a5dcd8a36ebade861.
-
05:09 AM Revision 2f06e4f7 (git): Revert "Pend tests on Travis CI"
- This reverts commit 772afa00b5109f55c1d8359c688aca4063818549.
-
04:56 AM Revision 6bd997ec (git): [rubygems/rubygems] Remove no longer necessary code
- https://github.com/rubygems/rubygems/commit/b7d2de2ba8
-
04:55 AM Revision 1e519abe (git): [rubygems/rubygems] Fix rake extension warning
- https://github.com/rubygems/rubygems/commit/04973e349c
-
04:50 AM Revision 772afa00 (git): Pend tests on Travis CI
-
04:50 AM Revision 01f9766a (git): Ensure File.open applies default umask on gem extract
-
03:44 AM Revision 2defa9f4 (git): [DOC] Elaborate exceptional behaviors on Windows
-
03:44 AM Revision 769bb924 (git): [DOC] Tips for space containing `exe_path`
-
03:44 AM Revision 62305864 (git): [DOC] Add Argument `args` subsection
-
03:44 AM Revision be6e06ef (git): [DOC] Separate standard shells per platforms
-
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... -
03:43 AM Revision df5f2fab (git): [DOC] Correction for Process.spawn doc
- 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... -
01:44 AM Revision a170f185 (git): No longer needed to sync syslog
-
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... -
12:53 AM Revision d914f82a (git): Use test fixed version of debug gem https://github.com/ruby/debug/pull/1067
-
12:47 AM Revision 974b141f (git): YJIT: Reuse get_array_{ptr,len}
-
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+... -
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...
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... -
10:45 PM Revision 909a710a (git): [PRISM] Fix anonymous splat nodes
- Fixes ruby/prism#2257.
-
10:39 PM Revision 996776e9 (git): Leave a comment about the limitation of Primitive
- and adjust some code styling from that PR.
-
09:29 PM Feature #20182 (Closed): Rewrite Array#each in Ruby
-
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...
-
08:30 PM Bug #20195 (Open): 3.3.0 YJIT mishandles ruby2_keywords splat into methods taking a rest parameter
-
08:13 PM Bug #20195 (Closed): 3.3.0 YJIT mishandles ruby2_keywords splat into methods taking a rest parameter
-
08:23 PM Revision 7ac74f5c (git): Revert "Skip a failing test for Prism"
- This reverts commit 557b69e83b27dafea435719fc3afc2e67e155962.
-
08:23 PM Revision cecf4260 (git): [PRISM] Fix block fowarding
-
08:23 PM Revision 333f4b49 (git): [PRISM] Support block parameters with no name
- Fixes ruby/prism#2249.
-
08:09 PM Revision c84237f9 (git): Rewrite Array#each in Ruby using Primitive (#9533)
-
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 -
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. -
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...
-
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 ... -
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
-
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 ... -
05:02 PM Revision a846d391 (git): List branch maintainers in maintainers.md
- I'm not aware of this information being available
anywhere else. -
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 ... -
01:41 PM Bug #20203: `TestEnumerable` test failures with GCC 14
- So far, it was attributed to "issue within glibc qsort".
-
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... -
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... -
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 ... -
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 ... -
03:47 PM Bug #20194 (Closed): Memory leak with TracePoint on bmethod
- Applied in changeset commit:git|b14674b236445fb70f484603e678722760f678f4.
----------
Memory leak with TracePoint on ... -
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.... -
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.
-
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... -
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... -
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:
>... -
07:10 AM Revision 7cf74a2f (git): Run test-bundled-gems again with macos-arm-oss runner
-
07:10 AM Revision 5987f0b7 (git): Retired macos-11 because this version is EOL, and added macos-13(beta)
-
12:35 AM Revision 8c3eb47f (git): All btests are passing with Prism
- We can remove the exclusion list now
-
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... - 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... - 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... - 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... -
12:02 AM Revision f423ced5 (git): update tests
-
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...
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 ... -
11:45 PM Revision 706eea9d (git): Fixup 2e69137dbe9fd7c03dac9b8adc30a7eba3ecb10b
-
11:15 PM Revision d8af85ad (git): [Prism] Uncomment tests that now pass
-
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... -
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. - 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... -
11:07 PM Revision 708fa774 (git): [PRISM] Fix keyword arguments in IndexOrWriteNode
- Fixes ruby/prism#2236.
-
11:07 PM Revision 1838dbf6 (git): [PRISM] Fix splat and block in aset
-
11:07 PM Revision 18471923 (git): [PRISM] Fix block in aset
- Fixes ruby/prism#2223.
- 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... -
10:35 PM Revision 28fc7fa8 (git): Revert "Bump shlex"
- This reverts commit dcabe87fc8b8523cabea533df18d2b3b616e78da.
Revert "Bump shlex"
This reverts commit 47264b78c2e1b... -
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. - 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... - 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... - 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... -
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([... -
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 ...
-
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... -
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... -
08:22 PM Revision 8065672d (git): [PRISM] Force semicolon at the end of PM macros
-
08:21 PM Revision 26309416 (git): [PRISM] Use PM_SWAP macro
-
08:16 PM Revision 789de597 (git): [PRISM] Use PM_POP macro
-
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... - 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... -
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... -
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... -
05:56 PM Revision dbd76d91 (git): [PRISM] Fix keyword splat in IndexAndWriteNode and IndexOrWriteNode
- Fixes ruby/prism#2232 and ruby/prism#2234.
-
05:55 PM Revision ab99ce91 (git): [PRISM] Insert concatarray for index targets with splat
-
05:54 PM Revision e5f8585a (git): [PRISM] Fix line for leave instructions
-
05:49 PM Revision 4fc0a901 (git): Set a cached Ruby path using setup-ruby (#9645)
-
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...
-
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... -
04:42 PM Revision c7e87b21 (git): Fix up [Bug #20001]
-
04:26 PM Revision a7af34fa (git): [PRISM] Fix keywords arguments in IndexAndWriteNode
- Fixes ruby/prism#2233.
-
04:23 PM Revision 5906ce42 (git): [ruby/prism] Static literal flag for string hash keys
- https://github.com/ruby/prism/commit/26a2d774cd
-
04:21 PM Revision 6401f282 (git): [PRISM] Fix up source line for 1-indexed line numbers
-
04:16 PM Revision eb579706 (git): [ruby/prism] Reference prism after require
- https://github.com/ruby/prism/commit/0a8ff431df
-
04:13 PM Revision e00f42e5 (git): [ruby/prism] Return 1-indexed line numbers
- https://github.com/ruby/prism/commit/ad17f58729
-
04:12 PM Revision d68aaa66 (git): [PRISM] Freeze regex literals in iseqs
-
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...
-
03:51 PM Revision 580429d2 (git): [PRISM] Fix incorrect ordering of MultiTargetNode
- Fixes ruby/prism#2218.
-
03:18 PM Revision 6bcbb9a0 (git): Make prism respect dump_without_opt
-
02:40 PM Revision 2abf1530 (git): [PRISM] Add TP call/return events to method ISEQs
-
02:10 PM Revision ee8f9267 (git): Enable test_syntax.rb
-
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...
-
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... -
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... -
01:19 PM Revision b8495048 (git): [ruby/prism] Unescape method name for unary methods.
- https://github.com/ruby/prism/commit/4386a4c0da
-
12:45 PM Revision b4b35b14 (git): Add an autoload spec for the behavior inside autoload but after the constant is defined
-
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... -
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...
- 10:40 AM Revision b841e32b (git): Update default gems list at d940e3b2c3c413b697c415718d4ef0 [ci skip]
-
10:39 AM Revision d940e3b2 (git): `cexpr!` must be up to one per line now
-
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.
... -
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.
... - 09:23 AM Revision 15f6ee05 (git): Update bundled gems list at 754e4e0c9cab9d5a71c33831f7cad5 [ci skip]
-
09:23 AM Revision 754e4e0c (git): Stop sync csv repo
-
09:23 AM Revision 2e69137d (git): Use version dependant library for completion test
-
09:23 AM Revision 92141d62 (git): Document about csv at Ruby 3.4
-
09:23 AM Revision f2dce4e6 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/csv/**/*.rb
-
09:23 AM Revision e195710d (git): Extract csv
- 07:06 AM Revision a70e5004 (git): Update default gems list at 3d19409637de1462b6790d2a92344b [ci skip]
-
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_... - 07:00 AM Revision 3736130d (git): Update bundled gems list at 8bcc764f71c8bb93871dc6a7526319 [ci skip]
-
06:59 AM Revision 8bcc764f (git): Document about syslog at Ruby 3.4
-
06:59 AM Revision b5b98546 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/syslog/**/*.rb
-
06:59 AM Revision 029b6d5b (git): Extract syslog
- 05:18 AM Revision 4d31d680 (git): Update bundled gems list at 38a1b88d1eb7cc1c0ff2baa36e8550 [ci skip]
-
05:17 AM Revision 38a1b88d (git): Skip nkf from check_existence
-
05:17 AM Revision 52a0ebe2 (git): Document about nkf at Ruby 3.4
-
05:17 AM Revision f869f2ec (git): Stop sync nkf repo
-
05:17 AM Revision df70faa9 (git): Extract nkf
-
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... - 04:42 AM Revision 34315510 (git): [ruby/irb] Fix documentation typo, `niL` -> `nil`
- https://github.com/ruby/irb/commit/79086a9dda
-
03:38 AM Bug #20198 (Closed): Threaded DNS resolver does not propagate errno to the calling thread
- Fix in the above PR was merged.
-
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.
-
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...
-
03:35 AM Revision 3b3f0366 (git): Refine entry title
-
03:35 AM Revision c44d15c6 (git): Stop sync drb repo
-
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... - 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... - 03:31 AM Revision 12e697f9 (git): Update default gems list at 5b109ff14d274d0599839c61c77b32 [ci skip]
-
03:30 AM Revision 5b109ff1 (git): [ruby/nkf] Bump up version to 0.2.0
- https://github.com/ruby/nkf/commit/65506fecfd
-
03:06 AM Revision 4a11f50f (git): [DOC] Update command_injection.rdoc
- - Add missing `Kernel.exec` and `Kernel.spawn`.
- Elaborate arguments that can cause injections. -
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 ... - 02:09 AM Revision 0fadac4c (git): Update bundled gems list at 52fc93cab71e56699fb2b216faca12 [ci skip]
-
02:08 AM Revision 52fc93ca (git): added redirect wrapper for envutil
-
02:08 AM Revision 220f7c9d (git): Re-use drb from bundled gems
-
02:08 AM Revision 854b1f60 (git): Document about drb at Ruby 3.4
-
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
-
02:08 AM Revision 36fc5ee6 (git): Extract drb
-
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... -
12:57 AM Revision 00dc1cac (git): Reapply "[rubygems/rubygems] Fix activation conflicts when circularly requiring a gem"
- This reverts commit 04cf66765a8a9d48baea6d9aee266dc9aa21df27.
-
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.
-
12:19 AM Revision 94af1e5b (git): [ruby/uri] Removed commented-out code
- https://github.com/ruby/uri/commit/feb8e0dd73
-
12:12 AM Revision 34c5e787 (git): [ruby/nkf] Drop GPL and add licenses to gemspec
- https://github.com/ruby/nkf/commit/19df7138f7
-
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...
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
... -
09:41 AM Revision e2e15ddd (git): [DOC] `echo` command may not be a shell built-in
-
09:21 AM Bug #20180: Inconsistent evaluation of `**{}` depending on position in array
- Seems like this behavior changed in 2.7.
-
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 ... -
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...
-
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...
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
-
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 ...
-
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... -
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... -
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... -
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...
-
03:27 PM Revision 366b14c0 (git): More tests
-
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 ...
-
01:12 AM Revision 99d6e2f1 (git): [PRISM] Revisit target nodes
-
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...
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]> -
10:57 PM Revision cfabe9c5 (git): [ruby/prism] Handle stovetop start in constant path fullname
- https://github.com/ruby/prism/commit/3a216e63fe
-
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.
-
09:04 PM Revision ed50161b (git): [PRISM] Fix ensure code running twice
- Fixes: ruby/prism#2212
-
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... -
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... -
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... -
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 ... -
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... -
07:51 PM Revision e0f7cee8 (git): YJIT: Avoid doubly splitting Opnd::Value on CSel (#9617)
- YJIT: Avoid doubly splitting Opnd::Value
-
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... -
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... -
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...
-
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...
-
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... -
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... -
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... -
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 ... -
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... -
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.
-
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... -
05:35 PM Revision 200d3cc1 (git): add assert on SP
-
04:22 PM Revision 400341ae (git): [PRISM] Sync to latest
-
04:18 PM Revision 5a5cf23d (git): [PRISM] Fix indentation for PM_SCOPE_NODE [ci skip]
- 04:12 PM Revision ba4b00d3 (git): * remove trailing spaces. [ci skip]
-
04:12 PM Revision da521fc9 (git): [ruby/prism] Parsing rules document
- https://github.com/ruby/prism/commit/57a9575543
-
04:00 PM Revision 3c929017 (git): YJIT: Optimize defined?(yield) (#9599)
- * YJIT: Optimize defined?(yield)
* Remove an irrelevant comment
* s/get/gen/ - 03:43 PM Revision a58e0916 (git): [ruby/prism] Extract identifier lexing documentation to separate file
- https://github.com/ruby/prism/commit/c9df17e3c0
- 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... - 03:43 PM Revision 57c138c5 (git): [ruby/prism] Document ConstantReadNode fields
- https://github.com/ruby/prism/commit/a1623f6451
- 03:43 PM Revision b7d37e27 (git): [ruby/prism] Document LocalVariableReadNode fields
- https://github.com/ruby/prism/commit/5e9afd3729
- 03:43 PM Revision 1c5e5406 (git): [ruby/prism] Document NumberedReferenceReadNode fields
- https://github.com/ruby/prism/commit/c3148b4519
- 03:43 PM Revision 3fa6dbf3 (git): [ruby/prism] Document BackReferencedReadNode fields
- https://github.com/ruby/prism/commit/99a5660623
- 03:43 PM Revision 512be6ce (git): [ruby/prism] Document GlobalVariableReadNode fields
- https://github.com/ruby/prism/commit/5d092e6389
- 03:43 PM Revision 9031fd08 (git): [ruby/prism] Document ClassVariableReadNode fields
- https://github.com/ruby/prism/commit/23ed81dd15
- 03:43 PM Revision 88810f71 (git): [ruby/prism] Document InstanceVariableReadNode fields
- https://github.com/ruby/prism/commit/c0747103b0
-
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 ... -
03:25 PM Revision d0b774cf (git): Remove null checks for xfree
- xfree can handle null values, so we don't need to check it.
-
02:49 PM Revision d29cd972 (git): [ruby/prism] Use inttypes for more accurate printf formatting
- https://github.com/ruby/prism/commit/2a22b9b72f
-
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...
-
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... -
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.
-
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... -
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...
-
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...
-
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...
-
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... -
12:15 PM Bug #8973: Allow to configure archlibdir for multiarch
- Can this be reopened or should create new ticket?
-
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...
-
08:43 AM Misc #20193: DevMeeting-2024-02-14
- * [Feature #16495] Inconsistent quotes in error messages (mame)
* Implemented a prototype.
* Error message: ``u... -
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... - 11:02 AM Revision 7b0f6d6d (git): Update bundled gems list at c46d23cde7c6bfc2af762525a767cd [ci skip]
-
11:02 AM Revision c46d23cd (git): Added dependencies rinda and drb
-
11:02 AM Revision fa5094e1 (git): Stop sync rinda repo
-
11:02 AM Revision ce73fbd7 (git): Document about rinda at Ruby 3.4
-
11:02 AM Revision 411cda2d (git): Extract rinda
-
09:01 AM Bug #19918: Should `a[&b]=c` be syntax valid?
- https://github.com/nobu/ruby/tree/ary_set-block
-
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...
- 08:57 AM Revision 0f315216 (git): Update bundled gems list as of 2024-01-19
-
08:44 AM Revision 31a5d4a0 (git): Skip test task for resolv-replace
-
08:44 AM Revision 36095ed3 (git): Removed sync task for resolv-replace
-
08:44 AM Revision 6c098d14 (git): Document about resolv-replace at Ruby 3.4
-
08:44 AM Revision 99c2c703 (git): Extract resolv-replace
-
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... -
07:57 AM Misc #20075 (Closed): DevMeeting-2024-01-17
-
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... - 07:28 AM Revision 9ac316bb (git): Update bundled gems list at 11ec59c92bab5346fc0fdce9d8ed2a [ci skip]
-
07:27 AM Revision 11ec59c9 (git): Removed sync task for abbrev
-
07:27 AM Revision e28bdff9 (git): Document about abbrev at Ruby 3.4
-
07:27 AM Revision f4670b46 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/abbrev/**/*.rb
-
07:27 AM Revision b4ee5266 (git): Extract abbrev as bundled gems
-
06:56 AM Revision d3898e97 (git): Removed sync task for observer
- 06:35 AM Revision e8cb9e13 (git): Update bundled gems list as of 2024-01-18
-
06:24 AM Revision fb5722c0 (git): Document about observer at Ruby 3.4
-
06:24 AM Revision 8b551b0e (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/observer/**/*.rb
-
06:24 AM Revision 176a4428 (git): Extract observer as bundled gems
-
05:01 AM Revision 68b403c4 (git): Fixed inconsistent library name
-
05:00 AM Revision 385a1b15 (git): Fixed upstream URL at bundled gems
-
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.
-
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... - 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... -
02:29 AM Revision a8fa28ab (git): Bump uri version used in development
-
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... -
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... -
02:28 AM Revision 8044e579 (git): [rubygems/rubygems] Add a comment to explain default gem activation
- https://github.com/rubygems/rubygems/commit/291128268f
- 02:16 AM Revision 74e5665e (git): Update default gems list at b2ec4308d69a13f3ff3b1b3128d52b [ci skip]
-
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 -
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... - 01:49 AM Revision ac636f57 (git): [ruby/strscan] Bump version
- https://github.com/ruby/strscan/commit/d6f97ec102
-
01:49 AM Revision 4e476710 (git): [rubygems/rubygems] Test that regular gems don't shadow default gems
- https://github.com/rubygems/rubygems/commit/b8ca5950a6
-
01:22 AM Revision 7b253cfe (git): RJIT: Properly reject keyword splat with `yield`
- See the fix for YJIT.
-
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... -
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...
Also available in: Atom