Activity
From 01/08/2025 to 01/14/2025
01/14/2025
-
11:52 PM Bug #21029: Prism behavior for `defined? (;x)` differs
- I think we should change `parse.y` to match this behavior. I will ask around.
-
11:41 PM Revision cb419e39 (git): [PRISM] Handle forwarding inside eval
- Fixes [Bug #21031]
-
10:33 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- Eregon (Benoit Daloze) wrote in #note-14:
> Given semantics are already incompatible when using `Ractor.make_shareab... -
07:52 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- I played with `Ractor.make_shareable` and it already mutates a Proc in place, breaking the basic Ruby semantics of re...
-
07:26 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- > `isolated { lambda { ... } }`
Maybe this could be shortened to `isolated { ... }` or so, if that method is declare... -
07:22 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- tenderlovemaking (Aaron Patterson) wrote in #note-11:
> Adding syntax makes it much harder to port existing applicati... -
05:05 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- Good catches, thank you. I knew there must be something I was missing, but wasn't sure what.
Eregon (Benoit Daloz... -
02:26 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- This also breaks that analysis:
```
$ ruby -e 'p lambda { ->{}.binding.receiver }.call'
main
$ ruby --dump=insns... -
02:24 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- ```
$ ruby -e 'p lambda { Kernel.binding.receiver }.call'
main
$ ruby --dump=insns -e 'p lambda { Ker... -
01:16 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- luke-gru (Luke Gruber) wrote in #note-7:
> But it doesn't work, after the `Ractor.make_shareable` call, `bl.call` gi... -
12:54 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- Sorry, I should have tested what I thought could happen.
I thought this could happen:
```ruby
class Foo
def make_... -
12:16 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- luke-gru (Luke Gruber) wrote in #note-4:
> I'm a bit worried in the general case about `eval`. What if eval is calle... -
12:13 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- luke-gru (Luke Gruber) wrote in #note-4:
> I'm a bit worried in the general case about `eval`. What if eval is calle... -
12:04 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- I'm a bit worried in the general case about `eval`. What if eval is called through `Kernel.eval`? I think what you wo...
-
12:01 AM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- I guess GitHub is not working right now, so I'll just attach the patch here.
-
09:08 PM Bug #21037 (Closed): Ractors hang with multiple threads
- The following program hangs, but I don't expect it to hang:
```ruby
# frozen_string_literal: true
class Map
... -
08:59 PM Revision f1e32914 (git): [ruby/mmtk] Add mmtk_worker_count to GC.config
- https://github.com/ruby/mmtk/commit/836a9059cb
-
08:33 PM Revision 56242ba4 (git): Better handle regexp in the parser translator
- Turns out, it was already almost correct. If you disregard \c and \M style escapes, only a single character is allowe...
-
08:31 PM Revision 51d3d6ac (git): [ruby/prism] Support forwarding flags on scopes
- When parent scopes around an eval are forwarding parameters (like
*, **, &, or ...) we need to know that information ... -
05:34 PM Bug #21024: Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
- For the record, nobu sent the following PR, and merged.
https://github.com/ruby/ruby/pull/12573
-
05:17 PM Revision f5fa1ee5 (git): [ruby/mmtk] Exit with error message if MMTK_PLAN is invalid
- https://github.com/ruby/mmtk/commit/79ce2008a3
-
05:11 PM Bug #20955 (Closed): Subtle differences with Proc#parameters for anonymous parameters
- AFAICT #20974 fully addressed the issue in the OP, and `it` behaves the same as anonymous destructuring parameters.
... -
05:09 PM Revision 1adcd960 (git): Add tests for Proc#parameters on `it` blocks
- [Bug #20955]
-
05:07 PM Revision 2bcbc80f (git): [ruby/mmtk] Exit with error message if MMTK_HEAP_MODE is invalid
- https://github.com/ruby/mmtk/commit/c8b1f4c156
-
05:07 PM Revision f627e05d (git): [ruby/mmtk] Add tests for when MMTK_HEAP_MIN >= MMTK_HEAP_MAX
- https://github.com/ruby/mmtk/commit/65b34b5e86
-
05:07 PM Revision e2f0769c (git): [ruby/mmtk] Also test invalid values for MMTK_HEAP_MIN and MMTK_HEAP_MAX
- https://github.com/ruby/mmtk/commit/90f1aa8d76
-
04:46 PM Revision b076e9b7 (git): Remove incorrectly committed snapshots
-
04:18 PM Revision cf4d848c (git): [ruby/mmtk] Add framework for tests
- https://github.com/ruby/mmtk/commit/6d94549fc7
-
04:01 PM Revision 12fa76b3 (git): [ruby/prism] Fix parse.y translation for locals test
- https://github.com/ruby/prism/commit/c8037dfaed
-
03:36 PM Revision 23fc0fc2 (git): [ruby/prism] Be a bit stricter when comparing parser translator tokens
- When there were more actual tokens than expected tokens, the test would still pass.
Now it's possible to receive an ... -
03:33 PM Revision d0c493df (git): [ruby/prism] Fix block parameters and it for RubyParser
- https://github.com/ruby/prism/commit/7a93a307ac
-
03:32 PM Revision da93c9ae (git): [ruby/prism] Refactor serializer
- https://github.com/ruby/prism/commit/8ab2532f09
-
03:32 PM Revision 713f3187 (git): [ruby/prism] Freeze AST option
- To make it so that you can pass `freeze: true` to Prism parse
methods and get back a deeply-frozen AST that is Ractor... -
03:21 PM Revision 1758137e (git): Simplify gc/mmtk/extconf.rb
- - Split static recipes to depend file.
- Modify makefile configurations in the block to `create_makefile`.
- Expand r... -
01:15 PM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
- byroot (Jean Boussier) wrote in #note-2:
> @fxn tracked it down to https://github.com/emailage/Emailage_Ruby/blob/64... -
08:25 AM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
- I dug more into this today, based on @nobu's review. `autoload?` isn't the only thing slowed down in such case.
Pe... -
12:56 PM Revision c961d093 (git): [Bug #21024] <cstdbool> header has been useless
- And finally deprecated at C++-17.
Patched by jprokop (Jarek Prokop). -
12:38 PM Revision 1b515d1c (git): [ruby/openssl] ssl: update test_verify_hostname_on_connect for LibreSSL
- This reverts the change made to this test case in commit https://github.com/ruby/openssl/commit/a0e98d48c91f
(Enhance... -
12:38 PM Revision 318519ca (git): [ruby/openssl] engine: remove mention of LibreSSL from OpenSSL::Engine
- These paths are only reachable when it is compiled against OpenSSL.
LibreSSL 3.9 does not support ENGINE and defines ... -
12:38 PM Revision 731d3ec3 (git): [ruby/openssl] ossl.c: use OPENSSL_init_ssl() and OpenSSL_version() with LibreSSL
- LibreSSL 2.7.0 added support for OPENSSL_init_ssl() and
OpenSSL_version().
https://github.com/ruby/openssl/commit/13... -
12:38 PM Revision 0fb64bda (git): [ruby/openssl] Require LibreSSL 3.9 or later
- Drop support for LibreSSL 3.1-3.8. LibreSSL 3.8 has reached its EOL in
2024-10.
https://github.com/ruby/openssl/comm... -
11:54 AM Bug #20972 (Closed): OpenSSL Memory Usage
- Applied in changeset commit:git|2f5d31d38ad6918410da1c41936e043f47725d4f.
----------
[ruby/openssl] Reduce OpenSSL::... -
11:54 AM Revision 4f794858 (git): [ruby/openssl] Refactor buffer usage to only use `append_as_bytes`
- https://github.com/ruby/openssl/commit/28f2901c48
-
11:54 AM Revision 2f5d31d3 (git): [ruby/openssl] Reduce OpenSSL::Buffering#do_write overhead
- [Bug #20972]
The `rb_str_new_freeze` was added in https://github.com/ruby/openssl/issues/452
to better handle concur... -
08:27 AM Bug #21036 (Closed): Somewhat confusing behaviour between warning "block passed may be ignored", versus the responsible method triggering this warning already being faulty and can never be run successfully due to errors such as "wrong number of arguments" and/or recursive cal
- Today I was updating / porting some legacy code, to ruby 3.4.1.
Ruby 3.4.1 changed a few things, including some wa... -
08:27 AM Bug #20816: Potential regression in Ruby 3.3.x (compared with 3.1 and 3.2) regarding fast syscalls and multi-threading.
- @ko1 would input would be welcome on this issue.
-
08:20 AM Revision ccb4ba45 (git): Use LRAMA instead of YACC
-
08:20 AM Revision eafba0d5 (git): Use LRAMA instead of BISON
-
08:08 AM Revision 2f0741dd (git): [ruby/json] Fix a method redefinition warning in C parser
- Ref: https://github.com/ruby/json/pull/728
Ref: https://github.com/ruby/ruby/pull/12569
https://github.com/ruby/json... -
08:08 AM Revision 599fbeaf (git): [ruby/json] Refactor JSON::Ext::Parser to split configuration and parsing state
- Ref: https://github.com/ruby/json/pull/718
The existing `Parser` interface is pretty bad, as it forces to
instantiat... -
07:51 AM Misc #21035 (Closed): Clarify or redefine Module#autoload? and Module#const_defined?
- The documentation for `Module#autoload?` says:
> Returns filename to be loaded if name is registered as autoload i... -
06:50 AM Revision c8d11edc (git): Sync lockfile from rubygems/rubygems
-
06:34 AM Revision 4daa5ebb (git): [DOC] About `create_makefile`
- Describe two features that were missing from the documentation:
- yields configuration part if a block is given.
- "... -
05:52 AM Revision 13c868ae (git): Restore lockfile for test-bundler
- In the past, bundler updated platform without normalized variable like arm64-darwin-23.
We ignored that update. But t... -
04:36 AM Revision 382277f9 (git): [ruby/yaml] We should load rubygems for optional pstore gem
- https://github.com/ruby/yaml/commit/d32dc11205
-
03:24 AM Revision 61d3f9a1 (git): Remove explicit test dependency on uri
- Since we now vendor uri, it does not buy us anything to include it in
the gemfile explicitly. -
03:24 AM Revision a3882dc5 (git): Remove test dependency on logger
- I think logger is only used to figure out which methods need to be made
noops in order to silence webrick during test... -
03:24 AM Revision 78cec339 (git): Remove base64 as an explicit test dependency
- Tests don't use it directly, so no need to specify it in our Gemfile.
I think it may have only been added because si... -
03:24 AM Revision 434fa4f3 (git): Add basic tapioca check to CI
-
03:24 AM Revision f301383c (git): Remove Generator::State#_generate
- Co-authored-by: Jean Boussier <[email protected]>
-
03:24 AM Revision 1fae0d72 (git): Use ronn-ng again for documentation generation
- We switched to nronn because ronn-ng felt abandoned, but it seems
it has activity again, so switch back. - 03:24 AM Revision f1f81e86 (git): [ruby/fiddle] add regex for bool parsing & test struct w/ bool
- parsing
(https://github.com/ruby/fiddle/pull/169)
GitHub: fix https://github.com/ruby/fiddle/pull/168
Struct parsin... - 03:24 AM Revision ed0a2136 (git): [rubygems/rubygems] Bump the rb-sys group across 2 directories with 1 update
- Bumps the rb-sys group with 1 update in the /test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib...
-
03:24 AM Revision 0b1b8bc3 (git): [rubygems/rubygems] Don't remove platform specific variants from the lockfile unless necessary
- Even if they don't match the current Ruby version, they could still work
in other rubies. So it's better to keep them... -
03:24 AM Revision 5c83d09e (git): [rubygems/rubygems] Tiny parameter rename
- Just for consistency, since all the other methods in this class that
receive an array of dependencies use `deps`.
ht... -
03:24 AM Revision ae75c887 (git): [rubygems/rubygems] Extract `SpecSet#version_for`
- https://github.com/rubygems/rubygems/commit/a76fd6d3bf
- 03:24 AM Revision a0e2ed21 (git): [rubygems/rubygems] re-add removed pre-evaluated gemspec test
- https://github.com/rubygems/rubygems/commit/b73ee4059b
-
03:24 AM Revision aee0277e (git): [rubygems/rubygems] Serialize gemspec when caching git source
- https://github.com/rubygems/rubygems/commit/8727d44024
- 03:24 AM Revision c89bcbd5 (git): [rubygems/rubygems] Do not fail on start when cannot find writable user directory on ruby 3.4
- https://github.com/rubygems/rubygems/commit/027cdc750a
- 03:24 AM Revision 7389ca87 (git): [rubygems/rubygems] Print message when blocking on a file lock.
- https://github.com/rubygems/rubygems/commit/3ca7ef214c
-
03:24 AM Revision df534ef0 (git): [rubygems/rubygems] Remove no longer used spec filter
- I think we have consistent behavior regardless of the version of git
being used, and I'd like to keep it like that so... -
03:03 AM Bug #19374: Issue with Ractor.make_shareable with curried procs
- There's a new feature request that should remedy this: https://bugs.ruby-lang.org/issues/21033
-
02:58 AM Misc #20575 (Closed): Syntax Moratorium til 3.4
- Ruby 3.4 has been released. We can add new syntax to Ruby 3.5.
-
02:33 AM Feature #20971: Deprecate `rb_path_check`
- I heard that that warning would be problematic on WSL as well, Windows directories cannot be changed from 777.
-
02:26 AM Revision 8891890b (git): Mark `rb_path_check` as internal only
-
02:26 AM Revision d74e9ef7 (git): CI: Make parents of PATH directories world-unwritable
-
12:41 AM Bug #21034: try to mark T_NONE object error after upgrading to 3.4.1
- Could be related to the issue posted here: https://bugs.ruby-lang.org/issues/21021 but I am not using ActiveJob so ha...
-
12:35 AM Bug #21034 (Closed): try to mark T_NONE object error after upgrading to 3.4.1
- Hi everyone,
I noticed we started having some workers crash after upgrading to 3.4.1. I tried grabbing a core file...
01/13/2025
-
11:59 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- luke-gru (Luke Gruber) wrote in #note-1:
> Hi, cool patch. I think the state of `self` could escape through a `defin... -
11:53 PM Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
- Hi, cool patch. I think the state of `self` could escape through a `defined?(@ivar)` still.
-
11:17 PM Feature #21033 (Open): Allow lambdas that don't access `self` to be Ractor shareable
- Hi,
I would like to allow lambdas that don't access `self` to be eligible for Ractor shareability regardless of th... -
10:47 PM Feature #21028: Method for finding why an object isn't Ractor shareable
- I suspect it's probably a `Proc` object. The feature sounds good to me, and wouldn't be hard to implement I think.
-
10:37 PM Bug #20816: Potential regression in Ruby 3.3.x (compared with 3.1 and 3.2) regarding fast syscalls and multi-threading.
- I think this is due to the refactor for M:N threads. In the 3.2 release, which is fast even though it still uses cond...
-
08:11 PM Revision 5f3d1eeb (git): [ruby/mmtk] Remove accidentally committed files
- https://github.com/ruby/mmtk/commit/154a038293
-
08:08 PM Revision ed4b1f9c (git): [ruby/mmtk] Exit with error message if MMTK_HEAP_MAX is invalid
- https://github.com/ruby/mmtk/commit/4a24d55d91
-
08:08 PM Revision f821a127 (git): [ruby/mmtk] Exit with error message if MMTK_HEAP_MIN is invalid
- https://github.com/ruby/mmtk/commit/1d2f7b9cfc
-
08:08 PM Revision 3b9b41d0 (git): [ruby/mmtk] Exit with error message if MMTK_THREADS is invalid
- https://github.com/ruby/mmtk/commit/5c5c454f65
-
07:49 PM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
- @fxn tracked it down to https://github.com/emailage/Emailage_Ruby/blob/64b9762cda7608ac1eeced2a85ad5f4b7919f4f0/lib/e...
-
07:47 PM Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
- For curiosity, what's adding a relative path in `$LOAD_PATH`? That sounds rather dubious/wrong.
-
05:35 PM Bug #21032 (Closed): `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
- Reproduction script:
```ruby
require 'benchmark'
$LOAD_PATH << 'relative-path'
autoload :FOO, '/tmp/foo.rb'... -
06:02 PM Revision 7c0b92a1 (git): [ruby/prism] Fix parser translator tokens for `%x(#{})`
- It falsely considered it to be a single backtick command
https://github.com/ruby/prism/commit/dd762be590 -
05:59 PM Bug #20974 (Closed): Required and optional anonymous parameter show differently in Proc#parameters
- Applied in changeset commit:git|6637aa4682ef64134e05af949a9beee260dab937.
----------
Proc#parameters: Show anonymous... -
05:58 PM Revision 6637aa46 (git): Proc#parameters: Show anonymous optionals as `[:opt]`
- Have this for lead parameters as well as parameters after rest ("post").
[Bug #20974] -
05:09 PM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
- Thanks for clarifying, I thought the allocationless anonymous splat forwarding optimization relied on some specific u...
-
04:37 PM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
- Eregon (Benoit Daloze) wrote in #note-1:
> @jeremyevans0 Isn't this parse.y behavior breaking the optimization to fo... -
11:38 AM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
- As a note, I checked and the `*` and `**` examples (Case 1 & 2) work in 3.2 and 3.3.
Case 3 / `&` seems incorrect th... -
11:29 AM Bug #21031: Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
- @jeremyevans0 Isn't this parse.y behavior breaking the optimization to forward `*/**/&` efficiently (and maybe `...` ...
-
10:54 AM Bug #21031 (Closed): Incompatibility with prism and parse.y when eval'ing unnamed forwarding variables
- ## Case 1
```rb
# t.rb
def foo(*)
eval("p(*)")
end
foo(1)
```
```
$ ruby --parser=prism t.rb
t.rb:4... -
04:44 PM Revision 85a25116 (git): [ruby/mmtk] Enable immix_non_moving feature
- https://github.com/ruby/mmtk/commit/63ab563e04
-
03:43 PM Revision 0a26a3de (git): [ruby/prism] Fix parser translator heredoc dedention with leading interpolation
- ```rb
<<~F
foo
#{}
bar
F
```
has zero common whitespace.
https://github.com/ruby/prism/commit/1f3c222a06 -
03:25 PM Revision eab1f021 (git): [ruby/mmtk] Unskip TestEnv#test_select_bang_in_ractor
- https://github.com/ruby/mmtk/commit/b2b83ecadb
-
03:18 PM Feature #20953: Array#fetch_values vs #values_at protocols
- > What's the expected behavior of:
For `..42` versions, I believe that `values_at` behavior gives enough affordanc... -
03:08 PM Feature #20953: Array#fetch_values vs #values_at protocols
- I opened https://github.com/ruby/ruby/pull/12565 as a draft, with some failing specs for the edge cases I found but I...
-
02:43 PM Feature #20953: Array#fetch_values vs #values_at protocols
- Alright.
What's the expected behavior of:
```ruby
[1, 2, 3].fetch_values(42..)
[1, 2, 3].fetch_values(42..) {... -
11:43 AM Bug #20957: RangeError on Array#values_at with negative ranges
- Here are more interesting cases:
```
# Reverse ranges don't return values
[0, 1, 2, 3].values_at(2..3) => [2, 3]... -
10:10 AM Revision f7fd42ce (git): Move the declaration of `rb_path_check`
- Although this function is unrelated to hash, it was defined in hash.c
to check PATH environment variable originally. ... -
03:12 AM Revision 384e6945 (git): [ruby/date] Enclose dangling else in braces and fix -Wmisleading-indentation
- ```
date_strptime.c:253:324: warning: misleading indentation;
statement is not part of the previous 'if' [-Wmis... -
02:41 AM Revision 691c8952 (git): Dependency: ext/-test-/memory_status/depend
-
01:55 AM Bug #20996: Embed Ruby 3.4 Failure
- Any advice on how to proceed? We would like to get Rice, and all the gems that depend on it, working with 3.4. Thanks!
-
01:22 AM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
- 3.4.2 is not scheduled yet.
-
12:57 AM Revision 2e38b3ef (git): Update probes.h by incs
-
12:56 AM Revision 4180036f (git): sync_default_gems.rb: check message_filter arguments
-
12:56 AM Revision 060ae17c (git): CPPFLAGS is needed for dtrace not only INCFLAGS
-
12:23 AM Revision 84f0d2dd (git): Stop passing `-t` and `-v` on ripper build
- Both of them are debug option.
Let's use `YFLAGS` for parse.y build if needed.
01/12/2025
-
11:15 PM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
- May I confirm this will be patched in Ruby 3.4.2?
-
06:34 PM Bug #21030 (Closed): Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
- Applied in changeset commit:git|f56f3eaae55cc6f8d9e79862ee73a9ffb53d6077.
----------
[Bug #21030] Fix step for non-n... -
08:23 AM Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
- Confirmed, looking into it.
-
05:59 AM Bug #21030 (Closed): Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
- Issue also filed at: https://github.com/rails/rails/issues/54199
### System configuration
**Rails version**: 7.1.... -
06:54 PM Revision 566f9463 (git): [ruby/prism] Fix parser translator tSPACE tokens for percent arrays
- Tests worked around this but the incompatibility is not hard to fix.
This fixes 17 token incompatibilies in tests her... -
06:41 PM Revision 14b90984 (git): [ruby/prism] Frozen strings in the AST
- https://github.com/ruby/prism/commit/8d9d429155
-
06:34 PM Revision 48749afe (git): [ruby/prism] Fix parser translator ranges for mulltiline strings with multiline bytes
- A rather silly issue with a rather simple fix.
The ranges already use the offset cache, this effectivly double-encode... -
06:34 PM Revision d0deec3e (git): [ruby/prism] Fix parser translator tokens for comment-only file
- In https://github.com/ruby/prism/pull/3393 I made a mistake.
When there is no previous token, it wraps around to -1. ... -
05:07 PM Revision f56f3eaa (git): [Bug #21030] Fix step for non-numeric range
- When the end points of an inclusive range equal, `Range#step` should
yields the element once. -
02:01 PM Revision d9e1a7cd (git): [Bug #21018] Fix for s390x
-
12:59 PM Revision 450d9dc8 (git): [ruby/irb] Group private methods together in `IRB::Context`
- (https://github.com/ruby/irb/pull/1064)
This makes them easier to find and matches the convention of the codebase.
... -
12:47 PM Revision 9f8defe8 (git): [ruby/irb] Drop ColorPrinter's workaround for BasicObject
- (https://github.com/ruby/irb/pull/1051)
`pp` 0.6.0+ includes https://github.com/ruby/pp/pull/26 to handle BasicObjec... -
10:48 AM Revision e2f1f7c5 (git): [Doc] Encourage use of encoding constants
- Lots of documentation examples still use encoding APIs with encoding names
rather than encoding constants. I think it... -
08:20 AM Bug #21026: `def __FILE__.a; end` should be a syntax error
- As far as I understand (though it is an intuitive understanding, not backed by looking into particular implementation...
-
07:27 AM Feature #20899: Reconsider adding `Array#find_map`
- The Facets gem has this same feature as `find_yield`. In their implementation there's an optional first arg which is ...
-
04:53 AM Revision d9d08484 (git): [DOC] Fix the description of `rb_path_check`
- c.f. #20971
-
02:58 AM Bug #21029 (Closed): Prism behavior for `defined? (;x)` differs
- Prism has a different behavior for `(;expr)` when used in `defined?` predicate:
```console
% ./miniruby --parser=... -
12:49 AM Revision 723f31cf (git): [ruby/prism] Fix binary encoding for the parser translator
- Skipping detecting the encoding is almost always right, just for binary it should actually happen.
A symbol containi... -
12:23 AM Bug #21027 (Closed): `not()` receiver should be `nil`
- Applied in changeset commit:git|117d6e145a0270ab8fc9134403519ef13b9ebb24.
----------
[ruby/prism] Fix `not` receiver... - 12:09 AM Revision 8e56d9e4 (git): Update default gems list at 70022224b2627694cbbb30e819a6b1 [ci skip]
-
12:09 AM Revision 70022224 (git): [ruby/prism] Better comment token handling for the parser translator
- There appear to be a bunch of rules, changing behaviour for
inline comments, multiple comments after another, etc.
T... -
12:09 AM Revision 117d6e14 (git): [ruby/prism] Fix `not` receiver
- `not foo` should be `!foo`
`not()` should be `!nil`
Fixes [Bug #21027]
https://github.com/ruby/prism/commit/871ed4b462 -
12:09 AM Revision 9c962ea7 (git): [ruby/prism] Fix parser translator tokens for backslashes in single-quoted strings and word arrays
- These are not line continuations. They either should be taken literally,
or allow the word array to contain the follo... -
12:09 AM Revision 110461c5 (git): [ruby/prism] Implement more string token escaping in the parser translator
- This leaves `\c` and `\M` escaping but I don't understand how these should even work yet. Maybe later.
https://githu... -
12:09 AM Revision 81079ebf (git): [ruby/prism] Import code samples for Ruby 3.3 from the parser gem
- Slightly tweaking the import script becaues of backtrace format changes in Ruby 3.4
Most tests pass in all parsers, ... -
12:09 AM Revision ca81142e (git): [ruby/prism] [Bug #21010] Reject endless method definition of `[]=`
- Fixes: https://bugs.ruby-lang.org/issues/20785
https://github.com/ruby/prism/commit/192960ce5d -
12:09 AM Revision 283037f7 (git): [ruby/prism] Better handle all kinds of multiline strings in the parser translator
- This is a followup to #3373, where the implementation
was extracted
https://github.com/ruby/prism/commit/2637007929 -
12:09 AM Revision 80fe9a1c (git): [ruby/prism] Better handle multiline interpolated strings in the parser translator
- Much of this logic should be shared between interpolated symbols and regexps.
It's also incorrect when the node conta... -
12:09 AM Revision 9f38ee11 (git): [ruby/prism] Fix parser translator ast for empty regex
- In that specific case, no string node is emitted
https://github.com/ruby/prism/commit/1166db13dd -
12:09 AM Revision a234fd51 (git): [ruby/prism] Fix parser translator ast for regex with line continuation
- Turns out, the vast majority of work was already done with handling the same for heredocs
I'm confident this should ... -
12:09 AM Revision d1a70014 (git): [ruby/prism] Fix parser translator ast when using anonymous forwarding in blocks/lambda
- Blocks and lambdas inherit anonymous arguments from the method they are a part of.
They themselves don't allow to int... -
12:09 AM Revision 7cbaa3b9 (git): [ruby/prism] Fix an incompatibility with the parser translator
- The offset cache contains an entry for each byte so it can't be accessed via the string length.
Adds tests for all v... -
12:09 AM Revision d597118b (git): [ruby/prism] Fallthrough fallback for unknown compilers
- https://github.com/ruby/prism/commit/cc810b1e06
-
12:09 AM Revision fa1427a6 (git): [ruby/prism] Enable implicit fall-through errors
- https://github.com/ruby/prism/commit/03797b84d3
-
12:09 AM Revision b0e64fcd (git): [ruby/prism] Bump to v1.3.0
- https://github.com/ruby/prism/commit/a679ee0e5c
-
12:09 AM Revision b79152fd (git): [ruby/prism] Support 3.5 for version option
- https://github.com/ruby/prism/commit/6b6aa05bfb
01/11/2025
-
11:24 PM Feature #21028 (Feedback): Method for finding why an object isn't Ractor shareable
- `Ractor.shareable?` is easy to use, but if it returns false I would like to be able to figure out what object is caus...
-
10:49 PM Feature #21020: Sync sig directory for prism of default gem.
- I'm fine with this if everyone else is.
-
09:42 PM Bug #21026: `def __FILE__.a; end` should be a syntax error
- Interesting! I didn't realize that `__FILE__` will **always** (without frozen string literals) return a new instance....
-
07:49 PM Bug #21026: `def __FILE__.a; end` should be a syntax error
- > It already doesn't seem to actually do anything
This is a bunch of technicalities... But I don’t think it doesn’... -
12:07 PM Bug #21026 (Closed): `def __FILE__.a; end` should be a syntax error
- Constants like `__FILE__`, `__LINE__` and `__ENCODING__` are literals and as such you shouldn't be able to defined si...
-
08:51 PM Feature #20757: Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
- I've added the methods to debug.h and in my small test case it seemed to work without any problems. The PR is at http...
-
08:38 PM Bug #21027 (Closed): `not()` receiver should be `nil`
- `not` has a 0-argument mode, and the behavior differs from that of parse.y:
```
% RBENV_VERSION=3.4.0 ruby --pars... -
02:03 PM Revision 76b620b3 (git): [ruby/irb] `IRB.conf[:SAVE_HISTORY]` should handle boolean values
- (https://github.com/ruby/irb/pull/1062)
Although not documented, `IRB.conf[:SAVE_HISTORY]` used to accept boolean,
w... -
12:59 PM Revision 80d28785 (git): [ruby/irb] Print more actionable message when the exception may be
- an IRB issue
(https://github.com/ruby/irb/pull/1061)
https://github.com/ruby/irb/commit/4d74d39261 -
07:17 AM Bug #21008: Array#sum, Enumerator#sum, Numeric subclass
- ruby_3_2 commit:845763fdf370846938b86a062827b237313c924f merged revision(s) commit:b176d4f52e4af67654814dab3e9c5f4bf9...
-
07:17 AM Bug #20995: exception escapes block given to IO.popen("-") in child process
- ruby_3_2 commit:f150d67b7d389eb88e0cd13694d3529895d55579 merged revision(s) commit:8034e9c3d001ca3dff124ab42972684eac...
-
07:16 AM Bug #20984: ENV.inspect is not encoding aware
- ruby_3_2 commit:4e59c10646cf012d457da99ad258b0e6a3e42132 merged revision(s) commit:19c39e4cfaa467e69b9848c9c5496d7f50...
-
07:16 AM Bug #21024 (Closed): Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
- Applied in changeset commit:git|1b3037081ef9fc121b83e213d997a069acd5904b.
----------
[Bug #21024] <cstdbool> header ... -
03:24 AM Bug #21024: Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
- That patch will break C++-11 and C++-14.
https://github.com/ruby/ruby/pull/12551 -
06:32 AM Revision 845763fd (git): merge revision(s) b176d4f52e4af67654814dab3e9c5f4bf9170e54: [Backport #21008]
- [Bug #21008] Normalize before sum to float
After switching to `Float`-mode when summing `Numeric` objects,
... -
06:30 AM Revision f150d67b (git): merge revision(s) 8034e9c3d001ca3dff124ab42972684eac8af2ae: [Backport #20995]
- [Bug #20995] Protect `IO.popen` block from exiting by exception
-
06:28 AM Revision 4e59c106 (git): merge revision(s) 19c39e4cfaa467e69b9848c9c5496d7f50d39c7f, d78ff6a767ca813ac5fa178dd7611f20a993c191: [Backport #20984]
- [Bug #20984] ENV.inspect should be encoding aware
[Bug #20984] Fix test with locale encoding -
03:21 AM Revision 1b303708 (git): [Bug #21024] <cstdbool> header is deprecated in C++17
-
12:26 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
- matz (Yukihiro Matsumoto) wrote in #note-9:
> I like the basic idea of this proposal. But, I am against:
>
> * `-g` ...
01/10/2025
-
11:03 PM Misc #21025 (Closed): What's the default encoding of `String.new`?
- Applied in changeset commit:git|cde065c32c8db34eaf2c6b8646a2d4a34e20a3ec.
----------
Clarify documentation for encod... -
07:48 PM Misc #21025: What's the default encoding of `String.new`?
- I created https://github.com/ruby/ruby/pull/12548 for this.
-
06:12 PM Misc #21025: What's the default encoding of `String.new`?
- Cool, thanks for the info, I'll create a PR to improve the documentation.
-
05:22 PM Misc #21025: What's the default encoding of `String.new`?
- It's just a documentation bug.
It's always BINARY for `String.new` without args. -
04:57 PM Misc #21025 (Closed): What's the default encoding of `String.new`?
- In the documentation (https://docs.ruby-lang.org/en/3.4/encodings_rdoc.html#label-String+Encoding) I see a good expla...
-
11:03 PM Revision 4d8eaa9e (git): YJIT: Rename send_iseq_forwarding->send_forwarding
- It's in gen_send_general(), so nothing specifically to do with iseqs.
-
10:36 PM Revision cde065c3 (git): Clarify documentation for encoding of `String.new` without arguments
- [Bug #21025]
-
09:39 PM Bug #20489 (Closed): Ractor behavior strange in ruby master
- Applied in changeset commit:git|50c2c4bddee5a2c5edc0d9fc0f635befdfc4bacc.
----------
Make rb_vm_insns_count a thread... -
03:47 AM Bug #20489: Ractor behavior strange in ruby master
> Unfortunately, it's still not as fast as tarai(1, 1):
This may cause by a native thread and ractor thread mapp...-
01:13 AM Bug #20489: Ractor behavior strange in ruby master
- Ah I was running a non-yjit build. Good work guys, that's a weird bug for sure. The thread-local wouldn't work with r...
-
09:39 PM Revision 50c2c4bd (git): Make rb_vm_insns_count a thread local variable
- `rb_vm_insns_count` is a global variable used for reporting YJIT
statistics. It is a counter that tallies the number ... -
09:29 PM Revision 039446f6 (git): [ruby/irb] Gracefully handle incorrect command aliases
- (https://github.com/ruby/irb/pull/1059)
* Gracefully handle incorrect command aliases
Even if the aliased target is... -
04:55 PM Bug #21024 (Closed): Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
- C++ compiler in GCC 15 now generates a warning when trying to include `<cstdbool>`.
This file is being included when... -
04:22 PM Revision 4a2702da (git): Remove stale declaration for modular GC
-
04:01 PM Revision eb8f29c4 (git): [rubygems/rubygems] Fix test failure when running tests with ENV["EDITOR"] set
- Can be reproduced, for example, with
```
bin/rspec spec/bundler/cli_spec.rb spec/other/cli_man_pages_spec.rb --order... -
03:59 PM Revision 8adc96b5 (git): [ruby/date] Skip tests failing on TruffleRuby
- https://github.com/ruby/date/commit/d019ac8186
-
03:27 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
-
03:27 PM Bug #21022 (Open): The --with-modular-gc= option is cumbersome
- > That mentions 1-2 %. Assuming that the ultimate target is to be able to use different GC, which in theory might com...
-
03:23 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
-
09:59 AM Bug #21022: The --with-modular-gc= option is cumbersome
- peterzhu2118 (Peter Zhu) wrote in #note-2:
> > What is the intended configuration?
>
> We realize that this featu... -
03:17 PM Revision cfee3d9f (git): Revert "[MMTk/CI] Skip Ractor btests with MMTk"
- This reverts commit 58b4e249ed8d33fc78528bc77516d541c04d65f2.
The bug that it encountered was fixed in f76d40789d2c7... -
03:17 PM Revision f1049aa5 (git): Don't check for presence of `ENV['GITHUB_WORKFLOW']`
- We already check whether `ENV['GITHUB_WORKFLOW']` is equal to `Compilations`,
so we don't need to check that it's not... -
11:40 AM Bug #21021: "try to mark T_NONE object" with 3.4.1
- We are not seeing the issue if we disable YJIT, but it could be a side effect.
-
08:52 AM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Thanks for your answers.
tenderlovemaking (Aaron Patterson) wrote in #note-3:
> Are you able to get a core file or a... -
11:34 AM Misc #21019: DevMeeting-2025-02-13
- * [Bug #20998] rb_str_locktmp() changes flags of frozen strings and string literals (eregon)
* Current behavior on... -
11:13 AM Bug #21023: Unintentional ruby/spec capi extension build twice
- ```
❯ make -v
GNU Make 4.4.1
Built for aarch64-apple-darwin23.0.0
```
I used gnu-make provided by homebrew. -
08:42 AM Bug #21023 (Open): Unintentional ruby/spec capi extension build twice
I faced `building spec/ruby/optional/capi/ext/` build twice sometimes like:
```
❯ make -j
revision.h updated...-
07:57 AM Revision c7e5dbe1 (git): Bump up logger-1.6.5 for TruffleRuby
- 07:00 AM Revision 1babff98 (git): Update bundled gems list as of 2025-01-10
-
06:02 AM Revision be6a81c8 (git): Removed benchmark, logger, ostruct and pstore from sync targets
-
05:38 AM Revision e8015ce1 (git): [ruby/syntax_suggest] Resolve to lint failure of standardrb
- https://github.com/ruby/syntax_suggest/commit/ce7b87184e
-
04:27 AM Revision a450e930 (git): Extract Benchmark.measure on assert_cpu_usage_low
-
03:52 AM Bug #20480: Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc
- Finally, This configure problem is caused by a intel CPU instability problem (See `https://community.intel.com/t5/Pro...
-
02:10 AM Misc #21009 (Closed): Removed old archives from top-level of cache.ruby-lang.org.
- No one objected to this proposal at #20949 .
I have been removed them and snapshot-master.tar.bz2 in https://cache... - 01:20 AM Revision 447f426b (git): Update bundled gems list at 503073581915761bb8b99a8e41d0a5 [ci skip]
-
01:19 AM Revision 50307358 (git): Use fixed commits for assert_in_out_err of pstore and logger
-
01:19 AM Revision fcecef77 (git): Added logger dependency for Bundler's example
-
01:19 AM Revision 31855506 (git): Make Pstore tests as optional
-
01:19 AM Revision 1089282a (git): Make benchmark exapmles as optional
-
01:19 AM Revision 3a1414a7 (git): Rewrite Benchmark to Tempfile on bootstraptest/test_ractor.rb
-
01:19 AM Revision cda268d8 (git): Make logger as bundled gems
-
01:19 AM Revision b0d3771b (git): Make benchmark as bundled gems
-
01:19 AM Revision 0c3dca62 (git): Make pstore as bundled gems
01/09/2025
-
10:33 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- There seems to be a weakmap bug that's been around since at least November 2024 that could be responsible: http://ci....
-
08:26 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Are you able to get a core file or a backtrace from gdb? The bug is that some object has a T_NONE reference and is t...
-
05:10 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Benoit_Tigeot (Benoit Tigeot) wrote in #note-1:
> I was wrong. We still have the issue. Here is a new crash dump : [... -
04:05 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Benoit_Tigeot (Benoit Tigeot) wrote:
> We migrated this part of the code to parallel->concurrent-ruby and we do not ... -
03:43 PM Bug #21021 (Closed): "try to mark T_NONE object" with 3.4.1
- Hello
We upgraded to 3.4.1 yesterday but we are seeing crash since then.
```
/bundle/ruby/3.4.0/gems/activejob... -
07:14 PM Bug #20489: Ractor behavior strange in ruby master
- nekoyama32767 (Jinsong Yu) wrote in #note-10:
> tenderlovemaking (Aaron Patterson) wrote in #note-7:
> > The regres... -
05:47 AM Bug #20489: Ractor behavior strange in ruby master
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://gi... -
05:16 AM Bug #20489: Ractor behavior strange in ruby master
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://gi... -
04:58 AM Bug #20489: Ractor behavior strange in ruby master
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://git... -
01:11 AM Bug #20489: Ractor behavior strange in ruby master
- The regression in Ruby 3.3 came from [this commit](https://github.com/ruby/ruby/pull/8064). It seems like `rb_vm_ins...
-
12:22 AM Bug #20489: Ractor behavior strange in ruby master
- It looks like the VM loop is much slower in Ruby 3.5 than Ruby 3.2:
: Ractor behavior strange in ruby master
- Sorry, I'm totally wrong. I misread the reproduction steps. I can reproduce this problem.
The way I tested is wi... -
07:08 PM Revision f76d4078 (git): [ruby/mmtk] Enable UNIQUE_OBJECT_ENQUEUING in MMTk
- UNIQUE_OBJECT_ENQUEUING guarantees that object marking is atomic so that
an object cannot be marked more than once.
... -
07:08 PM Revision 4ce82f1c (git): [ruby/mmtk] Bump mmtk-core to
- https://github.com/ruby/mmtk/commit/68bf1b638263
https://github.com/ruby/mmtk/commit/ba1ec69bf6 -
06:58 PM Feature #8751 (Closed): Add offsets to method#source_location
-
06:31 PM Feature #8751: Add offsets to method#source_location
- Eregon (Benoit Daloze) wrote in #note-7:
> In light of end line and column information being added in #6012 do you t... -
02:33 PM Feature #8751: Add offsets to method#source_location
- In light of end line and column information being added in #6012 do you think there is still a need for byte offsets?
- 06:13 PM Revision d96cc52e (git): [rubygems/rubygems] Add credentials file path to "gem env".
- There are 3 possible locations:
- $HOME/.gem/credentials
- $XDG_DATA_HOME/gem/credentials
- $HOME/.local/share/gem/c... -
05:50 PM Bug #21022: The --with-modular-gc= option is cumbersome
- > What is the intended configuration?
We realize that this feature is currently cumbersome to use as it requires a... -
04:34 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
- Just experimenting a bit with the `--with-modular-gc=` if it is worth of enabling in Fedora, but I somehow cannot wra...
-
05:42 PM Feature #20971: Deprecate `rb_path_check`
- PR https://github.com/ruby/ruby/pull/12542
-
09:03 AM Feature #20971: Deprecate `rb_path_check`
- As a UNIX user from ancient time, I feel a world writable directory is too dangerous to allow. But if everyone is OK ...
-
05:34 PM Revision 2da91080 (git): [ruby/mmtk] Fix libmmtk_ruby.a building in extconf.rb
- Since libmmtk_ruby.a was a PHONY target, it caused the shared object to
not be rebuilt even though libmmtk_ruby.a was... -
05:00 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- I prefer the noop solution, as it makes it a much easier to use API. But no strong opinion.
-
04:14 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- @nobu @byroot So do you think rb_str_locktmp() should noop on frozen strings (since they can't change anyway), or it ...
-
03:55 PM Feature #6012: Proc#source_location also return the column
- mame (Yusuke Endoh) wrote in #note-25:
> Matz was negative neither on adding a new class like Ruby::CodeLocation for... -
02:30 PM Feature #6012: Proc#source_location also return the column
- Great to see this was accepted and even already implemented! (thanks @nobu!)
Byte offsets would be mostly for perf... -
01:21 PM Feature #6012 (Closed): Proc#source_location also return the column
- Applied in changeset commit:git|073c4e1cc712064e626914fa4a5a8061f903a637.
----------
[Feature #6012] Extend `source_... -
11:51 AM Feature #6012: Proc#source_location also return the column
- This was discussed at the October 2024 dev meeting and @matz approved `source_location` to return `[path, start_line,...
-
11:26 AM Feature #6012: Proc#source_location also return the column
- I'm not sure about attributes and `Binding#source_location`.
https://github.com/ruby/ruby/pull/12539 -
03:41 PM Revision 5fab31b1 (git): Enable riscv64 coroutine on OpenBSD/riscv64
-
03:21 PM Revision 5045c666 (git): [DOC] Use Hash inspect without hash-rocket in Hash documentation (#12540)
- Co-authored-by: tomoya ishida <[email protected]>
-
03:07 PM Revision d8a21592 (git): coroutine/ppc64le: fix conditional registers got clobbered unexpectedly
- Now we also save the special cr registers during the fiber switching
-
02:49 PM Feature #21020 (Assigned): Sync sig directory for prism of default gem.
- Currently, the type signatures (RBS) for the default gem is not available.
**Prism** is the only default gem with ty... -
02:36 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- The original proposal has been accepted (adding end line and column information), see https://bugs.ruby-lang.org/issu...
-
02:21 PM Feature #20925: Allow boolean operators at beginning of line to continue previous line
- It's the same thing for method calls right?
```ruby
a = 1
.to_s
```
It changes the RHS of assignment to `1.to_s`... -
06:48 AM Feature #20925: Allow boolean operators at beginning of line to continue previous line
- Dan0042 (Daniel DeLorme) wrote in #note-8:
> a = b
> && c
> should be parsed as
>
> a = (b
> && c)
> corr... -
12:03 PM Bug #20965: `it` vs `binding.local_variables`
- We discussed this at the dev meeting. The above behavior of `p binding.local_variable_get(:_1)` is considered a bug.
... -
11:52 AM Misc #21019 (Closed): DevMeeting-2025-02-13
- # The next dev meeting
**Date: 2025/02/13 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
11:52 AM Misc #20949 (Closed): DevMeeting-2025-01-09
-
11:42 AM Bug #20980 (Closed): Range#size new TypeError vs semi-open ranges
- The current behavior is intended. In principle, `#size` should return how many times `#each` will call a given block....
-
11:36 AM Bug #20974: Required and optional anonymous parameter show differently in Proc#parameters
- Discussed at the dev meeting. @matz said that it should return `[[:opt]]` instead of `[[:opt, nil]]`.
-
11:35 AM Feature #20953: Array#fetch_values vs #values_at protocols
- Discussed at the dev meeting. @matz liked to align the behavior of Array#fetch_values with Array#values_at here in th...
-
11:33 AM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
- Discussed at the dev meeting. @matz suggested that we try modifying it so that only the `load "foo.rb"` case is a ful...
-
11:26 AM Feature #20987: Add dbg - minimal debugging helper
- This proposal was discussed in the dev meeting.
@matz said that, while adding a new method or changing the default... -
11:21 AM Revision 073c4e1c (git): [Feature #6012] Extend `source_location` for end position and columns
-
10:55 AM Bug #21018 (Closed): Show invalid command line option more properly
- Applied in changeset commit:git|dfe6b7c02efa3bc2f5426eb64107ac0ac45a66a4.
----------
[Bug #21018] Show invalid comma... -
10:26 AM Revision dfe6b7c0 (git): [Bug #21018] Show invalid command line option more properly
-
10:24 AM Revision d44a41d8 (git): Add `rb_node_get_type` for debuggers
-
10:14 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
- I like the basic idea of this proposal. But, I am against:
* `-g` option name. `-s` is relatively unpopular. Even ... -
09:24 AM Revision 6069e8fe (git): Refactor for loop handling to simplify do keyword location assignment
-
09:24 AM Revision 7790aa89 (git): Use Named Reference
-
09:24 AM Revision c7213011 (git): Implement FOR NODE locations
- The following Location information has been added This is the information required for parse.y to be a universal pars...
-
04:53 AM Revision 84155524 (git): [DOC] Show `NONE` within `Measure` namespace (#12274)
- Keep `NONE` within `Measure`
-
04:22 AM Feature #20993 (Rejected): Allow `class <constant-path> = <expression>` syntax
- This is a too trivial issue to add new syntax. I suggest the following (I know the difference, but it works OK, doesn...
-
12:47 AM Bug #20997 (Closed): YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
- Applied in changeset commit:git|dd80d9b089e35729d585bae2f8866c845c48f3b7.
----------
YJIT: Filter `&` calls from spe... -
12:41 AM Bug #20997: YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
- Thanks for the report! Everything being available rubygems helped with diagnosis. A fix for this should land soon-ish...
-
12:47 AM Revision dd80d9b0 (git): YJIT: Filter `&` calls from specialized C method codegen
- Evident with the crash reported in [Bug #20997], the C replacement
codegen functions aren't authored to handle block ...
01/08/2025
-
11:27 PM Bug #20489 (Feedback): Ractor behavior strange in ruby master
- I also can't seem to reproduce this:
```
[aaron@tc-lan-adapter ~/g/ruby (master)]$ time ruby -v test.rb 8 8
ruby... -
10:01 PM Bug #20489: Ractor behavior strange in ruby master
- For me the runtime goes up a lot when I increase # of ractors when `VM_CHECK_MODE > 0`, but in non-debug mode it runs...
-
08:42 PM Revision 96f23306 (git): [ruby/prism] Revert "Reject pattern match with unexpected double splat inside array"
- https://github.com/ruby/prism/commit/51e7c84124
-
08:36 PM Revision c4534c9f (git): [ruby/prism] Handle escapes in named capture names
- https://github.com/ruby/prism/commit/b4b7a69ce7
-
06:50 PM Misc #20949: DevMeeting-2025-01-09
- * [Feature #21015] Add in a `-g` flag, like `-s` but with a few more quality of life features (sampersand2)
* Ther... -
05:33 PM Revision 36b6625b (git): Refactor `parse_isalnum` and `parse_isxdigit` to use macro
-
05:24 PM Bug #21012 (Closed): Compiling `a['a','b'],=1` with parse.y fails
- Applied in changeset commit:git|e0d600ec190c64aff76cfcbd6009cffb927da166.
----------
Avoid opt_aset_with optimizatio... -
01:38 AM Bug #21012: Compiling `a['a','b'],=1` with parse.y fails
- I've submitted a PR that should fix this: https://github.com/ruby/ruby/pull/12528
-
05:23 PM Revision 500a8775 (git): [ruby/prism] Reject pattern match with unexpected double splat inside array
- `a => [-2**b]` should be SyntaxError
Fixes: https://github.com/ruby/prism/issues/3381
https://github.com/ruby/prism... -
05:22 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- Eregon (Benoit Daloze) wrote in #note-14:
> Maybe CRuby does not currently preserve the information of end line and... -
02:15 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- Eregon (Benoit Daloze) wrote in #note-3:
> If it's a new method, I think we should return a "code location" object (... -
10:24 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- It's very important that this new feature does not expect users to use `RubyVM::InstructionSequence` or anything unde...
-
04:55 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- mame (Yusuke Endoh) wrote in #note-12:
> tenderlovemaking (Aaron Patterson) wrote in #note-11:
> > I think we shoul... -
01:24 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- > I think you are proposing adding the .node_for implementation to Prism?
Yes.
> To be more exact, I'm guessin... -
12:49 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- Also just to be clear, I don't think the code I pasted above is _nice_ code, but it does work after the Prism bug is ...
-
12:40 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- It seems like a very similar solution to what @mame is proposing was merged at one point as Feature #14836. It seems...
-
04:49 PM Revision e0d600ec (git): Avoid opt_aset_with optimization inside multiple assignment
- Previously, since the opt_aset_with optimization was introduced,
use of the opt_aset_with optimization inside multipl... -
04:17 PM Revision e7281700 (git): [ruby/rdoc] Finalize RDoc::Options before calling
- RDoc::RDoc#parse_files
(https://github.com/ruby/rdoc/pull/1274)
Commit https://github.com/ruby/rdoc/commit/6cf6e1647... -
02:36 PM Feature #21000: A way to avoid loading constant required by a type check
- Eregon (Benoit Daloze) wrote in #note-12:
> Maybe a new method or kwarg to `const_get` which has some special behavi... -
09:55 AM Feature #21000: A way to avoid loading constant required by a type check
- IMO the pattern is not frequent enough to justify adding new syntax for this or breaking compatibility.
In https://p... -
01:46 AM Feature #21000: A way to avoid loading constant required by a type check
- If you just want to avoid repetition and don't care autoload, I found a good (and magical) way to do it.
```ruby
... -
02:11 PM Revision 62a15280 (git): Pass allocation size to rb_imemo_new
- This would allow imemo to take advantage of VWA and allocate sizes larger
than RVALUE (40 bytes). -
12:35 PM Bug #21018 (Closed): Show invalid command line option more properly
- Currently the invalid command line option character is printed as-is.
This makes the error message confusing somet... -
09:41 AM Bug #21017 (Closed): `--with-parser=parse.y` configure option does not work
- Applied in changeset commit:git|051af9529b03c11aff8f6a09522c69983e3a9d72.
----------
[Bug #21017] Fix `--with-parser... -
08:15 AM Bug #21017 (Closed): `--with-parser=parse.y` configure option does not work
-
08:26 AM Revision 051af952 (git): [Bug #21017] Fix `--with-parser` configure option
- 08:12 AM Revision 3c3bde64 (git): Update bundled gems list at ad5fa24e84be97212ef2d876308602 [ci skip]
-
08:12 AM Revision ad5fa24e (git): Skip examples related with OpenStruct in ruby/spec
-
08:12 AM Revision a4528f60 (git): Omit Psych_Unit_Tests if ostruct is not available
-
08:12 AM Revision 599a0601 (git): Switch to use ostruct to open3 with suggestion test
-
08:12 AM Revision 9f5ca633 (git): Refactor to omit JSON::GenericObject tests
-
08:12 AM Revision 6bff923d (git): Rewrite OpenStruct to dummy response class
-
08:12 AM Revision 4da545dd (git): Use erb instead of ostruct for test_frozen_loaded_features
-
08:12 AM Revision 574bfd28 (git): Update documents for ostruct
-
08:12 AM Revision adb4029b (git): Removed logger from stub data
-
08:12 AM Revision 32fb364d (git): Replace target list with stub constants at example of bundled_gems.rb
-
08:12 AM Revision 5f4be3ad (git): Make ostruct as bundled gems
-
08:12 AM Revision d722bdcf (git): Convert ostruct to openstruct
-
07:56 AM Misc #21009: Removed old archives from top-level of cache.ruby-lang.org.
- I think we can remove `snapshot-master.tar.bz2` in <https://cache.ruby-lang.org/pub/ruby/snapshot/> too.
`snapshot... -
06:13 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
- For the record, I love this and want it very badly.
I advocated for `-ss` to mean "an extension of `-s`", much lik... -
02:22 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
- sampersand2 (Sam Westerman) wrote:
> # Prior art
> (TODO) Perl has `-s`, and it works like Ruby's `-s`. IDK of any ... -
01:50 AM Feature #21015 (Open): Add in a `-g` flag, like `-s` but with a few more quality of life features
- Add in a `-g` flag, like `-s` but with a few more QOL features
## TL;DR
([PR](https://github.com/ruby/ruby/pull/1... -
05:13 AM Bug #21011 (Closed): Constant massign segfaults in parse.y with shareable_constant_value: experimental_everything
- Applied in changeset commit:git|b81db531b24a6824bf5b89d8460baed5d5418835.
----------
[Bug #21011] `nd_value` is NULL... -
02:52 AM Bug #21011: Constant massign segfaults in parse.y with shareable_constant_value: experimental_everything
- Even with prism:
```ruby
# shareable_constant_value: experimental_everything
A, = ""
p A.frozen? #=> false
```... -
05:11 AM Revision 3e6f5ead (git): Reapply "Suppress WIN32OLE deprecation warnings for the time being"
- Revert the part of commit 10917c5cc026f839a3dcd072b6e274eed211d0f7,
"Update to ruby/spec@18032a7", that discarded the... -
04:55 AM Bug #20992 (Closed): `eval(ascii_encoded_code)` raises EncodingError when multibyte local variable exists
- Applied in changeset commit:git|1a06bee027d5c5b65ed0aaee76ee0040554d4efd.
----------
Do not intern invalid symbols i... -
04:26 AM Revision b81db531 (git): [Bug #21011] `nd_value` is NULL in massign
-
03:30 AM Revision 1a06bee0 (git): Do not intern invalid symbols in eval parse
- When the inner code cannot represent the name of the locals in the
outer code, do not bother putting them into the co... -
03:11 AM Bug #21016: What should massign with `shareable_constant_value: experimental_everything` freeze?
- Yeah we found this when we were building prism (https://bugs.ruby-lang.org/issues/20340). I don't know what the expec...
-
02:56 AM Bug #21016 (Closed): What should massign with `shareable_constant_value: experimental_everything` freeze?
- Derived from #21011.
Even with prism:
```ruby
# shareable_constant_value: experimental_everything
A, = ""
p ... -
02:55 AM Revision 27c9ccb3 (git): Also stub-out with directry using with test script or -e option
-
02:55 AM Revision 4a02a72c (git): Dont't use stub constants like LIBDIR in bundled_gems.rb
-
02:55 AM Revision aaf36f4f (git): Use heredoc to script runner for another ruby process
-
01:48 AM Revision 18f756e4 (git): Remove unnecessary semantic actions
- If you don’t specify an action for a rule, Lrama supplies a default: `$$ = $1`.
-
01:46 AM Revision 76759003 (git): Introduce macro for creating child iseqs with callbacks
- Use macro like `NEW_ISEQ` and `NEW_CHILD_ISEQ`.
-
01:08 AM Bug #21014 (Closed): Prism doesn't set node_id on iseqs correctly
- Applied in changeset commit:git|63723c8d5908569918fb27e070ae5bc9de33c8bd.
----------
Correctly set node_id on iseq l... -
12:36 AM Bug #21014: Prism doesn't set node_id on iseqs correctly
- Fix sent here: https://github.com/ruby/ruby/pull/12527
-
12:35 AM Bug #21014 (Closed): Prism doesn't set node_id on iseqs correctly
- Given this code:
```ruby
f = proc { <<END }
heredoc
END
iseq = RubyVM::InstructionSequence.of(f)
p iseq.t... -
01:08 AM Revision 63723c8d (git): Correctly set node_id on iseq location
- The iseq location object has a slot for node ids. parse.y was correctly
populating that field but Prism was not. Thi... -
12:36 AM Bug #21010 (Closed): Endless method definition of `[]=` is SyntaxError in parse.y but allowed in Prism
-
12:00 AM Bug #21013 (Closed): Backport request for YJIT fix for `yield` with keyword arguments
- GitHub PR: https://github.com/ruby/ruby/pull/12525
The patch applies cleanly.
Programs like the following used to...
Also available in: Atom