Activity
From 08/17/2022 to 08/23/2022
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
08/19/2022
-
11:22 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- Thank you all for your help, this is exciting!
-
09:50 PM Bug #18580: Range#include? inconsistency for beginless String ranges
- nobu (Nobuyoshi Nakada) wrote in #note-4:
> matz (Yukihiro Matsumoto) wrote in #note-3:
> > So I decided to make `i... -
09:45 PM Revision 8f4a53d0 (git): Ignore fc4acf8cae on git blame
-
09:44 PM Revision fc4acf8c (git): Make benchmark indentation consistent
- Related to https://github.com/Shopify/yjit-bench/pull/109
-
08:30 PM Bug #18955 (Closed): Kernel#sprintf - %c ignores a non-ASCII character's encoding
- Applied in changeset commit:git|ce384ef5a95b809f248e089c1608e60753dabe45.
----------
[Bug #18955] Check length of ar... -
07:09 PM Feature #16122: Data: simple immutable value object
- It consists of multiple members, so calling it data itself doesn't seem like a problem to me. For documentation, you ...
-
04:24 PM Feature #16122: Data: simple immutable value object
- Umm wait.
`Data` is actually a [plural form](https://www.learnenglish.de/mistakes/data.html). While using it as si... -
10:19 AM Feature #16122: Data: simple immutable value object
- I am not 100% satisfied with any of the candidates, but Struct::Value and Data are better than others.
Struct::Value... -
10:13 AM Feature #16122: Data: simple immutable value object
- > At the dev meeting, @matz rejected all name candidates except `Struct::Value` and `Data`.
So, as far as I can un... -
08:30 AM Feature #16122: Data: simple immutable value object
- This is my personal opinion. I think `Data` is a good choice since there are few compatibility issues at this time de...
-
08:23 AM Feature #16122: Data: simple immutable value object
- At the dev meeting, @matz rejected all name candidates except `Struct::Value` and `Data`.
* He wants to avoid the ... - 06:57 PM Revision 745de85a (git): * 2022-08-20 [ci skip]
-
06:57 PM Revision 1ef49de8 (git): [Bug #18955] format single character for `%c`
-
06:57 PM Revision ce384ef5 (git): [Bug #18955] Check length of argument for `%c` in proper encoding
-
05:23 PM Bug #18967 (Feedback): Segmentation fault in stackprof with Ruby 2.7.6
- Thank you for your report. At least we need the full trace, especially. "C level backtrace information" section. Can ...
-
03:42 PM Bug #18967 (Third Party's Issue): Segmentation fault in stackprof with Ruby 2.7.6
- Ruby 2.7.6 appears to have broken the stackprof gem, crashing on every run with a segmentation fault.
Please see t... -
03:43 PM Feature #18965: Further Thread::Queue improvements
- So I implemented `pop(:count)` https://github.com/ruby/ruby/pull/6257
And benchmarked it against my somewhat reali... -
11:33 AM Feature #18965: Further Thread::Queue improvements
- Also note that I did a single ticket for 3 somewhat related features, but if `concat` (aka batch push) is deemed unde...
-
01:18 PM Revision 4177f60e (git): Write interface instead of interfact
-
12:49 PM Feature #5825: Sweet instance var assignment in the object initializer
- I would really love to see native support for an initializer instance variable assignment shorthand without adding th...
-
11:23 AM Bug #18941: Endless loop with a memory leak in FileUtils::mkpath
- I proposed a fix at https://github.com/ruby/fileutils/pull/100.
-
09:34 AM Revision 6bcb473d (git): [ruby/error_highlight] Apply ErrorHighlight::CoreExt to TypeError and ArgumentError
- https://github.com/ruby/error_highlight/commit/defcaf1beb
-
08:51 AM Bug #18966 (Open): Strange behavior when numbered parameters and method definition are both used in a block
- ~~~ruby
'a'.tap { p _1; def f()=42 } #=> "a"
'a'.tap { p _1; def f(a)=42 } #=> nil
'a'.tap { def f()=42; p _1 } #=... -
05:38 AM Feature #18949: Deprecate and remove replicate and dummy encodings
- We still need to discuss about the implementation detail, but the baseline is what @eregon explained above.
Matz. -
05:09 AM Feature #17330: Object#non
- I still don't think `non` (or `itself_if` or `itself_unless`) gain readability. It may work well in some cases, but m...
-
04:20 AM Revision 17d0e5be (git): syntax_suggest moved to under the ruby organization.
-
01:20 AM Revision bd0fe26b (git): [DOC] Fix "military timezone"
- Not only `J` is called military timezone.
- 01:03 AM Revision 61ab06fe (git): Update default gems list at 490af8dbdb66263f29d0b4e43752fb [ci skip]
-
01:02 AM Revision 490af8db (git): Sync SyntaxSuggest
- ```
$ tool/sync_default_gems.rb syntax_suggest
``` -
01:02 AM Revision a50df1ab (git): Setup SyntaxSuggest as default gem
- Adds the `syntax_suggest` syntax error display tool to Ruby through the same mechanism as `error_highlight` and `did_...
-
12:51 AM Revision 3541f329 (git): Reuse opt_nl rule
-
12:47 AM Revision f0953617 (git): Repalce to NIL_P macro
08/18/2022
-
07:59 PM Feature #18965: Further Thread::Queue improvements
- > That would mean basically ignoring the timeout, not great.
Maybe my writing wasn't clear. I don't suggest to ign... -
06:59 PM Feature #18965: Further Thread::Queue improvements
- chrisseaton (Chris Seaton) wrote in #note-3:
> I was going to comment that adding or removing multiple items from a ... -
06:41 PM Feature #18965: Further Thread::Queue improvements
- > Then there's the question of how SizedQueue would behave if it's not full, but still doesn't have space for all the...
-
06:30 PM Feature #18965: Further Thread::Queue improvements
- I was going to comment that adding or removing multiple items from a queue is likely not great for implementation, as...
-
05:56 PM Feature #18965: Further Thread::Queue improvements
- @p8, indeed. Thanks for the heads up.
-
05:06 PM Feature #18965: Further Thread::Queue improvements
- Hi Jean,
Should that second code example use `items` instead of `item`?
``` ruby
queue.concat(items)
```
-
02:46 PM Feature #18965 (Rejected): Further Thread::Queue improvements
- Following the recent addition of a `timeout` parameter to `Queue#pop`, there are a handful of other improvements I'd ...
-
06:50 PM Feature #18776: Object Shapes
- > With shapes you could start with {a,b} and then add the hash keys to get shape {a,b,c,d} and pass all values [1,2,3...
-
06:49 PM Feature #18776: Object Shapes
- tenderlovemaking (Aaron Patterson) wrote in #note-21:
> It's currently implemented this way. :)
Ok, thank you for th... -
06:22 PM Feature #18776: Object Shapes
- Reference keyword arguments - what we're doing is using the same idea of shapes, but applying them to the keyword arg...
-
06:06 PM Feature #18776: Object Shapes
- Dan0042 (Daniel DeLorme) wrote in #note-19:
> Thank you for this important work. In particular I think shapes will b... -
05:38 PM Feature #18776: Object Shapes
- Dan0042 (Daniel DeLorme) wrote in #note-19:
> In particular I think shapes will be very useful in the future to impr... -
03:40 PM Feature #18776: Object Shapes
- Thank you for this important work. In particular I think shapes will be very useful in the future to improve the perf...
-
04:50 AM Feature #18776: Object Shapes
- About the general principle, since Ruby is used on many production environment by many companies, non-optional featur...
-
06:05 PM Revision 35c794b2 (git): Fixed by [Bug #18964]
-
06:05 PM Revision 99116da7 (git): Scan the code range of the last added portion
-
06:05 PM Revision f34280ec (git): Scan the code range of the formatted portion
-
05:59 PM Feature #16122: Data: simple immutable value object
- I can live with `DataClass` too, but I still can't forget the beautiful shortness of `Data`. `DataClass.new` feels li...
-
05:05 PM Feature #16122: Data: simple immutable value object
- If “data” is the naming direction folks like, I think the class name should be DataClass. This aligns with kotlin (wh...
-
02:14 PM Feature #16122: Data: simple immutable value object
- > I'm not sure if @zverok likes Data over his own proposal, but note that data appears in his local variable name as...
-
06:59 AM Feature #16122: Data: simple immutable value object
- k0kubun (Takashi Kokubun) wrote in #note-37:
> My enthusiastic +1 for `Data`.
>
> I've used Kotlin and its [Data... -
06:38 AM Feature #16122: Data: simple immutable value object
- My enthusiastic +1 for `Data`.
I've used Kotlin and its [Data classes](https://kotlinlang.org/docs/data-classes.htm... -
05:25 PM Feature #18910 (Closed): Improve maintainability of LLDB helpers
- Applied in changeset commit:git|f1ccfa0c2c200c9443fbfc3f1ac3acbdd3e35559.
----------
[ci-skip][Feature #18910][lldb]... - 05:25 PM Revision 59da2678 (git): * remove trailing spaces. [ci skip]
-
05:25 PM Revision 92603bbd (git): [ci skip][Feature #18910][lldb] Dedup lldb_init
- by moving it fully into RbBaseCommand
-
05:25 PM Revision b26aec9d (git): [ci-skip][Feature #18910][lldb] New directory structure
- Push the newly refactored lldb files into a sub-directory so that we're
not cluttering up the misc directory -
05:25 PM Revision a4ef2f16 (git): [ci-skip][Feature #18910][lldb] Port rclass_ext to new LLDB Framework
-
05:25 PM Revision 281bcc8e (git): [ci-skip][Feature #18910][lldb] Port heap_page command to new LLDB framework
-
05:25 PM Revision f1ccfa0c (git): [ci-skip][Feature #18910][lldb] Provide class framework for lldb commands
- `lldb_cruby.py` manages lldb custom commands using functions. The file
is a large list of Python functions, and an in... -
04:28 PM Revision d903e767 (git): Allow strings in assert_pattern_list
- 03:17 PM Revision 8c44b07f (git): * 2022-08-19 [ci skip]
-
03:16 PM Revision 2652b0da (git): Harden SizedQueue#push timeout test
-
02:38 PM Revision 7c1ed470 (git): Add tests for assert_pattern_list
-
02:25 PM Revision c5366769 (git): [DOC] `offset` argument of Regexp#match
-
11:40 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- PR: https://github.com/ruby/ruby/pull/6251
-
09:35 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- To explain my mental model:
I think Method/UnboundMethod captures a given method, and that should never change (even... -
09:23 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- @matz agreed to remove ZSUPER methods, because the current illusion is incomplete.
In practice the semantics are the ... -
10:59 AM Feature #18159 (Assigned): Integrate functionality of syntax_suggest gem into Ruby
- Thanks @schneems and @matz
I'll merge this and invite @schneems to our team as a Ruby committer tomorrow.
-
09:02 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- The new name `syntax_suggest` looks good.
Matz.
-
09:45 AM Bug #18958: Kernel#sprintf doesn't apply format sequence in some encodings
- @naruse, @nobu, and @matz agreed that it should raise an exception if the format string is not ASCII-compatible.
-
09:06 AM Bug #18958: Kernel#sprintf doesn't apply format sequence in some encodings
- I agree with raising exception when the format string is not ASCII compatible.
Matz.
-
09:44 AM Bug #18956: Kernel#sprintf - %c handles negative Integer argument in a confusing way
- @naruse, @nobu, and @matz agreed that a negative integer to `%c` should raise an explicit exception.
-
09:42 AM Bug #18955: Kernel#sprintf - %c ignores a non-ASCII character's encoding
- At the dev-meeting, @akr proposed that the format `%c` behaves like `%s` (with the one-codepoint restriction) and @ma...
-
09:38 AM Feature #18949: Deprecate and remove replicate and dummy encodings
- Copying from the dev meeting log:
* We will try to change the encoding lookup for stings so that the fast path get... -
09:37 AM Misc #18954: DevMeeting-2022-08-18
- We could not finish all the agenda in time. We will continue on 25th.
-
07:14 AM Misc #18954: DevMeeting-2022-08-18
- * [Feature #18159] Integrate functionality of syntax_suggest gem into Ruby
* Is it ok for `syntax_suggest`? -
09:30 AM Bug #18751: Regression on master for Method#== when comparing public with private method
- We discussed this at the dev meeting.
@ko1 said Method#== should be "is it the same definition?".
I agree, I'll tak... -
09:24 AM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
- @matz agreed to remove ZSUPER methods, because the current illusion is incomplete.
In practice the semantics are the ... -
09:19 AM Bug #18580: Range#include? inconsistency for beginless String ranges
- matz (Yukihiro Matsumoto) wrote in #note-3:
> So I decided to make `include?` to raise exception for beginless/endle... -
05:21 AM Bug #18580: Range#include? inconsistency for beginless String ranges
- I once thought about removing `each`+`succ` semantics from `include?` altogether for simplicity, but it is too big in...
-
08:09 AM Revision b0b9f720 (git): rb_str_resize: Only clear coderange on truncation
- If we are expanding the string or only stripping extra capacity
then coderange won't change, so clearing it is wasteful. -
08:07 AM Feature #18944 (Closed): Add SizedQueue#push(timeout:)
- Applied in changeset commit:git|fe61cad7490da8a879597f851f4a89856d44838e.
----------
Implement SizedQueue#push(timeo... -
06:28 AM Feature #18944: Add SizedQueue#push(timeout:)
- It looks good to me.
Matz.
-
08:07 AM Revision fe61cad7 (git): Implement SizedQueue#push(timeout: sec)
- [Feature #18944]
If both `non_block=true` and `timeout:` are supplied, ArgumentError
is raised. -
07:16 AM Feature #18885: End of boot advisory API for RubyVM
- What about `ObjectSpace`?
-
07:14 AM Feature #18885: End of boot advisory API for RubyVM
- An API to notify "end of boot" seems useful beyond just fork COW optimizations, as you say.
For instance a JIT might... -
06:55 AM Feature #18885: End of boot advisory API for RubyVM
- Thank you Matz.
> RubyVM is not globally available (e.g., not for JRuby or TruffleRuby).
Yes, what was on purp... -
06:51 AM Feature #18885: End of boot advisory API for RubyVM
- I am OK with adding this feature, but I have some concerns with the place and the name.
`RubyVM` is not globally ava... - 07:04 AM Revision b3718ede (git): Update bundled gems list at 2022-08-18
-
06:27 AM Feature #18934 (Rejected): Proposal: Introduce method results memoization API in the core
- I reject this proposal to make the feature built-in for several reasons:
* I still think it should be done in libr... -
05:57 AM Bug #18964 (Closed): `rb_econv_append` and the family do not consider the code range
- Applied in changeset commit:git|725626d8905fe1ac4a2cf1c3e2db6412bf8f381f.
----------
[Bug #18964] Update the code ra... -
01:40 AM Bug #18964 (Closed): `rb_econv_append` and the family do not consider the code range
- These functions do not update the code range of the destination string, and the string still caches outdated flags.
... -
05:57 AM Revision 725626d8 (git): [Bug #18964] Update the code range of appended portion
-
03:46 AM Revision 2a55c61e (git): ext/pty/extconf.rb: Try libutil only on OpenBSD
- icc now seems to provide libutil.so that is not related to pty.
This extconf.rb wrongly finds it and adds `-lutil`, b... -
02:05 AM Revision fbaa2f0b (git): Suppress detached head warnings [ci skip]
- Check out the revisions for testing as "detached" from the beginning.
08/17/2022
-
08:32 PM Feature #18776: Object Shapes
- It's unfortunate that there are spills there and there might be ways to reduce that by reorganizing the code a bit, b...
-
07:51 PM Feature #18776: Object Shapes
- After running the YJIT benchmarks in release mode, we found that setting instance variables is, indeed, slower on our...
-
07:03 PM Feature #18776: Object Shapes
- > I think it would be a good idea to open a draft pull request so that it's easier to look at the diff and comment on...
-
06:05 PM Feature #18776: Object Shapes
- > These are our proposed code changes to implement Object Shapes in CRuby.
I think it would be a good idea to open... -
05:14 PM Feature #18776: Object Shapes
- # Object Shapes Update
We are writing with an update on the Object Shapes implementation, and to ask what needs to b... - 05:26 PM Revision bfefaf47 (git): * 2022-08-18 [ci skip]
-
05:26 PM Revision b4539dba (git): Added vm setivar benchmark from yjit-bench
-
03:17 PM Feature #18934: Proposal: Introduce method results memoization API in the core
- jeremyevans0 (Jeremy Evans) wrote in #note-2:
> This type of optimization is not safe unless the entire class hierar... -
02:55 PM Feature #18934: Proposal: Introduce method results memoization API in the core
- Dan0042 (Daniel DeLorme) wrote in #note-1:
> I'm also excited by the possibility this could allow to memoize methods... -
01:31 PM Feature #18934: Proposal: Introduce method results memoization API in the core
- The limitations of `@var ||=` memoization are brought up from time to time (e.g. #17316, #6023) so I think that's an ...
-
02:54 PM Revision b4daf6e2 (git): Fix flaky test for GC thrashing
- GC could be in an intermediate state after creating the objects, so we
should finish GC by running a minor GC. -
02:30 PM Feature #17330: Object#non
- ujihisa (Tatsuhiro Ujihisa) wrote in #note-19:
> `itself_if`
> `itself_unless`
zverok (Victor Shepelev) wrote in... -
05:36 AM Feature #17330: Object#non
- I had another idea regarding a #non method that I haven't voiced before, but may result in cleaner code overall:
`... -
05:13 AM Feature #17330: Object#non
- TBH, I believe that core method names should be short, recognizable and elegant in context in the first place, not ex...
-
04:46 AM Feature #17330: Object#non
- ujihisa (Tatsuhiro Ujihisa) wrote in #note-19:
[H]ow's the following 2-words names instead?
>
> `itself_if`
> `i... -
03:23 AM Feature #17330: Object#non
- > non() and oui()
Since what these 2 methods do aren't trivial from the names, how's the following 2-words names ins... -
08:40 AM Revision ddb81b93 (git): Extract common code from `rb_enc_vsprintf` and `rb_str_vcatf`
-
08:31 AM Feature #18822: Ruby lack a proper method to percent-encode strings for URIs (RFC 3986)
- @sam.saffron it's my fault for forgetting to update the commit message. `CGI.url_encode` was never implemented, what ...
-
08:06 AM Feature #18822: Ruby lack a proper method to percent-encode strings for URIs (RFC 3986)
- @byroot,
I am not sure the name is right here:
`CGI.path_encode`
with an alias of
`CGI.params_encode`
is far ... -
06:23 AM Revision 72adee6e (git): Update dependencies
-
06:23 AM Revision b880576e (git): yjit.h is not necessary for all sources using mjit.h
-
06:23 AM Revision 81fbc8d5 (git): Move `mjit_exec` to vm.c
Also available in: Atom