Activity
From 10/01/2024 to 10/07/2024
10/07/2024
-
07:32 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- @nobu True, it would also be helpful to have a way to capture the original CWD.
Then that example would work just fine with `ruby -C subdir -e 'exec(RbConfig.ruby, *Process.ruby_args, "-e", "p :OK", chdir: Process.original_working_direc... -
07:21 PM Revision 05d3b727 (git): [DOC] Tweaks for Array#permutation (#11802)
-
05:57 PM Revision 4cbd2ab9 (git): [ruby/prism] Properly handle non-assoc operators
- https://github.com/ruby/prism/commit/dbd5c929d6
-
05:07 PM Revision 35711903 (git): YJIT: Add --yjit-mem-size option (#11810)
- * YJIT: Add --yjit-mem-size option
* Improve --help
* s/the region/this virtual memory region/
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
---------
Co-authored-by: Maxime Chevalier-Boisvert <max... -
04:38 PM Revision 8d1906e8 (git): [ruby/prism] Handle invalid commas in arguments, parameters, and arrays
- https://github.com/ruby/prism/commit/023e894b74
-
04:36 PM Revision a9086134 (git): [rubygems/rubygems] Fix `bundle.bat` re-execution
- It does not have ruby code, so we should not prepend `ruby` to the
command the re-execute it.
https://github.com/rubygems/rubygems/commit/e04e00f7bb -
03:52 PM Revision 8d359644 (git): [ruby/prism] Set contains_keywords flag for implicit gets($/, chomp: true) method call to handle -l CLI option
- https://github.com/ruby/prism/commit/717e41c87d
-
03:44 PM Revision b8c8529d (git): [ruby/prism] Fix up unary * binding power
- https://github.com/ruby/prism/commit/c1d23d4702
-
02:47 PM Revision a6cf1324 (git): Revert "Add debugging code to vm_objtostring in ASAN"
- This reverts commit c32fd1b5ed6709dfbed3d19cac881886576e231b.
The bug seems to have been fixed with 6acf03618a937f5302fbd3043f9c3420a49f8cb3. -
02:39 PM Revision fa547b80 (git): [ruby/prism] Fix up errors on invalid escape character syntax
- https://github.com/ruby/prism/commit/14c8559378
-
01:39 PM Revision 216d087f (git): Disable -Wunused-function for shared GC in gc/gc.h
- Shared GC might not use the private functions in gc/gc.h, so they will
show up as warnings for unused functions. This commit disables
-Wunused-function for these functions when building as shared GC. -
01:07 PM Revision 9ee0e112 (git): Mention `Hash#inspect` changes in NEWS.md
- This will likely cause some incompatibilities in various projects
we should try to make it as clear as possible for the next preview
release. -
01:00 PM Revision ef7d7ee7 (git): CI: Use full name of the label 'Documentation'
- Since `github.event.pull_request.labels.*.name` is an object filter,
the item to be searched in needs to be the same whole string, not a
partial string. - 11:25 AM Revision c818606d (git): [ruby/rdoc] Use normal `font-weight` for links
- (https://github.com/ruby/rdoc/pull/1188)
https://github.com/ruby/rdoc/commit/b53f0cb2ed -
10:24 AM Misc #20728 (Closed): Propose Eileen Uchitelle as a core committer
- I prepared email, slack, git.r-l.o, github and redmine.
-
10:20 AM Revision 67591b54 (git): Make rbconfig/sizeof keys US-ASCII
-
09:45 AM Revision dbb1abac (git): Make rbconfig/sizeof keys as literals
- These keys are made from string literals, and used only as keys of
hashes. -
09:39 AM Feature #20786: Flow chaining with "then" keyword
- You're right. Thats why I proposed to evaluate rhs conditionally.
The canonical form has a clear *beginning* and *end*, so I assume your comment refers to the beginningless form. Let's look the following example:
``` ruby
foo then bar... -
02:18 AM Feature #20786: Flow chaining with "then" keyword
- It looks to conflict inside `if`.
-
09:22 AM Revision 66b69d4e (git): [DOC] Move each `Float#to_s` example item by item
- Like as +half+ option in Float#round.
If the body of the preceding list items and the following code block
are indented at the same position, the code block is parsed as a list
continuation.
[Fixes GH-11683] - 08:20 AM Revision 7081838d (git): [DOC] String#sub! and String#gsub! return nil if no replacement occured
- 06:28 AM Revision 32c733f5 (git): [DOC] Add some descriptions for options of `Socket::tcp`
-
03:38 AM Misc #20746 (Closed): Request to migrate the json gem from flori/json repository to ruby/json
- flori transferred json repo under the Ruby organization today. We have https://github.com/ruby/json now.
-
02:06 AM Revision 773d140f (git): [Bug #20787] Check the separator in `IO#readline` as well as 3.2
-
01:04 AM Revision ec526c61 (git): json upstream is ruby/json now
-
12:37 AM Revision 0752fff2 (git): [ruby/reline] Add cursor keys for application keypad mode to default
- key bindings
(https://github.com/ruby/reline/pull/719)
* Add SS3 arrow sequence to default key bindings
* Remove wrong KDE arrow sequence
https://github.com/ruby/reline/commit/546a42522e
10/06/2024
-
11:35 PM Revision 8f5abcb0 (git): [ruby/reline] Allow utf-8 safe meta key mapping in inputrc
- (https://github.com/ruby/reline/pull/723)
Readline's convert-meta setting is utf-8 unsafe.
Allow assigning `"\M-char": key` to bind "\echar": key even if convert-meta is not enabled.
https://github.com/ruby/reline/commit/9844b99c6e -
06:53 PM Bug #20787 (Closed): IO#readline does not check its arguments like IO#gets and will read more data than limit
- In revision commit:d3574c117a637a4456aa3ee78e24d8df510b9355, the implementation of IO#readline was modified and consequently broke argument handling in a subtle way. It no longer checks that the encoding of the separator string is compa...
-
02:04 PM Feature #20786 (Rejected): Flow chaining with "then" keyword
- Hi,
I would like to propose using the *"then"* keyword to create chained flows.
### Background:
Original idea: https://bugs.ruby-lang.org/issues/20770#change-110056
However, the concept has changed slightly since then. I now assume... -
11:10 AM Revision 98620f6c (git): [ruby/irb] Change default completor from regexp to auto, try
- TypeCompletor and fallback to RegexpCompletor.
(https://github.com/ruby/irb/pull/1010)
https://github.com/ruby/irb/commit/bb6a99d815 -
04:07 AM Bug #20785: Should `a in b, and c` `a in b, or c` `a in b, rescue c` be syntax ok?
- I agree with tompng's proposal.
> I'm guessing that `a in b`, is parsed as `a in [b,]` but a trailing comma like that is just too wild for me
`in` (`=>`) can be considered right assignment.
And, I think it makes sense that a trail... -
12:55 AM Bug #20785: Should `a in b, and c` `a in b, or c` `a in b, rescue c` be syntax ok?
- tompng (tomoya ishida) wrote:
> I think these should be accepted like parse.y (prism rejects)
> ...
Can you explain your reasoning here? I'm guessing that `a in b,` is parsed as `a in [b,]` but a trailing comma like that is just too wi...
10/05/2024
-
11:29 PM Revision a6383fbe (git): CI: Simplify parsey.yml
-
07:46 PM Feature #20770: A *new* pipe operator proposal
- I think there are good reasons to want a `|>` operator in addition to (or instead of) `.{}`, but `foo.{ bar it }` is intriguing syntactic sugar. I think I like it. I just noticed that [it was rejected by Matz](https://bugs.ruby-lang.or...
-
05:58 PM Revision a1c22280 (git): Non-zero exit when error in loading shared GC
- Before this commit, when there is an error in loading the shared GC, an
error was outputted but it did not exit, causing it to segfault later on. -
05:02 PM Revision 80244548 (git): [ruby/reline] Fix tempfile leaks
- (https://github.com/ruby/reline/pull/757)
https://github.com/ruby/reline/actions/runs/11187507536/job/31104699331#step:13:1064
```
Children under /tmp/rubytest.m48l5o:
* -rw------- 1 101 2024-10-02 17:43:51 +0000 rubyfile20241002-60503-... -
05:02 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- To provide some datapoint, here's the impact on Rails test suite: https://github.com/rails/rails/pull/53202
I still love the change, and it really wasn't much work to fix, but I fear we may hear some complaints. -
04:55 PM Revision e6fa7c35 (git): [ruby/reline] Hash#inspect style has changed in ruby 3.4
- [[Bug #20433]](https://bugs.ruby-lang.org/issues/20433)
https://github.com/ruby/reline/commit/ca457ffb70 -
03:55 PM Revision a6da8d69 (git): [ruby/irb] Hash#inspect style has changed in ruby 3.4
- [[Bug #20433]](https://bugs.ruby-lang.org/issues/20433)
https://github.com/ruby/irb/commit/ecd08a527e -
02:29 PM Revision d17edf3a (git): [Bug #20705] Update `strtod` implementation
- The absence of either the integer or fractional part should be
allowed. -
07:47 AM Bug #20785 (Closed): Should `a in b, and c` `a in b, or c` `a in b, rescue c` be syntax ok?
- This code is accepted in parse.y but rejected in prism
~~~ruby
tap do
a in b, and c
a in b, or c
a in b, rescue c
end
# parsed as
tap do
(a in b,;) and c
(a in b,;) or c
a in b,;
rescue c
end
~~~
I think th... -
07:07 AM Revision f37e6d7f (git): Merge `rb_parser_enc_compatible_latter` into `rb_parser_enc_compatible`
-
07:06 AM Revision 4b065bbe (git): Move common code to `enc_compatible_latter`
-
06:59 AM Revision 9dbbd018 (git): Parser string encoding is always ASCII-compatible
-
06:59 AM Revision 6743e628 (git): [Bug #20784] Fix incomplete character syntax followed by EOF
-
06:21 AM Bug #20784: `?\` followed by EOF is parsed wrong
- https://github.com/ruby/ruby/pull/11805
-
06:17 AM Bug #20784 (Closed): `?\` followed by EOF is parsed wrong
- `?\` at EOF should be syntax error
~~~
% printf "p ?\\" | ruby --parser=parse.y
[nothing shown]
% printf "1 in a ?\\" | ruby --parser=parse.y -c
Syntax OK
~~~
With `--parser=prism`, `?\` at EOF is parsed as empty string, repor... -
06:17 AM Feature #17326 (Closed): Add Kernel#must! to the standard library
- I still do not see the need for this method. Although this method can be used for type assertion, there are no plans at this time to introduce features related to type declarations and assertion into the language core.
Matz.
-
06:13 AM Feature #20769 (Feedback): Add `Hash#transform_value`
- I don't see the real-world use-case for the proposed method.
Matz.
-
02:36 AM Revision e939f28c (git): Use quadrigraphs for a hash
- So that the closing bracket does not look like commented out.
- 02:10 AM Revision c50298d7 (git): Introduce `rb_io_blocking_region` which takes `struct rb_io` argument. (#11795)
- This does not change any actual behaviour, but provides a choke point for blocking IO operations.
* Update `IO::Buffer` to use `rb_io_blocking_region`.
* Update `File` to use `rb_io_blocking_region`.
* Update `IO` to use `rb_io_blocki...
10/04/2024
-
10:45 PM Revision e766cb3e (git): Suppress warnings in `time_init_parse` function
- When building Ruby on Ubuntu 22.04 and GCC 11.4.0, the following warning appeared.
And this change has suppressed warning.
```
compiling ../ruby/time.c
../ruby/time.c: In function ‘time_init_parse’:
../ruby/time.c:2650:21: warning: comp... -
09:56 PM Revision 563263a9 (git): [ruby/reline] Concatenate some rendeing test
- (https://github.com/ruby/reline/pull/749)
https://github.com/ruby/reline/commit/41b54140f4 -
08:11 PM Revision 87169dd4 (git): [DOC] Tweaks for Array#none? (#11788)
-
08:10 PM Revision b57bbf77 (git): [DOC] Tweaks for Array#one? (#11789)
-
08:01 PM Revision 648f558e (git): [rubygems/rubygems] Remove now unused realworld spec
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/2484267920 -
08:01 PM Revision b653be0b (git): [rubygems/rubygems] Update spec rubygems_ext
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/1ef33fa0af -
08:01 PM Revision e472d1a6 (git): [rubygems/rubygems] Remove extra space in BUNDLED WITH section
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/d8b5d05e46 -
08:01 PM Revision 40d7e5d2 (git): [rubygems/rubygems] Update rubocop to ruby 3.1
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/300fb96ffc -
08:01 PM Revision dfa11551 (git): [rubygems/rubygems] More rubygems 3.2.x removals
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/272f3464a3 -
08:01 PM Revision 7695bf18 (git): [rubygems/rubygems] Remove CorrectHashForLambdaOperator monkey patch
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/085bafd8d4 -
08:01 PM Revision db6e6155 (git): [rubygems/rubygems] Remove outdated conditionals from tests
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/06eec6d855 -
08:01 PM Revision bdc3363d (git): [rubygems/rubygems] Update required_ruby_version to 3.1
- 3.0 has been EOL since march, drop support for it before the 3.4 release is cut
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/fc1f03b06a -
07:04 PM Revision 30038656 (git): Fix intermediate array off-by-one error
- Co-authored-by: Adam Hess <HParker@github.com>
-
05:36 PM Revision f77517f4 (git): [DOC] Minor adjustment for Array#min
-
05:35 PM Revision c7dc7da2 (git): [DOC] Minor adjustment for Array#max
-
05:34 PM Revision 95ad0e5f (git): [DOC] Tweaks for Array#minmax (#11787)
-
05:01 PM Revision 5a95a690 (git): [ruby/prism] Fix up pattern parsing with trailing commas
- https://github.com/ruby/prism/commit/51f2df60ff
-
04:25 PM Feature #15554: warn/error passing a block to a method which never use a block
- > generic group name that can be used for other future warnings
> ...
I agree with both of the above; they are both desirable features to have in a warning system.
At the same time let's keep in mind that the existing categories are pre... -
02:02 PM Feature #15554: warn/error passing a block to a method which never use a block
- byroot (Jean Boussier) wrote in #note-69:
> I thought we were looking for a generic group name that can be used for other future warnings that may have false positives.
I think it's necessary to be able to enable/disable specific one... -
01:10 PM Feature #15554: warn/error passing a block to a method which never use a block
- I thought we were looking for a generic group name that can be used for other future warnings that may have false positives.
-
01:08 PM Feature #15554: warn/error passing a block to a method which never use a block
- I think `Warning[:strict_unused_block]` is good.
> What we really want to convey is that this group of warnings is more likely to have false positives.
Yes, but also it removes the not-fully-precise heuristic of "if any method with... -
01:05 PM Feature #15554: warn/error passing a block to a method which never use a block
- byroot (Jean Boussier) wrote in #note-66:
> "strict" works I suppose. What we really want to convey is that this group of warnings is more likely to have false positives.
Warning[:strict_unused_block]
Warning[:possible_unused_block]... -
12:53 PM Feature #15554: warn/error passing a block to a method which never use a block
- "strict" works I suppose. What we really want to convey is that this group of warnings is more likely to have false positives.
-
12:45 PM Feature #15554: warn/error passing a block to a method which never use a block
- I don' like the term "pedantic" either. How about "strict"? I mean `--warn-strict-unused-block` or `Waning[:strict_unused_block]`.
Matz.
-
04:22 PM Revision 75640037 (git): [ruby/prism] Fix up multi target parsing
- https://github.com/ruby/prism/commit/80cd335222
-
03:43 PM Misc #20774: Remove remaining locale dependent code from Windows port
- I opened https://github.com/ruby/ruby/pull/11799 to implement this issue.
-
12:50 PM Revision cd86393a (git): Assume VM locked in rb_mark_generic_ivar
- rb_gen_ivtbl_get locks the VM, but the VM must be locked during marking
so we can directly read from the generic_ivtbl without locking the VM. -
12:47 PM Misc #20728: Propose Eileen Uchitelle as a core committer
- Email send and PR opened here https://github.com/ruby/git.ruby-lang.org/pull/84
Thank you! -
12:36 PM Misc #20728: Propose Eileen Uchitelle as a core committer
- Sounds good, will do!
-
05:17 AM Misc #20728 (Assigned): Propose Eileen Uchitelle as a core committer
- @eileencodes Can you read [this](https://github.com/ruby/ruby/wiki/Committer-How-To#how-to-register-you-as-a-committer) and give your information to me?
@kddnewton Please mentor Eileen especially Feature request, Backport request and ... -
10:08 AM Bug #20783 (Assigned): --enable-shared and the rpath/runpath are broken on Linux on CRuby master
-
09:57 AM Bug #20783: --enable-shared and the rpath/runpath are broken on Linux on CRuby master
- https://github.com/ruby/ruby/pull/11797
-
09:40 AM Bug #20783: --enable-shared and the rpath/runpath are broken on Linux on CRuby master
- BTW this also shows the ruby/ruby CI does not currently test an installed ruby with `--enable-shared`.
It seems important to add a test to avoid such regressions. -
09:20 AM Bug #20783 (Closed): --enable-shared and the rpath/runpath are broken on Linux on CRuby master
- https://github.com/ruby/ruby-dev-builder/actions/runs/11095200420
```
$ ruby test_files/cli_test.rb
ruby: error while loading shared libraries: libruby.so.3.4: cannot open shared object file: No such file or directory
```
And inde... -
09:49 AM Revision 79a8750a (git): [Bug #20783] Insert a space between RPATHFLAG and LIBPATHFLAG
-
08:57 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- I prepared to sync `ruby/ruby` and `ruby/win32-registry`.
I found some question for your changes. Can you look https://github.com/ruby/win32-registry/pull/5 ?
- 08:25 AM Revision 86e8a36e (git): Revert "Direct access to `fptr->fd` should prefer to use the `internal/io.h`. (#11793)"
- This reverts commit 6ea0dcc9781931129e77540097712f6196d49fde that was accidentally merged.
- 07:44 AM Revision 6ea0dcc9 (git): Direct access to `fptr->fd` should prefer to use the `internal/io.h`. (#11793)
- 07:35 AM Revision c33cb9a5 (git): Update `io_spec.c` to use `rb_io_maybe_wait*` if possible. (#11792)
- 06:36 AM Revision c878843b (git): Better handling of timeout in `rb_io_maybe_wait_*`. (#9531)
-
05:57 AM Feature #20782 (Closed): Introduction of Happy Eyeballs Version 2 (RFC8305) in TCPSocket.new
- This is an implementation of Happy Eyeballs version 2 (RFC 8305) in `TCPSocket.new`.
See https://github.com/ruby/ruby/pull/11653
### Background
Prior to this implementation, I implemented Happy Eyeballs Version 2 (HEv2) for `Socket.... - 05:40 AM Revision 96d69d2d (git): Clarify `rb_io_maybe_wait` behaviour. (#9527)
-
03:34 AM Feature #17294 (Closed): Feature: Allow method chaining with Pathname#mkpath Pathname#rmtree
- This proposal has been approved by @akr. I merged https://github.com/ruby/ruby/pull/3705 now.
- 03:22 AM Revision 939ec9f0 (git): Bump github/codeql-action from 3.26.10 to 3.26.11
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.26.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.... -
03:21 AM Revision c5b1df75 (git): Skip related tests in PathnameInstanceTest
-
03:21 AM Revision 3c54b8e9 (git): Allow method chaining with Pathname#mkpath
- Currently in my code when I want to create a pathname object and create a path at the same time I must use tap
```
path = Pathname.new("/tmp/new").tap(&:mkpath)
```
I think it would be cleaner to be able to chain on the results of thes... -
02:16 AM Feature #17297 (Closed): Feature: Introduce Pathname.mktmpdir
- This feature request has been approved by @akr. I merged https://github.com/ruby/ruby/pull/3709 now.
-
02:15 AM Revision 08346e72 (git): Introduce Pathname.mktmpdir
- When I want to create a tmpdir I often want to manipulate it as a pathname. By introducing Pathname.mktmpdir I can get this behavior.
Currently I must:
```ruby
Dir.mktmpdir do |dir|
dir = Pathname(dir)
# ... code
end
```
I would l... -
02:07 AM Feature #17295 (Rejected): Feature: Create a directory and file with Pathname#touch
- `Pathname#touch` is rejected at [this reason](https://bugs.ruby-lang.org/issues/7361#note-5).
I asked this proposal to @akr again, he is still negative for `Pathname#touch`. - 01:09 AM Revision 3d4d5c8d (git): Add `IO::Buffer` tests for read and write with length & offset.
- 01:09 AM Revision bc482e63 (git): Fix size calcuation when offset is given + updated documentation.
-
12:51 AM Feature #20778 (Closed): ruby/repl_type_completor as a bundled gem
- Thank you. I confirmed that.
10/03/2024
-
09:55 PM Feature #20770: A *new* pipe operator proposal
- Has *"then"* but as a keyword been considered?
In the basic version it could appear as a *"begin..then..end"* block:
``` ruby
value = begin add value, 3 then square it then half it end
```
It looks like syntax highlighting is ready. *"b... -
09:02 PM Revision e90862f0 (git): [DOC] Correct documentation for Array#max
- The return value of Array#max is the maximum value per the block, not
from the block. -
09:02 PM Revision 3ece042c (git): [DOC] Tweaks for Array#min (#11786)
-
08:20 PM Revision 8e7df4b7 (git): Rename size_pool -> heap
- Now that we've inlined the eden_heap into the size_pool, we should
rename the size_pool to heap. So that Ruby contains multiple heaps, with
different sized objects.
The term heap as a collection of memory pages is more in memory
managem... -
08:20 PM Revision b58a3645 (git): Inline eden_heap into size_pool
- After the individual tomb_heaps were removed in favour of a global list
of empty pages, the only instance of rb_heap_t left is the eden_heap
within each size pool.
This PR inlines the heap fields directly into rb_size_pool_t to remove
i... -
07:45 PM Revision cd71fa96 (git): Remove else case for shared-gc make target
-
05:43 PM Revision 568511f3 (git): [ruby/prism] Handle single global variable character name
- https://github.com/ruby/prism/commit/7a0af49997
-
05:30 PM Revision f8568fbd (git): [ruby/prism] Pop lex mode for heredocs in the lexer, not the parser
- https://github.com/ruby/prism/commit/5dd36b979e
-
04:04 PM Bug #20433 (Closed): Hash.inspect for some hash returns syntax invalid representation
- Yes, I have merged it since @matz said at the dev meeting today that he still wants to try this change in the next preview release. So closing.
However, it may be reverted if the impact of the incompatibility is too large. -
03:49 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- @tompng @mame what is the status on this? I see https://github.com/ruby/ruby/pull/10924 has been merged, should this ticket be closed?
I personally love this change, but I have a lot of tests to update as a result, so I'd like to know... -
03:58 PM Revision 77db3781 (git): Fix indentation in test_after_gc_start_hook_with_GC_stress
-
03:52 PM Revision ac0a8c62 (git): [ruby/reline] Make rendering test faster using updated yamatanooroti
- (https://github.com/ruby/reline/pull/747)
https://github.com/ruby/reline/commit/7534f7f92a -
03:15 PM Misc #20717 (Closed): DevMeeting-2024-10-03
-
02:27 PM Bug #20620 (Closed): singleton_method undefined for module using "extend self"
- Applied in changeset commit:git|9986a7c3930437bc9d9b88736c22695585aa6c48.
----------
Make Object#singleton_method return methods in modules included in or prepended to singleton class
To simplify the implementation, this makes Object#s... -
06:53 AM Bug #20620: singleton_method undefined for module using "extend self"
- @jeremyevans0 Thank you. Let us merge the pull-request, and experiment with the preview.
Matz.
-
02:27 PM Revision 9986a7c3 (git): Make Object#singleton_method return methods in modules included in or prepended to singleton class
- To simplify the implementation, this makes Object#singleton_method
call the same method called by Object#method (rb_obj_method), then
check that the returned Method is defined before the superclass of the
object's singleton class. To ke... -
01:28 PM Revision dc83de49 (git): [DOC] Add missing word
-
01:28 PM Revision f56be428 (git): [DOC] Add pound sign before all <=> methods
-
12:52 PM Revision 66124cdb (git): [ruby/prism] Use `partial_script` for the parser translators
- Followup to https://github.com/ruby/prism/pull/3079
https://github.com/ruby/prism/commit/68f434e356 -
12:51 PM Feature #20778: ruby/repl_type_completor as a bundled gem
- Thank you. I added owner grant.
-
09:05 AM Feature #20778: ruby/repl_type_completor as a bundled gem
- I added `repl_type_completor` at https://github.com/ruby/ruby/commit/50b32a3c9206df2ec7bcb4c54a59844c27f1c144
@tompng Can you add owner grant of https://rubygems.org/gems/repl_type_completor to me? I will not release without maintaine... -
07:29 AM Feature #20778: ruby/repl_type_completor as a bundled gem
- I'll support this.
-
07:25 AM Feature #20778: ruby/repl_type_completor as a bundled gem
- Accepted. Looking forward to making it public.
Matz.
-
06:41 AM Feature #20778 (Assigned): ruby/repl_type_completor as a bundled gem
-
12:38 PM Feature #20669 (Closed): Add Marshal::MarshalError class to differentiate ArgumentErrors
-
09:46 AM Feature #20669: Add Marshal::MarshalError class to differentiate ArgumentErrors
- In the meantime, Dalli merged a change that sounds a lot like Eregon's comment. https://github.com/petergoldstein/dalli/pull/1011
My immediate needs are met, and I will close this feature request. EDIT: I can't find a button to close th... - 12:29 PM Revision cd96af2c (git): Add `IO::Buffer` tests for read and write with length & offset. (#11779)
-
12:27 PM Revision 218445bb (git): [ruby/rdoc] Fix ToRdoc#accept_table
- (https://github.com/ruby/rdoc/pull/1184)
https://github.com/ruby/rdoc/commit/7b68545094 -
11:49 AM Revision b421964b (git): Remove unused macros
-
10:38 AM Revision 9d4af312 (git): [ruby/reline] Rename `matches?` as `match?`
- (https://github.com/ruby/reline/pull/753)
https://github.com/ruby/reline/commit/9230fe162d -
09:49 AM Misc #20781 (Closed): DevMeeting-2024-11-07
- # The next dev meeting
**Date: 2024/11/07 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/master/2024/DevMeeting-2024-11-07.md
- Dev meeting *IS NOT* a decision-making place. All decisions should be done at t... -
09:47 AM Revision 5bf8a530 (git): Specify commit hash of debug in bundled_gems
-
09:47 AM Revision c94815ba (git): Update spec/ruby/ for colon-style hash inspect
-
09:47 AM Revision af1c356c (git): Update default gem test for colon-style hash inspect
-
09:47 AM Revision f7343b63 (git): prettyprint hash with colon style
-
09:47 AM Revision 7237af75 (git): Update ruby test for colon-style hash inspect
-
09:47 AM Revision f4e54892 (git): Update bootstraptest test for colon-style hash inspect
-
09:47 AM Revision a8a05912 (git): Hash#inspect with colon style
-
09:44 AM Feature #17296 (Feedback): Feature: Pathname#chmod use FileUtils.chmod instead of File
- It was discussed at the dev meeting.
`File.chmod` and `FileUtils.chmod` have an incompatibility in their handling of symbolic links: `File.chmod` changes the permissions on the target of the symbolic link, while `FileUtils.chmod` chan... -
09:11 AM Feature #20705: Should "0.E-9" be a valid float value?
- @nobu Could you open a PR based on your implementation https://github.com/nobu/ruby/tree/float-dtoa ?
My implementation doesn't accept `0xf.p0` but your implementation does. -
08:58 AM Feature #20705: Should "0.E-9" be a valid float value?
- I'd like to enhance string to float conversion in general. I might introduce small incompatibility, but impact will be small.
Matz. -
09:10 AM Bug #20693: Dir.tmpdir should perform a real access check before warning about writability
- I think the reason why `File.writable?` is used should be described in the source.
-
08:53 AM Feature #20673 (Feedback): Enable native SOCKS support by default
- 08:41 AM Revision 2c0149d3 (git): Update bundled gems list at 6435dfce5fcddd22d3570eda2c60cc [ci skip]
-
08:41 AM Revision 6435dfce (git): style
-
08:41 AM Revision 50b32a3c (git): Added repl_type_completor as bundled gems
-
07:12 AM Feature #20738: Removing a specific entry from a hash literal
- I don't want to add a special value (Hash::DROP) nor special syntax (?key:) here. Use `h = {foo: 1}; h[:bar] = 2 if bar?`.
Matz.
- 07:00 AM Revision 7f251ce5 (git): Update bundled gems list as of 2024-10-03
-
06:43 AM Feature #18127 (Closed): Ractor-local version of Singleton
- I have been merged https://github.com/ruby/singleton/pull/4
- 06:04 AM Revision 1b3f18af (git): each_address should now resolve for AAAA first
- AAAA over A is standards track behaviour as per RFC 6724.
-
05:20 AM Revision 4cd893b0 (git): [flori/json] Optimize key type check in `json_object_i`
- Rather than checking the class we can check the type.
This is very subtly different for String subclasses, but I think it's
OK.
We also save on checking the type again in the fast path.
https://github.com/flori/json/commit/772a0201ab -
05:20 AM Revision 57282c62 (git): [flori/json] Optimize `fbuffer_inc_capa`
- On my `JSON.dump` benchmark it shows up as 6% of runtime, compared
to 40% for `convert_UTF8_to_JSON`.
Since the vast majority of the time this function is called we
still have some buffer capacity, we might as well check that
first and ... -
05:20 AM Revision 630c6813 (git): [flori/json] JSON.dump: avoid redundant UTF-8 validation
- Given that we called `rb_enc_str_asciionly_p`, if the string encoding
isn't valid UTF-8, we can't know it very cheaply by checking the
encoding and coderange that was just computed by Ruby, rather than
to do it ourselves.
Also Ruby migh... -
04:44 AM Misc #20728: Propose Eileen Uchitelle as a core committer
- OK, welcome Eileen.
Matz.
-
04:43 AM Feature #20750: Allow rb_thread_call_with_gvl to work when thread already has GVL
- OK, I accept to make `rb_thread_call_with_gvl` to acquire GVL only when needed. @ko1 worried it may encourage bad design pattern, but not allowing `rb_thread_call_with_gvl` with GVL does not improve the situation.
So I accept it, you ha... - 04:11 AM Revision 835ac8a4 (git): Update bundled gems list at a048090bd591ef874f36effb2065d6 [ci skip]
-
04:10 AM Revision a048090b (git): Update bundled_gems
-
04:09 AM Feature #10459 (Rejected): [PATCH] rfc3339 method for Time
- I confirmed this to @akr again. He said "rfc3339 is slightly different from iso8601. I don't want to introduce this alias".
-
03:38 AM Revision d40db5cf (git): [DOC] [pty] Add clean up to `PTY.spawn`
-
03:16 AM Revision 9bd2f30d (git): [ruby/reline] Fix FD leaks (https://github.com/ruby/reline/pull/752)
- `PTY.spawn` with a block detaches the spawned process and leaves it
running in background even after exiting the given block. It is the
responsibility of the caller to clean up the yielded IOs and PID.
https://github.com/ruby/ruby/acti... - 02:33 AM Revision 75c4ac33 (git): Update `IO::Buffer` documentation. (#11737)
- Update documentation.
-
12:40 AM Revision e5c26b0f (git): Stop skipping broken tests
-
12:40 AM Revision 8877e9d9 (git): Update rbs test
10/02/2024
-
11:53 PM Bug #20780 (Open): related to #20779 -- crash creating large number of concurrent-ruby promises
- The attached script crashes (vs. the hang in issue #20779). I believe this is also a OSX specific resource issue, but have been unable to craft a better script to demonstrate the problem.
I've included a script to reproduce, the st... -
11:31 PM Bug #20779 (Closed): Un-rescuable thread creation limit on Mac
- Thread.new will hang the ruby process once past the OSX limit. It does not appear that's possible to trap and rescue failed thread creation.
It seems the Mac has a limit to the number of threads it supports and googling the issue sug... -
11:20 PM Feature #17326: Add Kernel#must! to the standard library
- Looks like PR was opened at https://github.com/ruby/ruby/pull/11772.
-
09:33 PM Revision e7734615 (git): [rubygems/rubygems] Remove compatibility code with old RubyGems
- https://github.com/rubygems/rubygems/commit/f11e42a3c5
-
08:52 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- > OK, I'll revert all related changes if that's what you said that. I'm considering how to suppress needless warning with your request, But I can't collaborate with your tone.
I don't see anything wrong about @Earlopain 's tone. And h... -
07:43 PM Revision d3e2d23c (git): Fix compilation when RGENGC_CHECK_MODE >= 4
- the mark_function_data callback was moved from the ractor to the VM.
-
06:44 PM Revision e7cf2e76 (git): [DOC] Fix indentation in documentation for Array#sort!
-
06:39 PM Revision 77056674 (git): [ruby/prism] Fix up binding power for singleton method receiver
- https://github.com/ruby/prism/commit/f29ceae5cf
-
05:58 PM Feature #20778 (Closed): ruby/repl_type_completor as a bundled gem
- When gem repl_type_completor is installed, `irb --type-completor` will provide better completion in IRB.
~~~
irb(main):001* [1, 2, 3].map(&:ch█
|:chr|
~~~
~~~
irb(main):001* [1, 2, 3].map(&:chr).each ... -
05:54 PM Revision 253b76ec (git): [DOC] Tweaks for Array#max (#11768)
-
05:47 PM Revision 2f5ab4c4 (git): YJIT: Merge `impl VALUE` blocks [ci skip]
- Reported by Kevin Menard.
-
05:47 PM Revision 09761e47 (git): [ruby/reline] Fix incremental search cancel bug
- (https://github.com/ruby/reline/pull/748)
https://github.com/ruby/reline/commit/bf0f8fa333 -
05:36 PM Revision 8f4277f4 (git): [ruby/reline] Add a timeout to cursor_pos
- (https://github.com/ruby/reline/pull/750)
https://github.com/ruby/reline/commit/dd4a654e5d -
05:19 PM Revision 9f47f0eb (git): [DOC] Tweaks for Array#length
-
05:03 PM Feature #20770: A *new* pipe operator proposal
- @AlexandreMagro I don’t think this analogy is suitable here.
Of course, there are operators that aren’t convenient to use in chaining (though, I should admit to the sin of sometimes just using `the.chain.with.+(argument).like.that`, ... -
04:14 PM Feature #20770: A *new* pipe operator proposal
- zverok (Victor Shepelev) wrote in #note-28:
> What would `|>` bring here?
> ...
I’d like to turn the question around and ask what would be returned from the following code?
```ruby
array_a = [{ name: 'A', points: 30 }, { name: 'B', poin... -
03:19 PM Feature #20770: A *new* pipe operator proposal
- I agree with @zverok and am not quite sold on the value of `|>` over the existing `.then{}` if we still have to explicitly specify implicit args like `it/_1/etc` (unlike elixir).
I am intrigued by the `.{}` syntax though but wish it did... -
06:34 AM Feature #20770: A *new* pipe operator proposal
- A couple of my counterpoints to `|>` (and towards `.{}`, if we do need syntax sugar in this place at all):
While `|>` sure exists in other languages, we need to look into how it plays with the rest of the code/semantics of _our_ langu... -
04:13 PM Bug #20776: [PRISM] Pattern matching syntax error message
- What's happening with the error message is that it's seeing the `$g` and determining that it's not a valid pattern, so it assumes the pattern is missing. Then it's determining that there is no statement delimiter (newline or semicolon) b...
-
11:53 AM Bug #20776: [PRISM] Pattern matching syntax error message
- The same code ~~segfaulted~~ crashed due to "Unexpected node type" in 3.3.
Probably some backports are needed. -
11:51 AM Bug #20776 (Closed): [PRISM] Pattern matching syntax error message
- Syntax error is fine, but is really expecting end-of-input there?
```
$ ruby -v -e '1 => $g'
ruby 3.4.0dev (2024-10-01T14:59:58Z master 169a5ee99e) +PRISM [arm64-darwin23]
-e:1: warning: possibly useless use of a variable in void c... -
04:02 PM Revision 99620b98 (git): fake.rb: Copy options in RUBY_DESCRIPTION to the fake string
- The `RUBY_DESCRIPTION_WITH` macro has been removed already, so there
are no more descriptions strings with rjit/yjit enabled. -
03:47 PM Revision bf8a8820 (git): Deduplicate RGENGC_CHECK_MODE into gc/gc.h
-
03:38 PM Bug #20777 (Closed): 3.3: `RUBY_DESCRIPTION` is corrupt when `--yjit` and `--parser=prism`
-
03:37 PM Bug #20777 (Closed): 3.3: `RUBY_DESCRIPTION` is corrupt when `--yjit` and `--parser=prism`
- Note the last garbages.
```shell-session
$ ruby3.3 -W0 --yjit --parser=prism -e 'p RUBY_DESCRIPTION'
"ruby 3.3.5 (2024-09-03 revision ef084cc8f4) +YJIT +PRISM [arm64-darwin\x00\x00\x00"
```
commit:76ea5cde2a0f4834a5228104249b6b3... -
03:27 PM Revision 2610bf01 (git): [ruby/prism] Fix up doubled range in arguments
- https://github.com/ruby/prism/commit/aee2de91a3
-
03:12 PM Revision 609fdde2 (git): [DOC] Tweaks for Array.intersect? (#11744)
-
03:11 PM Revision a7c04a31 (git): [DOC] Tweaks for Array#intersection (#11745)
-
02:55 PM Revision 75ab01f3 (git): [DOC] Tweaks for Array#last (#11748)
-
02:47 PM Revision 2e2520ef (git): [ruby/prism] Fix up beginless ranges in method definitions
- https://github.com/ruby/prism/commit/ab9d80987a
-
01:28 PM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- I opened a pull request to merge nobu's and my tests together: https://github.com/ruby/win32-registry/pull/3
@hsbt You left me as the only maintainer for win32-registry. Is it expected that I maintain this library from now on?
How ab... -
12:31 PM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- > The test file in https://github.com/larskanis/win32-registry seems quite different from the one in ruby/ruby.
Oh this is new! I created the win32-registry repository 10 months ago, when your test wasn't written. So I wrote my own. I... -
11:47 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- The test file in https://github.com/larskanis/win32-registry seems quite different from the one in ruby/ruby.
Is it intentional? -
09:37 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- Thanks! I transferred it to https://github.com/ruby/win32-registry. I keep you as admin on ruby/win32-registry.
-
09:27 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- @hsbt I had to move the repository to an organization, in order to give you admin access. The new address is: https://github.com/oneclick/win32-registry
-
08:56 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- @larskanis Thanks to invite me for https://github.com/larskanis/win32-registry. But I can't see `Settings` tab yet. Can you make me `admin` of that repository?
I consider to extract `net-http-sspi` from `win32/sspi` with nobu because ... -
04:52 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- >My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
Can you add my GitHub account (hsbt) to that repository as admin? After that, I will transfer to under the... -
03:10 AM Feature #20775 (Assigned): Gemify win32-registry, win32-sspi and win32-resolv
- >win32-registry
I agreed your proposal.
@nobu Do you have any concern?
> ...
I'm +1 to @nobu's opinion. we should remove it from `ruby/ruby`.
>win32-resolv
As nobu said, we already bundled it to resolv gem.
-
02:38 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- ### win32/sspi
I'd propose to just drop it.
It has been unmaintained for years, not only `A` you mentioned (e.g., `Fixnum`), but no body noticed it.
### win32/resolve
it is included in [ruby/resolv](https://github.com/ruby/resolv) ... -
01:15 PM Revision e41e4bac (git): [DOC] Tweaks for Array#inspect (#11743)
-
01:03 PM Revision c1d6d55f (git): Assert in only one place just after adding an argument
-
12:54 PM Revision 6acf0361 (git): Mark iseq keyword default values during compilation
- During compilation, we write keyword default values into the iseq, so we
should mark it to ensure it does not get GC'd.
This might fix issues on ASAN like
http://ci.rvm.jp/logfiles/brlog.trunk_asan.20240927-194923
==805257==ERROR: ... -
11:43 AM Revision 3e1021b1 (git): Make default parser enum and define getter/setter
-
11:43 AM Revision 4e219d8f (git): Split appending options to ruby_description
- It's becoming tedious to map each format specifier to an argument.
-
10:37 AM Revision acbdb309 (git): [rubygems/rubygems] Fix error in one source when fetching dependency APIs clearing results from all sources
- https://github.com/rubygems/rubygems/commit/0549ddbcc5
- 09:04 AM Revision 7469b830 (git): Update bundled gems list at bb97061f65d620b225d7638400642e [ci skip]
-
09:03 AM Revision bb97061f (git): SKip failing tests that are caused by unknown IOError
-
09:03 AM Revision 973d4702 (git): Update bundled_gems
-
08:32 AM Revision fe8d7ca8 (git): [DOC] Alias Float#magnitude to abs
-
08:07 AM Revision b7a33aef (git): [DOC] Keep example styles consistent
- The examples of chaining for other methods, such as #tap have the dot at
the start of the line, while #then has it at the end of the previous
line. Updated this to have consistent style in Kernel docs. -
08:07 AM Revision bae3d681 (git): [DOC] Remove repeated examples for Kernel#then
-
08:06 AM Revision 5eb7cbf4 (git): [DOC] Alias Kernel#yield_self to #then
- 05:36 AM Revision d2ec0e80 (git): [ruby/fiddle] test memory-view: ensure releasing in test
- It's for avoiding calling release on exit via GC. If it's happen, Ruby
will be crashed because Fiddle::MemoryView's finalizer may refer other
Ruby object. In exit phrase, the referred Ruby object may be already
freed.
https://github.com... - 05:36 AM Revision c9910851 (git): [ruby/fiddle] test: remove fragile memory leak tests
- https://github.com/ruby/fiddle/commit/0bfcd02bef
-
05:34 AM Revision 9d4e7b37 (git): Make spec file for env helpers more generic
-
05:34 AM Revision 50001380 (git): [rubygems/rubygems] Fix `bundler/inline` resetting ENV
- https://github.com/rubygems/rubygems/commit/72d8d4dbba
-
05:34 AM Revision a3929a9c (git): [rubygems/rubygems] The `BUNDLER_SETUP` env should also be cleaned up
- https://github.com/rubygems/rubygems/commit/47b7e50f64
-
05:34 AM Revision 49483904 (git): [rubygems/rubygems] Make sure MissingSpecVersionError#to_s prints exception message
- Gem command loading errors rely on `#to_s` on the raised exception, but
in the case of `MissingSpecVersionError` that was only the exception
name, making it printed twice and no message at all.
Before:
```
ERROR: Loading command: inst... -
05:34 AM Revision 02d50d9c (git): [rubygems/rubygems] Simplify command loading
- https://github.com/rubygems/rubygems/commit/95f60f0e60
-
05:34 AM Revision 3d1eb62b (git): [rubygems/rubygems] Standarize "ins" test command too
- https://github.com/rubygems/rubygems/commit/517e9a8669
-
05:34 AM Revision 8e73609c (git): [rubygems/rubygems] Fix weirdness of "interrupt" test command
- https://github.com/rubygems/rubygems/commit/0a75590ac9
-
05:33 AM Revision 63f31a9e (git): [ruby/singleton] Fixed double assignment
- https://github.com/ruby/singleton/commit/9d3c77a868
-
05:13 AM Revision 30775d0b (git): [DOC] Fix typo in Forwardable docs
-
03:18 AM Revision a8a921ae (git): [ruby/irb] Use correct binding in debug mode
- (https://github.com/ruby/irb/pull/1007)
In debug command, IRB's context was using wrong binding.
Some code colorization, command detection failed because binding.local_variable returned wrong value.
https://github.com/ruby/irb/commit/6...
10/01/2024
-
10:46 PM Feature #20770: A *new* pipe operator proposal
- I strongly agree that new additions should be thoroughly evaluated and aligned with the philosophy of the language ("A programmer's best friend"). I've found the discussion so far to be very productive, and my opinion is that:
I don't... -
07:43 PM Feature #20770: A *new* pipe operator proposal
- [The Ruby-lang homepage](https://www.ruby-lang.org) states that Ruby has
> a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
And on the [about page](https://www.ruby-lang.org/en... -
07:02 PM Feature #20770: A *new* pipe operator proposal
- @Eregon this example (at least for me) is just an easy target for discussion (because it uses standard libraries, is easily reproducible, and demonstrates the multi-step realistic process that uses several libraries at once).
I believ... -
06:18 PM Feature #20770: A *new* pipe operator proposal
- One concern with so many `then {}` is that's a non-trivial overhead for execution (2 method calls + 1 block call for `then { foo(it) }` vs 1 method call for `foo(var)`).
So if it's added I think it should translate to the same as using ... -
05:47 PM Feature #20770: A *new* pipe operator proposal
- ufuk (Ufuk Kayserilioglu) wrote in #note-21:
> I tend to agree with @Dan0042 on this one, this seems to go against the nature of Ruby. In Ruby, an expression like `URI.parse(it)` is always eagerly evaluated, except when it is inside a b... -
05:19 PM Feature #20770: A *new* pipe operator proposal
- I think that this is one of the more interesting approaches to a pipeline operator in Ruby as it is just syntax sugar. As I am understanding it:
```ruby
foo
|> bar(_1, baz)
|> hoge(_1, quux)
```
would be treated by the parser t... -
05:09 PM Feature #20770: A *new* pipe operator proposal
- I tend to agree with @Dan0042 on this one, this seems to go against the nature of Ruby. In Ruby, an expression like `URI.parse(it)` is always eagerly evaluated, except when it is inside a block. This is not true in other languages; ones ...
-
04:13 PM Feature #20770: A *new* pipe operator proposal
- I'm not a big fan of this pipe operator idea, but at least the idea of using `it` is a good one; it solves many problems with previous proposals.
```ruby
foo = 42
1 |> foo |> BAR
#foo should be localvar but somehow is parsed as met... -
01:08 PM Feature #20770: A *new* pipe operator proposal
- vo.x (Vit Ondruch) wrote in #note-18:
> Right, this was far fetched and would not work admittedly. But that is why I proposed the `client_api_url.to(URI)`, because after all, this is IMHO mostly about type conversion. Why would I ever w... -
09:55 AM Feature #20770: A *new* pipe operator proposal
- zverok (Victor Shepelev) wrote in #note-17:
> I don’t think it is realistic, generally. I mean, convert every `f(g(x))` to “`x` should have method `g`, and the result should have method `f`, so you can write `x.g.f` always (or in most w... -
08:24 AM Feature #20770: A *new* pipe operator proposal
- vo.x (Vit Ondruch) wrote in #note-14:
> AlexandreMagro (Alexandre Magro) wrote in #note-7:
> ...
I don’t think it is realistic, generally. I mean, convert every `f(g(x))` to “`x` should have method `g`, and the result should have metho... -
07:55 AM Feature #20770: A *new* pipe operator proposal
- > We could expand the syntax to treat `.{}` as `.then{}`, similar to how `.()` is `.call()`.
I really like this idea. Yes, it is not “how it is in other languages” yet it has a deep internal consistency with other language elements a... -
07:07 AM Feature #20770: A *new* pipe operator proposal
- Not mentioning, the example ignores error handling, which would be IMHO the biggest problem in real life example
-
07:02 AM Feature #20770: A *new* pipe operator proposal
- AlexandreMagro (Alexandre Magro) wrote in #note-7:
To me it just demonstrates that the APIs are likely incomplete and don't provide methods for easy conversion. We have a lot of conversion methods such as `#to_str`, `#to_json`, ... Bu... -
05:56 AM Feature #20770: A *new* pipe operator proposal
- When pipeline operator was proposed previously (#15799), we briefly spoke of the idea of a block notation without a closing bracket ([the meeting log](https://github.com/ruby/dev-meeting-log/blob/c908bf7e7be60af5c5feabb544541de5f7d003ef/...
-
04:49 AM Feature #20770: A *new* pipe operator proposal
- FYI: https://github.com/tc39/proposal-pipeline-operator
is similar idea. -
07:47 PM Revision 5edc3219 (git): [DOC] Tweaks for Array#keep_if
-
07:46 PM Revision e72e18b3 (git): [DOC] Tweaks for Array#join
-
07:42 PM Revision 467ebbeb (git): [ruby/prism] Disallow dynamic patterns in labels at top level followed by pipes
- https://github.com/ruby/prism/commit/ccc746f918
-
07:36 PM Feature #20775 (Closed): Gemify win32-registry, win32-sspi and win32-resolv
- Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/s... -
06:27 PM Feature #20768: Add Hash#delete_at
- ```ruby
a, c = [:a, :c].map { hash.delete(it) }
```
seems enough and does not require adding a new method for what looks like (to me) a narrow use case. -
05:01 PM Revision e320da60 (git): [ruby/reline] Fix Reline crash with invalid encoding history
- (https://github.com/ruby/reline/pull/751)
https://github.com/ruby/reline/commit/e9d4b37e34 -
03:03 PM Revision ec230ac6 (git): Resync to latest Prism
-
02:59 PM Revision 169a5ee9 (git): Use user defined inline rules `user_or_keyword_variable`
-
02:54 PM Bug #20762: `make test-basic` with -DRGENGC_FORCE_MAJOR_GC is always failure
- This should be addressed by https://github.com/ruby/ruby/pull/11711
-
01:51 PM Revision d86b4041 (git): [ruby/prism] Disallow empty labels when not allowed
- https://github.com/ruby/prism/commit/399ee28dc1
-
12:57 PM Revision 75568d23 (git): [ruby/prism] Disallow &. after endless range
- https://github.com/ruby/prism/commit/498dd922d4
-
12:48 PM Revision 3932d8a8 (git): Replace heap_eden_total_slots with objspace_available_slots
-
12:06 PM Bug #20764 (Closed): Forwarding parameter `...` is wrongly allowed in lambda
- Applied in changeset commit:git|86ae409467e3674c142f012ee3b2288b0305d87c.
----------
[Bug #20764] Refactor argument forwarding in lambda
Reject argument forwarding in lambda:
- without parentheses
- after optional argument(s) -
11:00 AM Revision 86ae4094 (git): [Bug #20764] Refactor argument forwarding in lambda
- Reject argument forwarding in lambda:
- without parentheses
- after optional argument(s) -
10:59 AM Bug #20755 (Closed): IO::Buffer#transfer transfers mutable reference to String's memory but not lock ownership
- Applied in changeset commit:git|35e124832e29b65c84d4e0e4e434616859f9bdf5.
----------
[Bug #20755] Frozen string should not be writable via IO::Buffer -
09:57 AM Misc #20774 (Open): Remove remaining locale dependent code from Windows port
- The external_encoding of files, file names and ENV on Windows were changed from locale codepage to UTF-8 in ruby-3.0.
But there are still several remaining points where locale encoding is used although there is no need to do so.
The Wi... -
09:46 AM Revision 35e12483 (git): [Bug #20755] Frozen string should not be writable via IO::Buffer
-
09:41 AM Revision 3ebc85e2 (git): Define RactorLocalSingleton on .mspec.constants
-
09:32 AM Revision d109c7c6 (git): Temporary disabled RactorLocalSingleton from constant leak check.
-
08:59 AM Revision 0f005449 (git): [ruby/singleton] Make compatible with Ruby 2.4
- https://github.com/ruby/singleton/commit/0a77bb492d
-
08:59 AM Revision 2f53c9fc (git): [ruby/singleton] Clean VERSION freezing
- https://github.com/ruby/singleton/commit/f31334a736
-
08:59 AM Revision d0c1eef5 (git): [ruby/singleton] Only use RactorLocalSingleton if Ractor is defined
- https://github.com/ruby/singleton/commit/f684d36a47
-
08:59 AM Revision a6e96df5 (git): [ruby/singleton] Change PerRactorSingleton to RactorLocalSingleton
- https://github.com/ruby/singleton/commit/1216a86303
-
08:59 AM Revision 136b30b4 (git): [ruby/singleton] Improve Ractor-compliance; Create PerRactorSingleton
- https://github.com/ruby/singleton/commit/ec4f66d9c1
-
08:35 AM Revision 76111af6 (git): expand relative path
-
08:35 AM Revision 4822220e (git): Pass MSPECOPT from compilers.yml
-
05:54 AM Bug #20501: ruby SEGV
- I'm not sure but this seems to need to be backported.
-
05:47 AM Bug #20501 (Closed): ruby SEGV
-
05:45 AM Bug #20752 (Closed): IO::Buffer#slice creates mutable IO::Buffer instance that points to readonly memory (e.g. fronzen String)
- 03:34 AM Revision 522614a3 (git): Bump github/codeql-action from 3.26.9 to 3.26.10
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.9 to 3.26.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.m... -
12:57 AM Bug #20773 (Closed): CI of RHEL8 and Amazon Linux 2 are failed from Sep 26th
- https://github.com/ruby/ruby/pull/11736 fixed this.