Activity
From 03/11/2022 to 03/17/2022
03/17/2022
-
09:36 PM Feature #18642 (Closed): Named ripper fields
- One of the biggest pain-points working with the existing ripper subclasses is that you have to know what each array i...
-
07:03 PM Bug #18641: UTF-16 surrogate pairs
- test against 3.1.1p18
-
06:55 PM Bug #18641 (Rejected): UTF-16 surrogate pairs
- That Ruby triggers an *invalid Unicode codepoint* error while using surrogate pairs in an UTF-8 string is expected, h...
-
06:57 PM Feature #15357 (Closed): Proc#parameters returns incomplete type information
- Applied in changeset commit:git|b6804d62f822237e136e698e006c913df9990ec2.
----------
Make Proc#parameters support la... -
11:55 AM Feature #15357: Proc#parameters returns incomplete type information
- A lambda: kwarg when it's meant to be used for non-lambda Procs seems confusing.
How about `parameters(from: :source... -
06:04 AM Feature #15357: Proc#parameters returns incomplete type information
- Hmm, I accept `lambda:` keyword argument (default `false`). There might be a better candidate than `lambda` but it's ...
-
06:56 PM Revision b8e72bd2 (git): Revert "Faster rb_class_superclass"
- This reverts commit 29b68b89a0c0ea7de46c058fab746550398151f0.
-
06:52 PM Revision b6804d62 (git): Make Proc#parameters support lambda keyword for returning parameters as if lambda
- This makes it easier to use Proc#parameters to build wrappers.
Implements [Feature #15357] -
06:48 PM Revision 29b68b89 (git): Faster rb_class_superclass
- This uses the RCLASS_SUPERCLASSES array to quickly find the next
SUPERCLASS of klass which is a T_CLASS. -
06:18 PM Feature #18563: Add "graphemes" and "each_grapheme" aliases
- nobu (Nobuyoshi Nakada) wrote in #note-4:
> How about `letters` and `each_letter`?
I like the general idea, but to m... -
08:56 AM Feature #18563 (Closed): Add "graphemes" and "each_grapheme" aliases
- For the record, "Grapheme" and "Grapheme cluster" are different concepts. If we call them "grapheme", It's kind of li...
-
08:14 AM Feature #18563: Add "graphemes" and "each_grapheme" aliases
- How about `letters` and `each_letter`?
-
03:42 PM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- > I'm not sure it's valuable to have per-IO timeout.
`async-io` has used it for years successfully as a protection... -
12:06 PM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- This part wasn't answered:
> Is there a concrete/practical example (for this new timeout)?
I'm not sure it's va... -
02:08 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- @matz thanks for your comments.
> time-out may happen from I/O blocking operations or other CPU bound operation. T... - 03:42 PM Revision 58b35517 (git): * 2022-03-18 [ci skip]
-
03:42 PM Revision f69a9695 (git): Fix potential memory leak at fiber pool
- Do not "allocate then wrap". It leaks the allocated memory if
failed to create the wrapper. -
03:42 PM Revision cdf25cad (git): Fix compilation error with `RB_EXPERIMENTAL_FIBER_POOL`
-
03:35 PM Revision 4fdb10e6 (git): A positional Hash is not keyword arguments [Bug #18632]
-
03:06 PM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- Having solved a lot of encoding issues for co-workers, especially on Windows, I'm with @Eregon. As the programmers be...
-
11:08 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- I think it's worth changing, the current name is confusing to most Ruby users, and there were only 71 gems out of 170...
-
09:03 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- The risk of compatibility has been reduced thanks to @byroot's effort, but probably there still are many applications...
-
02:46 PM Feature #18640 (Open): default empty string argument for `String#sub` and `String#sub!`, e.g. `"hello".sub("l")`
- Most of the time I replace a string with an empty string. And I think that's the main use case.
Also, `String#dele... -
02:19 PM Bug #18632 (Closed): Struct.new wrongly treats a positional Hash as keyword arguments
- Applied in changeset commit:git|e660b934b98943826f888f2b73f773c6411cd199.
----------
A positional Hash is not keywor... -
02:11 PM Feature #18589: Finer-grained constant invalidation
- > I'm not against the proposal, but for the record, the change makes Object#extend and Module#include slow.
I thin... -
02:01 PM Feature #18589: Finer-grained constant invalidation
- I am positive introducing this proposal.
Matz.
-
02:00 PM Feature #12655: Accessing the method visibility
- OK, I accept introducing `undefined_instance_methods`. It returns a list of undefined methods of the receiver class.
... -
01:58 PM Bug #11063 (Rejected): Special singleton class should return true for singleton_class? test
- This inconsistency does not have any actual drawback, so we keep the current behavior.
Matz.
-
01:10 PM Feature #18583: Pattern-matching: API for custom unpacking strategies?
- > This, though, raises a question of several match groups, at which point one starts to want more:
> ```ruby
> case... -
11:53 AM Revision e660b934 (git): A positional Hash is not keyword arguments [Bug #18632]
-
11:34 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
- Actually not exactly, while ruby2_keywords ships empty with ruby 3.1, manually installing it does bring a `.rb` file.
-
11:31 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
- I think an empty gem is the strategy the `ruby2_keywords` gem has already followed on Ruby 3.1 and it worked fine (al...
-
11:14 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
- I think the gem could just be empty, and so `require "io/wait"` would just require the stdlib (or noop if a Ruby impl...
-
08:03 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
- > I think we should only add require_ruby_version = "< 3.2" to io-wait gem after merging io-wait into core IO class
... -
01:16 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
- I think we should only add `require_ruby_version = "< 3.2"` to io-wait gem after merging `io-wait` into core `IO` cla...
-
01:13 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
- >Remove io-wait as a dependency of all gems maintained by ruby-core (e.g. net-protocol).
It's already done. -
08:46 AM Bug #18633: proc { |a, **kw| a } autosplats and treats empty kwargs specially
- Should be fixed. Review the patch and merge it if it's OK. @nobu please?
Matz.
-
08:44 AM Revision e9553a8c (git): spec: skip specs where set TZ environment variable for WASI
- WASI doesn't respect TZ env var for now
-
08:33 AM Revision 7023b3d3 (git): spec: disable a part of Kernel.open spec where spawns a process for WASI
- WASI doesn't provide a way to spawn a new process
- 08:29 AM Revision df6f2b64 (git): Update default gems list at fadc7a150c90ad44dee90985b19e79 [ci skip]
-
08:28 AM Revision fadc7a15 (git): [ruby/logger] bump version to 1.5.1
- https://github.com/ruby/logger/commit/c4a4155ab7
-
06:07 AM Revision acbc2bdd (git): Update the test for [Feature #18615]
-
05:42 AM Feature #18615 (Closed): Use -Werror=implicit-function-declaration by default for building C extensions
- Applied in changeset commit:git|329c89bb42bb44467588afc1d41d9f99172dfeb5.
----------
Make implicit function declarat... -
04:49 AM Feature #18615: Use -Werror=implicit-function-declaration by default for building C extensions
- I accept it since it's already 2022. I was persuaded. Go ahead.
Matz.
-
05:37 AM Revision 329c89bb (git): Make implicit function declaration error [Feature #18615]
- Enable `-Werror=implicit-function-declaration` by default for
building C extensions for early failures. -
03:26 AM Revision e499d326 (git): spec: disable part of require_relative spec where uses symlink for WASI
- cap-std, an underlying sandbox implementation of WASI in wasmtime, doesn't
allow to create a symlink to an absolute p... -
02:52 AM Misc #18591: DevMeeting-2022-03-17
- I am in wrong time zone. if you have time, can you check these?
- [Feature #18630] Introduce general `IO#timeout` ... -
01:11 AM Revision d06f787e (git): Fix broken links of rdoc
- - `www.ruby-lang.org` links to `./www.ruby-lang.org`
- `cgi['field_name']` links to `./'field_name'` -
01:03 AM Bug #18614 (Open): Error (busy loop) in TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home
- @hsbt: I'm very sorry, but this error has resurfaced. Yesterday afternoon, it appeared in about half of the tries of ...
03/16/2022
-
11:21 PM Feature #18639 (Closed): Update Unicode data to Unicode Version 15.0.0
- Unicode Version 15.0.0 is currently in alpha.
See the announcement at http://blog.unicode.org/2022/02/unicode-150-... -
11:13 PM Feature #18037 (Closed): Update Unicode data to Unicode Version 14.0.0
- Closing because the problems with version check for file emoji-variation-sequences.txt are now solved.
-
08:40 AM Feature #18037 (Open): Update Unicode data to Unicode Version 14.0.0
-
01:34 AM Feature #18037 (Closed): Update Unicode data to Unicode Version 14.0.0
- This feature has been implemented with the following commits:
```
commit 48f1e8c5d85043e6adb8e93c94532daa201d42e9... -
11:11 PM Bug #18636 (Closed): Problems with version check for file emoji-variation-sequences.txt
- This was fixed with the following commits and can now be closed.
```
commit 151208a19b09e29d45a79d92d73b67ec2ff69... -
08:39 AM Bug #18636 (Closed): Problems with version check for file emoji-variation-sequences.txt
- [This problem was detected and reported (on Slack) by Koichi Sasada (@ko1). Koichi also provided a short-time patch. ...
-
08:48 PM Bug #18638 (Third Party's Issue): CSV parse does not honor field_size_limit option unless and until a comma occurs in the data, and field_size_limit is off by one
- Could you report this to https://github.com/ruby/csv/issues ?
https://github.com/ruby/csv is the upstream. -
08:25 PM Bug #18638 (Third Party's Issue): CSV parse does not honor field_size_limit option unless and until a comma occurs in the data, and field_size_limit is off by one
- When using CSV.parse or CSV.foreach and specifying option `field_size_limit: 2_000`, we do not consistently see an ex...
-
07:56 PM Bug #18627 (Open): segmentation fault when doing a lot of redundant Module#include
-
07:53 PM Bug #18627: segmentation fault when doing a lot of redundant Module#include
- I debugged this and have a fix here: https://github.com/ruby/ruby/pull/5671
-
07:45 PM Revision 59a1a818 (git): [DOC] Enhanced RDoc for String#split (#5644)
- * Enhanced RDoc for String#split
* Enhanced RDoc for String#split
* Enhanced RDoc for String#split
* Enhanced RDoc... -
07:19 PM Revision f38dcc78 (git): Assume that klass of dummy head is NULL
- klass of the dummy head of the subclass entries should always be NULL.
- 07:15 PM Revision a8703978 (git): * 2022-03-17 [ci skip]
-
07:10 PM Revision 819f4f0e (git): Always skip dummy head of subclass in rb_prepend_module
- The first node of the subclass linked list of always a dummy head, so it
should be skipped. -
05:48 PM Bug #18561: Make singleton def operation and define_singleton_method explicitly use public visibility
- Thank you @jeremyevans0 for the analysis and PR. I agree that the one weird edge case would generally just be unexpec...
-
05:37 PM Bug #16922: single quote should be escaped in xml
- See https://github.com/jruby/jruby/pull/7142 for JRuby update of our jcodings encoding backend, plus the test changes...
-
05:18 PM Bug #16922: single quote should be escaped in xml
- Requesting backport to 2.6. JRuby runs the CRuby test suite and wants to fix the same issue, but the existing tests i...
-
01:04 PM Bug #18637 (Closed): Segmentation fault for yield inside another Thread
- Ah this seems a clear duplicate of #18475, sorry.
-
12:28 PM Bug #18637 (Closed): Segmentation fault for yield inside another Thread
- ```ruby
puts RUBY_DESCRIPTION
def execute
Thread.new do
yield 42
end.join
end
p first: to_enum(:ex... -
11:49 AM Revision 6d8f396f (git): Suppress warnings by OpenSSL 3
-
10:12 AM Revision b426de9e (git): [DOC] Prefer local rdoc links
- - ensures exact same version
- avoid generated URLs
- no external access
- concise -
09:58 AM Feature #15592: mode where "autoload" behaves like an immediate "require"
- I'd personally suggest closing this one.
When you offer lazy/eager loading mechanisms, loading has to be _consistent... -
09:51 AM Revision 4d93b629 (git): Initialize mutex for crypt(3) statically
- Assuming that all platforms, where only `crypt` is available but
not `crypt_r`, are POSIX-base. -
08:50 AM Revision f91ea233 (git): Honor if `_Bool` is available
- `AC_HEADER_STDBOOL` rejects stdbool.h in c2x, which is not
conforming to C99. -
06:18 AM Revision 151208a1 (git): Revert "Fix version check to use Emoji version for emoji-variation-sequences.txt"
- This reverts commit 48f1e8c5d85043e6adb8e93c94532daa201d42e9.
-
06:17 AM Revision e85547ae (git): Revert "Allow `.0` version mismatch to pass the tests"
- This reverts commit fc6e4ce62bfa95b6a0d4d4898e1128c1fce4db8a.
-
06:15 AM Revision 6d603cfd (git): add Unicode auxiliary files and Unicode UCD emoji files download for ALWAYS_UPDATE_UNICODE
-
06:05 AM Revision ebcbca96 (git): [ruby/rdoc] Fix full name of known class
- Properly set the name of `File::Constants`, which is the only name
with a namespace in `RDoc::KNOWN_CLASSES`, and fix... -
02:30 AM Revision fc6e4ce6 (git): Allow `.0` version mismatch to pass the tests
- With `make update-unicode`, some tests failed with the following error
due to header mismatch.
* `RbConfig::CONFIG['... -
01:29 AM Bug #18588 (Closed): ruby -e 'p gets' with japanese charactors gets additional invalid leading chars and caught Encoding::InvalidByteSequenceError
- Applied in changeset commit:git|5d90c6010999ac11d25822f13f0b29d377f81755.
----------
Avoid console input behavior in... -
01:28 AM Revision 5d90c601 (git): Avoid console input behavior in windows 10 [Bug #18588]
- When ANSI versions of PeekConsoleInput read multibyte charactor
partially, subsequent ReadFile returns wrong data on ... -
01:28 AM Bug #18623: `make runnable` does not work
- Just for the record, on a completely new checkout:
$ ruby -v
ruby 3.1.0dev (2021-06-03T06:59:33Z master 7e1476215... -
01:23 AM Bug #18614 (Closed): Error (busy loop) in TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home
- I have now confirmed that this error does not resurface on two different checkouts. I'm therefore closing this issue....
-
01:00 AM Bug #18614: Error (busy loop) in TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home
- @hsbt: Many thanks for your help. This error appeared several times, but today, I have not been able to reproduce it ...
03/15/2022
-
11:46 PM Revision 48f1e8c5 (git): Fix version check to use Emoji version for emoji-variation-sequences.txt
-
11:30 PM Revision 56d9d78f (git): Remove Unicode 13.0.0 related files
-
09:53 PM Feature #18634: Variable Width Allocation: Arrays
- Thanks for catching that. It was a math error.
Improvement for numbers where higher is better (e.g. RPS, IPS) is c... -
09:47 PM Feature #18634: Variable Width Allocation: Arrays
- Improvement is Branch/master?
It seems inconsistent for these 2 example lines:
```
| p100 (ms) | 5.53 ... -
01:39 PM Feature #18634 (Closed): Variable Width Allocation: Arrays
- # GitHub PR: https://github.com/ruby/ruby/pull/5660
# Feature description
This patch changes arrays to allocate... -
08:43 PM Bug #18633: proc { |a, **kw| a } autosplats and treats empty kwargs specially
- I've submitted a pull request to remove the autosplatting: https://github.com/ruby/ruby/pull/5665
- 03:50 PM Revision bc62cbd5 (git): * 2022-03-16 [ci skip]
-
03:49 PM Revision d76ba1c2 (git): Fast rb_class_inherited_p
- This uses the superclass table recently introduced to implement fast
inheritance checking between classes (ex. Foo < ... -
02:15 PM Bug #18635 (Closed): Enumerable#inject without block/symbol will return values or raise LocalJumpError
- The following shows inconsistent behavior when no block/symbol are provided to inject.
``` ruby
irb(main):002:0> ... -
10:05 AM Feature #18619: Reverse the order of GC Compaction cursor movement
- Thanks for the quick feedback folks.
Eregon (Benoit Daloze) wrote in #note-1:
> From the `After compaction (this ... -
08:56 AM Bug #18632: Struct.new wrongly treats a positional Hash as keyword arguments
- `rb_check_arity` with unlimited arguments are:
```
array.c:2420: rb_check_arity(argc, 1, UNLIMITED_ARGUMENTS);... -
07:39 AM Feature #18589: Finer-grained constant invalidation
- I'm not against the proposal, but for the record, the change makes `Object#extend` and `Module#include` slow.
Befo... - 02:37 AM Revision 7aabdbe8 (git): [rubygems/rubygems] Fix a typo
- https://github.com/rubygems/rubygems/commit/3e06a91435
-
01:57 AM Bug #18627: segmentation fault when doing a lot of redundant Module#include
- I applied `git bisect` and it said:
```
98fb0ab60eb14e74a484920bd904a3edd4ba52eb is the first bad commit
commit ... -
01:25 AM Revision 459bbdeb (git): wasm/README.md: add manual config.guess download and autoconf steps
- Autoconf distributed with Ubuntu 22.04 is very old and doesn't support
WASI as an OS, so add instructions to download... -
12:23 AM Revision f2777067 (git): [DOC]Fix FreeBSD Bugzilla link
03/14/2022
-
11:40 PM Revision b85457c7 (git): [rubygems/rubygems] [DOC] Enable Gem::Package example
- Other code must not be between the doc and class definition.
https://github.com/rubygems/rubygems/commit/366784aae5 -
11:33 PM Revision 63b1633f (git): [ruby/win32ole] Get rid of potential undefined behavior
- See https://bugs.llvm.org/show_bug.cgi?id=50236
https://github.com/ruby/win32ole/commit/019ec2b3cb -
11:20 PM Revision aa347cbe (git): [ruby/win32ole] Rename toplevel WIN32OLE_* classes
- https://github.com/ruby/win32ole/commit/bc7deb6a6a
-
10:47 PM Bug #18633: proc { |a, **kw| a } autosplats and treats empty kwargs specially
- Eregon (Benoit Daloze) wrote:
> ```ruby
> irb(main):005:0> proc { |a| a }.call([1, 2])
> => [1, 2]
> irb(main):00... -
05:41 PM Bug #18633: proc { |a, **kw| a } autosplats and treats empty kwargs specially
- This is the logic in TruffleRuby, basically we can see the inconsistency and the need for a hack just to support this...
-
05:36 PM Bug #18633 (Closed): proc { |a, **kw| a } autosplats and treats empty kwargs specially
- ```ruby
irb(main):005:0> proc { |a| a }.call([1, 2])
=> [1, 2]
irb(main):006:0> proc { |a, **kw| a }.call([1, 2])
... -
10:14 PM Bug #18627 (Feedback): segmentation fault when doing a lot of redundant Module#include
- I think the best way to address this would be to take your existing code that segfaults in earlier versions, and bise...
-
07:44 PM Revision 6a8bc902 (git): [rubygems/rubygems] Report Github Actions CI provider within user agent string
- See
https://docs.github.com/es/actions/learn-github-actions/environment-variables#default-environment-variables.
So ... -
05:38 PM Misc #18591: DevMeeting-2022-03-17
- * [Bug #18633] proc { |a, **kw| a } autosplats and treats empty kwargs specially (eregon)
* Intended or bug? Shoul... -
05:29 PM Misc #18591: DevMeeting-2022-03-17
- * [Bug #18632] Struct.new wrongly treats a positional Hash as keyword arguments (eregon)
* Some C functions incorr... -
05:36 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- ^ filed as a proper issue: https://bugs.ruby-lang.org/issues/18633
-
12:41 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- What's the reason for this behavior?
It seems inconsistent with the resolution of this issue, and it seems nobody wo... -
05:23 PM Bug #18625: ruby2_keywords does not unmark the hash if the receiving method has a *rest parameter
- Thank you for the PR, I think we should merge it.
Fixing this is important for multiple reasons:
* Can cause issu... -
04:21 PM Bug #18632: Struct.new wrongly treats a positional Hash as keyword arguments
- Eregon (Benoit Daloze) wrote in #note-3:
> You mean rb_scan_args/rb_scan_args_kw correctly separate positional & kwa... -
04:08 PM Bug #18632: Struct.new wrongly treats a positional Hash as keyword arguments
- For `Kernel#raise` I found that it's actually important to separate positional and kwargs, because `raise` does have ...
-
04:03 PM Bug #18632: Struct.new wrongly treats a positional Hash as keyword arguments
- And another maybe related issue, this time in Struct#initialize:
```
$ ruby -we 'p Struct.new(:name, :legs, keyword_i... -
04:01 PM Bug #18632: Struct.new wrongly treats a positional Hash as keyword arguments
- A lot of C methods will still treat positional hashes as keywords. I think only those that use `rb_scan_args`/`rb_sc...
-
03:52 PM Bug #18632 (Closed): Struct.new wrongly treats a positional Hash as keyword arguments
- ```
$ ruby -e 'Struct.new(:a, name: "b")'
-e:1:in `new': unknown keyword: :name (ArgumentError)
from -e:1:in `... - 04:18 PM Revision b7fe052a (git): * 2022-03-15 [ci skip]
-
04:18 PM Revision 41d63d31 (git): [rubygems/rubygems] Move `:stopdoc:` directive
- If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.
ht... -
03:44 PM Bug #18631 (Closed): Range check breaks multiplex backreferences in regular expressions
- The regular expression engine can sometimes produce wrong results when using multiplex backreferences near the end of...
-
02:52 PM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- > I'm not sure a timeout per IO instance makes sense, some IO operations might take longer e.g. reading many bytes at...
-
09:05 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- I'm not sure a timeout per IO instance makes sense, some IO operations might take longer e.g. reading many bytes at o...
-
04:28 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- I am positive about introducing safer timeout feature.
But I have several concerns:
* time-out may happen from I/... -
02:43 AM Feature #18630 (Closed): Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- I would like us to consider introducing a general IO timeout for all (non-)blocking operations, specified per-IO inst...
-
02:05 PM Revision b1bcad5e (git): spec: skip '~' test for wasi due to lack of shell
-
02:04 PM Revision fe2e5c13 (git): spec: skip ruby_exe tests for wasi due to lack of subprocess
-
01:45 PM Revision 41299126 (git): Assume that refcnt of shared root is non-negative
- The refcnt of a shared root array should always be non-negative.
-
01:45 PM Revision 45786667 (git): Assume that shared_root exists in rb_ary_decrement_share
- All callers of rb_ary_decrement_share guarantee that
shared_root is not 0. -
09:50 AM Revision 7348db86 (git): [DOC] Remove outdated note from WeakRef#initialize
- The note
> Raises an ArgumentError if the given +orig+ is immutable, such as Symbol,
> Integer, or Float.
has not b... -
07:45 AM Bug #18614 (Assigned): Error (busy loop) in TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home
- I will investigate this test on WSL2 environment.
-
06:01 AM Revision e859a218 (git): [DOC] hide `UnicodeNormalize` in module index
-
05:48 AM Revision 0bf194fb (git): [ruby/rdoc] Start with open when only one visible class/module
- https://github.com/ruby/rdoc/commit/6bb93001db
-
05:48 AM Revision 976431d9 (git): [ruby/rdoc] Fold class and module index
- https://github.com/ruby/rdoc/commit/4c7c46fcc4
-
05:44 AM Revision a8844316 (git): [ruby/forwardable] Move `:stopdoc:` directive
- If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.
ht... -
05:40 AM Revision 8760b270 (git): [ruby/irb] Move `:stopdoc:` directive
- If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.
ht...
03/13/2022
-
11:57 PM Revision 3c59913a (git): Fix failures
- http://ci.rvm.jp/results/trunk-no-mjit@phosphorus-docker/3870646
```
1) Error:
TestEmojiBreaks#test_single_... -
11:39 PM Revision 267f0089 (git): clarify meaning of version guards for Unicode version specs [ci skip]
-
10:52 PM Revision 9d6cc7e4 (git): Fix a link [ci skip]
- 08:43 PM Revision a6799d73 (git): * 2022-03-14 [ci skip]
-
08:43 PM Revision 840bef0e (git): [rubygems/rubygems] Remove extra closing bracket in version warning
- https://github.com/rubygems/rubygems/commit/a3b9f19080
-
04:57 PM Bug #18629: block args array splatting assigns to higher scope _ var
- I'm guessing this isn't a bug, because variables prefixed by `_` (including `_` itself) are supposed to be used in ca...
-
04:20 PM Bug #18629 (Closed): block args array splatting assigns to higher scope _ var
- ``` ruby
v = 1; [[2]].each{ |(v)| }; p v
_ = 1; [[2]].each{ |(_)| }; p _
```
prints
```
1
2
```
You can see ... -
01:55 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- > That makes sense, I think we should improve const_get docs to says it's like module A; B; end and not A::B (which I...
-
12:53 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- That makes sense, I think we should improve `const_get` docs to says it's like `module A; B; end` and not `A::B` (whi...
-
12:52 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- For completeness, let me add that that the described lookup is incomplete. Like all the lookup descriptions I've seen...
-
12:34 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- > Actually I'd argue it's in the nesting (just not shown by Module.nesting), the outermost (implicit) "root" lexical ...
-
12:08 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- fxn (Xavier Noria) wrote in #note-6:
> Why is `String` found there? It is not in the nesting. It is not in the ances... -
10:03 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- It would not be enough.
When you do a relative constant lookup in which the cref is a module, `Object` is checked by... -
09:49 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- If the current definition is correct, could we add as a feature an additional lookup parameter (or method) that says ...
-
12:27 PM Revision 1b571d0a (git): Fix guards for unicode versions specs
-
12:15 PM Revision 416c63c1 (git): [ruby/rdoc] Refine `pretty_print`
- https://github.com/ruby/rdoc/commit/acb91ea74a
-
12:10 PM Revision 2af8b04e (git): Fix conversion macro for `size_t`
-
12:09 PM Revision e081f333 (git): Fix experimental Fiber::Pool definition
- Toplevel `Pool` is too generic, and `struct fiber_pool` does not
seem compatible with `rb_fiber_t`. -
10:56 AM Revision 0bcc3bd6 (git): [ruby/rdoc] Clean documents for backwards compatibility
- https://github.com/ruby/rdoc/commit/23e61a208e
-
06:44 AM Bug #18578: Hash#shift を繰り返していると ruby が無応答になる。
- ruby_3_0 f404b21f849af06fb8bbd4b87fdfb585e904d6c3 merged revision(s) 496591de96b261b8789332c7f8b2bfbd17658955.
-
06:43 AM Bug #18574: Backport Get `ruby_nonempty_memcpy` to have C linkage to to ruby_3_0
- ruby_3_0 2bb5fa495bf9d366d3c1fefc6b093dc4830f27bf merged revision(s) 29f6f79e7396018962eb25c5f5e409f5fe28a73b.
-
06:43 AM Bug #17788: ruby 3.0.0 - compiling c++ extension on alpine fails
- ruby_3_0 2bb5fa495bf9d366d3c1fefc6b093dc4830f27bf merged revision(s) 29f6f79e7396018962eb25c5f5e409f5fe28a73b.
-
06:43 AM Bug #18562: throw_data passed to rescue through require
- ruby_3_0 0bd3e436e27c048933133bc19f863c954ed3e3a6 merged revision(s) c79d2e54748f52c5023b0a1ee441561df9826c17.
-
06:42 AM Bug #18388: IO.copy_stream incompatibility between Ruby 2 and Ruby 3
- ruby_3_0 f4f0c793f6eb427b0a85445bff49fdc6b73447ae merged revision(s) b555e659c4974acc423083b71b1bd5ec6a926046.
-
06:42 AM Revision f404b21f (git): merge revision(s) 496591de96b261b8789332c7f8b2bfbd17658955: [Backport #18578]
- st.c: Do not clear entries_bound when calling Hash#shift for empty
hash
tab->entries_bound is used ... -
06:20 AM Revision 2bb5fa49 (git): merge revision(s) 29f6f79e7396018962eb25c5f5e409f5fe28a73b: [Backport #17788] [Backport #18574]
- Get `ruby_nonempty_memcpy` to have C linkage
Fixes [Bug #17788]
---
include/ruby/internal/m... -
06:16 AM Revision 0bd3e436 (git): merge revision(s) c79d2e54748f52c5023b0a1ee441561df9826c17: [Backport #18562]
- Fix TAG_THROW through require [Bug #18562]
Previously this was being incorrectly swapped with TAG_RAISE in t... -
06:10 AM Revision f4f0c793 (git): merge revision(s) b555e659c4974acc423083b71b1bd5ec6a926046: [Backport #18388]
- Do not use `fcopyfile` if appending to non-empty file [Bug #18388]
`fcopyfile` appends `src` to `to` and the... -
03:13 AM Bug #18516: Memory leak on aliasing method to itself
- ruby_3_0 6175823bab28b5d12f66371d67d006df37751fbc merged revision(s) 7ff1bf317887c0d7b21e91ad548d07b9f05c540c,e89d807...
-
03:13 AM Bug #18517: 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- ruby_3_0 9c2213f6695a16917dbe7b5a3a334116d6d8bbf6 merged revision(s) 6a6227e0168b059c3ed34c9f0ace2e5dc2364221.
-
03:12 AM Bug #18497: Fiber内でProcess.daemonをするとSegmentation faultが起こる
- ruby_3_0 6a8c166498b856ca1dcb53248f0be5fc138f1af3 merged revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17...
-
03:12 AM Bug #18475: Yielding an element for Enumerator in another thread dumps core
- ruby_3_0 42b1e87ba7856f92973924985a63a60b5fa750c8 merged revision(s) ae5458f228a5477383e9c00425d85d50a3867817.
-
02:52 AM Revision 6175823b (git): merge revision(s) 7ff1bf317887c0d7b21e91ad548d07b9f05c540c,e89d80702bd98a8276243a7fcaa2a158b3bfb659: [Backport #18516]
- An alias can suppress method redefinition warning
---
test/ruby/test_alias.rb | 11 +++++++++++
... -
02:49 AM Revision 9c2213f6 (git): merge revision(s) 6a6227e0168b059c3ed34c9f0ace2e5dc2364221: [Backport #18517]
- Shifting zero always results in zero [Bug #18517]
---
numeric.c | 2 ++
1 file changed, 2 i... -
02:47 AM Revision 6a8c1664 (git): merge revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686d49c2ce8e6a87039861154e93d4621: [Backport #18497]
- Assuming EXIT_SUCCESS equals 0 is not portable
---
test/ruby/test_fiber.rb | 6 +++---
1 fi... -
02:37 AM Revision 42b1e87b (git): merge revision(s) ae5458f228a5477383e9c00425d85d50a3867817: [Backport #18475]
- thread.c: Convert TAG_BREAK to a normal exception at thread top-level
[Bug #18475]
---
test... -
01:52 AM Revision 45187a0f (git): comment out failing Unicode/Emoji version checks temporarily
-
12:19 AM Revision 8f59482f (git): add some tests for Unicode Version 14.0.0
-
12:19 AM Revision 9b545b0c (git): update specs to check for Unicode Version 14.0.0/Emoji Version 14.0
-
12:19 AM Revision 26725024 (git): mention Unicode Version 14.0.0
-
12:19 AM Revision 8e1f3a96 (git): switch UNICODE_BETA back to NO
-
12:19 AM Revision 45e0711f (git): update Unicode Version to 14.0.0 and Emoji version to 14.0
03/12/2022
- 05:15 PM Revision db57b070 (git): * 2022-03-13 [ci skip]
-
05:15 PM Revision 06594e71 (git): Fix crash on GC stress and RGENGC_CHECK_MODE=2
- rb_ary_reset could leave the array in a bad state since it frees memory
but does not unset any flags. This can cause ... -
04:01 PM Bug #18628 (Third Party's Issue): Link contributing is broken
- Link used to doc/contributing.rdoc is redirecting to https://ruby-doc.org/core-3.1.1/contributing.rdoc.
https://ru... -
03:53 PM Bug #18624: `const_source_location` returns [false, 0] when autoload is defined for the constant
- jeremyevans0 (Jeremy Evans) wrote in #note-4:
> Sorry, but you are incorrect. #17354 is regarding behavior of `co... -
03:45 PM Bug #18624: `const_source_location` returns [false, 0] when autoload is defined for the constant
- ufuk (Ufuk Kayserilioglu) wrote in #note-3:
> This is a duplicate of Issue #17354 and @jeremyevans0, in that issue, ... -
02:09 PM Bug #18624: `const_source_location` returns [false, 0] when autoload is defined for the constant
- This is a duplicate of Issue #17354 and @jeremyevans0, in that issue, you had argued that just because the autoload l...
-
06:51 AM Bug #18624: `const_source_location` returns [false, 0] when autoload is defined for the constant
- I've submitted a pull request to fix this: https://github.com/ruby/ruby/pull/5646
-
07:59 AM Feature #18626: 注釈付き代入演算子 ()= の提案
- Related to #18603
-
01:47 AM Feature #18626 (Rejected): 注釈付き代入演算子 ()= の提案
- 型制約を実現するために以下のような注釈付き代入演算子を提案します。
```
class Object
def self.()= (what)
what.is_a? self or raise TypeRestr... -
07:57 AM Bug #18458: Segmentation fault when missing Warning#warn method
- ruby_3_0 e18e6af604786be481115c7340c1450332615b57 merged revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5.
-
07:57 AM Bug #18421: `IO#readpartial` and `IO#read_nonblock` return non-empty string on empty file
- ruby_3_0 7c0537906314f0c2a317b37661ccdec8dddc6277 merged revision(s) fdf39963490cf2cf95b30d91bb9b35964c2c2350.
-
07:57 AM Bug #18500: Fix segfault in `TestArray#test_sample` on s390x.
- ruby_3_0 bac99c5175bf58815846f9987093a6d944d07fd3 merged revision(s) bcc2bb28b04054106f4a36e8fd69b2af6ecb033a.
-
07:56 AM Bug #18392: ObjectSpace::WeakMap#inspect causes BUG
- ruby_3_0 f2d996dcff56057b48ae41ab6f23e7654848ea4b merged revision(s) d6c5a30cfdf658280338dbb8c8b17fab3190b928,a2d4e1c...
-
07:56 AM Bug #18409: Crash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
- ruby_3_0 09b27ec6a984ec1b660d5b7b48f2ff4d5a0065bc merged revision(s) 737e4432b978eb4b9f5b10fb6cc6d9c883a5d17a.
-
07:55 AM Bug #18415: String#rpartition is not sufficiently greedy compared to String#partition
- ruby_3_0 4b1cee1431b44e923611c65a8ec5cc61d4025641 merged revision(s) e2ec97c4b823a0b2e0c31e7a6d77b1dcdc0dfada.
-
07:55 AM Bug #18394: Backports for read barrier for GC compaction for Ruby 3.0
- ruby_3_0 3ce60f44b8de3aabb31c37d2afd2a622a64a3e6f merged revision(s) 0130e17a410d60a10e7041ce98748b8de6946971,32b7dcf...
-
07:54 AM Bug #18403: Backport ecb2ff60507a41c624f59cb9da6a008ab3ec36e1 to ruby_3_0
- ruby_3_0 e413a8ff970fc7692e6c0050a23678605ade884e merged revision(s) ecb2ff60507a41c624f59cb9da6a008ab3ec36e1.
-
07:54 AM Bug #18382: Crash in compaction for ObjectSpace.trace_object_allocations
- ruby_3_0 2ec864d9b7a2c79b5bd9136665aa6f705fa76e53 merged revision(s) 9f0c6f20c58067923864575b60af730d191b8f6c.
-
07:53 AM Revision e18e6af6 (git): merge revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5: [Backport #18458]
- Don't segfault if Warning.warn is undefined
Check that there is a method entry for the method before passing... -
07:39 AM Bug #18627 (Closed): segmentation fault when doing a lot of redundant Module#include
- I'm adding support for ruby 3 and consistently encountering segfaults.
my library does a fair bit of extending obj... -
07:36 AM Revision bac99c51 (git): merge revision(s) bcc2bb28b04054106f4a36e8fd69b2af6ecb033a: [Backport #18500]
- Fix stack buffer overflow
https://hackerone.com/reports/1306859
---
include/ruby/internal/m... -
07:30 AM Revision 7c053790 (git): merge revision(s) fdf39963490cf2cf95b30d91bb9b35964c2c2350: [Backport #18421]
- Empty and return the buffer if zero size is given [Bug #18421]
In `IO#readpartial` and `IO#read_nonblock`, a... -
07:28 AM Revision f2d996dc (git): merge revision(s) d6c5a30cfdf658280338dbb8c8b17fab3190b928,a2d4e1cda68a49980a4f9f353f400efbde7e7884: [Backport #18392]
- ObjectSpace::WeakMap#inspect: check if living object [Bug #18392]
---
gc.c | 2... -
07:01 AM Revision 09b27ec6 (git): merge revision(s) 737e4432b978eb4b9f5b10fb6cc6d9c883a5d17a: [Backport #18409]
- configure: add -Wl,--no-as-needed
It is reported that combination of `--enable-shared --with-jemalloc`
... -
07:00 AM Revision 4b1cee14 (git): merge revision(s) e2ec97c4b823a0b2e0c31e7a6d77b1dcdc0dfada: [Backport #18415]
- [DOC] How to get the longest last match [Bug #18415]
---
string.c | 32 ++++++++++++++++++++++++++++... -
06:58 AM Revision 3ce60f44 (git): merge revision(s) 0130e17a410d60a10e7041ce98748b8de6946971,32b7dcfb56a417c1d1c354102351fc1825d653bf,79cc566ab4cdf75f125ecf413a27d353a9756c08: [Backport #18394]
- Always enabled read barrier even on GC.compact
Some objects can survive the GC before compaction, but get co... -
06:52 AM Revision e413a8ff (git): merge revision(s) ecb2ff60507a41c624f59cb9da6a008ab3ec36e1: [Backport #18403]
- intern/select/posix.h: remove unused parameter from rb_fd_dup
This unused parameter seems to be accidently i... -
05:43 AM Revision 2ec864d9 (git): merge revision(s) 9f0c6f20c58067923864575b60af730d191b8f6c: [Backport #18382]
- [Bug #18382] Fix crash in compaction for
ObjectSpace.trace_object_allocations
ObjectSpace.trace_obj... -
05:29 AM Bug #18250: Anonymous variables seem to break `Ractor.make_shareable`
- I have confirmed the bootstraptest/test_ractor.rb cause SEGV after backporting the commits in my previous comment htt...
03/11/2022
-
11:21 PM Bug #18625: ruby2_keywords does not unmark the hash if the receiving method has a *rest parameter
- Based on @matz's comments (https://bugs.ruby-lang.org/issues/16466#note-3), I do not think this is a bug. Splatted a...
-
06:01 PM Bug #18625 (Closed): ruby2_keywords does not unmark the hash if the receiving method has a *rest parameter
- The code below shows the inconsistency.
In all cases the `marked` Hash is copied at call sites using `some_call(*arg... -
06:56 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- I do not know which is the correct definition of `const_get`, Ruby core knows :).
However, let me say that I have al... -
06:55 PM Feature #11547: remove top-level constant lookup
- (Pervious comment moved to #18622)
-
06:36 PM Revision 83fabfcc (git): Add test for protected methods on module included
-
06:36 PM Revision 4d8f7628 (git): Fast object is iclass checks
- Calling rb_obj_is_kind_of with an ICLASS returns the same result as
calling it with the ICLASS's original Module.
Mo... -
06:16 PM Revision 9a4bddd7 (git): Add rb_ary_reset
- rb_ary_reset will free heap allocated arrays and unshare shared arrays.
-
04:46 PM Revision 09186f38 (git): Adding guidance about characters in C-code doc (#5641)
- Showing how to do as @nobu does -- putting doc into doc/*.rdoc instead of in *.c.
- 04:46 PM Revision 95a85b6d (git): * 2022-03-12 [ci skip]
-
04:45 PM Revision 42e5ec94 (git): Refactor duplicate code in rb_array_replace
- In both cases in the if statement, we free heap allocated arrays and
unshare shared arrays. -
12:26 PM Bug #18624 (Closed): `const_source_location` returns [false, 0] when autoload is defined for the constant
- `const_source_location` returns `[false, 0]` unexpectedly with the following code.
```ruby
# test.rb
path = Fi... -
12:18 PM Bug #11063: Special singleton class should return true for singleton_class? test
- Changing this would cause the reverse inconsistency:
```ruby
false.class.singleton_class? #=> would be true, but .c... - 08:38 AM Revision 2e4516be (git): [ruby/rdoc] Scrollable sidebar
- This change makes the sidebar scrollable via `position: sticky` and `overflow: auto`;
See also <https://caniuse.com/?... -
08:30 AM Bug #18623 (Closed): `make runnable` does not work
- When I try `make runnable` to be able to run individual tests with `.\ruby test/runner.rb ...`, I get the error below...
-
06:08 AM Revision 49447f82 (git): Move ruby.h in `#ifdef RUBY` block
- Must not depend on ruby specific files in Ruby unrelated cases.
Also available in: Atom