Project

General

Profile

Activity

From 02/10/2022 to 02/16/2022

02/16/2022

07:34 PM Feature #18589: Finer-grained constant invalidation
During startup, global invalidation for constants also causes a lot of extra lookups, and with a JIT it throws away a... Eregon (Benoit Daloze)
07:10 PM Feature #18589: Finer-grained constant invalidation
At the moment on Shopify's core monolith we're seeing around 1 in 30 requests invalidate the global cache. We're stil... kddnewton (Kevin Newton)
06:45 PM Feature #18589: Finer-grained constant invalidation
Current design is the global counter doesn't change frequently.
Do you have measurements about it on some apps?
ko1 (Koichi Sasada)
05:32 PM Feature #18589 (Closed): Finer-grained constant invalidation
This is related to https://github.com/ruby/ruby/pull/5433.
## Current behavior
Caches depend on a global counte...
kddnewton (Kevin Newton)
05:36 PM Misc #18557: DevMeeting-2022-02-17
* [Feature #18589] Finer-grained constant invalidation (Kevin Newton)
* We want to trade a very small memory incre...
kddnewton (Kevin Newton)
05:16 PM Misc #18587: What was the reason behind Ruby choosing SipHash for Hash?
One concern which might have been considered is what if someone writes their own hash table in pure-Ruby using `#hash... Eregon (Benoit Daloze)
04:12 PM Misc #18587: What was the reason behind Ruby choosing SipHash for Hash?
I misread a point related to extra carefulness.
They don't suggest a rehash on collision, but on hash map grow; sinc...
midnight (Sarun R)
03:42 PM Misc #18587 (Open): What was the reason behind Ruby choosing SipHash for Hash?
Hello
I am digging into the history behind Ruby using SipHash for its Hash.
I found that in 2012 there were CVE-2...
midnight (Sarun R)
04:43 PM Revision 5f01fba0 (git): yjit_codegen.c: Prevent a possible out-of-bound access
The code attempts to read `C_ARG_REGS[leaf_builtin->argc + 1]`, and the
size of `C_ARG_REGS` is `NUM_C_ARG_REGS`. So...
mame (Yusuke Endoh)
03:52 PM Bug #18588 (Closed): ruby -e 'p gets' with japanese charactors gets additional invalid leading chars and caught Encoding::InvalidByteSequenceError
### Input a line starting with japanese charactor from console, almost every time ruby gets additional invalid leadin... YO4 (Yoshinao Muramatsu)
03:34 PM Revision fabf60c9 (git): * 2022-02-17 [ci skip]
git[bot]
03:34 PM Revision 797e8f54 (git): Fix -Wsign-compare when -DRUBY_DEBUG=1
Sizes for darray are size_t now. CC @peterzhu2118 alanwu (Alan Wu)
02:50 PM Revision 969ad580 (git): Change feature_index from fake Array to darray
Using a fake (malloc) RArray is not friendly for the garbage
collector. Fake RArray does not have a heap page, so it ...
peterzhu2118 (Peter Zhu)
02:50 PM Revision 71afa816 (git): Change darray size to size_t and add functions that use GC malloc
Changes size and capacity of darray to size_t to support more
elements.
Adds functions to darray that use GC allocat...
peterzhu2118 (Peter Zhu)
02:43 PM Revision f9abb286 (git): Parenthesize a macro expression
The modulo in `rb_yjit_code_page_alloc` seems interpreted wrongly. nobu (Nobuyoshi Nakada)
08:57 AM Revision 00c7a0d4 (git): fix parallel test timeout retrying
On the parallel test, workers can be killed because of timeout
and the information for the retrying can be inconsiste...
ko1 (Koichi Sasada)
07:32 AM Revision b9851c7e (git): lib/securerandom.rb: Fix the check of availability of Random.urandom
Random.urandom raises a RuntimeError if it is unavailable.
[Bug #13885]
mame (Yusuke Endoh)
05:19 AM Bug #13885: Random.urandom と securerandom について
いまは Random.urandom は利用できない環境で RuntimeError を投げるようになっているはずなのですが、securerandom.rb で Random.urandom が利用可能かをチェックするコードが古いまま... mame (Yusuke Endoh)
04:32 AM Bug #18586 (Closed): ObjectSpace::WeakMap#each seems to leak a broken object
Applied in changeset commit:git|1ae630db2682831cc0f2d381ff46e7b8cd3c2174.
----------
`wmap#each` should check livene...
ko1 (Koichi Sasada)
04:32 AM Revision e7d76fe2 (git): * 2022-02-16 [ci skip]
git[bot]
04:31 AM Revision 1ae630db (git): `wmap#each` should check liveness of keys
`ObjectSpace::WeakMap#each*` should check key's liveness.
fix [Bug #18586]
ko1 (Koichi Sasada)

02/15/2022

08:17 PM Feature #18498: Introduce a public WeakKeysMap that compares by equality
> I can't imagine a use case where you'd want to share metadata for objects that are eql.
As you certainly know, ...
byroot (Jean Boussier)
07:40 PM Feature #18498: Introduce a public WeakKeysMap that compares by equality
byroot (Jean Boussier) wrote in #note-8:
> Then yes. But it's rarely convenient.
Can you elaborate? Because the D...
Dan0042 (Daniel DeLorme)
02:42 PM Feature #18498: Introduce a public WeakKeysMap that compares by equality
> as long as you use non-GC-able values only
Then yes. But it's rarely convenient.
byroot (Jean Boussier)
02:08 PM Feature #18498: Introduce a public WeakKeysMap that compares by equality
If ObjectSpace::WeakMap had a #compare_by_identity that could be set to false, wouldn't this be equivalent to this We... Dan0042 (Daniel DeLorme)
08:13 AM Feature #18498: Introduce a public WeakKeysMap that compares by equality
> Do you think this Hash compatible? For example, default_proc (I think it is too much)?
Yes, I'd rather not ask f...
byroot (Jean Boussier)
04:49 AM Feature #18498: Introduce a public WeakKeysMap that compares by equality
ko1 (Koichi Sasada) wrote in #note-4:
> Do you think this `Hash` compatible? For example, `default_proc` (I think it ...
ko1 (Koichi Sasada)
04:46 AM Feature #18498: Introduce a public WeakKeysMap that compares by equality
Do you think this `Hash` compatible? For example, `default_proc` (I think it is too much)? ko1 (Koichi Sasada)
05:20 PM Bug #18586 (Closed): ObjectSpace::WeakMap#each seems to leak a broken object
```
h = ObjectSpace::WeakMap.new
GC.disable
s = "a"
10000.times do
h[s] = true
s = s.succ
end
GC.en...
mame (Yusuke Endoh)
03:19 PM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
p8 (Petrik de Heus) wrote in #note-11:
> I can imagine having a `protected_send` just like we have a `public_send` a...
Eregon (Benoit Daloze)
03:14 PM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
matthewd (Matthew Draper) wrote in #note-10:
> The trouble with using `send` in this [general] situation is that it m...
Eregon (Benoit Daloze)
02:53 PM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
I can imagine having a `protected_send` just like we have a `public_send` and `send` (which is basically `private_sen... p8 (Petrik de Heus)
01:25 PM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
The trouble with using `send` in this [general] situation is that it makes it too equally-easy to reach into _all_ in... matthewd (Matthew Draper)
02:32 PM Feature #18585: Promote find pattern to official feature
> Is this request related to the whole feature (as described at https://docs.ruby-lang.org/en/3.1/doc/syntax/pattern_... ktsj (Kazuki Tsujimoto)
11:22 AM Bug #18504: configure prints a warning when cross-compiling
What about this?
```diff
diff --git a/configure.ac b/configure.ac
index 4feefb57915..01e87c0a9b4 100644
--- a/con...
nobu (Nobuyoshi Nakada)
08:11 AM Feature #18339: GVL instrumentation API
> Could you write a picture (or flow) what happens on GVL hooks with GVL acquire/release?
I'm sorry, I don't under...
byroot (Jean Boussier)
05:52 AM Feature #18339: GVL instrumentation API
* Could you write a picture (or flow) what happens on GVL hooks with GVL acquire/release?
* It seems it doesn't use ...
ko1 (Koichi Sasada)
07:30 AM Feature #18490 (Closed): MakeMakefile.pkg_config should accept multiple options
nobu (Nobuyoshi Nakada)
05:10 AM Feature #18571: Removed the bundled sources from release package after Ruby 3.2
@tenderlovemaking's comment for psych and libffi: https://github.com/ruby/psych/issues/535 mame (Yusuke Endoh)

02/14/2022

03:30 PM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
For this Net::HTTP example IMHO it'd be better to use `send`, that would make it a private method and be explicit tha... Eregon (Benoit Daloze)
03:02 PM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
> Calling "private/protected" methods on another object feels rather wrong to me.
The whole point of `protected` i...
matthewd (Matthew Draper)
02:23 PM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
Do you have an example in Rails?
This sounds like it can be solved by moving such private-but-shared method to `In...
Eregon (Benoit Daloze)
03:24 PM Misc #18557: DevMeeting-2022-02-17
* [Feature #18576] Rename `ASCII-8BIT` encoding to `BINARY`
- The `ASCII-8BIT` name is very confusing for beginners...
byroot (Jean Boussier)
02:15 PM Misc #18557: DevMeeting-2022-02-17
* [Misc #18362] mswin builds & vs2022
* What can we do for the bug?
nobu (Nobuyoshi Nakada)
02:08 PM Misc #18557: DevMeeting-2022-02-17
* [Feature #18585] Promote find pattern to official feature (ktsj)
* Is it OK to to promote find pattern to offi...
ktsj (Kazuki Tsujimoto)
02:35 PM Revision 26187a85 (git): Use RARRAY_SHARED_ROOT_FLAG for checking re-enter
RARRAY_SHARED_ROOT_FLAG is defined as FL_USER5, but we should use
RARRAY_SHARED_ROOT_FLAG instead of depending on tha...
peterzhu2118 (Peter Zhu)
02:29 PM Feature #18585: Promote find pattern to official feature
Hello! Is this request related to the whole feature (as described at https://docs.ruby-lang.org/en/3.1/doc/syntax/pat... retro (Josef Šimánek)
02:05 PM Feature #18585 (Closed): Promote find pattern to official feature
"Find pattern" has introduced in 3.0 and it is still marked as an experimental.
I don't see any problems, so it is t...
ktsj (Kazuki Tsujimoto)
08:17 AM Revision 76e594d5 (git): fix GC event synchronization
(1) gc_verify_internal_consistency() use barrier locking
for consistency while `during_gc == true` at the end
...
ko1 (Koichi Sasada)
06:38 AM Misc #18362: mswin builds & vs2022
Visual Studio 2022 version 17.0.6 released at February 8 seems still unfixed.
I wonder how we deal with this issue (...
nobu (Nobuyoshi Nakada)
05:57 AM Bug #18582: Hash.group_by not grouping correctly with SortedSets
Ah, I had tried method_defined?, but it returns true (for inherited Kernel#eql?)
I did not realized that method_de...
[email protected] (Mike Carlton)
05:52 AM Revision 83803117 (git): * 2022-02-14 [ci skip]
git[bot]
05:52 AM Revision 8e089991 (git): extend timeout for mjit
1 seconeds is not enough on an specific (busy) machine w/ mjit.
http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker...
ko1 (Koichi Sasada)
04:57 AM Revision 8a0dfd4a (git): * 2022-02-14 [ci skip]
git[bot]
04:56 AM Revision c8b5d703 (git): Merge RubyGems-3.3.7 and Bundler-2.3.7 (#5543)
hsbt (Hiroshi SHIBATA)

02/13/2022

11:43 AM Bug #18584 (Closed): List of Rubies has an error
Can you file it to https://github.com/ruby/actions ?
index.txt was generated by https://github.com/ruby/actions/bl...
hsbt (Hiroshi SHIBATA)
11:18 AM Bug #18584 (Closed): List of Rubies has an error
There was nowhere obvious on https://www.ruby-lang.org about where to report this problem, so I figured here was as g... thoran (thoran not blank)
09:25 AM Revision 7a8ea2e4 (git): [MSWin] Install OpenSSL with vcpkg
nobu (Nobuyoshi Nakada)
09:12 AM Feature #18463: Random number generation with xoshiro
@mrkn Happy to add Xoshiro and PCG generators. Probably also good to add
MRG32k3a [1]
Philox [2]
MixMax [3][4]
Sq...
bbrklm (Benson Muite)
05:11 AM Feature #18463: Random number generation with xoshiro
@bbrklm I want the Xoshiro256 generator for Ruby, too. In addition to it, I want the dSFMT generator.
I think it ...
mrkn (Kenta Murata)
08:39 AM Revision b4fd0e0c (git): Exclude TestThread#test_signal_at_join on FreeBSD 13 for now [ci skip]
nobu (Nobuyoshi Nakada)
08:02 AM Revision 7cd35926 (git): skip some test using openssl to cease failure on GitHub Actions for MinGW.
nagachika (Tomoyuki Chikanaga)
07:25 AM Bug #18582: Hash.group_by not grouping correctly with SortedSets
You can use `RBTree.method_defined?(:eql?, false)` and so on, instead of `RBTree.instance_methods(false).include?`. nobu (Nobuyoshi Nakada)
07:09 AM Revision b61b4563 (git): skip some tests of rdoc temporary.
nagachika (Tomoyuki Chikanaga)
07:05 AM Revision 6c70a329 (git): merge revision(s) f18a0b7654d471101b207e7fe553e12a25398e45,77e1b477297a48e285d34b21e8d30ab4b46bf90c,c483aa8394fc26e341666db66938b1d6fc2cbb8e,f2e39e5fed498b51ae914ed42ec51ae578330583,6aaa1c4d09249baae93d5bb7fba585be420c4fee,923b3652247aa17ac99dc45cb1cd0654fa08d976,950c7a12efa19d73bed10d377368a50664cae32c,69ce9e4187589335124077029496ee293d4e9189,ddb87396349fa4699153d5c4c7569c2e0186adfc,09e7a0c4a4fba18e3308e4f8cb4b8b5b52b41d20,298d65b1e4f3019af7fc9b905390b56736f5fd0e,2f3edf28f3a251bac2cf3b47b46b372faac71e8e:
[ruby/rdoc] Follow-up rubygems
Use test-unit assertions instead of minitest.
https://github.com/rub...
nagachika (Tomoyuki Chikanaga)
06:48 AM Revision a9aa42ac (git): * 2022-02-13 [ci skip]
git[bot]
06:48 AM Revision 045ab1d0 (git): [DOC] Fix a typo in `Integer#chr` example
The current example raises the following error.
```ruby
0..chr # => undefined local variable or method `chr' for mai...
koic (Koichi ITO)
05:30 AM Revision 18bd1179 (git): Revert 207fb8e6d82c5018c958243de8bfaac3fa5ddfb3 partially.
Bacause the GitHub Actions workflow for MinGW failed on 'where check' nagachika (Tomoyuki Chikanaga)
05:27 AM Revision 207fb8e6 (git): merge revision(s) 49cc7709cb762594aa8ea1b98a1fdf41662a5cf6:
[Actions] mingw - use ruby/setup-ruby@v1 again
---
.github/workflows/mingw.yml | 4 +++-
1 ...
nagachika (Tomoyuki Chikanaga)
05:21 AM Revision 0f755a14 (git): merge revision(s) bab862334313c08ec4f218cb1de1774c9909e3be:
The `include`d set should be expanded values [ci skip]
While the `matrix` level values are expanded from the...
nagachika (Tomoyuki Chikanaga)
05:20 AM Revision 0b45ce2a (git): merge revision(s) 63358581bca80c7a885228ac841b0ae9c4ca11b5:
Fix weird MinGW failure notifications
It's been "MinGW / Array", but it will be "MinGW MINGW64 / check" or
...
nagachika (Tomoyuki Chikanaga)
05:20 AM Revision 62c2414b (git): merge revision(s) e0a5c3d2b71dfad038d7562fdd33f02ffd79232d,7d55f1b6b6b9777a8bd665f6c5ed6a64c7fa2e9b:
[MinGW] Set job names
---
.github/workflows/mingw.yml | 1 +
1 file changed, 1 insertion(+)...
nagachika (Tomoyuki Chikanaga)
05:11 AM Revision e7f21265 (git): merge revision(s) ec032e86faf9ac128ac51e3394d9b4001a374b38,8acb2a9b4069f55f71a80c747fc7c6bcb686abb7:
[MinGW] Clear prefix and move the directory to DESTDIR
Also the destination will be created at the installat...
nagachika (Tomoyuki Chikanaga)

02/12/2022

09:54 PM Feature #16122: Data: simple immutable value object
+1 -
Also, is there plans to have a flag in C or a different shape so that the VM's can make this fast
dsisnero (Dominic Sisneros)
08:35 PM Feature #18583: Pattern-matching: API for custom unpacking strategies?
One simpler example is, that matching something with regexps with capture groups is still quite annoying!
```ruby
c...
zverok (Victor Shepelev)
08:22 PM Feature #18583 (Open): Pattern-matching: API for custom unpacking strategies?
I started to think about it when discussing https://github.com/ruby/strscan/pull/30.
The thing is, usage of StringS...
zverok (Victor Shepelev)
02:17 PM Revision 11862c1a (git): [MSWin] Remove stale configuration check [ci skip]
PSAPI library has not been used since d66c5768caaee16a0c2c2c641185. nobu (Nobuyoshi Nakada)
01:18 PM Feature #18463: Random number generation with xoshiro
Work in progress gem for xoshiro128++ [0]
Python continues to use Mersenne twister as default[1], but Numpy has be...
bbrklm (Benson Muite)
08:13 AM Revision 844a8355 (git): [ruby/rdoc] Load YAML library for each test
https://github.com/ruby/rdoc/commit/a93e1bcd68 nobu (Nobuyoshi Nakada)
08:12 AM Revision ea04e3ff (git): Fix bundler test failures.
These failures are caused by the incompatibility in keyword argument
treatment in rspec-mocks.
I fix the expectations...
nagachika (Tomoyuki Chikanaga)
07:52 AM Revision 034872d6 (git): merge revision(s) 342e7a094a70d6f90b96262c88177dae32976c85:
[rubygems/rubygems] Fix spec to not touch the network
And not depend on the state of rack's master branch, i...
nagachika (Tomoyuki Chikanaga)
07:15 AM Revision 3b3fb73d (git): [ruby/rdoc] Dump plain objects as `RDoc::Options`
So that the generated `.rdoc_options` file is loadable.
https://github.com/ruby/rdoc/commit/6cf6e1647b
nobu (Nobuyoshi Nakada)
07:02 AM Revision 11f38821 (git): [ruby/rdoc] Fix a test method name
https://github.com/ruby/rdoc/commit/8166b84cf3 nobu (Nobuyoshi Nakada)
06:22 AM Revision e95ad700 (git): [ruby/rdoc] Update generated files
nobu (Nobuyoshi Nakada)
06:06 AM Revision 5348a345 (git): [ruby/rdoc] Relative loading for easier development (https://github.com/ruby/rdoc/pull/821)
This patch makes sure we only load relative code. Hence when coding or
testing rdoc, we'll be sure to always be using...
ulysse (Ulysse Buonomo)
05:59 AM Revision 08137c5d (git): [ruby/rdoc] Optimize RawLine by using a regexp instead of negative look-ahead rule
This improves the performance in some cases.
`rdoc .../gems/sinatra-2.1.0/README.md` takes 10.5 sec. before this
chan...
mame (Yusuke Endoh)
03:38 AM Revision 6e65e041 (git): [DOC] Remove unnecessary `rdoc-ref:` schemes
nobu (Nobuyoshi Nakada)
03:38 AM Revision 50c972a1 (git): [DOC] Simplify operator method references
nobu (Nobuyoshi Nakada)
03:28 AM Revision e6b537e6 (git): Reuse operation rule for operation2
S_H_ (Shun Hiraoka)
03:27 AM Revision c0651b4a (git): Reuse p_kwnorest rule for f_no_kwarg
S_H_ (Shun Hiraoka)
01:43 AM Revision 68be9a9a (git): Fix Typo
Steven Nunez

02/11/2022

09:08 PM Bug #18582: Hash.group_by not grouping correctly with SortedSets
Thank you very much Nobu for your quick response.
For anyone who stumbles upon this page, I used this quick and dirt...
[email protected] (Mike Carlton)
03:33 AM Bug #18582 (Third Party's Issue): Hash.group_by not grouping correctly with SortedSets
It is not because of ruby versions, by whether `SortedSet` uses RBTree gem or not.
```shell-session
$ ruby2.7 -rset -...
nobu (Nobuyoshi Nakada)
02:39 AM Bug #18582 (Third Party's Issue): Hash.group_by not grouping correctly with SortedSets
With Ruby 3.0.3, when using SortedSets as group_by value for Hash, equal SortedSets are not grouped as they should be... [email protected] (Mike Carlton)
03:36 PM Revision ee3b7a1a (git): * 2022-02-12 [ci skip]
git[bot]
03:36 PM Revision 118769d0 (git): test/ruby/test_exception.rb: prevent "assigned but unused variable"
mame (Yusuke Endoh)
03:26 PM Feature #18463: Random number generation with xoshiro
A work in progress Gem can be found at https://gitlab.com/bkmgit/xoshiro256plusplus
The default in https://github....
bbrklm (Benson Muite)
09:49 AM Revision e92e87bf (git): [rubygems/rubygems] Add clarification for bundle-config "with" option
https://github.com/rubygems/rubygems/commit/666f3cc724 Ilia Zenkevich
09:20 AM Revision 7b676b3c (git): [rubygems/rubygems] Fix corrupted lockfile when using `gemspec` and multiple sources
https://github.com/rubygems/rubygems/commit/9712262d90 deivid (David Rodríguez)
02:44 AM Bug #18581: Pod Install Crashes
You may want to try this solution: https://github.com/ffi/ffi/issues/800#issuecomment-1008308614 mame (Yusuke Endoh)
02:28 AM Revision 22bf6e43 (git): * 2022-02-11 [ci skip]
git[bot]
02:25 AM Revision 36df0c72 (git): [DOC] Add `.rdoc_options` file
Set `--page-dir` option so that direct rdoc call is consistent
with `make html`.
nobu (Nobuyoshi Nakada)

02/10/2022

10:36 PM Bug #18581 (Third Party's Issue): Pod Install Crashes
It's third party's issue. https://github.com/typhoeus/ethon/issues/193 jeremyevans0 (Jeremy Evans)
10:21 PM Bug #18581 (Third Party's Issue): Pod Install Crashes
I've got a new machine. I've been trying to run a React Native app and have had a lot of troubles. Going through the ... VinceBullinger (Vince Bullinger)
09:40 PM Bug #18574 (Closed): Backport Get `ruby_nonempty_memcpy` to have C linkage to to ruby_3_0
jeremyevans0 (Jeremy Evans)
04:34 PM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
duerst (Martin Dürst) wrote in #note-8:
> I agree that concatenating an ASCII-8BIT string with a non-ASCII-8BIT stri...
tenderlovemaking (Aaron Patterson)
02:07 PM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
In short, it's not specific to the binary encoding at all.
It's the same behavior with e.g. UTF-8 + ISO-8859-1.
A...
Eregon (Benoit Daloze)
07:33 AM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
tenderlovemaking (Aaron Patterson) wrote:
> I propose that ASCII-8BIT strings raise an exception if they cannot be...
duerst (Martin Dürst)
07:25 AM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
tenderlovemaking (Aaron Patterson) wrote in #note-3:
> naruse (Yui NARUSE) wrote in #note-2:
> > The encoding of th...
duerst (Martin Dürst)
03:27 AM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
I think Aaron can implement what provides such encoding principle.
I think it will break the world while the imple...
naruse (Yui NARUSE)
03:14 AM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
naruse (Yui NARUSE) wrote in #note-2:
> The encoding of the resulted string depends "ascii only or not" and "ascii c...
nirvdrum (Kevin Menard)
02:40 AM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
Here is my more declarative understanding of the current behavior:
* (A) if LHS is "compatible" with RHS, the more...
mame (Yusuke Endoh)
01:09 AM Feature #18579: Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
naruse (Yui NARUSE) wrote in #note-2:
> The encoding of the resulted string depends "ascii only or not" and "ascii c...
tenderlovemaking (Aaron Patterson)
12:20 AM Feature #18579 (Rejected): Concatenation of ASCII-8BIT strings shouldn't behave differently depending on string contents
The encoding of the resulted string depends "ascii only or not" and "ascii compatibility".
The principle of the resul...
naruse (Yui NARUSE)
02:33 PM Revision 26175324 (git): Free cached mark stack chunks when freeing objspace
Cached mark stack chunks should also be freed when freeing objspace. peterzhu2118 (Peter Zhu)
02:15 PM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
byroot (Jean Boussier) wrote in #note-12:
> > though changing encoding.name may hit the compatibility issue.
>
> ...
Eregon (Benoit Daloze)
09:11 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
> though changing encoding.name may hit the compatibility issue.
I personally don't think it's much of a concern, ...
byroot (Jean Boussier)
07:53 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
Eregon (Benoit Daloze) wrote in #note-4:
> The property that bytes < 128 are interpreted as US-ASCII is nothing sp...
duerst (Martin Dürst)
12:36 PM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
Going to apply the following workaround until this is fixed:
~~~diff
From 0ade5611df9f981005eed32b369d1e699e52022...
vo.x (Vit Ondruch)
08:19 AM Revision 66b9ca84 (git): Update default gems list at f07a2613e3f14ab713bc5ab8854110 [ci skip]
git[bot]
08:18 AM Revision f07a2613 (git): Support directory layout of ruby/ruby repository
hsbt (Hiroshi SHIBATA)
08:18 AM Revision 52d3e31d (git): [ruby/ipaddr] Bump version to 1.2.4
https://github.com/ruby/ipaddr/commit/6edf6ee6c3 hsbt (Hiroshi SHIBATA)
08:18 AM Revision 9b768012 (git): [ruby/ipaddr] Fix exception calling `to_range' after `freeze'
https://github.com/ruby/ipaddr/commit/77fe1fca0a Espartaco Palma
08:18 AM Revision 100253c7 (git): [ruby/ipaddr] Ipaddr#native must also coerce `@mask_addr`
Before it would be left as an IPv6 mask causing `to_range` to fail.
```
>> IPAddr.new("::2").native.to_range
/opt/ru...
byroot (Jean Boussier)
08:18 AM Revision 5221cb44 (git): [ruby/ipaddr] Expose IPAddr::VERSION
An almost universal convention for gems is to expose Namespace::VERSION
which makes it much easier when debugging etc...
byroot (Jean Boussier)
07:38 AM Misc #18557: DevMeeting-2022-02-17
* [Bug #18580] `Range#include?` inconsistency for beginless String ranges (zverok)
* `(...'z').include?('ww')` wor...
zverok (Victor Shepelev)
07:35 AM Bug #18580 (Closed): Range#include? inconsistency for beginless String ranges
The follow-up of #18577.
`Range#include?` is [specialized for strings](https://github.com/ruby/ruby/blob/master/ra...
zverok (Victor Shepelev)
03:47 AM Bug #18577 (Closed): Range#include? returns wrong result for beginless range with exclusive string end
Applied in changeset commit:git|fd710d7e9995679db80b7adf35bbda2cd4db90c6.
----------
Fix Range#include? for beginles...
jeremyevans (Jeremy Evans)
03:47 AM Revision fd710d7e (git): Fix Range#include? for beginless exclusive string ranges
Previously, include? would return true for the end of the range,
when it should return false because the range is exc...
jeremyevans (Jeremy Evans)
01:32 AM Revision 05b1944c (git): objspace: Hide identhash containing internal objs
Inside ObjectSpace.reachable_objects_from we keep an internal identhash
in order to de-duplicate reachable objects wh...
jhawthorn (John Hawthorn)
12:48 AM Bug #18572 (Assigned): Performance regression when invoking refined methods
It seems that the performance regression was introduced by https://github.com/ruby/ruby/commit/b9007b6c548f91e88fd3f2... shugo (Shugo Maeda)
 

Also available in: Atom