Project

General

Profile

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...
LevLukomskyi (Lev Lukomskyi)
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 ...
austin (Austin Ziegler)
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; {} ...
LevLukomskyi (Lev Lukomskyi)
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... Dan0042 (Daniel DeLorme)
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".
...
austin (Austin Ziegler)
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 ... jeremyevans0 (Jeremy Evans)
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. ...
k0kubun (Takashi Kokubun)
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 ...
Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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...
k0kubun (Takashi Kokubun)
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...
Eregon (Benoit Daloze)
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 ...
k0kubun (Takashi Kokubun)
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...
Eregon (Benoit Daloze)
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".
...
austin (Austin Ziegler)
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...
Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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 ...
Dan0042 (Daniel DeLorme)
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...
byroot (Jean Boussier)
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! javanthropus (Jeremy Bopp)
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... deivid (David Rodríguez)
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... deivid (David Rodríguez)
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...
koic (Koichi ITO)
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...
mame (Yusuke Endoh)
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...
k0kubun (Takashi Kokubun)
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....
mame (Yusuke Endoh)
03:15 AM Revision 098a3cfa (git): Fixed typo
hsbt (Hiroshi SHIBATA)
03:15 AM Revision 1cbee173 (git): Sync examples and cli from syntax_suggest
hsbt (Hiroshi SHIBATA)
03:15 AM Revision 3a2bc849 (git): Added test-syntax-suggest to CI
hsbt (Hiroshi SHIBATA)
03:15 AM Revision 5e4d1f99 (git): Skip examples to need installed ruby exe
hsbt (Hiroshi SHIBATA)
03:15 AM Revision 8dfc077f (git): Added syntax_suggest cli and resolve failing exapmle with it
hsbt (Hiroshi SHIBATA)
03:15 AM Revision bd1b1eeb (git): ruby-prof is now optional
hsbt (Hiroshi SHIBATA)
03:15 AM Revision 9c2af0a1 (git): added test-syntax-suggest and prepare tasks
hsbt (Hiroshi SHIBATA)
03:15 AM Revision 0d9f4ea0 (git): Import spec examples from ruby/syntax_suggest
hsbt (Hiroshi SHIBATA)
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...
Jun Aruga

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... k0kubun (Takashi Kokubun)
08:02 PM Feature #16122 (Assigned): Data: simple immutable value object
k0kubun (Takashi Kokubun)
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... matz (Yukihiro Matsumoto)
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...
zverok (Victor Shepelev)
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...
matz (Yukihiro Matsumoto)
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 ...
LevLukomskyi (Lev Lukomskyi)
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, ...
austin (Austin Ziegler)
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... LevLukomskyi (Lev Lukomskyi)
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 ...
sawa (Tsuyoshi Sawada)
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...
LevLukomskyi (Lev Lukomskyi)
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...
sawa (Tsuyoshi Sawada)
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...
jeremyevans (Jeremy Evans)
09:53 AM Bug #18767: IO.foreach hangs up when passes limit=0
OK, let's make it raise exceptions for zero length.
Matz.
matz (Yukihiro Matsumoto)
08:36 PM Revision 21cac423 (git): Raise ArgumentError for IO.foreach with limit of 0
Makes behavior consistent with IO.readlines.
Fixes [Bug #18767]
jeremyevans (Jeremy Evans)
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...
jeremyevans0 (Jeremy Evans)
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...
matz (Yukihiro Matsumoto)
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 ...
k0kubun (Takashi Kokubun)
06:31 PM Revision af9fa16c (git): Make sure super is called and fix teardown
k0kubun (Takashi Kokubun)
06:11 PM Revision 52560a92 (git): Skip flaky mkmf tests on AppVeyor
It seems like TestMkmfTryConstant started to randomly fail, maybe
related to 96562a517d3373466ec306b5f821a41f4758d2a6...
k0kubun (Takashi Kokubun)
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... burdettelamar (Burdette Lamar)
03:49 PM Revision b2d0f788 (git): Fix private methods reported as protected when called via Symbol#to_proc
Ref: bfa6a8ddc84fffe0aef5a0f91b417167e124dbbf
Ref: [Bug #18826]
byroot (Jean Boussier)
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 ... kstrukov (Kostiantyn Striukov)
03:08 PM Revision c2daa056 (git): * 2022-08-26 [ci skip]
git[bot]
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...
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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 ...
deivid (David Rodríguez)
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...
peterzhu2118 (Peter Zhu)
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...
mame (Yusuke Endoh)
12:38 PM Misc #18954 (Closed): DevMeeting-2022-08-18
mame (Yusuke Endoh)
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... mame (Yusuke Endoh)
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.
matz (Yukihiro Matsumoto)
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...
k0kubun (Takashi Kokubun)
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... matz (Yukihiro Matsumoto)
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`.
...
matz (Yukihiro Matsumoto)
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
nobu (Nobuyoshi Nakada)
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...
hsbt (Hiroshi SHIBATA)

08/24/2022

11:14 PM Bug #18932 (Closed): Ruby 3.1 - Allow building with VS 2022
jeremyevans0 (Jeremy Evans)
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... MSP-Greg (Greg L)
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. MSP-Greg (Greg L)
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... jeremyevans0 (Jeremy Evans)
09:15 PM Revision f5f81bb7 (git): Update Module#instance_methods documentation for visibility changes/aliases
Requested by matz in comment on #18435. jeremyevans (Jeremy Evans)
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 jeremyevans0 (Jeremy Evans)
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
...
hurricup (Alexandr Evstigneev)
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. st0012 (Stan Lo)
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...
k0kubun (Takashi Kokubun)
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...
LevLukomskyi (Lev Lukomskyi)
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...
sawa (Tsuyoshi Sawada)
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...
LevLukomskyi (Lev Lukomskyi)
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... mame (Yusuke Endoh)
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)
Eregon (Benoit Daloze)
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...
nobu (Nobuyoshi Nakada)
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,...
nobu (Nobuyoshi Nakada)
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/... jeremyevans0 (Jeremy Evans)
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,... jeremyevans0 (Jeremy Evans)
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... jeremyevans0 (Jeremy Evans)
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...
tenderlovemaking (Aaron Patterson)
05:43 PM Revision fa9f4d38 (git): * 2022-08-25 [ci skip]
git[bot]
05:42 PM Revision b4be3c00 (git): add --yjit-dump-iseqs param (https://github.com/Shopify/ruby/pull/332)
noahgibbs (Noah Gibbs)
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... MSP-Greg (Greg L)
04:58 PM Bug #18945 (Closed): node_id is not initialized but it is used leading to UB
Pull requested merged at commit:c69ad738dc7c713df547a51607917ca78df6b793 jeremyevans0 (Jeremy Evans)
04:43 PM Bug #18780 (Closed): Incorrect binding receiver for C API rb_eval_string()
Fixed by commit:5bbba76489628f4509495ebf4ba0a7aad4c0b560 jeremyevans0 (Jeremy Evans)
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]>
deivid (David Rodríguez)
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...
byroot (Jean Boussier)
01:36 AM Revision 314b76a5 (git): test/-ext-/eval/test_eval.rb: Prevent "assigned but unused variable"
mame (Yusuke Endoh)

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...
msnm (Masahiro Nomoto)
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...
MSP-Greg (Greg L)
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...
Eregon (Benoit Daloze)
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 ... jeremyevans0 (Jeremy Evans)
09:28 PM Revision feff6833 (git): * 2022-08-24 [ci skip]
git[bot]
09:27 PM Revision 60c900f4 (git): Add @k0kubun to CODEOWNERS for YJIT
maximecb (Maxime Chevalier-Boisvert)
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 jeremyevans0 (Jeremy Evans)
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...
Eregon (Benoit Daloze)
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...
andrykonchin (Andrew Konchin)
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...
byroot (Jean Boussier)
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...
Eregon (Benoit Daloze)
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... byroot (Jean Boussier)
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...
byroot (Jean Boussier)
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...
Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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... hsbt (Hiroshi SHIBATA)
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...
Vít Ondruch
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...
mame (Yusuke Endoh)
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...
mame (Yusuke Endoh)
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...
mame (Yusuke Endoh)
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. Voileexperiments (Library Voile)
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... jeremyevans0 (Jeremy Evans)
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 ...
Voileexperiments (Library Voile)
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(:...
Voileexperiments (Library Voile)
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
Takuya Noguchi
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...
Takuya Noguchi
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 hsbt (Hiroshi SHIBATA)
03:49 AM Revision 892fe9bb (git): omit all assertions at TestIO_Console#test_intr when running with FreeBSD
hsbt (Hiroshi SHIBATA)
03:00 AM Bug #18941: Endless loop with a memory leak in FileUtils::mkpath
https://github.com/ruby/ruby/commit/70f69f85395f5735429cd45136d7de2742f08b72 hsbt (Hiroshi SHIBATA)
02:59 AM Bug #18941 (Closed): Endless loop with a memory leak in FileUtils::mkpath
hsbt (Hiroshi SHIBATA)
02:28 AM Revision 545c2b00 (git): Fix an inconsistent include guard macro
I was thinking about making it internal/mjit.h, but didn't. k0kubun (Takashi Kokubun)
01:45 AM Revision c1ecc498 (git): Use rbs HEAD for https://github.com/ruby/rbs/pull/1090
hsbt (Hiroshi SHIBATA)
01:45 AM Revision f69244ce (git): Merge rubygems/bundler HEAD
Pick from https://github.com/rubygems/rubygems/commit/6b3a5a9ab0453463381a8164efb6298ea9eb776f hsbt (Hiroshi SHIBATA)
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...
deivid (David Rodríguez)
01:45 AM Revision c21c9a29 (git): [rubygems/rubygems] Refactor building metadata dependencies
https://github.com/rubygems/rubygems/commit/fa60f1fe43 deivid (David Rodríguez)
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/...
deivid (David Rodríguez)
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
deivid (David Rodríguez)
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...
deivid (David Rodríguez)
12:04 AM Revision 6465a533 (git): [DOC] Remove extra page-dir prefix
nobu (Nobuyoshi Nakada)

08/22/2022

08:50 PM Revision 59f27445 (git): [rubygems/rubygems] Implement extra rules for libc versioning
https://github.com/rubygems/rubygems/commit/7e976d790a deivid (David Rodríguez)
08:50 PM Revision 492e70c7 (git): [rubygems/rubygems] Fix `gem install` still choosing musl incorrectly
https://github.com/rubygems/rubygems/commit/1b9f7f50a5 deivid (David Rodríguez)
08:50 PM Revision 06ae78f8 (git): [rubygems/rubygems] Remove unnecessary variables
https://github.com/rubygems/rubygems/commit/b5e0c683d9 deivid (David Rodríguez)
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, ...
deivid (David Rodríguez)
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...
lloeki (Loic Nageleisen)
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...
lloeki (Loic Nageleisen)
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...
dependabot[bot]
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...
austin (Austin Ziegler)
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...
MSP-Greg (Greg L)
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:...
Eregon (Benoit Daloze)
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
nobu (Nobuyoshi Nakada)
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. burdettelamar (Burdette Lamar)
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...
dependabot[bot]
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...
tenderlovemaking (Aaron Patterson)
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...
byroot (Jean Boussier)
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.... ivoanjo (Ivo Anjo)
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 ...
Eregon (Benoit Daloze)
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 Eregon (Benoit Daloze)
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...
mame (Yusuke Endoh)
04:22 PM Revision c96ffec9 (git): * 2022-08-23 [ci skip]
git[bot]
04:21 PM Revision b8d142e7 (git): [DOC] Enhanced RDoc for Time (#6267)
Treats:
#utc
#getlocal
#getutc
#ctime
#to_s
#inspect
burdettelamar (Burdette Lamar)
02:15 PM Revision 148d0ccd (git): [DOC] Fix a type [ci skip]
nobu (Nobuyoshi Nakada)
02:15 PM Revision f9990434 (git): [DOC] Remove extra page-dir prefix
nobu (Nobuyoshi Nakada)
09:52 AM Revision 13d31331 (git): Reuse `nonlocal_var` patterns
S_H_ (Shun Hiraoka)
09:08 AM Revision d91865f3 (git): Ignore `.document` only commits [ci skip]
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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. nobu (Nobuyoshi Nakada)
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...
shioyama (Chris Salzberg)
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...
shugo (Shugo Maeda)
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...
jeremyevans0 (Jeremy Evans)
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... shioyama (Chris Salzberg)
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...
nobu (Nobuyoshi Nakada)
03:26 AM Revision d5f50463 (git): [Bug #18937] Coerce non-Numeric into Complex at comparisons
nobu (Nobuyoshi Nakada)
03:23 AM Revision d0b17a4d (git): Adjust space-width for help message
hsbt (Hiroshi SHIBATA)
03:23 AM Revision 6afb4f0a (git): Added help entry for test-bundler-parallel
hsbt (Hiroshi SHIBATA)
03:18 AM Revision 954f709f (git): NEWS.md: sort [ci skip]
znz (Kazuhiro NISHIYAMA)
02:40 AM Revision 3d6baad7 (git): Added syntax_suggest entry to NEWS
hsbt (Hiroshi SHIBATA)
02:11 AM Feature #18159 (Closed): Integrate functionality of syntax_suggest gem into Ruby
I finished promoting @schneems to Ruby committer. hsbt (Hiroshi SHIBATA)
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 deivid (David Rodríguez)

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 ...
RubyBugs (A Nonymous)
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...
RubyBugs (A Nonymous)
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...
k0kubun (Takashi Kokubun)
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...
k0kubun (Takashi Kokubun)
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... dsisnero (Dominic Sisneros)
04:36 PM Revision 73f8027a (git): * 2022-08-22 [ci skip]
git[bot]
04:36 PM Revision 936327a5 (git): [DOC] Enhanced RDoc for Time (#6255)
Treats:
#utc
#hash
#localtime
burdettelamar (Burdette Lamar)
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... javanthropus (Jeremy Bopp)
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...
Eregon (Benoit Daloze)
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
-...
Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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... Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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 ...
nobu (Nobuyoshi Nakada)
11:06 AM Revision b043dd9c (git): Check the room including the space to fill
nobu (Nobuyoshi Nakada)
11:01 AM Revision 0cc98969 (git): Add invalid hexadecimal float tests
nobu (Nobuyoshi Nakada)
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...
deivid (David Rodríguez)
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 deivid (David Rodríguez)
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...
sawa (Tsuyoshi Sawada)
05:04 AM Revision f6d4d73a (git): Use `rb_fork` to suppress deprecated-declarations warnings
nobu (Nobuyoshi Nakada)
01:36 AM Revision b93d554b (git): Fix a typo [ci skip]
k0kubun (Takashi Kokubun)
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 ...
k0kubun (Takashi Kokubun)

08/20/2022

11:33 PM Revision e85db849 (git): * 2022-08-21 [ci skip]
git[bot]
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...
k0kubun (Takashi Kokubun)
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 ... k0kubun (Takashi Kokubun)
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... chrisseaton (Chris Seaton)
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...
k0kubun (Takashi Kokubun)
11:33 PM Revision dc8d70e4 (git): Execute MJIT in a forked Ruby process (#6264)
[Misc #18968] k0kubun (Takashi Kokubun)
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...
ioquatix (Samuel Williams)
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... Eregon (Benoit Daloze)
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. Eregon (Benoit Daloze)
04:21 PM Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==
Same as https://bugs.ruby-lang.org/issues/18798 ?
ko1 (Koichi Sasada)
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...
Eregon (Benoit Daloze)
07:51 PM Misc #18954: DevMeeting-2022-08-18
* [Feature #18798] `UnboundMethod#==` with inherited classes (eregon)
* OK to change UnboundMethod#== to check if ...
Eregon (Benoit Daloze)
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... Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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... Eregon (Benoit Daloze)
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...
zverok (Victor Shepelev)
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
nobu (Nobuyoshi Nakada)
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...
jeremyevans0 (Jeremy Evans)
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...
nobu (Nobuyoshi Nakada)
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... byroot (Jean Boussier)
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...
Eregon (Benoit Daloze)
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... Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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...
jeremyevans (Jeremy Evans)
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....
Eregon (Benoit Daloze)
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...
Eregon (Benoit Daloze)
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, ...
Eregon (Benoit Daloze)
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 Eregon (Benoit Daloze)
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...
jeremyevans (Jeremy Evans)
11:44 AM Revision 209631a4 (git): Consider resolved-through-zsuper methods equal for compatibility
* Fixes https://bugs.ruby-lang.org/issues/18751 Eregon (Benoit Daloze)
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...
jeremyevans (Jeremy Evans)
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... Eregon (Benoit Daloze)
07:25 AM Revision b32a3f12 (git): [Bug #18964] Add test for `rb_econv_append`
nobu (Nobuyoshi Nakada)
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...
k0kubun (Takashi Kokubun)
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...
jeremyevans (Jeremy Evans)
03:25 AM Revision fc5382d4 (git): Reuse rb_class_new_instance_kw function
S_H_ (Shun Hiraoka)
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...
nevans (Nicholas Evans)
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...
nobu (Nobuyoshi Nakada)
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...
jeremyevans (Jeremy Evans)
01:06 AM Revision 1a2f9927 (git): [Bug #18958] format string must be ASCII compatible
nobu (Nobuyoshi Nakada)
01:06 AM Revision 43e8d9a0 (git): Check if encoding capable object before check if ASCII compatible
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
01:06 AM Revision d2483393 (git): [Bug #18956] Negative codepoints are invalid characters
nobu (Nobuyoshi Nakada)
 

Also available in: Atom