Activity
From 08/20/2022 to 08/26/2022
08/26/2022
-
11:36 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- > because it’s (1) wasteful
It wastes what? I don't understand this argument
> (2) noisy
This I can understa... -
09:16 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- LevLukomskyi (Lev Lukomskyi) wrote in #note-17:
> @austin your latest example has 110 symbols, the condition should ... -
08:43 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- Currently:
```ruby
"xyz".sub(/y/, nil) #=> TypeError: no implicit conversion of nil into String
def nil.to_hash; {} ... -
02:52 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- > > Currently, nobody is using `**nil` because it throws an error because `nil.to_hash` is not defined. So I don't se...
-
12:15 AM Feature #18959: Handle gracefully nil kwargs eg. **nil
- LevLukomskyi (Lev Lukomskyi) wrote in #note-14:
> @austin, your example is a perfect example of "overengineering".
... -
11:32 PM Feature #18980: `it` as a default block parameter
- If we are considering an alternative to `_1`, I'm going to vote again for `@` (bare at sign) (originally proposed in ...
-
10:46 PM Feature #18980: `it` as a default block parameter
- > This is a good argument, I think it would be good to add to the issue description.
I'm glad it made sense to you. ... -
03:48 PM Feature #18980: `it` as a default block parameter
- > innocuous word
I misused `innocuous` here. I want to mean a "common word", and it's hard to notice because it's ... -
03:45 PM Feature #18980: `it` as a default block parameter
- k0kubun (Takashi Kokubun) wrote in #note-8:
> What do you mean? I thought we were talking about `_1`, not `_`. If th... -
02:41 PM Feature #18980: `it` as a default block parameter
- > I regularly use _1, _2, maybe it's question of habit and getting used to it?
Matz also made that argument in the R... -
12:43 PM Feature #18980: `it` as a default block parameter
- I regularly use `_1`, `_2`, maybe it's question of habit and getting used to it?
`_1` seems already used in many gems... -
10:31 AM Feature #18980 (Closed): `it` as a default block parameter
- ## Problem
Numbered parameters (`_1`, `_2`, ...) look like unused local variables and I don't feel motivated to use ... -
07:08 PM Feature #16122: Data: simple immutable value object
- austin (Austin Ziegler) wrote in #note-55:
> Why not `Data.defclass` or `Data.deftype` or even `Data.defshape`?
B... -
04:53 PM Feature #16122: Data: simple immutable value object
- Eregon (Benoit Daloze) wrote in #note-54:
> I like `Data.define` as well, we are "defining a new subclass of Data".
... -
10:22 AM Feature #16122: Data: simple immutable value object
- I like `Data.define` as well, we are "defining a new subclass of Data".
`def` makes me thing to "define a method" si... -
07:01 PM Feature #18408: Allow pattern match to set instance variables
- Dan0042 (Daniel DeLorme) wrote in #note-20:
> But if you don't want ivars to change during match, this *can* be fixe... -
05:31 PM Feature #18408: Allow pattern match to set instance variables
- > it is intentional. Unsuccessful matches remain the assignment result from the internal matches
I think everyone ... -
03:14 PM Feature #18965: Further Thread::Queue improvements
- > Why not exception: false which seems more standard and established
So after working more on using a SizedQueue i... -
01:01 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
- I ran my test against your branch, and it addresses this issue. I hope it can be incorporated soon. Thanks!
-
08:17 AM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
- Another observation is: could we opt-out of this strict behavior only on Windows, given how picky it is about deletin...
-
07:16 AM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
- In my opinion, this is ok. I also encountered some issues in RubyGems test suite when I first enabled this behavior t...
-
05:34 AM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
- I also encountered a possibly related `Errno::EACCES` error on Windows (mingw) of GitHub Actions.
```
Errno::EACC... -
04:08 AM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
- Unfortunately, this change affected mkmf on Appveyor (Windows).
https://ci.appveyor.com/project/ruby/ruby/builds/4... -
06:00 AM Revision d6f21b30 (git): Convert catch_except_t to stdbool
- catch_excep_t is a field that exists for MJIT. In the process of
rewriting MJIT in Ruby, I added API to convert 1/0 o... -
04:12 AM Misc #18977: DevMeeting-2022-09-22
- * [Feature #18784] `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions (mame)
* I changed FileUtils.... -
03:15 AM Revision 098a3cfa (git): Fixed typo
-
03:15 AM Revision 1cbee173 (git): Sync examples and cli from syntax_suggest
-
03:15 AM Revision 3a2bc849 (git): Added test-syntax-suggest to CI
-
03:15 AM Revision 5e4d1f99 (git): Skip examples to need installed ruby exe
-
03:15 AM Revision 8dfc077f (git): Added syntax_suggest cli and resolve failing exapmle with it
-
03:15 AM Revision bd1b1eeb (git): ruby-prof is now optional
-
03:15 AM Revision 9c2af0a1 (git): added test-syntax-suggest and prepare tasks
-
03:15 AM Revision 0d9f4ea0 (git): Import spec examples from ruby/syntax_suggest
- 12:57 AM Revision 3504be1b (git): [ruby/irb] Require RDoc in `input-method.rb` again in a limited scope.
- RDoc is implemented as soft dependency in IRB. See how the rdoc is required in
the files. I reverted the commit below...
08/25/2022
-
10:48 PM Feature #16122: Data: simple immutable value object
- `Data.new` aside, `Data.def` and `Data.define` are my current top-2 preferences. I'd be happy with either of these at...
-
08:02 PM Feature #16122 (Assigned): Data: simple immutable value object
-
01:34 PM Feature #16122: Data: simple immutable value object
- 1. I slightly regretted to make `Struct.new` to create a subclass, not an instance. So this time I didn't choose `new...
-
11:25 AM Feature #16122: Data: simple immutable value object
- @matz Thanks for the decisions!
A few questions:
1. I am a bit concerned about using `def`, which is strongly a... -
10:40 AM Feature #16122: Data: simple immutable value object
- We are going to implement Data class in the following spec:
* `D = Data.def(:foo, :bar)` to define a data class (s... -
10:32 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- @austin, your example is a perfect example of "overengineering".
We could argue about "clearness", although about ... -
03:13 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- LevLukomskyi (Lev Lukomskyi) wrote in #note-10:
> ```ruby
> res = {
> some: 'value',
> }
> res.merge!(id: id, ... -
01:17 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- I'm not that much concerned about the performance but about readability. Your solution with `compact` is probably goo...
-
12:14 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- LevLukomskyi (Lev Lukomskyi) wrote in #note-10:
> If use `compact!` as a different statement then you need to make a ... -
11:36 AM Feature #18959: Handle gracefully nil kwargs eg. **nil
- > I meant to simply use compact! in a different statement, not in a chain.
If use `compact!` as a different statem... -
03:47 AM Feature #18959: Handle gracefully nil kwargs eg. **nil
- LevLukomskyi (Lev Lukomskyi) wrote in #note-8:
> 2. => more specifically `.tap(&:compact!)` since `compact!` may retu... -
08:36 PM Bug #18767 (Closed): IO.foreach hangs up when passes limit=0
- Applied in changeset commit:git|21cac42385e1a116d287e155e461453b830640d2.
----------
Raise ArgumentError for IO.fore... -
09:53 AM Bug #18767: IO.foreach hangs up when passes limit=0
- OK, let's make it raise exceptions for zero length.
Matz.
-
08:36 PM Revision 21cac423 (git): Raise ArgumentError for IO.foreach with limit of 0
- Makes behavior consistent with IO.readlines.
Fixes [Bug #18767] -
07:41 PM Bug #18797: Third argument to Regexp.new is a bit broken
- matz (Yukihiro Matsumoto) wrote in #note-1:
> This is indeed an obsolete feature for long time. And the third argume... -
09:59 AM Bug #18797: Third argument to Regexp.new is a bit broken
- This is indeed an obsolete feature for long time. And the third argument is ignored (IIRC).
Some (old) gems still us... -
06:37 PM Revision 881bc2a1 (git): Skip running a DRb test on MinGW
- It hangs even after a retry
https://github.com/ruby/ruby/runs/7966439530?check_suite_focus=true
We contacted GitHub ... -
06:31 PM Revision af9fa16c (git): Make sure super is called and fix teardown
-
06:11 PM Revision 52560a92 (git): Skip flaky mkmf tests on AppVeyor
- It seems like TestMkmfTryConstant started to randomly fail, maybe
related to 96562a517d3373466ec306b5f821a41f4758d2a6... -
06:02 PM Revision 8706b74b (git): [DOC] Enhanced RDoc for Time (#6277)
- Deletes the :include: files in doc/time, which became no longer workable when @nobu pointed out that some (but not al...
-
03:49 PM Revision b2d0f788 (git): Fix private methods reported as protected when called via Symbol#to_proc
- Ref: bfa6a8ddc84fffe0aef5a0f91b417167e124dbbf
Ref: [Bug #18826] -
03:31 PM Feature #18979 (Open): Kernel#sprintf formatting BigDecimal without the loss of precision
- Recently I stumbled upon a quirk with `Kernel#sprintf`'s `f` modifier behavior with `BigDecimal`. It seems to be not ...
- 03:08 PM Revision c2daa056 (git): * 2022-08-26 [ci skip]
-
03:07 PM Revision c069f504 (git): [DOC] Tell RDoc aliases of singleton class
- Since RDoc C parser cannot capture aliases which are using an
expression other than a single variable as the class, u... -
02:44 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- MSP-Greg (Greg L) wrote in #note-12:
> Windows bash file 'top'
>
> ```bash
> {
> bindir=$(dirname "$0")
> exec... -
02:39 PM Revision ad8774f8 (git): [rubygems/rubygems] Fix another regression for sorbet
- Recently a changed was introduced to update the resolver platforms after
it has been created, in order to remove the ... -
01:41 PM Bug #18978 (Feedback): Unexpected behaviour in Time.utc and Time.local when 8 arguments are passed in
- GitHub PR: https://github.com/ruby/ruby/pull/6281
Time.utc and Time.local produce inconsistent and unexpected beha... -
12:39 PM Misc #18977 (Closed): DevMeeting-2022-09-22
- # The next dev meeting
**Date: 2022/09/22 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
12:38 PM Misc #18954 (Closed): DevMeeting-2022-08-18
-
12:37 PM Bug #18973: Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- We brielfly discussed this issue at the dev meeting. @naruse said it should behave like `String#<<` as follows. @nobu...
-
09:55 AM Misc #18975: Propose Stan Lo (@st0012) as an IRB maintainer
- Confirmed. Thank you for helping us @k0kubun and @st0012.
If you have any concern, please tell us here.
Matz.
-
08:16 AM Misc #18975 (Feedback): Propose Stan Lo (@st0012) as an IRB maintainer
- We discussed this at today's developers meeting. We recognize two different challenges here.
1. @st0012 and @k0kubun... -
09:46 AM Feature #18408 (Rejected): Allow pattern match to set instance variables
- We have discussed with @ktsj about the issue, and concluded it is intentional. Unsuccessful matches remain the assign...
-
09:33 AM Feature #18821: Expose Pattern Matching interfaces in core classes
- I agree with MatchData. And I think `deconstruct` for the class should be an alias to `captures` instead of `to_a`.
... -
05:35 AM Bug #18971: Enumerator::Lazy.take(0) leaks first element into next operation
- Although not so elegant, I was thinking to add "precheck" to enumerators.
https://github.com/nobu/ruby/tree/lazy_take0 -
02:28 AM Misc #18976 (Closed): [ANN] blade.nagaokaut.ac.jp is down
- The mail archive server named `blade.nagaokaut.ac.jp` is down now.
blade had some hardware issues. Prof. Hara trie...
08/24/2022
-
11:14 PM Bug #18932 (Closed): Ruby 3.1 - Allow building with VS 2022
-
10:42 PM Bug #18932: Ruby 3.1 - Allow building with VS 2022
- I just built ruby_3_1 branch with VS 2022, and it built and passed all tests. So, no patches needed for Ruby 3.1. P...
-
06:00 PM Bug #18932: Ruby 3.1 - Allow building with VS 2022
- Yes. The Visual Studio bug has been fixed. I'll try a build see what's needed.
-
05:10 PM Bug #18932: Ruby 3.1 - Allow building with VS 2022
- Can you point out which commits are needed for backporting to allow Ruby 3.1 to work better with VS 2022? Then we co...
-
09:15 PM Revision f5f81bb7 (git): Update Module#instance_methods documentation for visibility changes/aliases
- Requested by matz in comment on #18435.
-
09:03 PM Bug #18974: Wrong line number in the rescue iseq for the exception matching code
- I've submitted a pull request to fix this issue: https://github.com/ruby/ruby/pull/6283
-
10:22 AM Bug #18974 (Closed): Wrong line number in the rescue iseq for the exception matching code
- Script for demonstration:
```
def foo
begin
raise 'error'
rescue => e
puts e.message
end
end
... -
08:48 PM Misc #18975: Propose Stan Lo (@st0012) as an IRB maintainer
- It'll be my honor to help the team maintain IRB. Thank you for nominating me for this important role.
-
08:39 PM Misc #18975 (Closed): Propose Stan Lo (@st0012) as an IRB maintainer
- ## Background
Looking at @aycabta 's GitHub activity, he's been inactive on the Internet for 6~7 months, which means... -
08:16 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- 2. => more specifically `.tap(&:compact!)` since `compact!` may return `nil` if nothing changed.
3. there might be a... -
02:44 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- LevLukomskyi (Lev Lukomskyi) wrote in #note-6:
> `compact` way looks good indeed, although:
> 1. it removes all `ni... -
11:09 AM Feature #18959: Handle gracefully nil kwargs eg. **nil
- `compact` way looks good indeed, although:
1. it removes all `nil`s from the hash, which might be undesired in some c... -
08:00 PM Bug #18973: Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- I am concerned about compatibility to change this. @naruse proposed to return an ASCII-8BIT string instead of raising...
-
10:08 AM Bug #18973: Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- @nobu Looks good to me, could you commit it?
(ARG_UNUSED is not needed on `code` I think) -
01:13 AM Bug #18973: Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- Sorry, this.
```diff
diff --git a/enc/us_ascii.c b/enc/us_ascii.c
index 08f9072c435..9d854b12245 100644
--- a/enc... -
01:05 AM Bug #18973: Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- ```diff
diff --git a/regenc.c b/regenc.c
index 16d62fdf409..5cc3b778351 100644
--- a/regenc.c
+++ b/regenc.c
@@ -627,... -
07:38 PM Bug #18931: Inconsistent handling of invalid codepoints in String#lstrip and String#rstrip
- I submitted a pull request to always raise an exception for rstrip strings with broken coderange: https://github.com/...
-
07:14 PM Bug #18883 (Rejected): parse.y: trailing comma cannot coexist with star
- After giving this some more thought, I am fairly sure this is not a bug, and I'm rejecting this. @zverok is correct,...
-
07:04 PM Bug #18908: Allow username and password to be extracted from the http_proxy variable on Windows
- I agree that we should remove the restriction. I submitted a pull request for that: https://github.com/ruby/net-http...
-
05:54 PM Revision 28a34346 (git): Disable Ractor check on 32bit architectures
- Ractor verification requires storing the ractor id in the top 32 bits of
the object header. Unfortunately 32 bit mac... - 05:43 PM Revision fa9f4d38 (git): * 2022-08-25 [ci skip]
-
05:42 PM Revision b4be3c00 (git): add --yjit-dump-iseqs param (https://github.com/Shopify/ruby/pull/332)
-
05:08 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- The Ruby build linked to above had incorrect bash scripts. Fixed as of now. Sorry, bad day yesterday, too many inte...
-
04:58 PM Bug #18945 (Closed): node_id is not initialized but it is used leading to UB
- Pull requested merged at commit:c69ad738dc7c713df547a51607917ca78df6b793
-
04:43 PM Bug #18780 (Closed): Incorrect binding receiver for C API rb_eval_string()
- Fixed by commit:5bbba76489628f4509495ebf4ba0a7aad4c0b560
-
08:59 AM Revision 0ad9cc16 (git): [rubygems/rubygems] Backport non-gnu libc on linux platform matching to Bundler
- https://github.com/rubygems/rubygems/commit/703373b41f
Co-authored-by: Loic Nageleisen <[email protected]> -
08:45 AM Feature #18559: Allocation tracing: Objects created by the parser are attributed to Kernel.require
- I had a quick chat with @ko1, he plans to try a better implementation after RubyKaigi (mid-september).
I'll hold o... -
01:36 AM Revision 314b76a5 (git): test/-ext-/eval/test_eval.rb: Prevent "assigned but unused variable"
08/23/2022
-
11:00 PM Bug #18937: Inconsistent definitions of Complex#<=> and Numeric#<=> with others
- nobu (Nobuyoshi Nakada) wrote in #note-4:
> I agree that `Complex#<=>` should coerce the argument as well as other m... -
10:37 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- @nobu & @Eregon
I just tried the prolog_script script branch. Wondering if the following example would be fine with... -
04:52 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- I also noticed `which rake` does not work on Ruby 2.5+, but it does work on Ruby < 2.5:
https://github.com/ruby/setup... -
10:20 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
- I think it is a bug. I submitted a pull request to fix it: https://github.com/ruby/ruby/pull/6280. Not sure if the ...
- 09:28 PM Revision feff6833 (git): * 2022-08-24 [ci skip]
-
09:27 PM Revision 60c900f4 (git): Add @k0kubun to CODEOWNERS for YJIT
-
05:50 PM Bug #18973: Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/6276
-
02:54 PM Bug #18973: Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- I noticed https://github.com/ruby/ruby/blob/master/benchmark/app_aobench.rb seems to rely on this behavior.
But that... -
02:42 PM Bug #18973 (Closed): Kernel#sprintf: %c allows codepoints above 127 for 7-bits ASCII encoding
- I've noticed the following behavior:
```ruby
sprintf("%c".encode("US-ASCII"), 128)
=> "\x80"
sprintf("%c".enc... -
03:49 PM Bug #18972 (Rejected): String#byteslice should return BINARY (aka ASCII-8BIT) Strings
- Ok, I suppose your point of view make sense, and either way the backward compatibility concern is just too big.
Cl... -
01:44 PM Bug #18972: String#byteslice should return BINARY (aka ASCII-8BIT) Strings
- I think the current behavior is better, `String#byteslice` is not only used for BINARY strings.
In fact for binary s... -
11:03 AM Bug #18972 (Rejected): String#byteslice should return BINARY (aka ASCII-8BIT) Strings
- While working on implementing https://bugs.ruby-lang.org/issues/13626, I noticed `byteslice` assign the receiver enco...
-
03:32 PM Feature #13626: Add String#byteslice!
- The PR is here in case someone feels like reviewing: https://github.com/ruby/ruby/pull/6275
As for the recently ra... -
01:56 PM Feature #13626: Add String#byteslice!
- I think there is a misunderstand of what `byte*` methods are for.
`byte*` methods are for dealing with byte indice... -
01:48 PM Feature #13626: Add String#byteslice!
- Why not simply `String#slice!` if the string encoding is BINARY?
```ruby
result = @read_buffer.slice!(size) # @read... -
10:09 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
- `TestProcess#test_daemon_noclose` passed with `export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES` from https://github.co...
- 09:01 AM Revision 46c3a939 (git): [ruby/irb] Drop hard dependency on RDoc.
- This has been introduced in https://github.com/ruby/irb/commit/026700499dfd,
but it seems that this is just be mistak... -
07:52 AM Revision 983115cf (git): [ruby/fileutils] FileUtils.rm* methods swallows only Errno::ENOENT when force is true
- ... instead of any StandardError.
To behave like the standard `rm` command, it should only ignore
exceptions about n... -
07:52 AM Revision 96562a51 (git): [ruby/fileutils] Narrow the scope of ensure
- The ensure in postorder_traverse was added for [Bug #6756].
The intention was to try to delete the parent directory i... -
07:52 AM Revision 073f3b7e (git): [ruby/fileutils] Fix the test permission of "test_rm_rf"
- The test was added for [Bug #6756]. The ticket insisted
`FileUtils.rm_rf` should delete an empty directory even if it... -
06:44 AM Bug #18971: Enumerator::Lazy.take(0) leaks first element into next operation
- You're right. I just tested again and apparently even 3.1.2p20 has this issue.
-
05:58 AM Bug #18971: Enumerator::Lazy.take(0) leaks first element into next operation
- Are you sure this has been fixed? I tried with Ruby 2.7-3.1 and current master and did not get all `[]` results on a...
-
03:52 AM Bug #18971: Enumerator::Lazy.take(0) leaks first element into next operation
- Upon more testing apparently this has been fixed in `3.0.2p107 (2021-07-07 revision 0db68f0233)`.
However I can't ... -
03:05 AM Bug #18971 (Closed): Enumerator::Lazy.take(0) leaks first element into next operation
- These results with lazy enumerators are as expected:
``` ruby
(2..10).take(0).to_a # => []
(2..10).take(0).map(:... - 06:33 AM Revision 7c784f0a (git): [rubygems/rubygems] Bundler: avoid use of "can not" in spec literals
- Signed-off-by: Takuya Noguchi <[email protected]>
https://github.com/rubygems/rubygems/commit/73b5cf9bd1 - 05:28 AM Revision 22a416a3 (git): [rubygems/rubygems] Bundler: update the link suggested on error with the new one
- Also typo is fixed.
Signed-off-by: Takuya Noguchi <[email protected]>
https://github.com/rubygems/ru... -
05:04 AM Revision 9f6fcfcd (git): Ubuntu 18.04 in GHA is deprecated from Aug 8,2022
- https://github.com/actions/runner-images/issues/6002
-
03:49 AM Revision 892fe9bb (git): omit all assertions at TestIO_Console#test_intr when running with FreeBSD
-
03:00 AM Bug #18941: Endless loop with a memory leak in FileUtils::mkpath
- https://github.com/ruby/ruby/commit/70f69f85395f5735429cd45136d7de2742f08b72
-
02:59 AM Bug #18941 (Closed): Endless loop with a memory leak in FileUtils::mkpath
-
02:28 AM Revision 545c2b00 (git): Fix an inconsistent include guard macro
- I was thinking about making it internal/mjit.h, but didn't.
-
01:45 AM Revision c1ecc498 (git): Use rbs HEAD for https://github.com/ruby/rbs/pull/1090
-
01:45 AM Revision f69244ce (git): Merge rubygems/bundler HEAD
- Pick from https://github.com/rubygems/rubygems/commit/6b3a5a9ab0453463381a8164efb6298ea9eb776f
-
01:45 AM Revision 4790d0ac (git): [rubygems/rubygems] Fix conservative update downgrading top level gems
- When `--conservative` is passed, explicit unlocks are set for top level
gems via `@unlock[:gems]`, so that only those... -
01:45 AM Revision c21c9a29 (git): [rubygems/rubygems] Refactor building metadata dependencies
- https://github.com/rubygems/rubygems/commit/fa60f1fe43
-
01:45 AM Revision a9509068 (git): [rubygems/rubygems] Make `compact_index_api_missing` server more strict
- The compact index should not request any marshaled gemspecs whatsoever.
https://github.com/rubygems/rubygems/commit/... -
01:45 AM Revision 29c443fe (git): [rubygems/rubygems] Remove unnecessary mixin inclusion
- It's already included by the parent.
https://github.com/rubygems/rubygems/commit/3ffe389c44 -
01:45 AM Revision b30fc03e (git): [rubygems/rubygems] Centralize loading `Bundler::MatchPlatform` mixin
- It's explicitly loaded when monkeypatching RubyGems, which we do very
early. So neither autoloading it, nor explicitl... -
12:04 AM Revision 6465a533 (git): [DOC] Remove extra page-dir prefix
08/22/2022
-
08:50 PM Revision 59f27445 (git): [rubygems/rubygems] Implement extra rules for libc versioning
- https://github.com/rubygems/rubygems/commit/7e976d790a
-
08:50 PM Revision 492e70c7 (git): [rubygems/rubygems] Fix `gem install` still choosing musl incorrectly
- https://github.com/rubygems/rubygems/commit/1b9f7f50a5
-
08:50 PM Revision 06ae78f8 (git): [rubygems/rubygems] Remove unnecessary variables
- https://github.com/rubygems/rubygems/commit/b5e0c683d9
-
08:50 PM Revision 98192830 (git): [rubygems/rubygems] Handle non-gnu libc on linux platforms in RubyGems
- Attempting to install a gem published as both *-linux and *-linux-musl
results in the incorrect gem being picked up, ... -
08:50 PM Revision f254b673 (git): [rubygems/rubygems] Test platform parsing stability
- On past versions there were observed cases of inconsistencies when some
platforms were re-parsed.
Ensure that a plat... -
08:50 PM Revision 615f79be (git): [rubygems/rubygems] Test platform's version-ness consistently
- The symmetry with the "for command line" case is made more apparent.
https://github.com/rubygems/rubygems/commit/ab8... - 07:40 PM Revision 085790bd (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.29 to 0.9.30.
- [Release notes](https://github.com/oxid... -
07:31 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- MSP-Greg (Greg L) wrote in #note-9:
> @nobu - I will try that build, but I can't until later.
>
> I don't know wh... -
04:48 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- @nobu - I will try that build, but I can't until later.
I don't know what the best approach is for Windows binstub... -
02:49 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- Unfortunately I can't build ruby from source on Windows myself to test, maybe @MSP-Greg can test that?
From above:... -
01:54 AM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- Does this work?
https://github.com/nobu/ruby/tree/prolog_script -
06:17 PM Revision aeac8b6c (git): [DOC] Addition to section 'Related Methods' (#6271)
- Addition to section 'Related Methods': suggests adding differentiators to the names of related methods.
- 05:26 PM Revision a9ee1336 (git): [rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.29 to 0.9.30.
- [Release notes](https://github.com/oxid... -
05:14 PM Bug #18967: Segmentation fault in stackprof with Ruby 2.7.6
- byroot (Jean Boussier) wrote in #note-8:
> The fix is here: https://github.com/tmm1/stackprof/pull/186 I'll try to g... -
11:29 AM Bug #18967: Segmentation fault in stackprof with Ruby 2.7.6
- The fix is here: https://github.com/tmm1/stackprof/pull/186 I'll try to get a release soon.
@RubyBugs in the meant... -
11:18 AM Bug #18967: Segmentation fault in stackprof with Ruby 2.7.6
- As pointed by @eregon I planned experimenting with this and raising it at some point -- the change in https://github....
-
10:57 AM Bug #18967: Segmentation fault in stackprof with Ruby 2.7.6
- i.e., rb_profile_frames is called at a random place and that's not supported on < 3.0.
(TBH even on >= 3.0 I wonder ... -
10:54 AM Bug #18967 (Third Party's Issue): Segmentation fault in stackprof with Ruby 2.7.6
- I found the bug: https://github.com/tmm1/stackprof/pull/180/files#r951294711
-
02:03 AM Bug #18967 (Open): Segmentation fault in stackprof with Ruby 2.7.6
- Thank you for providing the full stack trace. In conclusion, I couldn't find the cause, sorry.
Ruby 2.7 is under the... - 04:22 PM Revision c96ffec9 (git): * 2022-08-23 [ci skip]
-
04:21 PM Revision b8d142e7 (git): [DOC] Enhanced RDoc for Time (#6267)
- Treats:
#utc
#getlocal
#getutc
#ctime
#to_s
#inspect -
02:15 PM Revision 148d0ccd (git): [DOC] Fix a type [ci skip]
-
02:15 PM Revision f9990434 (git): [DOC] Remove extra page-dir prefix
-
09:52 AM Revision 13d31331 (git): Reuse `nonlocal_var` patterns
-
09:08 AM Revision d91865f3 (git): Ignore `.document` only commits [ci skip]
-
08:16 AM Bug #18937 (Closed): Inconsistent definitions of Complex#<=> and Numeric#<=> with others
- Applied in changeset commit:git|d5f50463c2b5c5263aa45c58f3f4ec73de8868d5.
----------
[Bug #18937] Coerce non-Numeric... -
03:33 AM Bug #18937: Inconsistent definitions of Complex#<=> and Numeric#<=> with others
- I agree that `Complex#<=>` should coerce the argument as well as other methods/classes.
https://github.com/ruby/ruby... -
08:12 AM Revision f0a7694f (git): Show the exact version of cl.exe [ci skip]
- [Misc #18362] is fixed at cl.exe 19.33.31629.
-
07:48 AM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
- @jeremyevans0
> I'm not sure whether this issue should be considered a bug, but it may be safe not to backport the f... -
06:19 AM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
- shioyama (Chris Salzberg) wrote in #note-3:
> @jeremyevans0 You [most recently contributed to the `wrap` option](htt... -
05:02 AM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
- shioyama (Chris Salzberg) wrote in #note-3:
> @jeremyevans0 You [most recently contributed to the `wrap` option](htt... -
04:30 AM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
- I'm new to contributing to Ruby, but I haven't gotten a response on this in a couple weeks so wondering if maybe this...
-
03:48 AM Bug #18946: Time#to_date returns incorrect date
- Fixed this issue itself, but turned out Psych had a related issue.
The YAML spec doesn’t considered the calendar sys... -
03:26 AM Revision d5f50463 (git): [Bug #18937] Coerce non-Numeric into Complex at comparisons
-
03:23 AM Revision d0b17a4d (git): Adjust space-width for help message
-
03:23 AM Revision 6afb4f0a (git): Added help entry for test-bundler-parallel
-
03:18 AM Revision 954f709f (git): NEWS.md: sort [ci skip]
-
02:40 AM Revision 3d6baad7 (git): Added syntax_suggest entry to NEWS
-
02:11 AM Feature #18159 (Closed): Integrate functionality of syntax_suggest gem into Ruby
- I finished promoting @schneems to Ruby committer.
-
01:12 AM Revision 70f69f85 (git): [ruby/fileutils] Fix mkdir_p hanging on Windows when trying to create a file on a offline drive
- https://github.com/ruby/fileutils/commit/9cc6a082d7
08/21/2022
-
07:23 PM Bug #18967: Segmentation fault in stackprof with Ruby 2.7.6
- Per @eregon on https://github.com/tmm1/stackprof/issues/182#issuecomment-1221274946 -
It appears that the stackprof ... -
06:54 PM Bug #18967: Segmentation fault in stackprof with Ruby 2.7.6
- mame (Yusuke Endoh) wrote in #note-1:
> Thank you for your report. At least we need the full trace, especially. "C l... -
06:35 PM Revision 9f3140a4 (git): Remove mjit_exec benchmarks
- Now that mjit_exec doesn't exist, those files feel old. I'll probably
change how I benchmark it when I add benchmarks... -
06:33 PM Revision a60507f6 (git): Rename mjit_compile.c to mjit_compiler.c
- I'm planning to introduce mjit_compiler.rb, and I want to make this
consistent with it. Consistency with compile.c do... -
06:22 PM Feature #12075: some container#nonempty?
- I am assuming you do not want to use each which does correct thing if container is non empty . I assume you want map...
- 04:36 PM Revision 73f8027a (git): * 2022-08-22 [ci skip]
-
04:36 PM Revision 936327a5 (git): [DOC] Enhanced RDoc for Time (#6255)
- Treats:
#utc
#hash
#localtime -
02:24 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
- Can anyone confirm if this is a bug or intended behavior? I've taken a look at the code that implements this, and th...
-
12:13 PM Feature #18965: Further Thread::Queue improvements
- byroot (Jean Boussier) wrote in #note-10:
> Is it true for both push and pop? I can see the issue for push, but no s... -
11:38 AM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- I also noted from the run above, on 2.6-3.0:
```
# Output from 2.6
$ ls -l $(dirname $(which ruby))
total 3627
-... -
11:27 AM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- Here is another run, where none of the Rubies does a `gem install Bundler`.
https://github.com/eregon/setup-ruby/run... -
11:17 AM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- Another thought, maybe `-ls -l` in bash shows the `x` bit if the file starts with a shebang or is a native executable...
-
11:11 AM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- @nobu Thank you for the explanation, quite clever code.
I think it is still an issue due to being fragile/inconsis... -
04:40 AM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- Eregon (Benoit Daloze) wrote in #note-1:
> Ah, maybe this cryptic header actually works for Bash too?
The header is ... -
11:06 AM Revision b043dd9c (git): Check the room including the space to fill
-
11:01 AM Revision 0cc98969 (git): Add invalid hexadecimal float tests
-
08:54 AM Revision 560941e7 (git): [rubygems/rubygems] Fix edge case where `bundler/inline` unintentionally skips install
- If the application has the `no_install` setting set for `bundle
package`, then `bundler/inline` would silently skip i... -
08:53 AM Revision b87ddd75 (git): [rubygems/rubygems] Fix `bundle platform` crash when there's a lockfile with no Ruby locked
- https://github.com/rubygems/rubygems/commit/49fc54e87d
-
05:12 AM Feature #18959: Handle gracefully nil kwargs eg. **nil
- In my opinion, putting the whole subhash `{id: id}` within a condition like that is redundant and ugly.
That is o... -
05:04 AM Revision f6d4d73a (git): Use `rb_fork` to suppress deprecated-declarations warnings
-
01:36 AM Revision b93d554b (git): Fix a typo [ci skip]
-
01:35 AM Revision ddf96b76 (git): Drop mswin support of MJIT (#6265)
- The current MJIT relies on SIGCHLD and fork(2) to be performant, and
it's something mswin can't offer. You could run ...
08/20/2022
- 11:33 PM Revision e85db849 (git): * 2022-08-21 [ci skip]
-
11:33 PM Misc #18968 (Closed): Run MJIT under a forked Ruby process
- Applied in changeset commit:git|dc8d70e4615cdf12378322fbcd4396486270ddbe.
----------
Execute MJIT in a forked Ruby p... -
11:32 PM Misc #18968: Run MJIT under a forked Ruby process
- Yeah. Ever since I created llrb.gem, I've sometimes thought about it. Like what the description of JEP 243 says, JIT ...
-
10:08 AM Misc #18968: Run MJIT under a forked Ruby process
- An interesting project if you are changing the interface could be to write a generic JIT interface, which any JIT cou...
-
09:23 AM Misc #18968 (Closed): Run MJIT under a forked Ruby process
- # Changes
* When MJIT compiles a method, it spawns a child Ruby process and lets it generate a C code and compile it... -
11:33 PM Revision dc8d70e4 (git): Execute MJIT in a forked Ruby process (#6264)
- [Misc #18968]
-
10:01 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
- I have another use case.
I'm receiving options from a web protocol.
Sometimes there are no options.
So I end up wi... -
07:52 PM Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==
- #18798 made me realize the proposed behavior makes sense for UnboundMethod#== but probably less for Method#== which p...
-
07:45 PM Feature #18969 (Closed): Compare only method definitions for Method#== and UnboundMethod#==
- @ko1 Indeed, I'll mark this one as duplicate and close it, and I'll add your issue to the dev meeting.
-
04:21 PM Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==
- Same as https://bugs.ruby-lang.org/issues/18798 ?
-
12:05 PM Feature #18969 (Closed): Compare only method definitions for Method#== and UnboundMethod#==
- From https://bugs.ruby-lang.org/issues/18751#note-16
During the last dev meeting, @ko1 said Method#== should be "i... -
07:51 PM Misc #18954: DevMeeting-2022-08-18
- * [Feature #18798] `UnboundMethod#==` with inherited classes (eregon)
* OK to change UnboundMethod#== to check if ... -
07:48 PM Feature #18798: `UnboundMethod#==` with inherited classes
- I think we should do this, because I think the main purpose of UnboundMethod#== is to find out if two methods have th...
-
02:20 PM Bug #18970: CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- Ah, maybe this cryptic header actually works for Bash too?
Then the problem is that CRuby adds it instead of RubyGem... -
01:54 PM Bug #18970 (Third Party's Issue): CRuby adds an invalid header to bin/bundle (and others) which makes it unusable in Bash on Windows
- Same as https://github.com/oneclick/rubyinstaller2/issues/299, but I figured it's extremely likely to be a bug in CRu...
-
01:06 PM Bug #18580: Range#include? inconsistency for beginless String ranges
- TBH, my position is that:
1. I don't see why non-numeric `Range#include?` should be prohibited if it is possible t... -
03:32 AM Bug #18580: Range#include? inconsistency for beginless String ranges
- This was my attempt.
https://github.com/nobu/ruby/tree/nonnumeric-range-include_p -
03:21 AM Bug #18580: Range#include? inconsistency for beginless String ranges
- nobu (Nobuyoshi Nakada) wrote in #note-6:
> About the implementation, how about splitting the function by `string_us... -
03:05 AM Bug #18580: Range#include? inconsistency for beginless String ranges
- jeremyevans0 (Jeremy Evans) wrote in #note-5:
> Assuming @matz only wants this behavior change for beginless/endless... -
12:48 PM Feature #18965: Further Thread::Queue improvements
- `pop(nonblock: true)` that wouldn't raise definitely make sense to me, so I'll for sure propose it at the next meetin...
-
11:13 AM Feature #18965: Further Thread::Queue improvements
- Thank you for the benchmark.
Given the results, I think it's currently not worth it to add batch push/pop, because i... -
12:38 PM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
- FWIW, TruffleRuby and JRuby don't have ZSUPER methods, so it's like they always had the fix of https://github.com/rub...
-
12:30 PM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
- @nagachika wrote in #note-14:
> I agree to backport the revert to ruby_3_1, but I think removing the existing method... -
11:44 AM Bug #18435 (Closed): Calling `protected` on ancestor method changes result of `instance_methods(false)`
- Applied in changeset commit:git|8212aab81a77a2a91fb7c1681b4968171193b48f.
----------
Make Object#method and Module#i... -
12:34 PM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
- matz (Yukihiro Matsumoto) wrote in #note-24:
> Instead, each class should have lists of methods for each visibility.... -
12:18 PM Feature #11689 (Open): Add methods allow us to get visibility from Method and UnboundMethod object.
- (I reopen because the new methods or equivalent functionality is not present on current master.)
Since https://git... -
12:06 PM Bug #18751: Regression on master for Method#== when comparing public with private method
- Eregon (Benoit Daloze) wrote in #note-16:
> @ko1 said Method#== should be "is it the same definition?".
> I agree, ... -
11:46 AM Bug #18751 (Closed): Regression on master for Method#== when comparing public with private method
- Fixed in https://github.com/ruby/ruby/pull/6242
-
11:44 AM Bug #18729 (Closed): Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- Applied in changeset commit:git|8212aab81a77a2a91fb7c1681b4968171193b48f.
----------
Make Object#method and Module#i... -
11:44 AM Revision 209631a4 (git): Consider resolved-through-zsuper methods equal for compatibility
- * Fixes https://bugs.ruby-lang.org/issues/18751
-
11:44 AM Revision 8212aab8 (git): Make Object#method and Module#instance_method not skip ZSUPER methods
- Based on https://github.com/jeremyevans/ruby/commit/c95e7e5329140f640b6497905485761f3336d967
Among other things, thi... -
10:31 AM Feature #16122: Data: simple immutable value object
- > The main purpose of the new class is immutability, not "frozen", not "plain", not simplicity: FrozenStruct, SimpleS...
-
07:25 AM Revision b32a3f12 (git): [Bug #18964] Add test for `rb_econv_append`
-
06:57 AM Revision 485019c2 (git): Rename mjit_exec to jit_exec (#6262)
- * Rename mjit_exec to jit_exec
* Rename mjit_exec_slowpath to mjit_check_iseq
* Remove mjit_exec references from co... -
03:25 AM Bug #12436 (Closed): newline argument of File.open seems not respected on Windows
- Applied in changeset commit:git|6f3857f6a7b3cd6bd7e62e4efdbb1b841544e053.
----------
Support Encoding::Converter new... -
03:25 AM Revision fc5382d4 (git): Reuse rb_class_new_instance_kw function
-
03:24 AM Revision 01e8d393 (git): Fix gdb incompatibilies in rp_class, rb_ps_vm
- Other changes are needed to bring .gdbinit up-to-date with current ruby.
It looks like lldb is the preferred approach... -
03:23 AM Bug #18958 (Closed): Kernel#sprintf doesn't apply format sequence in some encodings
- Applied in changeset commit:git|1a2f99275be28fb0e8ff4cfc0165966e99898d70.
----------
[Bug #18958] format string must... -
03:23 AM Revision 6f3857f6 (git): Support Encoding::Converter newline: :lf and :lf_newline options
- Previously, newline: :lf was accepted but ignored. Where it
should have been used was commented out code that didn't... -
01:06 AM Revision 1a2f9927 (git): [Bug #18958] format string must be ASCII compatible
-
01:06 AM Revision 43e8d9a0 (git): Check if encoding capable object before check if ASCII compatible
-
01:06 AM Bug #18956 (Closed): Kernel#sprintf - %c handles negative Integer argument in a confusing way
- Applied in changeset commit:git|d2483393cbcb4dcfa0000fa8166bb7fa7ed9f7b4.
----------
[Bug #18956] Negative codepoint... -
01:06 AM Revision d2483393 (git): [Bug #18956] Negative codepoints are invalid characters
Also available in: Atom