Activity
From 04/18/2024 to 04/24/2024
Today
-
01:41 PM Bug #20452 (Open): Ruby 3.3 on Alpine Linux results in a relatively shallow SystemStackError exception
- This is a redo of https://bugs.ruby-lang.org/issues/14387, reported against a non-eol version. The same issue still a...
-
12:07 PM Feature #20448: Make coverage event hooking C API public
- > I understand that what you need is a hook for LINE and BRANCH events. Am I correct?
I just need a hook for BRANC... -
11:57 AM Feature #20443: Allow Major GC's to be disabled
- > I slightly prefer having a new method pair for this
Same. it makes it easy to test for existence with `respond_t... -
10:17 AM Feature #20443: Allow Major GC's to be disabled
- nateberkopec (Nate Berkopec) wrote in #note-4:
> Regarding the interface:
>
> ``` ruby
> GC.disable(major: true)... -
11:14 AM Bug #20450: Ruby 3.3.1 broken with bootsnap
- I submitted a fix for this issue at https://github.com/ruby/ruby/pull/10619.
-
10:36 AM Bug #20450: Ruby 3.3.1 broken with bootsnap
- hsbt (Hiroshi SHIBATA) wrote in #note-1:
> Can you provide your `Gemfile`? I did confirm to work that with bootsnap ... -
09:34 AM Bug #20450 (Assigned): Ruby 3.3.1 broken with bootsnap
- Can you provide your `Gemfile`? I did confirm to work that with bootsnap and zeitwerk at https://github.com/ruby/ruby...
-
09:25 AM Bug #20450 (Assigned): Ruby 3.3.1 broken with bootsnap
- The issue looks like https://bugs.ruby-lang.org/issues/20060
With the new release of ruby 3.1.1, bootsnap does not... -
11:12 AM Bug #20451 (Open): Bad Ruby 3.1.5 backport causes fiddle to fail to build
- Ruby 3.1.5 shipped with the following backport: https://github.com/ruby/ruby/commit/84f2aabd272a54e79979795d2d4050907...
-
11:00 AM Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- ufuk (Ufuk Kayserilioglu) wrote in #note-7:
> @esad If you just want to return a result from the `loop`, you can use... -
10:40 AM Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- @esad If you just want to return a result from the `loop`, you can use `break <value>` to do that:
```
$ ruby -e "p... -
09:07 AM Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- nobu (Nobuyoshi Nakada) wrote in #note-3:
> I'm curious what your use case is.
>
> Although I don't know the reas... -
03:33 AM Feature #20444 (Feedback): Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
-
02:40 AM Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- I'm curious what your use case is.
Although I don't know the reason why `StopIteration#initialize` does not have t... -
09:02 AM Revision 91ff2fd9 (git): Fix dllimport warnings
- From Visual C:
```
../../../../../src/ext/-test-/load/resolve_symbol_target/resolve_symbol_target.c(5): warning C4273... -
08:19 AM Revision 7e8d8f25 (git): Removed obsoleted section because make docs is removed from default make task
-
08:12 AM Bug #20262 (Closed): Regex mismatch between Ruby 3.2.2 and 3.3.0
- Maybe the same issue as https://bugs.ruby-lang.org/issues/20083. Fixed at 3.3.1.
```
$ RBENV_VERSION=3.2.2 ruby -... -
07:15 AM Bug #20446 (Closed): Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
-
04:36 AM Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
- mame (Yusuke Endoh) wrote in #note-3:
> I recommend monitoring https://github.com/ruby/www.ruby-lang.org/blob/master... -
02:24 AM Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
- I recommend monitoring https://github.com/ruby/www.ruby-lang.org/blob/master/_data/releases.yml.
However, the rele... -
07:13 AM Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
- i686 container or just 32bit user space could do the job. @jaruga any chance you would have cycles to look at that?
-
12:12 AM Bug #20447: Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
- Unfortunately, we no longer test with i686 arch. Because AWS that is our main test infrastructure didn't provide i686...
-
06:35 AM Feature #15554 (Assigned): warn/error passing a block to a method which never use a block
- BTW on our application I found the following issue on RSpec tests on strict mode.
```
it ... do
subject do ...... -
06:19 AM Feature #15554: warn/error passing a block to a method which never use a block
- > Acceptable for a codebase as big as Rails?
IMO:
- Rails isn't a big code base. Perhaps when compared to the... - 03:22 AM Revision 0b3bc723 (git): Bump ruby/setup-ruby from 1.174.0 to 1.175.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.174.0 to 1.175.0.
- [Release notes](https://github... -
03:06 AM Revision 66edc33f (git): [DOC] Wait for `docs` to complete before installing all
- The document directories may be incomplete or empty before `docs` is
completed.
04/23/2024
-
10:59 PM Revision 813e1255 (git): Remove unused functions from `struct rb_parser_config_struct`
-
10:43 PM Feature #20443: Allow Major GC's to be disabled
- Regarding the interface:
``` ruby
GC.disable(major: true)
GC.disable(type: :major)
```
Should we consider th... -
09:38 PM Feature #15554: warn/error passing a block to a method which never use a block
- byroot (Jean Boussier) wrote in #note-53:
> @ko1 here's the result (I ran it on the 5 most important sub components)
... -
07:01 AM Feature #15554: warn/error passing a block to a method which never use a block
- > could you compare the relax results on that? or all of your results are false positive?
Yes. It's all false posi... -
02:17 AM Feature #15554: warn/error passing a block to a method which never use a block
- Thank you, could you compare the relax results on that? or all of your results are false positive?
- 09:00 PM Revision e1123790 (git): Sync IRB f9347b1 (#10611)
-
08:45 PM Bug #20449: Ripper issue in field production on Ruby 3.1.5
- I created a PR to fix this https://github.com/ruby/ruby/pull/10610
The issue was with backporting https://bugs.rub... -
07:44 PM Bug #20449 (Open): Ripper issue in field production on Ruby 3.1.5
- ```ruby
Ripper.sexp("foo::bar = baz")
# => [:program, [[:assign, [:field, [:vcall, [:@ident, "foo", [1, 0]]], 73, [... -
08:02 PM Feature #20448: Make coverage event hooking C API public
- First of all, it's great that you are creating a fuzzing tool for Ruby. Thank you for your work.
I understand that... -
05:55 PM Feature #20448 (Open): Make coverage event hooking C API public
- # Abstract
Gathering code coverage information is a well-known goal within software engineering. It is most common... -
07:29 PM Revision b9109b27 (git): Get error from dln_open when USE_SHARED_GC
- Before, if dln_open failed to open RUBY_GC_LIBRARY_PATH, it would segfault
because it would try to raise an error, wh... -
07:29 PM Revision 81433fd0 (git): [ruby/prism] srange_find should only look on current line
- https://github.com/ruby/prism/commit/3604aa15e7
-
06:17 PM Revision 0defbc11 (git): [ruby/prism] Fix recursive multiply when values are switched in karatsuba_multiply
- https://github.com/ruby/prism/commit/4dc6ea960d
-
05:56 PM Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
- Thx for pointer.
Is there a change to update the file "manually" during official release? I assume the answer is "... -
04:31 PM Bug #20446: Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
- It updates daily by <https://github.com/ruby/actions/blob/master/.github/workflows/update_index.yml>.
So wait a few ... -
03:13 PM Bug #20446 (Closed): Outdated https://cache.ruby-lang.org/pub/ruby/index.txt
- Is the https://cache.ruby-lang.org/pub/ruby/index.txt the place, where all Ruby releases can be found? If yes, then c...
-
05:35 PM Bug #20447 (Open): Ruby 3.3.1 broken on i686 due to "incompatible pointer type" error
- ~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -... -
05:26 PM Revision 4f572623 (git): [ruby/prism] Use GC-able symbols for AST
- https://github.com/ruby/prism/commit/801117e45a
-
04:51 PM Revision 87396dbe (git): Skip test_inspect_under_gc_compact_stress w/ RJIT too
- 03:29 PM Revision 729e08cb (git): Update default gems list at 981a8e89a3542e0a29206d7e159cb5 [ci skip]
-
03:28 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- As another note, this would be useful within CRuby itself. Right now there are lots of tests that run `assert_in_out_...
-
03:27 PM Revision 981a8e89 (git): [ruby/reline] Bump version to 0.5.3
- (https://github.com/ruby/reline/pull/686)
https://github.com/ruby/reline/commit/e9d5236c74 -
03:27 PM Bug #20154: aarch64: configure overrides `-mbranch-protection` if it was set in CFLAGS via environment
- Any update please? We are still carrying downstream patch in Fedora, so it would be nice to get this upstreamed
-
03:20 PM Revision 99a46d7f (git): [ruby/prism] Document UnlessNode fields
- https://github.com/ruby/prism/commit/eee8276ae6
-
03:18 PM Revision b62ab952 (git): [ruby/prism] Document `IfNode` fields
- - Adds documentation for the fields of the `IfNode`. Also updates the overall description to mention ternary expressi...
-
03:11 PM Revision b3350e3e (git): [ruby/prism] Document BreakNode fields
- https://github.com/ruby/prism/commit/7a3ed22f14
-
03:09 PM Feature #20384 (Closed): RubyVM::InstructionSequence.{new,compile} use --parser option
-
02:45 PM Revision 53a67efc (git): [ruby/reline] Separate prompt and input line in rendering
- (https://github.com/ruby/reline/pull/652)
* Separate prompt and input line in rendering
Often, only one of prompt a... -
01:53 PM Revision f7d1699f (git): [ruby/prism] Implement case equality on nodes
- https://github.com/ruby/prism/commit/dc121e4fdf
- 01:22 PM Revision 87b829aa (git): [ruby/prism] Document the `AliasGlobalVariableNode` fields
- https://github.com/ruby/prism/commit/35bc711069
- 01:13 PM Revision 5fd08b50 (git): [ruby/prism] Document `ArrayNode`, `SourceFileNode` fields
- https://github.com/ruby/prism/commit/0bdc566f67
-
12:45 PM Revision dae59003 (git): [ruby/prism] Fix up rdoc
- Fixes https://github.com/ruby/prism/issues/2572
https://github.com/ruby/prism/commit/a446580e75 -
11:47 AM Bug #20445 (Closed): Backport 2571d5376a38c333b8fe85f1f9b2f9c2422c0ad9 to ruby_3_3
- Building Ruby 3.3.1 prints the following warning:
```
regexec.c: In function 'match_at':
regexec.c:2598:59: warn... -
11:14 AM Revision 3fadd684 (git): Remove newlines of MIME encoded subject line
-
11:14 AM Revision 0b4bf059 (git): exit 1 if failed
-
10:23 AM Revision 724a0711 (git): Bump up 3.0.7
-
10:23 AM Revision 14510521 (git): merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:
- Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>... -
10:22 AM Revision 6c6dca74 (git): merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:
- Fix handling of reg->dmin in Regex matching
---
regexec.c | 10 ++++++++++
1 file changed, ... -
10:20 AM Revision 1945f8dc (git): Bump up 3.1.5
-
10:20 AM Revision bfe9164a (git): merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:
- Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>... -
10:20 AM Revision af471c0e (git): bump teeny
-
10:19 AM Revision 8f665664 (git): merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:
- Fix handling of reg->dmin in Regex matching
---
regexec.c | 10 ++++++++++
1 file changed, ... -
10:18 AM Revision 90b194b5 (git): merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:
- Fix Use-After-Free issue for Regexp
Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>... -
10:17 AM Revision 404f1e21 (git): merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:
- Fix handling of reg->dmin in Regex matching
---
regexec.c | 10 ++++++++++
1 file changed, ... -
10:16 AM Revision 989a2355 (git): Fix Use-After-Free issue for Regexp
- Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>
- 10:16 AM Revision 33e5b47c (git): Fix handling of reg->dmin in Regex matching
- 07:05 AM Revision 06769086 (git): * 2024-04-23 [ci skip]
-
07:04 AM Revision 36b6490f (git): Merge RDoc-6.4.1.1
-
07:04 AM Revision 26ec606b (git): Merge StringIO 3.0.1.2
-
07:03 AM Revision bd9424c7 (git): Merge StringIO 3.0.1.1
- 07:03 AM Revision 77791877 (git): * 2024-04-23 [ci skip]
-
07:02 AM Revision 7957a25e (git): Merge RDoc-6.3.4.1
- 07:02 AM Revision 45631622 (git): Bump github/codeql-action from 3.25.1 to 3.25.2
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.1 to 3.25.2.
- [Release notes](https:... -
06:59 AM Revision fff22848 (git): Consolitate redefined the method warning
- Currently redefining a method doesn't emit one but two warnings.
One at the location of the new method, and one at th... -
06:21 AM Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> `StopIteration.new(3)` does not set `result`, and no way to set it in Ru... -
05:02 AM Feature #20444 (Closed): Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- `StopIteration.new(3)` does not set `result`, and no way to set it in Ruby level.
```
$ ruby -e 'e = StopIteratio... -
04:38 AM Revision a5343586 (git): Traverse tmpdir under chdir
-
04:38 AM Revision 777daae0 (git): Shorten tmpdir path
-
04:11 AM Revision e61f76ce (git): Remove unused functions from `struct rb_parser_config_struct`
-
04:11 AM Revision 33929ef9 (git): Move encoding object conversion outside of parser
- Reduce the parser's dependence on `VALUE` and `rb_enc_from_encoding`.
- 03:23 AM Revision e15a1920 (git): Bump actions/upload-artifact from 4.3.2 to 4.3.3
- Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](ht... -
02:18 AM Revision 3aa04680 (git): Remove unused functions from `struct rb_parser_config_struct`
-
12:21 AM Revision afa0d585 (git): Adjust indent [ci skip]
04/22/2024
-
10:33 PM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Feature #20425] Optimize forwarding callers and callees
* Introduces optimization to avoid allocations regardin... -
10:20 PM Revision c7d9376c (git): Remove unused functions from `struct rb_parser_config_struct`
-
10:20 PM Revision 2992e107 (git): Refactor parser compile functions
- Refactor parser compile functions to reduce the dependence
on ruby functions.
This commit includes these changes
1. ... -
09:41 PM Feature #20444 (Feedback): Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- There was a https://bugs.ruby-lang.org/issues/11498 a while ago which was merged in, but I was surprised to find out ...
- 07:15 PM Revision ed9834ef (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.94 to 0.9.97.
- [Release notes](https://github.com/oxid... - 07:13 PM Revision 9eeb86df (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.94 to 0.9.97.
- [Release notes](https://github.com/oxid... -
06:33 PM Revision aeb08bc8 (git): YJIT: Fix String#setbyte crashing for converted arguments
- Previously, passing objects that respond to #to_int to `String#setbyte`
resulted in a crash when compiled by YJIT. Th... -
04:45 PM Feature #20443: Allow Major GC's to be disabled
- To add a little bit more context on @eightbitraptor's description. In some graph you see 3 groups:
- `oobgc-off`... -
04:02 PM Feature #20443 (Open): Allow Major GC's to be disabled
- [[Github PR #10598]](https://github.com/ruby/ruby/pull/10598)
## Background
Ruby's GC running during Rails requ... -
03:16 PM Revision 1bb7638e (git): YJIT: Fix shrinking block with assumption too much (#10585)
- * YJIT: Fix shrinking block with assumption too much
Under the very specific circumstances, discovered by a test cas... -
02:17 PM Revision aa5b53d2 (git): [ruby/prism] Consolidate integer fields into a single reflection class
- https://github.com/ruby/prism/commit/0156057580
-
10:41 AM Feature #15554: warn/error passing a block to a method which never use a block
- @ko1 here's the result (I ran it on the 5 most important sub components)
```
### Active Record
activemodel/lib... -
10:31 AM Feature #20415: Precompute literal String hash code during compilation
- We pushed a cleaned-up PR at https://github.com/ruby/ruby/pull/10596.
We settled on storing the hash code after th... - 07:42 AM Revision dde99215 (git): Fix handling of reg->dmin in Regex matching
-
07:29 AM Revision c38fc1bb (git): Fix Use-After-Free issue for Regexp
- Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com>
-
06:32 AM Revision f77618c1 (git): Expand `Qnone` and `Qnull` macros
- In the past, `Qnone` and `Qnull` had different values
in ripper context like below.
However 89cfc152071 removes the u... -
06:20 AM Bug #20442 (Rejected): Printing class variable inconsistent when using nested hashes
- Not a bug. For the behavior you want, in `Mock4`
```ruby
@val = Hash.new{|h, k| h[k] = Hash.new(0)}
```
Wit... -
06:09 AM Bug #20442 (Rejected): Printing class variable inconsistent when using nested hashes
- See attached test.rb. I have a class with a class variable. The idea is simple, increment the value and then print ou...
-
04:49 AM Bug #20438: String format "%\n" and "%\0" does not raise format error
- `"%\n"` has been treated as `"%%"` since 554b989ba162, probably Tue Aug 6 01:12:32 1996 according to the commit log....
-
04:27 AM Bug #20431 (Closed): Ruby 3.3.0 build fail with make: *** [io_buffer.o] Error 1
- The main cause is not only by old gcc.
Although newer gcc defines `__BYTE_ORDER__` indeed, but other compilers may... -
04:08 AM Feature #20215: Introduce `IO#readable?`
- > I'm not quite sure why you say this method is like eof? rather than closed?
We work with the interface and taxon... -
04:06 AM Feature #20215: Introduce `IO#readable?`
- Regarding naming, I had other ideas like `open?` or `connected?` but I think they have their own issues. I think my p...
-
04:00 AM Revision d42a8d66 (git): [DOC] Tweek a comment
-
04:00 AM Revision 44d2b594 (git): Extract `list_tree` as a method and separate from removals
-
04:00 AM Revision c65bc2e5 (git): Show left tmpdir recursively
- 03:41 AM Revision 9b6affa4 (git): Bump actions/checkout in /.github/actions/setup/directories
- Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.c... - 02:56 AM Revision c9732e7a (git): Bump actions/checkout from 4.1.2 to 4.1.3
- Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.c... -
12:56 AM Revision e59da9c3 (git): Windows does not have "/tmp" path usually
04/21/2024
-
11:47 PM Revision 9b580ee7 (git): [rubygems/rubygems] Clear temporary directory
- https://github.com/rubygems/rubygems/commit/4158034d89
-
02:33 PM Misc #20441: Should passing keyword args to method_name(*) be an error?
- Understanding better the role of `ruby2_keywords` is helping, thank you. It seemed to me that either way some compati...
-
08:58 AM Misc #20441: Should passing keyword args to method_name(*) be an error?
- > Why does this conversion to a Hash occur?
Because of backward compatibility, indeed. Even now, most of, say, Rai... -
08:47 AM Misc #20441: Should passing keyword args to method_name(*) be an error?
- Why does this conversion to a Hash occur?
I would guess for some sense of backward compatibility with gems / code ... -
08:33 AM Misc #20441: Should passing keyword args to method_name(*) be an error?
- `super` just passes the arguments with EXACTLY the same signature as the method it is in has.
Whether or not `sup... -
08:25 AM Misc #20441 (Open): Should passing keyword args to method_name(*) be an error?
- In the following method:
```rb
def foo(*)
super
end
```
it is apparently the intended ruby 3 behavior to ... -
08:15 AM Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
- Ok I see it now; `super` isn't passing the args as both forms, it's passing _only_ as a positional Hash. The `x: 1` i...
-
07:44 AM Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
- > What still seems off to me is that super is modifying the arguments.
If I understand correctly, what “modifies” ... -
07:02 AM Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
- Thanks both. I understand that Ruby 3 requires explicit handling of keyword arguments. What still seems off to me is ...
-
06:50 AM Revision f87c216c (git): Remove needless header file include
-
12:55 AM Revision 381ce130 (git): Remove unused functions from struct `rb_parser_config_struct`
04/20/2024
-
06:55 PM Revision f16c6ac4 (git): [ruby/irb] Stop using ExtendCommandBundle internally
- (https://github.com/ruby/irb/pull/925)
This module was used to extend both commands and helpers when they're not
sep... -
11:04 AM Bug #20440 (Closed): `super` from child class duplicating a keyword argument as a positional Hash
-
11:04 AM Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
- See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
it also... -
09:55 AM Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
- You need to make `foo` `ruby2_keywords` to let it work as same as 2.7 or earlier.
```rb
class Child < Base
rub... -
09:12 AM Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
- In fact it seems we can simplify this to just calling `Child.new.foo(x: 1)`; no need for the base class `foo!` method...
-
09:00 AM Bug #20440 (Closed): `super` from child class duplicating a keyword argument as a positional Hash
- Apologies for the verbose title, but that's the specific set of conditions that AFAICT are required to reproduce the ...
-
10:53 AM Revision 2b11bcb8 (git): [ruby/zlib] Clear temporary directory
- https://github.com/ruby/zlib/commit/1bed54dcf7
-
10:30 AM Revision af169472 (git): Remove unused function
-
09:08 AM Revision cee985ea (git): Remove unused functions from `struct rb_parser_config_struct`
-
09:08 AM Revision d07df856 (git): Parser and universal parser share wrapper functions
-
07:51 AM Feature #15554: warn/error passing a block to a method which never use a block
- > it's basically a variant of the super case.
I never thought about it this way, but I think it does make sense ye... -
06:58 AM Feature #15554: warn/error passing a block to a method which never use a block
- Eregon (Benoit Daloze) wrote in #note-40:
> With the example from @mame, I think adding `(&)` or `(&on_missing)` for... -
07:45 AM Revision 125e1ed5 (git): [ruby/irb] Remove exit command workaround, handle IRB_EXIT in
- debug_readline
(https://github.com/ruby/irb/pull/923)
* Remove exit and exti! command workaround when executed outsi... -
02:34 AM Revision 9f975566 (git): Fix method name
-
01:41 AM Revision 9555a997 (git): ensure ibf_load_setup is only passed String params
- In cases where RubyVM::InstructionSequence.load_from_binary() is
passed a param other than a String, we attempt to ca...
04/19/2024
-
07:25 PM Revision 23be6599 (git): [ruby/prism] Split parse result based on type
- https://github.com/ruby/prism/commit/17194e096d
-
06:20 PM Revision cb711df3 (git): [ruby/prism] Do not allow omitted hash keys with ! or ?
- https://github.com/ruby/prism/commit/06d358aa8d
-
06:05 PM Revision c7255ca2 (git): [ruby/prism] Fix up ruby_parser translation for dstr
- https://github.com/ruby/prism/commit/b0fa4b7cd8
-
05:35 PM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Misc #20434] Deprecate encoding-related regular expression modifiers (kddnewton)
* The relationship between reg... -
03:28 PM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Misc #20406] Question about Regexp encoding negotiation (andrykonchin)
* It isn't clear enough how a Regexp enco... -
02:12 PM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Feature #6648] Provide a standard API for retrieving all command-line flags passed to Ruby (eregon)
* @Dan0042 ... -
04:47 PM Revision c8783441 (git): Revert "YJIT: Optimize local variables when EP == BP" (#10584)
- This reverts commit 4cc58ea0b865f2fd20f1e881ddbd4c4fab0b072c.
Since the change landed call-threshold=1 CI runs have ... -
04:29 PM Revision 2e80ceb6 (git): [ruby/prism] Fix it parameters for parser translation
- https://github.com/ruby/prism/commit/2f3feb8d51
-
04:08 PM Bug #20439 (Open): Invalid string format with n$ flag is ignored in some case
- String format including n$ flag and no type specifier raises ArgumentError
~~~ruby
"%1$ " % 1 # invalid format char... -
04:06 PM Bug #20438 (Open): String format "%\n" and "%\0" does not raise format error
- `"%" % 1` raises `incomplete format specifier; use %% (double %) instead`
`"%=" % 1` raises `malformed format string... -
03:59 PM Feature #20437 (Open): Could be the licensing conditions be made less ambiguous?
- # Current state
The current [COPYING](https://github.com/ruby/ruby/blob/6cfd929034f1fe3d93160365505a8b88bef56159/C... -
03:01 PM Revision 6cfd9290 (git): [ruby/irb] Add MultiIRB commands test
- (https://github.com/ruby/irb/pull/929)
https://github.com/ruby/irb/commit/c6bbc424c3 -
02:17 PM Revision cd95f6b8 (git): Show left files info
-
02:09 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- I fully agree with the proposal of @Dan0042.
This is also needed for MSpec, which currently works around the lack of ... -
02:21 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- I'd like to revive this proposal.
The OP mentions calling a subcommand with the same options/flags as the current in... -
02:06 PM Revision c789e4c4 (git): Use isolated temporary directory in test-all too for RubyGems tests
-
02:02 PM Feature #15554: warn/error passing a block to a method which never use a block
- ko1 (Koichi Sasada) wrote in #note-42:
> I made strict mode option for trial (will remove soon)
> https://github.co... -
12:15 PM Feature #15554: warn/error passing a block to a method which never use a block
- Thank you for your patience, I finally understand.
---
On a separate note,
based on https://github.com/Shopif... -
12:11 PM Feature #15554: warn/error passing a block to a method which never use a block
- It doesn't matter where `perform_later` is invoked. `perform_later` do accept a block and will yield to it if provided.
-
12:04 PM Feature #15554: warn/error passing a block to a method which never use a block
- > I pasted the code above.
But you didn't paste the part where `perform_later` is invoked, that's what I meant. If... -
11:15 AM Feature #15554: warn/error passing a block to a method which never use a block
- > Is this the fix?
Yes.
> Without knowing where the block was defined it's a bit hard to say anything
I pas... -
11:10 AM Feature #15554: warn/error passing a block to a method which never use a block
- byroot (Jean Boussier) wrote in #note-44:
> So I went over Rails warnings after the last patch, I may have missed so... -
08:07 AM Feature #15554: warn/error passing a block to a method which never use a block
- So I went over Rails warnings after the last patch, I may have missed some, but there is now about 5 unique warnings ...
-
05:38 AM Feature #15554: warn/error passing a block to a method which never use a block
- > I don't understand that one. ...
As I said previously I made a mistake on that one. But here's the code that ca... -
04:31 AM Feature #15554: warn/error passing a block to a method which never use a block
- I made strict mode option for trial (will remove soon)
https://github.com/ruby/ruby/pull/10578
@byroot could you ... -
12:53 AM Feature #15554: warn/error passing a block to a method which never use a block
- byroot (Jean Boussier) wrote in #note-26:
> So I'd expect `block_given?` to qualify as "using the block". But I suppo... -
12:18 PM Revision f17268f7 (git): Extract tmpdir template
-
12:08 PM Revision 604c29e8 (git): [ruby/reline] Implement `show-all-if-ambiguous` feature
- (https://github.com/ruby/reline/pull/683)
https://github.com/ruby/reline/commit/0fe4fdc794 -
10:39 AM Revision 4218e6bb (git): Remove unused define popcount_bits
- 10:32 AM Revision e133d0c7 (git): [ruby/time] Document exception thrown by `Time.strptime`
- https://github.com/ruby/time/commit/f9d078082f
-
07:33 AM Revision 7951b349 (git): Suppress useless linker warnings totally on macOS
- 06:10 AM Revision 74cd61fb (git): Bump actions/upload-artifact from 4.3.1 to 4.3.2
- Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](ht... -
05:28 AM Revision 662ce928 (git): `RUBY_TRY_UNUSED_BLOCK_WARNING_STRICT`
- `RUBY_TRY_UNUSED_BLOCK_WARNING_STRICT=1 ruby ...` will enable
strict check for unused block warning.
This option is ... -
05:18 AM Revision 7522d1bf (git): [rubygems/rubygems] Keep backword compatibility of Bundler.require
- https://github.com/rubygems/rubygems/commit/f6f79f4c37
-
05:18 AM Revision acc326b7 (git): [rubygems/rubygems] Removed needless class name
- https://github.com/rubygems/rubygems/commit/a2f43d3756
-
05:18 AM Revision a95b46db (git): [rubygems/rubygems] Track HEAD changes for old PR proposal
- https://github.com/rubygems/rubygems/commit/e3d180620c
-
05:18 AM Revision 0a14fee0 (git): [rubygems/rubygems] Removed redundant begin
- https://github.com/rubygems/rubygems/commit/a9d22e5f46
-
05:18 AM Revision 09cbbe0e (git): [rubygems/rubygems] Add plugin hooks for Bundler.require
- https://github.com/rubygems/rubygems/commit/b373b7ed0d
-
05:12 AM Revision 1984db2d (git): Preserve old encinit.c if unchanged
-
05:12 AM Revision 05d681f9 (git): Make `Output.new` accepts keyword arguments
-
05:12 AM Revision 801e4a4f (git): Remove UPDATE_LIBRARIES
- It has not been used since e48375c112022fa321786ccd95dd4e718efd78a3.
-
05:12 AM Revision 3169c158 (git): Fix rubyspec-capiext dependency
- Not to build the rubyspec-capiext extension libraries again on the
next build after the build all extensions get buil... -
03:58 AM Revision 7f87ad9f (git): Refer autoconfigured endian macro (#10572)
- Remove the case `RB_IO_BUFFER_HOST_ENDIAN` is not defined.
-
01:39 AM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
- It's a bit off-topic but does anyone know why NotImplementedError doesn't inherit from StandardError? It seems like i...
-
01:20 AM Feature #20215: Introduce `IO#readable?`
- ioquatix (Samuel Williams) wrote in #note-13:
> In practice, persistent connections may sit in a connection pool for...
04/18/2024
- 11:32 PM Revision b7c4c886 (git): Update turbo_tests to 2.2.3 or higher
- commands/pristine_spec.rb is passed with the turbo_tests 2.2.3 because it the removed json dependency.
Related to ht... -
10:10 PM Feature #20425: Optimize forwarding callers and callees
- ko1 (Koichi Sasada) wrote in #note-6:
> My idea is simple because it is simple replacement with an array (and a hash... -
08:25 AM Feature #20425: Optimize forwarding callers and callees
- My idea is simple because it is simple replacement with an array (and a hash) to contain arguments (I only proposed l...
-
09:21 PM Revision 6443d690 (git): Don't mark empty singleton cc's
- These cc's aren't managed by the garbage collector so we shouldn't try
to mark and move them. -
09:11 PM Revision 64d0817e (git): Remove markable guard before pushing on ccs list
- CCS list doesn't mark CI objects, so it doesn't matter whether or not
they are markable before pushing. -
06:50 PM Misc #20434: Deprecate encoding-related regular expression modifiers
- Thanks @shyouhei — I definitely only meant encoding-relate modifiers. I really like the other ones!
-
11:41 AM Misc #20434: Deprecate encoding-related regular expression modifiers
- This seems a good simplification to me, I think the semantics of these encoding modifiers are confusing to most Rubyi...
-
09:23 AM Misc #20434: Deprecate encoding-related regular expression modifiers
- `/\x81\x40/.force_encoding("Windows-31J")` wouldn't work because `String#force_encoding` mutates the string, and Rege...
-
06:22 AM Misc #20434: Deprecate encoding-related regular expression modifiers
- I guess there might still be some use for the encoding-related modifiers in single-line scripts and the like. But I d...
-
12:23 AM Misc #20434: Deprecate encoding-related regular expression modifiers
- +1 for deprecating encoding modifiers, but they're not everything that a regexp can take. For instance `/foo/i` is a...
-
06:50 PM Revision ea7975c5 (git): Include coderange.h in encoding.h
- ruby_coderange_type is defined in ruby/internal/encoding/coderange.h so
we need to include it. - 06:37 PM Revision 2f812898 (git): Update default gems list at a51139230bfbd509b300fafc48e9a1 [ci skip]
-
06:36 PM Revision a5113923 (git): [ruby/prism] Bump to v0.26.0
- https://github.com/ruby/prism/commit/eadb09ef36
-
06:34 PM Revision 8f908a35 (git): [ruby/prism] "Fix" transpose issue in parser compiler
- https://github.com/ruby/prism/commit/593d637178
-
04:06 PM Revision 147ca958 (git): Implement equality for CI comparison when CC searching
- When we're searching for CCs, compare the argc and flags for CI rather
than comparing pointers. This means we don't ... - 03:32 PM Revision 8e08556f (git): chore: remove repetitive words (#10573)
- Signed-off-by: careworry <worrycare@outlook.com>
-
02:46 PM Revision ff599aea (git): [ruby/irb] Fix % escape in prompt format
- (https://github.com/ruby/irb/pull/927)
https://github.com/ruby/irb/commit/08eee25d28 -
02:35 PM Misc #20336: DevMeeting-2024-04-17
- @mame, I think I've been doing both things. Some things (like the rejected ticket for weighted samples) came from my ...
-
02:19 PM Revision 81240493 (git): Remove unused rb_size_pool_slot_size
-
02:04 PM Revision 28efc0c9 (git): YJIT: Fix canary crash with Array#<< (#10568)
- Previously, we got "We are killing the stack canary set by opt_ltlt"
from `$./miniruby --yjit-call-threshold=1 -e 'a ... -
12:18 PM Feature #15554: warn/error passing a block to a method which never use a block
- With the example from @mame, I think adding `(&)` or `(&on_missing)` for `Attribute::Attribute#value` would be good t...
-
06:07 AM Feature #15554: warn/error passing a block to a method which never use a block
- One approach that reduces false positives (invalid warnings) and potentially increases false negatives (missing warni...
-
03:14 AM Feature #15554: warn/error passing a block to a method which never use a block
- I was also in the camp that `(&)` should be just added, but after analyzing one warning of rails at the dev meeting, ...
-
02:34 AM Feature #15554: warn/error passing a block to a method which never use a block
- I encouraged the idea of filtering out the warnings by method name at yesterday's meeting.
There were several idea... -
01:34 AM Feature #15554: warn/error passing a block to a method which never use a block
- > I think https://github.com/ruby/ruby/pull/10559 is warning too little, I commented there.
Yes. It will reduce ma... -
11:48 AM Revision 57a262e3 (git): [ruby/irb] Accept " " for colorizing "\t" test
- (https://github.com/ruby/irb/pull/924)
https://github.com/ruby/irb/commit/c8182fa490 -
11:44 AM Bug #20319: Singleton class is being frozen lazily in some cases
- @nobu WDYT? Could you review that PR?
- 10:33 AM Revision 2e978c2c (git): [ruby/irb] Prompt specifiers documentation improvements
- (https://github.com/ruby/irb/pull/926)
https://github.com/ruby/irb/commit/e8ea8f253d -
08:17 AM Feature #18576 (Closed): Rename `ASCII-8BIT` encoding to `BINARY`
- Applied in changeset commit:git|3a7846b1aa4c10d86dc5a91c6df94f89d60bb0c3.
----------
Add a hint of `ASCII-8BIT` bein... -
08:17 AM Revision 3a7846b1 (git): Add a hint of `ASCII-8BIT` being `BINARY`
- [Feature #18576]
Since outright renaming `ASCII-8BIT` is deemed to backward incompatible,
the next best thing would ... -
08:10 AM Bug #20431 (Feedback): Ruby 3.3.0 build fail with make: *** [io_buffer.o] Error 1
- Thank you. Currently ruby requires gcc 7 or higher. (#19353) Could you somehow prepare a new gcc and retry to build i...
-
06:56 AM Feature #20396: ObjectSpace.dump_all(string_value: false): skip dumping the String contents
- I'm not sure reasoning by analogy with core dumps is sound here. If there was a way to be sure a core dump is strippe...
-
12:39 AM Feature #20396: ObjectSpace.dump_all(string_value: false): skip dumping the String contents
- I'm not sure if I'm in favor of this request then. ObjectSpace.dump_all is very much analogous to a coredump. Both ...
-
05:03 AM Misc #20287 (Closed): DevMeeting before or after RubyKaigi
- See https://bugs.ruby-lang.org/issues/20436
-
05:02 AM Misc #20436 (Open): DevMeeting at RubyKaigi 2024
- RubyKaigi 2024 will be at Okinawa, Japan, May 15th - 17th. We would like to try to hold a face-to-face dev meeting at...
- 03:46 AM Revision b3c59370 (git): Bump github/codeql-action from 3.25.0 to 3.25.1
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.0 to 3.25.1.
- [Release notes](https:... -
03:16 AM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- Ditto for pp.rb.
-
02:43 AM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- Or use `{a!: 1}` for symbol keys?
-
02:07 AM Revision a80f6466 (git): Explicily lock turbo_tests to 2.2.0 in Gemfile
- Ruby-core CI is having issues with turbo_tests 2.2.1. This version adds
json as a dependency and the `bundle install`... -
02:07 AM Revision bc652d75 (git): [rubygems/rubygems] Never write credentials to lockfiles
- https://github.com/rubygems/rubygems/commit/e8a363713e
-
02:07 AM Revision a3b7a7bc (git): [ruby/reline] Remove unused variable
- (https://github.com/ruby/reline/pull/684)
https://github.com/ruby/reline/commit/ce30c23730 -
01:27 AM Revision 0f1ef19f (git): [ruby/optparse] Fix typo [ci skip]
- https://github.com/ruby/optparse/commit/0aec9adfc5
-
01:27 AM Revision 88a88b56 (git): [ruby/optparse] [DOC] Package files for RDoc
- https://github.com/ruby/optparse/commit/b49cb996af
- 01:27 AM Revision 6ac8f6a1 (git): [ruby/ipaddr] Add IPAddr.cidr to return ip address in cidr notation
- https://github.com/ruby/ipaddr/commit/f5b006741f
-
12:54 AM Revision 07771c76 (git): Try increasing timeout-minutes for YJIT Ubuntu
-
12:41 AM Revision ac62c737 (git): gitignore lib/prism/reflection.rb
Also available in: Atom