Project

General

Profile

Activity

From 06/02/2023 to 06/08/2023

06/08/2023

08:21 PM Bug #19721: IO#timeout= can be called without required argument
Ah, I see. Thank you. andrykonchin (Andrew Konchin)
03:04 PM Bug #19721 (Rejected): IO#timeout= can be called without required argument
All assignment methods called via `recv.method = ` are called with one argument. `()` is translated to `nil` by the ... jeremyevans0 (Jeremy Evans)
03:03 PM Bug #19721: IO#timeout= can be called without required argument
I believe the syntax `f.timeout=()` is _not_ calling the `timeout=` method with no parameters, but instead it is assi... ufuk (Ufuk Kayserilioglu)
02:54 PM Bug #19721 (Rejected): IO#timeout= can be called without required argument
```ruby
f = File.open("a.txt", "w")
f.timeout=() # => nil
```
`IO#timeout=` requires an argument (or it's suppo...
andrykonchin (Andrew Konchin)
04:05 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
Note that `#name` already returns the temporary name
```ruby
m1 = Module.new
m1::NAMED = m2 = Module.new
m2.name ...
Dan0042 (Daniel DeLorme)
03:18 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
If we are adding a setter method, do we really need the `set_` prefix? Moreover, does assigning a "temporary name" ch... ufuk (Ufuk Kayserilioglu)
01:47 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
matz (Yukihiro Matsumoto) wrote in #note-11:
> I agree with adding an ability to name classes/modules. But I am agai...
Dan0042 (Daniel DeLorme)
09:39 AM Feature #19521: Support for `Module#name=` and `Class#name=`.
For more context, CRuby itself refers to permanent and temporary names, and anonymous components/names.
Here: https:...
ioquatix (Samuel Williams)
08:41 AM Feature #19521: Support for `Module#name=` and `Class#name=`.
Unfortunately, I am not 100% satisfied for both names. For `set_temporary_name`, the name implies limited scope or ti... matz (Yukihiro Matsumoto)
07:49 AM Feature #19521: Support for `Module#name=` and `Class#name=`.
Thanks Matz, are you happy with `#set_temporary_name` which is how it's referred to internally (and in contrast to as... ioquatix (Samuel Williams)
07:00 AM Feature #19521: Support for `Module#name=` and `Class#name=`.
I agree with adding an ability to name classes/modules. But I am against the method name `name=`. It's too short and ... matz (Yukihiro Matsumoto)
03:20 PM Revision eaf11d3d (git): [rubygems/rubygems] Stop publishing Gemfile in default gem template
Similarly to how the other ignored files are intended for local
development and not for production, the Gemfile and G...
gareth (Gareth Adams)
02:42 PM Revision 441302be (git): Remove RHASH_TRANSIENT_FLAG
Hashes are no longer allocated on the transient heap. peterzhu2118 (Peter Zhu)
02:28 PM Revision 41496305 (git): * remove trailing spaces. [ci skip]
git[bot]
02:28 PM Revision d9ef326d (git): [DOC] Add comment about flags for Hash
peterzhu2118 (Peter Zhu)
01:50 PM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
Okay, I have now migrated all pages as listed [on this sheet](https://docs.google.com/spreadsheets/d/1Ld83ZKxknYgECXx... jemmai (Jemma Issroff)
01:01 PM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
I now have permissions, thank you! jemmai (Jemma Issroff)
05:33 AM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
@jemmai I added you to `Ruby` project as triage team.
![](Screenshot%202023-06-08%20at%2014.32.44.png)
Can you ...
hsbt (Hiroshi SHIBATA)
12:17 PM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
IIRC `IO` methods all have an equivalent under `File`, and those do not accept pipes.
So e.g. RuboCop warns about th...
Eregon (Benoit Daloze)
03:54 AM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
@mdalessio (Mike Dalessio) wrote in #note-5:
> @hsbt Because this functionality has existed in Ruby for such a long ...
postmodern (Hal Brodigan)
11:59 AM Feature #19712: IO#reopen removes singleton class
To clarify, my main motivation to solve this issue is to have a nicer object model (the Kernel#class of an object nev... Eregon (Benoit Daloze)
11:55 AM Feature #19712: IO#reopen removes singleton class
@matz What if I made a PR to not change the class for `IO#reopen`, and we commit it experimentally, and if it causes ... Eregon (Benoit Daloze)
09:42 AM Feature #19712: IO#reopen removes singleton class
We still have concerns about compatibility.
One is keeping the receiver's class, and the other is mixing of file d...
matz (Yukihiro Matsumoto)
09:01 AM Feature #19712: IO#reopen removes singleton class
@matz (Yukihiro Matsumoto) wrote in #note-5:
> The `#reopen` has special semantics that re-initialized the IO object...
Eregon (Benoit Daloze)
08:05 AM Feature #19712: IO#reopen removes singleton class
The `#reopen` has special semantics that re-initialized the IO object. As a result, singleton methods will be wiped o... matz (Yukihiro Matsumoto)
11:49 AM Feature #19720: Warning for non-linear Regexps
nobu (Nobuyoshi Nakada) wrote in #note-2:
> We introduced `Regexp.linear_time?` in order to check the linear-ness by...
Eregon (Benoit Daloze)
10:49 AM Feature #19720: Warning for non-linear Regexps
We introduced `Regexp.linear_time?` in order to check the linear-ness by **external** utilities.
You can also chec...
nobu (Nobuyoshi Nakada)
09:41 AM Feature #19720 (Rejected): Warning for non-linear Regexps
I believe the best way to solve ReDoS is to ensure all Regexps used in the process are linear.
Using `Regexp.timeout...
Eregon (Benoit Daloze)
11:22 AM Revision 3fe09eba (git): Add deprecations for public `struct rb_io` members. (#7916)
* Add deprecations for public struct rb_io members. Samuel Williams
09:05 AM Revision d6bddcb0 (git): racc/cparse is extracted from ruby/ruby repository
hsbt (Hiroshi SHIBATA)
09:03 AM Feature #19702 (Closed): Promote racc as bundled gems
Thanks. racc is now bundled gems. hsbt (Hiroshi SHIBATA)
06:30 AM Feature #19702: Promote racc as bundled gems
Sounds OK. Go ahead.
Matz.
matz (Yukihiro Matsumoto)
03:53 AM Feature #19702: Promote racc as bundled gems
I and @nobu removed `racc/parser` dependency from `RDoc::RD`.
* https://github.com/ruby/racc/pull/218
* https://g...
hsbt (Hiroshi SHIBATA)
08:29 AM Feature #19719: Universal Parser
Sorry for bikeshedding, but can we please avoid using `_struct` on struct tag names? It's already clear it's a `struc... ioquatix (Samuel Williams)
02:14 AM Feature #19719 (Closed): Universal Parser
# Background
There are three use cases where we need a CRuby parser which is independent of other CRuby features l...
yui-knk (Kaneko Yuichiro)
08:26 AM Revision 4e8b859c (git): Update default gems list at e69bb9f0d7dab447d757c34f674474 [ci skip]
git[bot]
08:25 AM Revision e69bb9f0 (git): Bump up racc-1.7.0
hsbt (Hiroshi SHIBATA)
08:25 AM Revision ab5aade5 (git): Removed executable of racc
hsbt (Hiroshi SHIBATA)
08:25 AM Revision d24e514d (git): Added racc dependency
hsbt (Hiroshi SHIBATA)
08:25 AM Revision 55e0f8cf (git): Removed sync task for racc
hsbt (Hiroshi SHIBATA)
08:25 AM Revision 044d0606 (git): Removed racc/cparse checking
hsbt (Hiroshi SHIBATA)
08:25 AM Revision d1775aa3 (git): Try to promote racc as bundled gems
hsbt (Hiroshi SHIBATA)
08:12 AM Feature #19718 (Rejected): Extend `-0` option
Very few users know the existence of `-0`. If we extend the option, probably no one uses the feature.
Matz.
matz (Yukihiro Matsumoto)
07:51 AM Revision b90683be (git): [ruby/psych] Drop to support Ruby 2.4 because the latest version of core_assertions only support Ruby 2.5+
https://github.com/ruby/psych/commit/6ec316b7fa hsbt (Hiroshi SHIBATA)
06:58 AM Feature #19520 (Rejected): Support for `Module.new(name)` and `Class.new(superclass, name)`.
I reject this idea, because adding a new optional name argument to `new` method is too easy to abuse. I am rather for... matz (Yukihiro Matsumoto)
12:04 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
As I mentioned, I think using arbitrary `#inspect` is too risky / performance issues. If you are trying to log an err... ioquatix (Samuel Williams)
06:22 AM Revision fe42d88a (git): Pass -Werror=lto-type-mismatch for GCC LTO jobs
This helps to find possible LTO miscompilations earlier. See also
https://github.com/ruby/ruby/pull/7695.
Sam James
05:41 AM Bug #19681 (Closed): The final classpath of partially named modules is sometimes inconsistent once permanently named
I understand the feeling the name once was "C", could be renamed to "D" later. But in reality, we don't think it's wo... matz (Yukihiro Matsumoto)
04:10 AM Bug #11704 (Rejected): Refinements only get "used" once in loop
The behavior is intended.
Matz.
matz (Yukihiro Matsumoto)
03:06 AM Revision 533368cc (git): Split long options from `proc_options`
nobu (Nobuyoshi Nakada)
03:06 AM Revision 6ffbd961 (git): Split some options from `proc_options`
`-W`, `-e`, `-K`, `-0`, `-E` and `--encoding` options. nobu (Nobuyoshi Nakada)
02:39 AM Feature #19057: Hide implementation of `rb_io_t`.
Okay, here is a PR to introduce deprecations: https://github.com/ruby/ruby/pull/7916 ioquatix (Samuel Williams)
02:16 AM Misc #19684: DevMeeting-2023-06-08
[Feature #19719] Universal Parser
* Want to discuss the direction of development (Design) and release management (R...
yui-knk (Kaneko Yuichiro)
01:31 AM Revision 182d3262 (git): Sample files of racc is not available in ruby/ruby
hsbt (Hiroshi SHIBATA)
01:20 AM Revision 7ef1a238 (git): Re-generate RDoc::RD parsers with racc-1.7.0
hsbt (Hiroshi SHIBATA)
01:13 AM Revision a84f2fe8 (git): Manually merge https://github.com/ruby/racc/pull/217
hsbt (Hiroshi SHIBATA)
01:09 AM Revision 8a772757 (git): Update default gems list at 0f2ebfee85af383f859d9fdc64d58f [ci skip]
git[bot]
01:09 AM Revision 0f2ebfee (git): [ruby/racc] Bump up v1.7.0
https://github.com/ruby/racc/commit/0feca00301 hsbt (Hiroshi SHIBATA)
12:59 AM Revision 8206a821 (git): Update parser-text.rb with https://github.com/ruby/racc/pull/218
hsbt (Hiroshi SHIBATA)
12:58 AM Revision c0bbec2e (git): Fix wrong directory layout for racc test
hsbt (Hiroshi SHIBATA)
12:49 AM Revision 0ee9bd58 (git): [ruby/racc] Embed racc/info.rb too
https://github.com/ruby/racc/commit/b5e121f304 nobu (Nobuyoshi Nakada)

06/07/2023

11:46 PM Feature #19718: Extend `-0` option
Dan0042 (Daniel DeLorme) wrote in #note-3:
> I meant it will not be possible to use `-u` in the future.
Yes, and ...
nobu (Nobuyoshi Nakada)
03:39 PM Feature #19718: Extend `-0` option
I meant it will not be possible to use `-u` in the future.
With colon we could write anything after, like `-0:$'\t'`...
Dan0042 (Daniel DeLorme)
02:25 PM Feature #19718: Extend `-0` option
I thought the issue about `-u` is simply a matter of priorities; just the chance of `-0x` cannot be denied, but `-0u`... nobu (Nobuyoshi Nakada)
02:00 PM Feature #19718: Extend `-0` option
It's a nifty idea, but `-0uCODEPOINT` means that the `-u` option is forever reserved for this usage which no one will... Dan0042 (Daniel DeLorme)
12:02 PM Feature #19718 (Rejected): Extend `-0` option
Recently I learned that Perl's `-0` option is extended to accept a hexadecimal Unicode codepoint.
However it uses `-...
nobu (Nobuyoshi Nakada)
03:01 PM Feature #19712: IO#reopen removes singleton class
> It's not possible to reuse the singleton class for that example.
Yes, that's why I wrote: "whether the singleton...
byroot (Jean Boussier)
02:56 PM Feature #19712: IO#reopen removes singleton class
@byroot It's not possible to reuse the singleton class for that example. A singleton class has a given superclass, an... Eregon (Benoit Daloze)
09:50 AM Feature #19712: IO#reopen removes singleton class
For what it's worth, I think:
- It would seem unnatural to me to not clear the `singleton_class`, as in my menta...
byroot (Jean Boussier)
02:09 PM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
I've created https://github.com/ruby/ruby/pull/7915 for review. mdalessio (Mike Dalessio)
01:45 PM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
> for now just print a deprecation warning.
My worry is that since deprecation warnings are disabled by default, m...
byroot (Jean Boussier)
01:39 PM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
@hsbt Because this functionality has existed in Ruby for such a long time, maybe we should target the next major rele... mdalessio (Mike Dalessio)
10:04 AM Feature #19717 (Open): `ConditionVariable#signal` is not fair when the wakeup is consistently spurious.
For background, see this issue <https://github.com/socketry/async/issues/99>.
It looks like `ConditionVariable#sig...
ioquatix (Samuel Williams)
06:48 AM Bug #18743: Enumerator#next / peek re-use each others stacktraces
Your PR makes `stop_exc` to be overwritten for each `StopIteration`.
IMO, it should not change and the `cause` of al...
nobu (Nobuyoshi Nakada)
06:00 AM Bug #19700: TestProcess#test_execopts_redirect_open_fifo_interrupt_print is flaky on macOS
It seems from my survey around the office that my test program works on Intel macs and crashes on ARM ones. I opened ... kjtsanaktsidis (KJ Tsanaktsidis)
01:10 AM Revision 46583f7d (git): Adjust style [ci skip]
nobu (Nobuyoshi Nakada)
12:27 AM Bug #19716: SystemStackError occurs too easily on Alpine Linux (due to small stack size reported by pthread_attr_getstacksize on musl libc)
Output from `make test` after applying the patch:
```
Fiber count: 10000 (skipping)
PASS all 1669 tests
exec ./...
alexdowad (Alex Dowad)
12:19 AM Bug #19716: SystemStackError occurs too easily on Alpine Linux (due to small stack size reported by pthread_attr_getstacksize on musl libc)
I just applied @ncopa's patch from: https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-g... alexdowad (Alex Dowad)
12:13 AM Bug #19716 (Feedback): SystemStackError occurs too easily on Alpine Linux (due to small stack size reported by pthread_attr_getstacksize on musl libc)
This is the same problem previously reported against Ruby 2.5 in https://bugs.ruby-lang.org/issues/14387. I just ran ... alexdowad (Alex Dowad)
12:08 AM Bug #19715 (Rejected): Coverage oneshot_lines mode is not working after result clear
Given a simple Ruby file (`foo.rb`):
```ruby
def hello
puts "hello"
end
```
If I do the following in `irb`,...
ngan (Ngan Pham)

06/06/2023

02:21 PM Revision 2b54c135 (git): YJIT: Avoid identity-based known-class guards for IO objects (#7911)
`IO#reopen` is very special in that it is able to change the class and
singleton class of IO instances. In its presen...
alanwu (Alan Wu)
02:19 PM Revision 7577c101 (git): Unify length field for embedded and heap strings (#7908)
* Unify length field for embedded and heap strings
The length field is of the same type and position in RString for ...
peterzhu2118 (Peter Zhu)
02:18 PM Revision fae2f80d (git): Revert debugging code in test_gc_compact.rb
peterzhu2118 (Peter Zhu)
02:18 PM Revision c3dc9fcc (git): Fix heap growth in GC.verify_compaction_references
We should grow by at least gc_params.heap_init_slots, but the previous
calculation was incorrect.
peterzhu2118 (Peter Zhu)
01:12 PM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
> If you don't have wiki permission, please ask me again because configuration of Redmine is too complex.
Thanks @...
jemmai (Jemma Issroff)
12:44 PM Feature #19714 (Closed): Add Refinement#refined_module
Eregon (Benoit Daloze) wrote in https://bugs.ruby-lang.org/issues/12737#note-15:
> `Refinement#refined_class` is a b...
shugo (Shugo Maeda)
12:37 PM Feature #12737: Module#defined_refinements
Eregon (Benoit Daloze) wrote in #note-15:
> `Refinement#refined_class` is a bit strange given it can return a module...
shugo (Shugo Maeda)
12:00 PM Feature #12737: Module#defined_refinements
`Refinement#refined_class` is a bit strange given it can return a module.
How about adding `Refinement#refined_modul...
Eregon (Benoit Daloze)
07:01 AM Feature #19702: Promote racc as bundled gems
`rails/rails` already used `gem "racc"` under the bundler environment.
https://github.com/rails/rails/blob/main/G...
hsbt (Hiroshi SHIBATA)
05:15 AM Bug #19713: Off-by-one error when computing very large Integer numbers
You can use `Integer#quo`.
```ruby
a.quo(b+c) + b.quo(a+c) + c.quo(a+b) #=> (4/1)
```
nobu (Nobuyoshi Nakada)
05:11 AM Bug #19713 (Rejected): Off-by-one error when computing very large Integer numbers
It is by design. `Integer#/` does integer division.
```
p 1 / 2 #=> 0
```
mame (Yusuke Endoh)
03:42 AM Revision 1f64301e (git): Bump octokit/request-action from 2.1.8 to 2.1.9
Bumps [octokit/request-action](https://github.com/octokit/request-action) from 2.1.8 to 2.1.9.
- [Release notes](http...
dependabot[bot]
01:52 AM Revision 79e8d914 (git): [rubygems/rubygems] Delay cache access in `LockfileParser`
It's the only part that needs "root folder resultion" to figure out the
folder for the cache, but it's only needed fo...
deivid (David Rodríguez)
01:52 AM Revision 03246719 (git): [rubygems/rubygems] Fix `path` vs `deployment` precedence when path set through ENV
The `deployment` setting sets `path` to `vendor/bundle` implicitly, but
that should only apply if `path` is not set e...
deivid (David Rodríguez)
01:52 AM Revision 7b317243 (git): [rubygems/rubygems] Unexclude some specs on bundler 3
These should all be passing on Bundler 3.
https://github.com/rubygems/rubygems/commit/4a8c172965
deivid (David Rodríguez)
01:52 AM Revision 6353f1d5 (git): [rubygems/rubygems] Fill in missing deployment specs
https://github.com/rubygems/rubygems/commit/e16aa47b8f deivid (David Rodríguez)
01:52 AM Revision 60377244 (git): [rubygems/rubygems] Remove redundant specs
They are already tested above.
https://github.com/rubygems/rubygems/commit/23073dcece
deivid (David Rodríguez)
01:52 AM Revision 8819dc43 (git): [rubygems/rubygems] Always rely on $LOAD_PATH when jumping from exe to lib
Normally, we use `require_relative` when requiring internal code.
However, Bundler may also load external code (for e...
deivid (David Rodríguez)
01:52 AM Revision 1f9e6683 (git): [rubygems/rubygems] Fix inline mode with multiple sources
If we're in inline mode, Bundler first resolves using only local gems,
and if some gems are missing, then it re-resol...
deivid (David Rodríguez)

06/05/2023

09:58 PM Revision ebe10773 (git): YJIT: Fix a warning on cargo test (#7909)
k0kubun (Takashi Kokubun)
09:28 PM Bug #19713 (Rejected): Off-by-one error when computing very large Integer numbers
Ruby computes this Elliptic Curve result incorrectly when using Integer operations, but has the correct result when u... bannable (Joe Truba)
09:01 PM Revision 2e14a653 (git): Add an example for rust-analyzer.cargo.unsetTest [ci skip]
k0kubun (Takashi Kokubun)
07:47 PM Revision 2543a657 (git): Implement Struct on VWA
The benchmark results show that this feature has either a positive or
no impact on performance. The memory usage is a...
peterzhu2118 (Peter Zhu)
07:12 PM Revision 45ff2f4a (git): [ruby/irb] Refactor ExtendCommand::Nop
(https://github.com/ruby/irb/pull/598)
* Rename conf to irb_context
* Drop Nop#irb method because it's only used by...
st0012 (Stan Lo)
07:02 PM Revision 273b3847 (git): [ruby/irb] Simplify irb_info command
(https://github.com/ruby/irb/pull/597)
https://github.com/ruby/irb/commit/0a0409c52b
st0012 (Stan Lo)
06:34 PM Revision 76ee4edb (git): [ruby/irb] Fixed string escaping omissions
(https://github.com/ruby/irb/pull/599)
I received a `RegexpError` when I typed `::Array[`.
::Array[/Users/mi/ghq/git...
ima1zumi (Mari Imaizumi)
06:11 PM Revision 135a5eb7 (git): Add missing write barrier
We were missing the write barrier for class_value to cref. This should
fix the segv we were seeing in http://ci.rvm.j...
eileencodes (Eileen Uchitelle)
06:11 PM Revision 40f090f4 (git): Revert "Revert "Fix cvar caching when class is cloned""
This reverts commit 10621f7cb9a0c70e568f89cce47a02e878af6778.
This was reverted because the gc integrity build start...
eileencodes (Eileen Uchitelle)
05:10 PM Revision 29ea3c5a (git): [rubygems/rubygems] Try again with https://github.com/rubygems/rubygems/pull/6693
https://github.com/rubygems/rubygems/commit/73c0d5f059 hsbt (Hiroshi SHIBATA)
03:07 PM Feature #19712 (Open): IO#reopen removes singleton class
The documentation states:
> This may dynamically change the actual class of this stream.
As well `#reopen` remo...
itarato (Peter Arato)
02:59 PM Revision 3cdafe9b (git): Move per sections in help message
nobu (Nobuyoshi Nakada)
02:59 PM Revision b5467ae3 (git): Add additional info for `-0` to `--help` message
nobu (Nobuyoshi Nakada)
02:59 PM Revision feb946c3 (git): Fold option lines in help message
nobu (Nobuyoshi Nakada)
01:49 PM Revision 1a7ee145 (git): [DOC] Update flags doc for strings
The length of an embedded string is no longer in the flags. peterzhu2118 (Peter Zhu)
09:43 AM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
I understand your concerns.
Every production system I've worked on has some kind of APM, and I've never heard anyo...
ioquatix (Samuel Williams)
09:37 AM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
Probably not, but I also think net-http shouldn't use it.
There is overhead to e.g. call Addrinfo#inspect (or #to_s)...
Eregon (Benoit Daloze)
09:31 AM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
If it's not in core, can we still use it in `net-http` and other gems like that? ioquatix (Samuel Williams)
09:30 AM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
Why not use a fiber-local variable for this? Then there is much less risk of conflict between libraries, and of cours... Eregon (Benoit Daloze)
09:25 AM Feature #19708: Support `attr_reader :foo?`
Agreed this would be nice and make such query methods more optimized.
In https://bugs.ruby-lang.org/issues/12046#n...
Eregon (Benoit Daloze)
09:15 AM Feature #19708: Support `attr_reader :foo?`
This was proposed and rejected by Matz several time in the past (see the linked issues).
Not saying it's impossibl...
byroot (Jean Boussier)
04:44 AM Feature #19708: Support `attr_reader :foo?`
> > You can workaround this by using attr_reader to create the optimized method, alias_method to give it the
> > nice...
AMomchilov (Alexander Momchilov)
06:18 AM Bug #19711: NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
This code was added almost 10 years ago via https://github.com/rails/rails/commit/71993c6f9770b1350aa41fe8c68f1dd2c78... yahonda (Yasuo Honda)
06:07 AM Bug #19711: NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
> do you have any opinion on Rails' usage as outlined above?
Before even looking at the issue, we'll fix it if nec...
byroot (Jean Boussier)
04:31 AM Bug #19711: NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
@yahonda do you have any opinion on Rails' usage as outlined above? ioquatix (Samuel Williams)
03:53 AM Bug #19711: NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
Looks like https://github.com/rails/rails/blob/main/activesupport/test/deprecation_test.rb calls `.new` on the Deprec... dpepper (Daniel Pepper)
01:33 AM Bug #19711: NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
```ruby
module ActiveSupport
class Deprecation
include Singleton
```
Why is Rails trying to call `new` o...
ioquatix (Samuel Williams)
01:12 AM Bug #19711: NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
I reverted commit:bebd05fb51ea65bc57344b67100748200f8311eb at commit:3a4302c742622dda9fbaeeb90fd42364badc423d
hsbt (Hiroshi SHIBATA)
01:03 AM Bug #19711 (Closed): NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
Rails CI against ruby3.3.0dev has been failing https://buildkite.com/rails/rails/builds/96929#0188841c-cf1f-46d6-b48b... yahonda (Yasuo Honda)
04:29 AM Revision 542c70aa (git): [ruby/singleton] Simplify implementation of `Singleton#instance`.
(https://github.com/ruby/singleton/pull/9)
- Add more tests to cover rails' usage.
dpepper (Daniel Pepper)
03:06 AM Bug #19685 (Closed): ruby --helpに --yydebugの情報がない
Applied in changeset commit:git|3fe0f8c68bf2cd861b7061de8a662885e5aa5234.
----------
[Bug #19685]: Add `-y` and `--y...
Anonymous
03:05 AM Revision 3fe0f8c6 (git): [Bug #19685]: Add `-y` and `--yydebug` document to `--help`
Add -y option information to `--help`
Fix a warning on the man page
Yla Aioi
01:17 AM Bug #19700: TestProcess#test_execopts_redirect_open_fifo_interrupt_print is flaky on macOS
I think it's the same failure as these:
- http://rubyci.s3.amazonaws.com/osx1200arm/ruby-master/log/20230601T215005...
kjtsanaktsidis (KJ Tsanaktsidis)
12:04 AM Bug #19700 (Feedback): TestProcess#test_execopts_redirect_open_fifo_interrupt_print is flaky on macOS
I haven't seen that failures on macOS.
```
ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66
```
...
nobu (Nobuyoshi Nakada)
01:10 AM Revision 3a4302c7 (git): [ruby/singleton] Revert "Simplify the implementation
(https://github.com/ruby/singleton/pull/7)"
This reverts commit https://github.com/ruby/singleton/commit/545b6b61a40...
hsbt (Hiroshi SHIBATA)

06/04/2023

07:02 PM Bug #19710: Wrong answer output in "All together now" exercise at try.ruby-lang.org
byroot (Jean Boussier) wrote in #note-1:
> Please report it to the upstream project: https://github.com/ruby/TryRuby...
vividpixel (Nicholas Hawthorne)
06:36 PM Bug #19710 (Third Party's Issue): Wrong answer output in "All together now" exercise at try.ruby-lang.org
Please report it to the upstream project: https://github.com/ruby/TryRuby byroot (Jean Boussier)
04:08 PM Bug #19710 (Third Party's Issue): Wrong answer output in "All together now" exercise at try.ruby-lang.org
Couldn't find the error in my typed version of the code, so then I copied the provided solution and discovered it had... vividpixel (Nicholas Hawthorne)
03:25 PM Revision 068672cf (git): Update default gems list at 4275a8098e59c43daa4a85efce9465 [ci skip]
git[bot]
03:24 PM Revision 4275a809 (git): [ruby/irb] Bump version to 1.7.0
(https://github.com/ruby/irb/pull/596)
https://github.com/ruby/irb/commit/c2e7002867
st0012 (Stan Lo)
02:33 PM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
I came back to this issue.
> I don't see the convenience of `Fiber.annotate`. Convince me.
- Logging what the c...
ioquatix (Samuel Williams)

06/03/2023

11:50 AM Revision 73a31546 (git): Attrset name is not allowed as an attribute
nobu (Nobuyoshi Nakada)
11:22 AM Revision 45890563 (git): Exit with a failure if any test files failed to load
nobu (Nobuyoshi Nakada)
11:13 AM Misc #19693: Data initialization is significantly slower than Struct
@byroot
nice idea! i've [tried it](https://gist.github.com/jaynetics/0d04eb85177140e2a84fc88aeea68764). it still dou...
janosch-x (Janosch Müller)
09:35 AM Feature #19708: Support `attr_reader :foo?`
Personally I agree with the proposal, largely because I love methods that end with a trailing '?' - I think that was
...
rubyFeedback (robert heiler)
12:23 AM Feature #19708: Support `attr_reader :foo?`
You can workaround this by using `attr_reader` to create the optimized method, `alias_method` to give it the nice `ac... AMomchilov (Alexander Momchilov)
12:15 AM Feature #19708 (Open): Support `attr_reader :foo?`
Creating reader methods with `attr_reader` is preferable over defining them by hand, not only because it's more conve... AMomchilov (Alexander Momchilov)
08:28 AM Revision 1bb7c3c4 (git): Update default gems list at e6bd1852fb0c4775f6bc9588df30a1 [ci skip]
git[bot]
08:28 AM Revision e6bd1852 (git): [ruby/reline] Bump version to 0.3.5
(https://github.com/ruby/reline/pull/548)
https://github.com/ruby/reline/commit/4330a52572
st0012 (Stan Lo)
03:41 AM Bug #19709 (Closed): `Thread.join(timeout)` hangs in fiber scheduler.
Merged. ioquatix (Samuel Williams)
02:04 AM Bug #19709: `Thread.join(timeout)` hangs in fiber scheduler.
PR: https://github.com/ruby/ruby/pull/7903 ioquatix (Samuel Williams)
01:43 AM Bug #19709 (Closed): `Thread.join(timeout)` hangs in fiber scheduler.
Unfortunately the following script can hang:
```ruby
require_relative 'test/fiber/scheduler'
scheduler = Sched...
ioquatix (Samuel Williams)
03:41 AM Revision 04021937 (git): Fix `Thread#join(timeout)` when running inside the fiber scheduler. (#7903)
Samuel Williams
03:07 AM Feature #18894: Object#make_shareable
`#make_shareable` sounds like it's an alias for `Ractor.make_shareable`. Callbacks tend to be past tense, how about `... AMomchilov (Alexander Momchilov)
01:42 AM Revision a4d92475 (git): [ruby/rdoc] Auto-correct trailing new lines
https://github.com/ruby/rdoc/commit/4b68c0728a vinistock (Vinicius Stock)
01:34 AM Revision 7b803eaf (git): Ripper does not depend on Bison [ci skip]
It also uses Lrama then no dependency on Bison. yui-knk (Kaneko Yuichiro)
12:35 AM Revision bebd05fb (git): [ruby/singleton] Simplify the implementation
(https://github.com/ruby/singleton/pull/7)
Remove `__init__` and move logic to `included`.
dpepper (Daniel Pepper)
12:00 AM Feature #19197: Add Exception#root_cause
mame (Yusuke Endoh) wrote in #note-8:
> Discussed at the dev meeting.
>
> Please elaborate the use case a bit mor...
AMomchilov (Alexander Momchilov)

06/02/2023

10:24 PM Misc #19679 (Assigned): Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
I added @jemmai to Triage team and added wiki CRUD grants to Triage team.
If you don't have wiki permission, pleas...
hsbt (Hiroshi SHIBATA)
05:31 PM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
@hsbt I think @jemmai should have Wiki edit permission on Redmine for updating/deleting migrated pages. Can we maybe ... k0kubun (Takashi Kokubun)
09:16 PM Revision 4e26ae3c (git): YJIT: Use #[cfg] instead of if cfg! (#7899)
k0kubun (Takashi Kokubun)
07:49 PM Bug #19707 (Closed): Backport openssl fix to ruby_3_2 branch
Hi! While working on backports to fix another bug, I noticed that the openssl tests for Visual Studio code were faili... eileencodes (Eileen Uchitelle)
03:58 PM Bug #19696: YJIT panicked - branch stubs should never enlarge branches
We would also like to know if you are able to reproduce the issue with Ruby 3.3-preview1 on your CI. That would give ... maximecb (Maxime Chevalier-Boisvert)
02:11 PM Revision 22bea37c (git): Stabilize test_latest_gc_info_need_major_by
Fix:
```
1) Failure:
TestGc#test_latest_gc_info_need_major_by [/home/runner/work/ruby/ruby/src/test/ruby/test_g...
byroot (Jean Boussier)
01:54 PM Revision 83056817 (git): [ruby/irb] Require `test/lib` helpers from main test helper
(https://github.com/ruby/irb/pull/595)
Because they are handled differently in `ruby/irb` and `ruby/ruby`.
st0012 (Stan Lo)
12:18 PM Revision e38fb050 (git): [ruby/reline] Remove unnecessary conditions for
`Fiddle::TYPE_VARIADIC`
(https://github.com/ruby/reline/pull/547)
https://github.com/ruby/reline/commit/71ba3a9432
nobu (Nobuyoshi Nakada)
09:55 AM Revision 60d75a56 (git): MJIT: Check if self is T_OBJECT before opt_pc jump
k0kubun (Takashi Kokubun)
08:21 AM Revision d7e82512 (git): Update default gems list at c32a30ec09997b3ee846a33a6873ed [ci skip]
git[bot]
08:20 AM Revision c32a30ec (git): [ruby/stringio] Development of 3.0.8 started.
https://github.com/ruby/stringio/commit/1587d3698e hsbt (Hiroshi SHIBATA)
07:58 AM Revision 21b61b21 (git): Fix the case no file under bin directory
NMake cannot handle empty expanded targets. nobu (Nobuyoshi Nakada)
07:30 AM Revision ae70d2d7 (git): YJIT: Use #[cfg] instead of if cfg!
k0kubun (Takashi Kokubun)
05:27 AM Revision 729b92ea (git): [ruby/uri] Drop support for 2.4
https://github.com/ruby/uri/commit/21baf2ba16 nobu (Nobuyoshi Nakada)
03:44 AM Revision 5a3c782a (git): Bump octokit/request-action from 2.1.7 to 2.1.8
Bumps [octokit/request-action](https://github.com/octokit/request-action) from 2.1.7 to 2.1.8.
- [Release notes](http...
dependabot[bot]
02:33 AM Feature #19706: Make JSON.[] support ARGF object
`JSON.load(ARGF)["foo"]` is possible in all versions (1.5.5 bundled with ruby1.9, at least). nobu (Nobuyoshi Nakada)
02:28 AM Feature #19706 (Third Party's Issue): Make JSON.[] support ARGF object
Json has its own upstream, https://github.com/flori/json.
BTW: I've never used `JSON[]`, but it looks like whole o...
nobu (Nobuyoshi Nakada)
01:46 AM Feature #19706 (Third Party's Issue): Make JSON.[] support ARGF object
**Abstract**
I propose to extend the `JSON.[]` method in the `json` standard library to support `ARGF` object direct...
tatzyr (Tatsuya Otsuka)
01:12 AM Bug #19700: TestProcess#test_execopts_redirect_open_fifo_interrupt_print is flaky on macOS
I opened https://github.com/ruby/ruby/pull/7876 to skip this. kjtsanaktsidis (KJ Tsanaktsidis)
12:41 AM Revision 08bf3bcf (git): MJIT: Trigger compaction when the queue is empty
k0kubun (Takashi Kokubun)
12:28 AM Revision 3a4206c7 (git): No need to define "BISON" on extconf.rb
"BISON" is defined in "ext/ripper/depend". yui-knk (Kaneko Yuichiro)
 

Also available in: Atom