Project

General

Profile

Activity

From 12/27/2022 to 01/02/2023

01/02/2023

11:52 PM Feature #14919: Add String#byteinsert
Yes a grapheme can be composed of several code points.
An example is variant selector:
```ruby
irb(main):001:0...
noraj (Alexandre ZANNI)
11:22 PM Feature #19302 (Closed): Non-destructive String#insert
It would be nice to have a non-destructive version of String#insert to be able to work with frozen literals.
## Cu...
noraj (Alexandre ZANNI)
11:14 PM Bug #19301: Fix Data class to report keyrest instead of rest parameters
Hey Victor, thanks. I was aware of #19278 but hadn't noticed #19280.
You are correct, when I used `DemoExample[*ar...
bkuhlmann (Brooke Kuhlmann)
10:19 PM Bug #19301 (Rejected): Fix Data class to report keyrest instead of rest parameters
See discussions in #19278 and #19280.
This is a conscious decision of `Data.new` converting all arguments to keywo...
zverok (Victor Shepelev)
10:13 PM Bug #19301: Fix Data class to report keyrest instead of rest parameters
Apologies, I should have used `StructExample = Struct.new :one, :two, keyword_init: true` in the above example. ...bu... bkuhlmann (Brooke Kuhlmann)
10:05 PM Bug #19301 (Rejected): Fix Data class to report keyrest instead of rest parameters
## Overview
Hello and Happy New Year. 👋
With the new `Data` class, I'm seeing a discrepancy in parameter behavi...
bkuhlmann (Brooke Kuhlmann)
10:29 PM Bug #19298 (Closed): `lib/mjit/instruction.rb` was reintroduced by merge mistake
Applied in changeset commit:git|2bbf63dd867fe3d349b1758805ad4421f2d772ab.
----------
Remove lib/mjit/instruction.rb
...
k0kubun (Takashi Kokubun)
09:14 PM Bug #19298: `lib/mjit/instruction.rb` was reintroduced by merge mistake
great catch, fixed it in https://github.com/ruby/ruby/commit/2bbf63dd867fe3d349b1758805ad4421f2d772ab. k0kubun (Takashi Kokubun)
02:11 PM Bug #19298 (Closed): `lib/mjit/instruction.rb` was reintroduced by merge mistake
It seems that `lib/mjit/instruction.rb` should not be shipped anymore since commit:git|bb4cbd0803c3297ad036008adc7a01... vo.x (Vit Ondruch)
10:05 PM Feature #19300: Move public methods from Kernel to Object
In particular, Delegator works in an interesting way by:
1. Inheriting from BasicObject
2. Duping the Kernel modu...
hmdne (hmdne -)
09:48 PM Feature #19300 (Rejected): Move public methods from Kernel to Object
In my understanding, `Kernel` is a container for methods that are perceived as "global", and are available inside eve... zverok (Victor Shepelev)
09:13 PM Revision 2bbf63dd (git): Remove lib/mjit/instruction.rb
This was accidentally re-introduced in f6620037ba1477d2c337d7b511f094d6d0fbb69c.
[Bug #19298]
k0kubun (Takashi Kokubun)
07:25 PM Bug #19296 (Closed): Time.new's argument check is incomplete
Applied in changeset commit:git|5be0d42d2c4dc765230c76738289560f9ee37f09.
----------
[Bug #19296] Precheck bits of t...
nobu (Nobuyoshi Nakada)
03:25 PM Bug #19296: Time.new's argument check is incomplete
https://github.com/ruby/ruby/pull/7055 nobu (Nobuyoshi Nakada)
01:38 PM Bug #19296 (Closed): Time.new's argument check is incomplete
`Time.new` seems to be performing some sort of argument checking, but I found some strings that can bypass this valid... matsuda (Akira Matsuda)
07:25 PM Revision 34f8ca17 (git): [ruby/irb] Fix prompt and code mismatch
(https://github.com/ruby/irb/pull/386)
* fix prompt and code mismatch
* Add test for prompt and code mismatch bug
...
tompng (tomoya ishida)
03:28 PM Bug #19299 (Closed): YJIT panicked while holding VM lock acquired at ./yjit/src/core.rs:1693. Aborting...
Attached is the backtrace.
The code is a moderately complex view with partials and translations. The panic happens...
ollym (Oliver Morgan)
03:06 PM Bug #19295: Time#wday returns 7
nobu (Nobuyoshi Nakada) wrote in #note-2:
> Seems same as #19292.
In #19292 it is said that 3.0 and 2.7 don't nee...
akostadinov (Aleksandar Kostadinov)
02:22 PM Bug #19295 (Closed): Time#wday returns 7
Seems same as #19291. nobu (Nobuyoshi Nakada)
12:50 PM Bug #19295 (Closed): Time#wday returns 7
This issue happens since Ruby 2.7, since `Z` and `UTC` are allowed for a zone.
``` ruby
[1] pry(main)> Time.new(2...
akostadinov (Aleksandar Kostadinov)
02:29 PM Revision 5be0d42d (git): [Bug #19296] Precheck bits of time components
nobu (Nobuyoshi Nakada)
02:17 PM Revision 291a4098 (git): Add missing assertion
nobu (Nobuyoshi Nakada)
01:41 PM Bug #19297 (Open): Don't download content from internet to execute Ruby test suite
Trying to build Ruby 3.2.0 for Fedora and execute its test suite via `make check` as we always did [1], the test suit... vo.x (Vit Ondruch)
12:45 PM Bug #19293: The new Time.new(String) API is nice... but we still need a stricter version of this
`Kernel#Integer` may be easier (and probably faster) than the Regexp.
```ruby
Time.new(string) unless Integer(strin...
nobu (Nobuyoshi Nakada)
12:39 PM Bug #19248: TestGCCompact#test_moving_objects_between_size_pools test failure
mtasaka (Mamoru Tasaka) wrote in #note-14:
> This seems also due to LTO, adding `%global _lto_cflags %{nil}` to ruby....
vo.x (Vit Ondruch)
08:42 AM Bug #19291: Ripper's on_parse_error token has wrong content
This may be a potential bug since older versions. nobu (Nobuyoshi Nakada)
08:35 AM Bug #19291 (Closed): Ripper's on_parse_error token has wrong content
Applied in changeset commit:git|3becc4a105bcf873fdc6e83c2a957f73718c5084.
----------
[Bug #19291] Rewind to the prev...
nobu (Nobuyoshi Nakada)
07:12 AM Revision 3becc4a1 (git): [Bug #19291] Rewind to the previous line
When rewinding looking ahead after newline token, also reset the last
line string, the pointers to it, and the locati...
nobu (Nobuyoshi Nakada)
07:12 AM Revision 1912bf54 (git): Adjut indent [ci skip]
nobu (Nobuyoshi Nakada)
07:04 AM Revision 51021fc7 (git): Update bundled gems list at 2023-01-02
git[bot]
03:04 AM Bug #18899 (Closed): Inconsistent argument handling in IO#set_encoding
Applied in changeset commit:git|0903a251796c2b4086804a94420c231c04e3cea1.
----------
Make IO#set_encoding with binar...
jeremyevans (Jeremy Evans)

01/01/2023

07:39 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
Any update on this? ojab (ojab ojab)
05:56 PM Feature #19294 (Open): Enumerator.product works incorrectly with consuming enumerators
```ruby
s = StringIO.new('abc')
Enumerator.product([1, 2, 3], s.each_char).to_a
# Expected: => [[1, "a"], [1, "b"]...
zverok (Victor Shepelev)
05:00 PM Revision 0903a251 (git): Make IO#set_encoding with binary external encoding use nil internal encoding
This was already the behavior when a single `'external:internal'`
encoding specifier string was passed. This makes t...
jeremyevans (Jeremy Evans)
03:07 PM Bug #19293 (Closed): The new Time.new(String) API is nice... but we still need a stricter version of this
The Ruby 3.2 style `Time.new(String)` API works very well so far, but since the original `Time.new(Integer, Integer, ... matsuda (Akira Matsuda)
03:04 PM Revision a4e9606d (git): [rubygems/rubygems] Remove stray word in bundle config man page.
There was an extra word ("with") in this sentence.
https://github.com/rubygems/rubygems/commit/ad3de5126c
Mark Doliner
03:02 PM Revision 44b7fd8d (git): [ruby/net-http] Enhanced RDoc for HTTPHeader
https://github.com/ruby/net-http/commit/6a282eccdd burdettelamar (Burdette Lamar)
01:50 PM Bug #19292: Time object's wday, yday, and isdst returns broken value (and so does to_a) when kwarg in: 'UTC' was given
Confirmed the fix. Thank you, @nobu! matsuda (Akira Matsuda)
08:27 AM Bug #19292 (Closed): Time object's wday, yday, and isdst returns broken value (and so does to_a) when kwarg in: 'UTC' was given
Applied in changeset commit:git|542e984d82fa25098eb15398d716d907acc52b93.
----------
[Bug #19292] Re-initialize tm w...
nobu (Nobuyoshi Nakada)
07:43 AM Bug #19292: Time object's wday, yday, and isdst returns broken value (and so does to_a) when kwarg in: 'UTC' was given
https://github.com/ruby/ruby/pull/7051 nobu (Nobuyoshi Nakada)
01:05 PM Feature #16991 (Closed): Sets: add Set#join
Implemented in Ruby 3.0 zverok (Victor Shepelev)
01:04 PM Feature #16995 (Closed): Sets: <=> should be specialized
Implemented in Ruby 3.0:
```ruby
Set[1] <=> Set[1, 2]
# => -1
[Set[1], Set[1, 2]].sort
# => [#<Set: {1}>, #<Set...
zverok (Victor Shepelev)
10:32 AM Feature #3591: Adding Numeric#divisor? (Have working implementation)
e8c (Viktor Reznov) wrote in #note-20:
> Two solutions:
3rd:
```ruby
def count_digits(n) = n.digits.count { n...
e8c (Viktor Reznov)
10:21 AM Feature #3591: Adding Numeric#divisor? (Have working implementation)
matz (Yukihiro Matsumoto) wrote in #note-19:
> Is it more useful than `n % m == 0`?
Yes, statement `n .has_diviso...
e8c (Viktor Reznov)
07:39 AM Revision 542e984d (git): [Bug #19292] Re-initialize tm when wday or yday is not set
nobu (Nobuyoshi Nakada)
05:51 AM Bug #19290 (Closed): Documentation: "produces:" (introducing terminal output) is wrongly formatted in few places
Applied in changeset commit:git|f527a0911d5ff0476152a3e3c9bcd2247ead5636.
----------
[DOC] [Bug #19290] fix formatting
nobu (Nobuyoshi Nakada)
05:50 AM Revision f527a091 (git): [DOC] [Bug #19290] fix formatting
nobu (Nobuyoshi Nakada)
05:25 AM Bug #19285 (Third Party's Issue): (docs.rlo) Split stdlib and core documents
It is about monkey patching Kernel and seems an internal document.
I don't think it is useful for users.
https://...
nobu (Nobuyoshi Nakada)

12/31/2022

09:38 PM Bug #19292 (Closed): Time object's wday, yday, and isdst returns broken value (and so does to_a) when kwarg in: 'UTC' was given
$ ruby -e "p Time.new(2023, 1, 1, 0, 0, 0, in: 'UTC').wday"
7
$ ruby -e "p Time.new(2023, 1, 1, 0, 0, 0, in: 'UTC...
matsuda (Akira Matsuda)
06:29 PM Bug #19291 (Closed): Ripper's on_parse_error token has wrong content
Ruby 3.1
~~~ruby
Ripper::Lexer.new("{a:,aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\nhelloworld").scan.map(&:tok)
# =>
...
tompng (tomoya ishida)
06:01 PM Feature #16986: Anonymous Struct literal
> If I have to pick one from either Struct or Data, I'd pick Data. But still don't like the notation proposed.

Wha...
Anonymous
07:04 AM Feature #16986: Anonymous Struct literal
JFYI JavaScript is having a similar proposal which now proposes `#{…}` syntax.
https://github.com/tc39/proposal-reco...
shyouhei (Shyouhei Urabe)
02:04 AM Feature #16986: Anonymous Struct literal
If I have to pick one from either Struct or Data, I'd pick Data. But still don't like the notation proposed.
Matz.
matz (Yukihiro Matsumoto)
01:43 AM Feature #16986: Anonymous Struct literal
In a Ruby 3.2 context, I wonder how this would look in the mindset of the new Data class instead of a struct? Bumppoman (Brendon Stanton)
02:23 PM Bug #19248: TestGCCompact#test_moving_objects_between_size_pools test failure
This seems also due to LTO, adding `%global _lto_cflags %{nil}` to ruby.spec, i.e. removing `-flto=auto -ffat-lto-obj... mtasaka (Mamoru TASAKA)
12:52 PM Bug #19254: Enabling YJIT configuration option breaks rspec-core test suite
Looks like adding `%global _lto_cflags %{nil}` to ruby.spec, i.e. removing `-flto=auto -ffat-lto-objects` from compil... mtasaka (Mamoru TASAKA)
12:03 PM Bug #19290: Documentation: "produces:" (introducing terminal output) is wrongly formatted in few places
## `gc.c`
problem: formating not consistent with other source files:
source: https://github.com/ruby/ruby/blob/...
laurent_martin (Laurent Martin)
12:00 PM Bug #19290 (Closed): Documentation: "produces:" (introducing terminal output) is wrongly formatted in few places
## `warning.rb`
Problem: The text "produces:" is embedded in formatted text, it should be normal emphasized text.
...
laurent_martin (Laurent Martin)

12/30/2022

11:13 PM Bug #19278: Constructing subclasses of Data with positional arguments
zverok (Victor Shepelev) wrote in #note-14:
> > Your example didn't demonstrate this difference.
>
> > I really d...
tenderlovemaking (Aaron Patterson)
11:07 PM Bug #19278: Constructing subclasses of Data with positional arguments
> Your example didn't demonstrate this difference.
> I really don't understand point 3.
> To be honest, I don'...
zverok (Victor Shepelev)
10:51 PM Bug #19278 (Rejected): Constructing subclasses of Data with positional arguments
zverok (Victor Shepelev) wrote in #note-12:
> > I don't really understand this example. The initialize works the sam...
tenderlovemaking (Aaron Patterson)
10:30 PM Bug #19278: Constructing subclasses of Data with positional arguments
> I don't really understand this example. The initialize works the same way whether you use a Struct or not
It is ...
zverok (Victor Shepelev)
06:48 PM Bug #19278: Constructing subclasses of Data with positional arguments
zverok (Victor Shepelev) wrote in #note-8:
> BTW, note that before 3.2, for structs it was either `keyword_init: fa...
tenderlovemaking (Aaron Patterson)
03:24 PM Bug #19278: Constructing subclasses of Data with positional arguments
@Eregon Ah, yeah, that's true.
Though I saw codebases that did that for aesthetical purposes (all "classes with m...
zverok (Victor Shepelev)
03:15 PM Bug #19278: Constructing subclasses of Data with positional arguments
To clarify:
> Also inheriting from a Data class seems kind of an anti/rare pattern.
I meant one should use `Str...
Eregon (Benoit Daloze)
10:56 AM Bug #19278: Constructing subclasses of Data with positional arguments
> I do this all the time with structs. I assumed Data.define would basically just be a read-only Struct.new and that'... zverok (Victor Shepelev)
01:58 AM Bug #19278: Constructing subclasses of Data with positional arguments
Eregon (Benoit Daloze) wrote in #note-3:
> It seems hard to solve to me, without losing the significant advantages t...
tenderlovemaking (Aaron Patterson)
06:34 PM Bug #19289: RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
I'm not sure why ABI version checking was removed for release versions of Ruby. In the development meeting for the fe... peterzhu2118 (Peter Zhu)
03:41 PM Bug #19289: RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
Eregon (Benoit Daloze) wrote in #note-4:
> That said this kind of configuration is IMHO silly, changing it is basica...
vo.x (Vit Ondruch)
03:03 PM Bug #19289: RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
vo.x (Vit Ondruch) wrote in #note-3:
> Just FTR, don't forget that `ruby_version` can be arbitrary string:
> https://...
Eregon (Benoit Daloze)
02:57 PM Bug #19289: RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
Eregon (Benoit Daloze) wrote:
> the value of `rb_abi_version` would just be the same as `RbConfig::CONFIG["ruby_vers...
vo.x (Vit Ondruch)
02:38 PM Bug #19289: RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
Another possibility would be to have some key in RbConfig::CONFIG which contains `-Wl,-exported_symbol,_ruby_abi_vers... Eregon (Benoit Daloze)
02:35 PM Bug #19289: RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
Ah, because the export list file is not given to `strip` but directly to CC/CXX:
* https://github.com/redis-rb/redis...
Eregon (Benoit Daloze)
02:29 PM Bug #19289 (Closed): RbConfig::CONFIG["STRIP"] should keep `ruby_abi_version` and `ruby_abi_version` should always be part of Ruby
From https://github.com/grpc/grpc/pull/31970 and https://github.com/redis-rb/redis-client/issues/58
First, I think...
Eregon (Benoit Daloze)
04:46 PM Bug #19286: What should kwargs' arity be?
💡 In case it helps -- regarding the mention of method parameters above -- I've found it easy to forget how method par... bkuhlmann (Brooke Kuhlmann)
03:24 PM Bug #19286: What should kwargs' arity be?
I would guess because `f({a:1,b:2})` used to work before 3.0 and it was passing "one argument", hence arity 1.
Also `...
Eregon (Benoit Daloze)
05:51 AM Bug #19286: What should kwargs' arity be?
kwargs are... complicated. Let me first extend the issue with additional versions of the above (I run Ruby 3.1, but f... hmdne (hmdne -)
03:08 AM Bug #19286 (Closed): What should kwargs' arity be?
Hello, guys. It's time for a quick Ruby quiz.
Q: What is this method's arity?
def f(a:, b:)
end
It requires t...
matsuda (Akira Matsuda)
04:38 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
I think such feature has a great potential for production use too, especially for error monitoring. For example, both... st0012 (Stan Lo)
03:38 PM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
Also that script creates Ractors even in "linear" mode.
With the fixed script below:
```
2.040496 0.002988 2...
Eregon (Benoit Daloze)
03:34 PM Bug #19288: Ractor JSON parsing significantly slower than linear parsing
It would be more fair to `Ractor.make_shareable(data)` first.
But even with that Ractor is slower:
```
no Ractor:
...
Eregon (Benoit Daloze)
10:39 AM Bug #19288 (Closed): Ractor JSON parsing significantly slower than linear parsing
a simple benchmark:
```ruby
require 'json'
require 'benchmark'
CONCURRENT = 5
RACTORS = true
ELEMENTS = 100...
maciej.mensfeld (Maciej Mensfeld)
03:34 PM Bug #19284 (Closed): Integer overflow when using RUBY_GC_HEAP_INIT_SLOTS environment variable
Applied in changeset commit:git|90a80eb076429978e720e11fb17a3cbb96de3454.
----------
Fix integer underflow when usin...
peterzhu2118 (Peter Zhu)
01:31 AM Bug #19284: Integer overflow when using RUBY_GC_HEAP_INIT_SLOTS environment variable
Thank you for reporting this bug. I have a fix here: https://github.com/ruby/ruby/pull/7044 peterzhu2118 (Peter Zhu)
03:31 PM Revision 0bb07e5b (git): Fix test when Ruby is verbose
The test added in 90a80eb0 fails if Ruby is verbose, it outputs the
following line to stderr:
RUBY_GC_HEAP_INIT_...
peterzhu2118 (Peter Zhu)
02:14 PM Feature #19232 (Feedback): add NoMatchingPatternError#matchee
Do you have any real use case for this? ktsj (Kazuki Tsujimoto)
02:01 PM Revision 90a80eb0 (git): Fix integer underflow when using HEAP_INIT_SLOTS
There is an integer underflow when the environment variable
RUBY_GC_HEAP_INIT_SLOTS is less than the number of slots ...
peterzhu2118 (Peter Zhu)
01:10 PM Revision 36c4dda7 (git): [rubygems/rubygems] Fix a typo
https://github.com/rubygems/rubygems/commit/7c096a5df8 nobu (Nobuyoshi Nakada)
04:02 AM Feature #19287: Let DelegateClass respect the original method's arity in case of 0
I should have posted the patch to delegate's own repo. Reposted the same patch to https://github.com/ruby/delegate/pu... matsuda (Akira Matsuda)
03:15 AM Feature #19287 (Open): Let DelegateClass respect the original method's arity in case of 0
As reported in #19165, method delegation with *, **, and ... adds some overhead for a method that takes no argument. ... matsuda (Akira Matsuda)
01:05 AM Bug #19285 (Third Party's Issue): (docs.rlo) Split stdlib and core documents
It seems we merge all of the docs for stdlib and core into one for docs.ruby-lang.org, this creates weirdness like [K... zzak (zzak _)

12/29/2022

11:38 PM Bug #15072 (Closed): thread.c:4356:5: error: implicit declaration of function ‘ubf_list_atfork’
Fixed in #15130
normalperson (Eric Wong)
10:41 PM Bug #19279: Allow `Coverage.supported?` to recognize oneshot lines mode
@mame https://bugs.ruby-lang.org/issues/19026#note-7 should be a good enough reason on its own IMHO.
And as we have ...
Eregon (Benoit Daloze)
08:31 AM Bug #19279 (Closed): Allow `Coverage.supported?` to recognize oneshot lines mode
ioquatix (Samuel Williams)
08:31 AM Bug #19279: Allow `Coverage.supported?` to recognize oneshot lines mode
Okay, I merged it. If you think this should be backported you need to ask @nagachika :) ioquatix (Samuel Williams)
02:53 AM Bug #19279: Allow `Coverage.supported?` to recognize oneshot lines mode
TBH, I don't fully understand the need for `Coverage.supported?`. (I thought `RUBY_VERSION > "3.1"` was good enough a... mame (Yusuke Endoh)
10:34 PM Bug #19278: Constructing subclasses of Data with positional arguments
@sam.saffron your hand-maid `Foo` is analogous to `Foo = Data.define(:x)`, right?
Now, can you please show what if...
zverok (Victor Shepelev)
09:37 PM Bug #19278: Constructing subclasses of Data with positional arguments
Just going to be a bit more explicit here about the problem for future travelers (I know I am repeating but this is t... sam.saffron (Sam Saffron)
08:28 PM Bug #19278: Constructing subclasses of Data with positional arguments
@tenderlove I assure you that I spent a lot of time thinking about possible design decisions, and I believe that whil... zverok (Victor Shepelev)
08:10 PM Bug #19278: Constructing subclasses of Data with positional arguments
It seems hard to solve to me, without losing the significant advantages that @zverok mentions.
Also inheriting fro...
Eregon (Benoit Daloze)
06:36 PM Bug #19278: Constructing subclasses of Data with positional arguments
I guess the fact that `new` doesn't behave the same way as `new` on every other class kind of ruins "usability" for m... tenderlovemaking (Aaron Patterson)
07:39 AM Bug #19278 (Feedback): Constructing subclasses of Data with positional arguments
It is a deliberate and documented design decision: `new` handles unifying positional and keyword args, and `initializ... zverok (Victor Shepelev)
07:56 PM Bug #19284 (Closed): Integer overflow when using RUBY_GC_HEAP_INIT_SLOTS environment variable
If you set the environment variable `RUBY_GC_HEAP_INIT_SLOTS` to anything other than `0`, an integer overflow runtime... zeke (Zeke Gabrielse)
05:40 PM Bug #19270: Constants lookup and a singleton class issue
It's expected behavior. When you have a singleton class `singleton_class.ancestors` is:
[singleton_class, atta...
alanwu (Alan Wu)
05:09 PM Bug #19282 (Closed): Regex error on ruby 3.2
alanwu (Alan Wu)
11:04 AM Bug #19282: Regex error on ruby 3.2
This issue is same with https://bugs.ruby-lang.org/issues/19283 and both I made. Would you remove this issue? Sho (Shohei Nakano)
10:55 AM Bug #19282 (Closed): Regex error on ruby 3.2
There is an regex error pattern on ruby 3.2.0. This pattern is success on ruby 3.1.3.
Is this a bug? Or, is ruby 3.2...
Anonymous
04:14 PM Misc #19276: It is not possible to reply to emails from redmine
It looks like the message does eventually go through https://bugs.ruby-lang.org/issues/19274#note-4 , however (when d... graywolf (Gray Wolf)
06:42 AM Misc #19276 (Assigned): It is not possible to reply to emails from redmine
hsbt (Hiroshi SHIBATA)
01:20 PM Revision f430701b (git): [DOC] remove space from inside code span element
John Bampton
01:13 PM Bug #19280 (Closed): Wrong error message about arity of Data::define.new
The report about arity is correct.
`Data` decouples `.new` and `#initialize` this way:
* `.new` accepts position...
zverok (Victor Shepelev)
01:21 AM Bug #19280 (Closed): Wrong error message about arity of Data::define.new
```
$ ~/work/r/bin/ruby -e 'Data.define(:a, :b).new(1, 2, 3)'
-e:1:in `new': wrong number of arguments (given 3, ex...
kyanagi (Kouhei Yanagita)
11:26 AM Bug #19273: [Regexp] regexp does not match expected
ruby_3_2 a7d467a792c644a7260d6560ea2002fdb8ff6de3 merged revision(s) b726d60c986bf951d13e7a2ab5f5e58f58657b03. naruse (Yui NARUSE)
11:26 AM Bug #19263: MJIT fails to compile multiple values in a single case in Ruby 3.2.0
ruby_3_2 5c551ac59f9620901394a46dffda5a1833b9c4b0 merged revision(s) fc03ba50f1ff6c30f7c654f564b4dffbed0844ef. naruse (Yui NARUSE)
11:01 AM Bug #19283 (Closed): Regex error on ruby 3.2
There is an regex error pattern on ruby 3.2.0. This pattern is success on ruby 3.1.3.
Is this a bug? Or, is ruby 3.2...
Sho (Shohei Nakano)
09:27 AM Bug #19281 (Closed): SyntaxError if first argument of command call has semicolon inside parenthesis
These are syntax error
~~~ruby
p (1;2),(3),(4)
p (;),(),()
a.b (1;2),(3),(4)
a.b (;),(),()
~~~
I expect it to ...
tompng (tomoya ishida)
08:56 AM Bug #18743: Enumerator#next / peek re-use each others stacktraces
Good evening, @matz. The PR with the bug fix is available now for a few months. Please advise on the next steps. marcper (Marcelo Pereira)
08:23 AM Revision b3d330c3 (git): Coverage.supported? recognizes oneshot_lines mode (#7040)
This adds oneshot_lines as a mode of coverage that is supported. Kevin Murphy
06:59 AM Revision a7d467a7 (git): merge revision(s) b726d60c986bf951d13e7a2ab5f5e58f58657b03: [Backport #19273]
Fix [Bug 19273], set correct value to `outer_repeat` on `OP_REPEAT`
(#7035)
---
regexec.c ...
naruse (Yui NARUSE)
06:42 AM Bug #19275 (Assigned): Bundled gems extensions are not installed with 3.2.0 release tarball
hsbt (Hiroshi SHIBATA)
03:09 AM Feature #19277: Project-scoped refinements
As @duerst mentioned, we understand the need for (some kind of) package importing, and @shioyama is now working on it... matz (Yukihiro Matsumoto)

12/28/2022

10:40 PM Misc #19276: It is not possible to reply to emails from redmine
Thanks. We will investigate this. hsbt (Hiroshi SHIBATA)
04:41 PM Misc #19276 (Third Party's Issue): It is not possible to reply to emails from redmine
It is no possible to reply to email from about issue update in order to add further comments to the tickets. Is that ... graywolf (Gray Wolf)
08:22 PM Bug #19279: Allow `Coverage.supported?` to recognize oneshot lines mode
I just created the PR here: https://github.com/ruby/ruby/pull/7040 kevin-j-m (Kevin Murphy)
08:18 PM Bug #19279: Allow `Coverage.supported?` to recognize oneshot lines mode
I basically agree with fixing this - can you link the PR?
The only feedback I have is that `:lines` and `:oneshot_li...
ioquatix (Samuel Williams)
08:12 PM Bug #19279: Allow `Coverage.supported?` to recognize oneshot lines mode
I have a commit to support this that I'd like to contribute as a PR, but am waiting on doing so until the process her... kevin-j-m (Kevin Murphy)
08:10 PM Bug #19279 (Closed): Allow `Coverage.supported?` to recognize oneshot lines mode
Currently in Ruby 3.2.0, Coverage's new `supported?` method (introduced in https://bugs.ruby-lang.org/issues/19026) d... kevin-j-m (Kevin Murphy)
07:50 PM Bug #19278 (Rejected): Constructing subclasses of Data with positional arguments
I'd expect both of the following subclasses to work, but the subclass that uses positional parameters raises an excep... tenderlovemaking (Aaron Patterson)
06:31 PM Feature #19277: Project-scoped refinements
I didn't mention this in the original issue because it's not the primary motivation for project configuration here, b... georgeclaghorn (George Claghorn)
06:14 PM Feature #19277 (Open): Project-scoped refinements
Refinements are a great way to isolate patches to the files that rely on them. Nonetheless, I believe the need to exp... georgeclaghorn (George Claghorn)
05:57 PM Bug #18797 (Open): Third argument to Regexp.new is a bit broken
Pull request submitted to remove support for the 3rd argument: https://github.com/ruby/ruby/pull/7039 jeremyevans0 (Jeremy Evans)
04:43 PM Revision cada5370 (git): [DOC] Fix call-seq for Data.define
kyanagi (Kouhei Yanagita)
04:41 PM Bug #19274: Error installing ruby 3.2.0 on RH 8
______________________________________________
ruby-core mailing list -- [email protected]
To unsubscribe...
Anonymous
04:38 PM Bug #19274: Error installing ruby 3.2.0 on RH 8
On 2022-12-28 12:52:41 +0000, aalllop (Alberto Allegue) via ruby-core wrote:
> Issue #19274 has been updated by aall...
graywolf (Gray Wolf)
12:52 PM Bug #19274: Error installing ruby 3.2.0 on RH 8

Sorry, I have posted one of the diferent tests I have done. I have installed first time the 3.2.0 version and the...
aalllop (Alberto Allegue)
11:10 AM Bug #19274 (Feedback): Error installing ruby 3.2.0 on RH 8
* You should use the release version of Ruby 3.2.0, not rc1.
* You may need to install `libyaml-devel` or other libya...
hsbt (Hiroshi SHIBATA)
10:50 AM Bug #19274 (Feedback): Error installing ruby 3.2.0 on RH 8
When I execute rvm install 3.2.0 the installation fails with the next error:
installing default gems from lib: /...
aalllop (Alberto Allegue)
01:02 PM Bug #19275 (Closed): Bundled gems extensions are not installed with 3.2.0 release tarball
Bundled gems extensions are not installed with 3.2.0 release tarball when cross building for `aarch64-linux-android` ... xtkoba (Tee KOBAYASHI)
11:44 AM Bug #19273 (Closed): [Regexp] regexp does not match expected
merged at b726d60c986bf951d13e7a2ab5f5e58f58657b03 nagachika (Tomoyuki Chikanaga)
09:45 AM Bug #19273: [Regexp] regexp does not match expected
PR [#7035](https://github.com/ruby/ruby/pull/7035) for fixing the bug is created. make_now_just (Hiroya Fujinami)
03:56 AM Bug #19273: [Regexp] regexp does not match expected
Pattern using `*` quantifier instead of `{0,3}` quantifier matches expactedly.
```
irb(main):027:0> pattern = /(?-mi...
taichi730 (Taichi Ishitani)
03:39 AM Bug #19273: [Regexp] regexp does not match expected
This pattern shows a binary|decimal|hexadecimal value splitted by : character.
decimal only and decimal|hexadecima...
taichi730 (Taichi Ishitani)
03:33 AM Bug #19273: [Regexp] regexp does not match expected
I performed git bisect and found the first bad commit is [37613fea1657b1a0732501657275bc03e8e0ebc4](https://github.co... mrkn (Kenta Murata)
03:10 AM Bug #19273 (Closed): [Regexp] regexp does not match expected
A regexp pattern does not match expected with Ruby 3.2.
Ruby 3.2
``` ruby
pattern = /(?-mix:(?i-mx:[+-]?0b[01]...
taichi730 (Taichi Ishitani)
11:38 AM Feature #19272: Hash#merge: smarter protocol depending on passed block arity
@sawa I didn't mention the solution with numeric arguments because I believe it to be even more cryptic than with nam... zverok (Victor Shepelev)
07:33 AM Feature #19272: Hash#merge: smarter protocol depending on passed block arity
Using numbered parameters, we can do slightly better:
```ruby
{apples: 1, oranges: 2}.merge({apples: 3, bananas: 5})...
sawa (Tsuyoshi Sawada)
11:03 AM Revision b726d60c (git): Fix [Bug 19273], set correct value to `outer_repeat` on `OP_REPEAT` (#7035)
make_now_just (Hiroya Fujinami)
06:46 AM Revision 39319216 (git): add debug print for the failure
http://ci.rvm.jp/results/trunk-gc-asserts@ruby-sp2-docker/4364584
```
1) Failure:
TestObjSpace#test_dump_all [/tmp...
ko1 (Koichi Sasada)
01:24 AM Bug #19267: Compile fails when enabling YJIT on x64-mingw-ucrt
Yes, I will disable yjit. cfis (Charlie Savage)
12:15 AM Revision c6c7f590 (git): Test bundler and bundled gems by exam
nobu (Nobuyoshi Nakada)
12:15 AM Revision 84a4f1b3 (git): Order test-bundler-parallel dependency
nobu (Nobuyoshi Nakada)

12/27/2022

11:23 PM Bug #19243 (Closed): Windows: Dir.home returns string in wrong encoding
hsbt (Hiroshi SHIBATA)
01:34 PM Bug #19243: Windows: Dir.home returns string in wrong encoding
This is fixed by commit https://github.com/ruby/ruby/commit/d6ce4180a5b4dacbac895c9911031a6df6c61136 in ruby-3.2.0. I... larskanis (Lars Kanis)
09:45 PM Bug #19271: irb ignores rbs and debug
YJIT or `RUBY_YJIT_ENABLE=1` doesn't interfere with that process, and I confirmed that this is reproducible without Y... k0kubun (Takashi Kokubun)
07:09 PM Bug #19271: irb ignores rbs and debug
I can reproduce this without `IRB`:
```
$ RUBY_YJIT_ENABLE=1 ruby -e "require 'foo'"
Ignoring debug-1.7.1 because it...
st0012 (Stan Lo)
04:07 PM Bug #19271: irb ignores rbs and debug
Impossible to edit the original issue (loads a blank form, looks like a Redmine bug) but `ruby -v` should read:
```...
olivierlacan (Olivier Lacan)
04:01 PM Bug #19271 (Closed): irb ignores rbs and debug
Not sure this is a serious issue but when starting IRB this (potentially confusing) message is immediately printed:
...
olivierlacan (Olivier Lacan)
09:31 PM Bug #19267 (Feedback): Compile fails when enabling YJIT on x64-mingw-ucrt
> https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md
> It currently only supports macOS and Linux on x86-64 an...
k0kubun (Takashi Kokubun)
09:04 AM Bug #19267 (Feedback): Compile fails when enabling YJIT on x64-mingw-ucrt
Ruby fails to compile with msys2/ucrt64 when enabling yjit.
Error:
``` c
In file included from ./include/ruby/d...
cfis (Charlie Savage)
08:36 PM Feature #19272 (Rejected): Hash#merge: smarter protocol depending on passed block arity
Usage of `Hash#merge` with a "conflict resolution block" is almost always clumsy: due to the fact that the block acce... zverok (Victor Shepelev)
05:05 PM Revision ec7e0829 (git): [ruby/irb] Refactor RubyLex#process_literal_type
(https://github.com/ruby/irb/pull/350)
Simplify part of regex ``[_a-zA-Z0-9]`` with equivalent shorthand ``\w``.
Rep...
Maumagnaguagno (Mau Magnaguagno)
04:43 PM Revision 140c93e2 (git): [ruby/irb] Add dynamic prompt test case for quoted heredoc
(https://github.com/ruby/irb/pull/486)
https://github.com/ruby/irb/commit/31cfbeacbb
st0012 (Stan Lo)
12:58 PM Bug #19270 (Closed): Constants lookup and a singleton class issue
I've noticed that a constant declared in a singleton class may be not visible on an object:
```ruby
class A
de...
andrykonchin (Andrew Konchin)
12:49 PM Bug #19269: Constant lookup and #instance_eval
As far as I understand, name lookup in block is performed related to the context where the block is defined.
The exa...
zverok (Victor Shepelev)
12:22 PM Bug #19269 (Closed): Constant lookup and #instance_eval
I've noticed a confusing behaviour of `#instance_eval` (and `#instance_exec` as well). In some cases it doesn't see c... andrykonchin (Andrew Konchin)
12:15 PM Bug #18024: Ractor crashes when connections are closed in multiple Ractors
I also couldn't reproduce it on m2 mac with both ruby versions 3.0.0 which is reported and 3.2.0 the latest.
I hope ...
niku (niku _)
09:42 AM Bug #19268 (Closed): Mingw64 Build Failure
For both Ruby 3.1.3 and Ruby 3.2.0, building on msys2/ucrt64 fails:
``` c
linking miniruby.exe
/usr/bin/sh: -c: ...
cfis (Charlie Savage)
05:56 AM Revision 5c551ac5 (git): merge revision(s) fc03ba50f1ff6c30f7c654f564b4dffbed0844ef: [Backport #19263]
MJIT: Fix JIT code for multiple values in a single case
[Bug #19263]
---
lib/ruby_vm/mjit/c...
naruse (Yui NARUSE)
01:32 AM Revision db19714b (git): load.c: remove unneeded rb_str_freeze calls
rb_fstring already resizes and freezes the string, so there's no
need to use rb_str_freeze.
Eric Wong
12:09 AM Revision c09f342d (git): [ruby/irb] Fix wrong conf path with XDG_CONFIG_HOME. It should be under the HOME directory, not current directory
https://github.com/ruby/irb/commit/33a5e55ffd hsbt (Hiroshi SHIBATA)
 

Also available in: Atom