Activity
From 06/15/2022 to 06/21/2022
06/21/2022
-
10:09 PM Misc #18836: DevMeeting-2022-07-21
- * [Bug #18780] Surprising `self` for C API `rb_eval_string()` (alanwu)
* Script for `rb_eval_string()` runs with lo... -
02:56 AM Misc #18836: DevMeeting-2022-07-21
- - [Feature #18810] Make `Kernel#p` interruptable.
- Pull Request: https://github.com/ruby/ruby/pull/5967
- [Feature... -
06:21 PM Feature #18809: Add Numeric#ceildiv
- Dan0042 (Daniel DeLorme) wrote in #note-3:
> Why not simply use `a.fdiv(b).ceil` ?
> It expresses the intent of the... -
12:45 PM Feature #18809: Add Numeric#ceildiv
- Why not simply use `a.fdiv(b).ceil` ?
It expresses the intent of the code clearly, and I doubt there would be a meas... -
05:23 PM Revision fdd11025 (git): [ruby/fileutils] Clarify difference between cp_r and install (https://github.com/ruby/fileutils/pull/95)
- https://github.com/ruby/fileutils/commit/94a599e69f
- 04:41 PM Revision 102a97e0 (git): * 2022-06-22 [ci skip]
-
04:40 PM Revision 1f067e77 (git): Clarify documentation of Kernel#require_relative
-
02:16 PM Revision 2e81fd76 (git): [ruby/fileutils] Correct method references for secure removal (https://github.com/ruby/fileutils/pull/93)
- https://github.com/ruby/fileutils/commit/42c9685826
-
01:42 PM Revision 1002998c (git): [ruby/fileutils] [DOC] Adding 'Related' (https://github.com/ruby/fileutils/pull/92)
- https://github.com/ruby/fileutils/commit/fc3cc28397
-
11:53 AM Bug #18820: on aarch64/Android/Termux/Ubuntu jammy server, ALL versions before Ruby 3.1.x don't compile!
- The failure of 2.5.9 is here: https://bugs.ruby-lang.org/attachments/9280#L1851
> ```c
> ossl.c:311:9: error: ‘ERR_ge... -
11:43 AM Revision 15769832 (git): Added readline wrapper entries under the doc directory
-
11:41 AM Revision a9db5be0 (git): Added error_highlight entries under the doc directory
-
11:38 AM Revision 441cfa96 (git): Added reline entry to standard_library doc
-
09:45 AM Feature #18838: Avoid swallowing regexp escapes in the lexer
- Thank you for clarification.
-
02:10 AM Feature #18838: Avoid swallowing regexp escapes in the lexer
- Agreed with Jeremy. There is the same "inconsistency" in a string literal, but this is clearly by design.
```
puts ... -
07:55 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- ioquatix (Samuel Williams) wrote in #note-25:
> I started messing around with the implementation again.
>
> But my c... - 07:05 AM Revision 641a7329 (git): Update bundled gems list at 2022-06-21
-
06:30 AM Revision 7ef67bf9 (git): [CI] add gcc-12
-
05:50 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
- Awesome, thanks Jeremy.
-
03:13 AM Revision a0b24f59 (git): [ruby/io-wait] Remove redundant forward declarations
- These were needed before prototype declarations were used.
https://github.com/ruby/io-wait/commit/35f016833a -
02:32 AM Revision f44547c9 (git): regparse.c: Suppress false-positive warnings of GCC 12.1
- http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20220613T030003Z.log.html.gz
```
regparse.c:264:15: warning: arra... -
02:29 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
- I've made a PR to move `wait`, `wait_readable`, `wait_writable`, `wait_priority` to `io.c` with some minor compatibil...
-
12:41 AM Revision a343952d (git): On FreeBSD omit the test to close a pipe while reading [ci skip]
06/20/2022
-
11:59 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
- As I initially expected, this is not a bug. Having class/module keywords consider ancestors of Object is by design, w...
-
10:57 PM Feature #18838 (Closed): Avoid swallowing regexp escapes in the lexer
- Applied in changeset commit:git|596f4b0d3ab8bc2559a52396d3a29ce62e6a3694.
----------
Document that Regexp#source doe... -
10:11 PM Feature #18838: Avoid swallowing regexp escapes in the lexer
- In the `/\//` and `%r/\//` cases, the regexp source is transformed from `\/` to `/` in the lexer (`tokadd_string`) be...
-
10:56 PM Revision 596f4b0d (git): Document that Regexp#source does not retain lexer escapes
- Related to [Feature #18838]
- 09:57 PM Revision 850b5461 (git): * 2022-06-21 [ci skip]
- 09:38 PM Revision eed24b5e (git): .github/workflows/compilers.yml: annocheck: Fix gaps and notes test.
- This commit fixes on the annocheck gaps and notes tests on Ubuntu focal on CI.
Added the gcc `-Wa,--generate-missing-... - 09:18 PM Revision 31b2cd38 (git): Include JIT information in crash reports
- Since enabling YJIT or MJIT drastically changes what could go wrong at
runtime, it's good to be front and center abou... -
09:05 PM Bug #18833 (Rejected): Documentation for IO#gets is inaccurate (bytes versus characters)
- The documentation is correct, the limit is in bytes and not characters:
```ruby
File.write("a", "\u1234a") # => 4... -
02:04 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- Maybe I found a way to fix annocheck gaps and notes tests on Ubuntu focal on CI.
Here is the PR: <https://github.com... -
10:23 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- jaruga (Jun Aruga) wrote in #note-29:
> We opened the 2 PRs for that now :) @mame You can merge your PR. I will add... -
09:26 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- We opened the 2 PRs for that now :) @mame You can merge your PR. I will add my PR later with some comments.
https:/... -
08:52 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- https://lwn.net/Articles/885220/
I was studying this and the related LKML discussion. I don't think this problem i... -
08:30 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- ioquatix (Samuel Williams) wrote in #note-24:
> While it was passing, it's now failing:
Thanks for the report. I ... -
07:06 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- In my latest PR, I try to detect control-flow protections:
```
* with thread: pthread
* with corou... -
03:51 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- I started messing around with the implementation again.
But my computer is too old, it looks like I need 11th gen ... -
03:24 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- While it was passing, it's now failing:
## Previously Passing
https://github.com/ruby/ruby/runs/6956677552?chec... -
01:42 PM Revision 5ca23358 (git): [ruby/irb] [DOC] Fix formatting in docs
- https://github.com/ruby/irb/commit/3ddc89e38c
-
01:27 PM Revision 2d4a41df (git): [ruby/irb] Commands should respect `USE_COLORIZE` config (https://github.com/ruby/irb/pull/362)
- https://github.com/ruby/irb/commit/534688dfc4
-
11:03 AM Revision c46824d0 (git): test_instrumentation_api.rb: Allow one less exit
- I suspect that sometimes on CI the last thread is prempted before eaching the exit hook
causing the test to flake. I ... -
10:40 AM Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
- One more thing, the Red Hat Software Collections (RHSCL) 3.8 provides the Ruby 3.0 software collection (Ruby 3.0.2 - ...
-
10:21 AM Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
- @npn What is the gcc version are you using on the RHEL 7? Are you using a default system gcc maybe 4.8?
For exampl... -
10:35 AM Feature #18788 (Closed): Support passing Regexp options as String to Regexp.new
- Applied in changeset commit:git|1e9939dae24db232d6f3693630fa37a382e1a6d7.
----------
[Feature #18788] Support option... -
10:35 AM Revision 4a6facc2 (git): [Feature #18788] [DOC] String options to `Regexp.new`
- Co-Authored-By: Janosch Müller <[email protected]>
-
10:35 AM Revision 883d13dc (git): [Feature #18788] Spec for options as `String` to `Regexp.new`
- Co-Authored-By: Janosch Müller <[email protected]>
-
10:35 AM Revision 1e9939da (git): [Feature #18788] Support options as `String` to `Regexp.new`
- `Regexp.new` now supports passing the regexp flags not only as an
`Integer`, but also as a `String. Unknown flags ra... -
10:35 AM Revision 39dc455b (git): Spec update for warnning suspicious flag to `Regexp.new`
-
10:35 AM Revision ab2a4326 (git): Warn suspicious flag to `Regexp.new`
- Now second argument should be `true`, `false`, `nil` or Integer.
This flag is confused with third argument some times. -
10:35 AM Revision a58611df (git): Allow to just warn as bool expected, without an exception
-
10:25 AM Revision 15db2e94 (git): Prevent a warning "possibly useless use of a literal in void context"
- 10:08 AM Revision f8b6d4f4 (git): .github/workflows/compilers.yml: Skip gaps test on annocheck 10.76.
- This commit is to skip a failure with annocheck 10.76 on the annocheck test
case on the CI. Previously The test worke... -
09:49 AM Revision 88cdd1a7 (git): Revert "merge revision(s) 5c1b76a3a55afeb07116bbd3492303c6b6cd890d: [Backport #18373]"
- This reverts commit d56b2e8820efd40840443ce3a5d16cff32a090c7.
-
09:39 AM Revision 7f8a9157 (git): [DOC] Refine Regexp.new argument descriptions
-
08:47 AM Revision 914c26ea (git): [DOC] Regexp timeout is float or nil
-
08:39 AM Revision 078db98d (git): Prevent a warning "Expected ... to define AutoloadTest but it didn't"
- related: [Bugs #18813] and eca31d24d606a73def3674938112dc3c5b79c445
-
07:04 AM Revision 8d689294 (git): [rubygems/rubygems] Fix extension paths in generated standalone script
- The paths for extensions of gems would contain the hardcoded ruby
version on which the extension was built. This will... -
03:41 AM Misc #18836: DevMeeting-2022-07-21
- * [Feature #18809] Add `Numeric#ceildiv`
* ceiling or rounding up division
* maybe also `Numeric#floordiv`?
... -
03:12 AM Feature #18839 (Closed): Drop support for gcc 3
- Applied in changeset commit:git|ec5c56412f0b67845b42acec06cbd1d341896f25.
----------
[Feature #18839] Drop support f... -
03:09 AM Feature #18839: Drop support for gcc 3
- Go. Probably no one is really using gcc3.x.
Matz.
-
01:31 AM Feature #18839: Drop support for gcc 3
- +1
The gcc version of CentOS/RHEL 7 that is our oldest supported Linux distribution is `gcc-4.8.5-44.el7.x86_64.rp... -
01:26 AM Feature #18839: Drop support for gcc 3
- +1, it's hard to have a working gcc-3 environment nowadays.
-
03:11 AM Revision ec5c5641 (git): [Feature #18839] Drop support for gcc 3 [ci skip]
- 02:45 AM Revision 271bcc0c (git): Update bundled gems list at 150bd6e2427a8a6178aa5f8ebc39ce [ci skip]
-
02:44 AM Revision 150bd6e2 (git): Bundle RBS 2.5.1 (#6041)
- * Bundle RBS 2.5.1
-
12:26 AM Revision cd3a5cd0 (git): [DOC] Fixed omissions in Regexp.new arguments
06/19/2022
-
11:25 PM Feature #15330: autoload_relative
- We had a similar discussion here: https://bugs.ruby-lang.org/issues/18841
I don't personally like `autoload`. Howe... -
11:22 PM Feature #18841: Proposal: autoload_relative
- Great minds think alike! Thanks @marcandre.
@fxn I think the next step is to make a PR and then get Matz to review... -
04:31 PM Feature #18841: Proposal: autoload_relative
- Oh, I should have searched before! Can't close this one myself.
-
02:19 PM Feature #18841: Proposal: autoload_relative
- Note that this is a duplicate of https://bugs.ruby-lang.org/issues/15330, which includes some real world usage stats....
-
08:04 AM Feature #18841: Proposal: autoload_relative
- Yes, great idea, and I can confirm I've run into issues with autoload loading the wrong files if you combine `autoloa...
-
08:02 AM Feature #18841 (Open): Proposal: autoload_relative
- In my experience, autoloads often reflect an existing hierarchical structure.
If a project does not use Zeitwerk, ... -
05:39 PM Bug #18842 (Open): Ruby's Resolv library does not handle correctly the `NODATA` case
- Hello, I am opening this issue based on the following DNS bug sleuthing:
https://gitlab.com/gitlab-org/charts/gitl... - 05:34 PM Revision 6622a418 (git): * 2022-06-20 [ci skip]
- 05:34 PM Revision aeab4058 (git): [rubygems/rubygems] Improve performance of Bundler::SpecSet#for by using hash lookup of handled deps
- I was looking at (yet another) flamegraph in speedscope, and used the
'left hand heavy' and was shocked to realize th... -
02:33 PM Revision da362fee (git): Scale the time to wait native threads to run hook
-
02:32 PM Revision 4aebbf44 (git): Remove unnecessary `*` before the function name
-
02:06 AM Revision 5f8c7340 (git): [ruby/etc] [DOC] Markup constant path names
- https://github.com/ruby/etc/commit/6c9a0b4e5d
-
02:05 AM Revision 50472830 (git): Skip CIs if the head commit message contains '[DOC]'
- 01:47 AM Revision 95a25e04 (git): * 2022-06-19 [ci skip]
-
01:46 AM Revision ea387583 (git): [ruby/etc] [DOC] Markup string literals
- https://github.com/ruby/etc/commit/a8801e07d1
-
01:46 AM Revision cc67a117 (git): [ruby/etc] [DOC] Fix reference to different module
- https://github.com/ruby/etc/commit/ea51739974
-
01:46 AM Revision c594370c (git): [ruby/etc] [DOC] Update
- System-dependent feature macros are automatically detected by
extconf.rb, and are not used by users.
https://github....
06/18/2022
-
07:27 PM Bug #18813: Let Module#autoload be strict about the autoloaded constant
- Hi @matz! I'd like to work on some documentation. Would it be OK for you to say something along the line that declari...
-
12:49 PM Bug #18813 (Closed): Let Module#autoload be strict about the autoloaded constant
- Applied in changeset commit:git|eca31d24d606a73def3674938112dc3c5b79c445.
----------
[Bug #18813] Warn when autoload... -
07:12 PM Misc #18840 (Open): Top-level #using and other methods docs
- I was looking into some docs problems, and the question I have is that we don't have any place where `main`'s methods...
-
05:28 PM Feature #18644: Coerce anything callable to a Proc
- I really like the first option but unfortunately it would make every object respond to `to_proc` even when they don't...
- 02:00 PM Revision 6ac4449f (git): merge revision(s) 7f81f335478a3ca873f34e3bc0af6927819d3e84: [Backport #18734]
- Return `false` where sticky-bit is not provided [Bug #18734]
---
file.c | 2 +-
1 file chan... - 01:54 PM Revision 28b238f2 (git): merge revision(s): a0040af6715d85f416f1282588974e151a8164eb
- [Win32] Fix mode of character/pipe device stat [Bug #18732]
-
12:49 PM Revision eca31d24 (git): [Bug #18813] Warn when autoload has to lookup in parent namespace
- This is a verbose mode only warning.
-
12:41 PM Feature #18839: Drop support for gcc 3
- Out of curiosity I went to check a few dates:
- First GCC 3.x release: June 18, 2001
- Last GCC 3.x release: ... -
08:35 AM Feature #18839 (Closed): Drop support for gcc 3
- Currently we require version 3 or newer when using gcc, but no CI for gcc 3.
Do we still need to support gcc 3?
htt... -
07:38 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- ruby_3_1 d56b2e8820efd40840443ce3a5d16cff32a090c7 merged revision(s) 5c1b76a3a55afeb07116bbd3492303c6b6cd890d.
-
07:38 AM Bug #18673: Anonymous block forwarding fails when combined with keyword arguments
- ruby_3_1 750d4dc3aff7c2fef25fe99f1b98327f68734c9a merged revision(s) 3bb70a6924ddd83f90b508b5bbc4d5629b8a41c6.
-
07:38 AM Bug #18672: Request to backport "Remove dependency on libcapstone"
- ruby_3_1 702f7c8417e2a47bd88ef72fd705c1739cd958de merged revision(s) 222203297966f312109e8eaa2520f2cf2f59c09d.
-
07:37 AM Revision d56b2e88 (git): merge revision(s) 5c1b76a3a55afeb07116bbd3492303c6b6cd890d: [Backport #18373]
- Install built gem extension binaries
---
tool/rbinstall.rb | 56 ++++++++++++++++-------------------... -
07:10 AM Revision 750d4dc3 (git): merge revision(s) 3bb70a6924ddd83f90b508b5bbc4d5629b8a41c6: [Backport #18673]
- Fix using anonymous block in method accepting explicit keywords
Record block ID before vtable_pop, so the in... -
07:05 AM Revision 702f7c84 (git): merge revision(s) 222203297966f312109e8eaa2520f2cf2f59c09d: [Backport #18672]
- Remove dependency on libcapstone
We have received reports of build failures due to this configuration
... -
07:00 AM Bug #18600: Aliased method visibility issue on Ruby 3.1
- ruby_3_1 9d11ddcf6ace6676cea7cac836b4302240e3efb4 merged revision(s) 0c6e24d102e894a7211a596e6aa95828b1cf4406.
-
07:00 AM Bug #18627: segmentation fault when doing a lot of redundant Module#include
- ruby_3_1 607a20b000f83003958e92b68319e860094f44fc merged revision(s) 97426e15d721119738a548ecfa7232b1d027cd34.
-
06:58 AM Revision 607a20b0 (git): merge revision(s) 97426e15d721119738a548ecfa7232b1d027cd34: [Backport #18627]
- [Bug #18627] Fix crash when including module
During lazy sweeping, the iclass could be a dead object that ha... -
06:14 AM Revision 9d11ddcf (git): merge revision(s) 0c6e24d102e894a7211a596e6aa95828b1cf4406: [Backport #18600]
- Fix visibility of alias of zsuper methods
This was broken by 71c746379d5872e250d90ae45c585760afaf9516.
... -
04:40 AM Revision e7117115 (git): Show gcc version if too old, and move to GCC block [ci skip]
-
04:15 AM Revision e77d2c29 (git): Disable maybe-uninitialized warning for gcc 4
- It often shows false positive warnings (at least in 4.8). Newer
versions work well and we can check correct warnings. -
03:12 AM Feature #18831: Block argument to `yield`
- mame (Yusuke Endoh) wrote in #note-2:
> @matz was not positive to change it.
I forgot to add the reason why he wa... -
02:56 AM Bug #18767 (Open): IO.foreach hangs up when passes limit=0
- Okay reopened. Sorry, I overlooked the fact that `IO#each_line(0)` raises an error.
IMHO, it is reasonable for `IO... -
01:20 AM Revision cab10a2c (git): Extract `protect_page_body` to fix mismatched braces
06/17/2022
-
10:13 PM Revision 4b7c4bb9 (git): tool/extlibs.rb: Use Exception#message for older rubies
- This script runs with BASERUBY, which can be as old as 2.2.x.
Exception#full_message is new in 2.5.0.
I saw a NoMeth... -
10:12 PM Revision 41a024f2 (git): YJIT: Update note about symbol prefixes [ci skip]
-
09:28 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- @ioquatix (Samuel Williams) @nobu, possibly Samuel already fixed the property-note issue failed by `annocheck` correc...
-
07:17 PM Revision 566c5447 (git): YJIT: Use binwrite to write exit locations
-
04:52 PM Feature #18838 (Closed): Avoid swallowing regexp escapes in the lexer
- According to `Regexp#source` documentation:
```
Returns the original string of the pattern.
/ab+c/ix.source #=> ... -
04:40 PM Bug #18767: IO.foreach hangs up when passes limit=0
- @mame
I still believe that it's a compatibility issue and not a feature request or so. Could the ticket be reopened?... - 03:10 PM Revision b184cdfd (git): * 2022-06-18 [ci skip]
-
03:10 PM Revision 05ffc037 (git): Disable Mach exception handlers when read barriers in place
- The GC compaction mechanism implements a kind of read barrier by marking
some (OS) pages as unreadable, and installin... -
02:27 PM Revision 7f05f737 (git): Reuse an interned string
- Repeating to intern the same string is just redundant, as interned
strings for the same content are always the same o... -
02:06 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- Adding `Exception#source_contents` or `code_location` (an object exposing everything needed) or even just `source_loc...
-
08:51 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- >I'll add you as an admin to zombocom/dead_end so you can make the move, please don't forget to give me access after ...
-
01:52 PM Bug #17130: Method#super_method is broken for aliased methods
- @Dan0042 Indeed, here is another example, with an actual `super` call to prove what it calls:
```ruby
class P
de... -
01:45 PM Feature #18831: Block argument to `yield`
- IMHO it would make sense to support it, since `Proc#call` already supports it.
-
09:32 AM Feature #18831: Block argument to `yield`
- We discussed this issue at the dev meeting, and @matz was not positive to change it.
Currently, Ruby does not acce... -
01:44 PM Revision 2790bddd (git): Remove unused function declaration
- iseq_alloc is not used in compile.c. It is also a static function
declared in iseq.c so it's not accessible in compil... -
01:36 PM Revision 9327b6f2 (git): [ruby/fileutils] [DOC] Revisions for module-level doc (https://github.com/ruby/fileutils/pull/90)
- * Revisions for module-level doc
https://github.com/ruby/fileutils/commit/dcbad90a1f -
01:29 PM Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
- Sorry for the delay here are copies of the requested files. I had to change some path info in the config.log since i...
-
01:15 PM Revision 721e012d (git): [ci skip][lldb] Fix array length representation with USING_RVARGC
- This commit makes `rp` report the correct array length in lldb.
When USING_RVARGC is set we use 7 bits of the flags ... -
01:11 PM Revision c34a5469 (git): Debug TestThreadInstrumentation
- It previously failed with:
```
1) Failure:
TestThreadInstrumentation#test_thread_instrumentation_fork_safe [/h... -
12:48 PM Bug #18837 (Rejected): Not possible to evaluate expression with numbered parameters in it
- I presume it's not really a bug, but design flaw, but this is really frustrating. Use case is - debugger.
Here is ... -
10:48 AM Misc #18836: DevMeeting-2022-07-21
- * [Bug #18832] Suspicious superclass mismatch (#18832) (eregon)
* OK to fix it? (i.e., don't look into included/pr... -
09:43 AM Misc #18836 (Closed): DevMeeting-2022-07-21
- # The next dev meeting
**Date: 2022/07/21 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
10:45 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
- Yes, I think that's a great example why we should fix this.
Anyone should still be able to define a `Comment` (def... -
10:08 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
- A good exercise is to try to document this (all lookups should be documented). Something like:
> In the `class/modul... -
10:01 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
- It is super important to highlight that the problem is not the behavior isolated, but that this is unexpected because...
-
10:00 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
- @Eregon Is this one better suited?
```ruby
require "active_record"
require "rexml"
include REXML
class Com... -
09:49 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
- @fxn Yes, but that is too long. What I think is useful for the dev meeting is a snippet of a few lines, which represe...
-
08:58 AM Feature #18832: Do not have class/module keywords consider ancestors of Object
- @Eregon sure. The real-world problem that originated this ticket can be found [here](https://discuss.rubyonrails.org/...
-
09:43 AM Misc #18803 (Closed): DevMeeting-2022-06-16
-
09:35 AM Bug #9208 (Feedback): Win32 ANSI color no longer works since revision 43331
- @nobu thinks it should be improved in ConEmu side. We need to check if this issue is still active in ConEmu.
-
09:25 AM Feature #18749: Strangeness of endless inclusive ranges
- sawa (Tsuyoshi Sawada) wrote in #note-5:
> @mame san, thanks for letting me know about the discussion.
>
> It loo... -
09:17 AM Bug #17120 (Rejected): String#start_with? return wrong result for Regexp patterns containing /\K/
- `\K` changes the start position of the match string, but it does not change the match position itself. Actually, `"he...
-
08:05 AM Revision 78425d7e (git): [rubygems/rubygems] Unset ENV set by official Ruby docker images
- So that it does not interfere with our specs.
https://github.com/rubygems/rubygems/commit/1029714e21 -
08:05 AM Revision 1e8bf48f (git): [rubygems/rubygems] Bring TODO message up to date
- https://github.com/rubygems/rubygems/commit/e07dba0923
-
08:05 AM Revision 5450b409 (git): [rubygems/rubygems] Remove part of comment that fell out of date
- https://github.com/rubygems/rubygems/commit/272ac23aa8
-
08:05 AM Revision 8855b68f (git): [rubygems/rubygems] Don't modify RbConfig at all when building extensions
- Instead, pass sitearchdir and sitelibdir directly to `make`.
This also removes the need to create and use the siteco... -
08:05 AM Revision 1aaeff8e (git): [rubygems/rubygems] Remove unnecessary condition
- This variable can't be falsy.
https://github.com/rubygems/rubygems/commit/b838f9a6f0 -
08:05 AM Revision 5a385677 (git): [rubygems/rubygems] No need to change `RbConfig::CONFIG` at all
- Only `RbConfig::MAKEFILE_CONFIG` is actually used.
https://github.com/rubygems/rubygems/commit/b767cc0929 -
07:08 AM Revision b6c1e115 (git): GVL Instrumentation API: add STARTED and EXITED events
- [Feature #18339]
After experimenting with the initial version of the API I figured there is a need
for an exit event... -
05:37 AM Revision 20d41682 (git): Skip failing test on FreeBSD [ci skip]
-
03:02 AM Revision 420f3ced (git): Using is_ascii_string to check encoding
-
02:59 AM Revision 51a3ebf4 (git): Using RBOOL in cmp_between func
- 02:58 AM Revision 1dfe007e (git): Update configure.ac
- Co-authored-by: Nobuyoshi Nakada <[email protected]>
- 02:58 AM Revision f3b54d5f (git): Add branch protection to aarch64 targets
-
01:47 AM Revision 2c190863 (git): Suppress code unused unless GC_CAN_COMPILE_COMPACTION
06/16/2022
-
10:50 PM Misc #18834: Significant change in loop speeds (regressing using while loop on ARM chips)
- Interesting! Can you post the output of:
$ ruby -ve 'pp RbConfig::CONFIG, RubyVM::OPTS'
For your ARM build ... -
10:21 PM Misc #18834 (Feedback): Significant change in loop speeds (regressing using while loop on ARM chips)
I was benchmarking some code and one of the benchmarks I came across was <a href="https://github.com/fastruby/fast-...-
10:30 PM Feature #18835 (Open): Add InstructionSequence#type method
- This method returns a symbol representing the type of the instruction
sequence object.
I'm trying to collect some... -
08:34 PM Revision e4629219 (git): Fix spec version guard
- Follow up for 278fefb96294adf9d27a78f919c714a31b65ef58
-
08:25 PM Bug #18806 (Closed): protected methods defined by refinements can't be called
- Applied in changeset commit:git|ae163cae6b3f01e0fb827e0a18d5889f9703617f.
----------
Allow calling protected methods... -
04:14 AM Bug #18806: protected methods defined by refinements can't be called
- The option 1 is accepted.
Matz.
-
08:24 PM Revision ae163cae (git): Allow calling protected methods from refinements
- Previously protected methods on refinements could never be called
because they were seen as being "defined" on the hi... -
06:57 PM Bug #17130: Method#super_method is broken for aliased methods
- It looks to me like super_method is still broken for aliased methods.
```
class A
def foo; end
end
class B <... -
05:38 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- Thank you everyone for your help so far. This is very exciting!
> like renaming
I did some brainstorming. I thi... -
07:45 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- I accept merging the functionality of `dead_end` gem to the core like `did_you_mean`. We have a few remaining issues ...
-
07:19 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- We had a discussion today at the monthly committers' meeting, and there was general agreement to move ahead.
One p... -
06:58 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- How about to move `::DeadEnd` to `::SyntaxError::DeadEnd` if it is only used for SyntaxError message modification?
(... -
05:13 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
- I agree we shouldn't look in modules prepended/included in Object, only look on the lexical parent itself (not its an...
-
04:59 PM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- > So, I want to add the ARCH_FLAG to configure script environment variables for convenience.
Just note. I tried to i... -
04:56 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- matz (Yukihiro Matsumoto) wrote in #note-24:
> > One way to address that is https://bugs.ruby-lang.org/issues/18751#... -
02:21 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- > One way to address that is https://bugs.ruby-lang.org/issues/18751#note-11 (no longer hide ZSUPER method entry from...
-
02:15 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- > On current TruffleRuby it's "B:hello" (same as current CRuby), due to that.
That's nice. It is an illusion we wa... -
10:09 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- matz (Yukihiro Matsumoto) wrote in #note-20:
> And if I understand correctly, copying could cause the following code... -
10:06 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- @matz Right, this is the something you intended initially for public/protected/private.
I think most Rubyists do not... -
09:16 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- And if I understand correctly, copying could cause the following code to print "B:B:hello", which is confusing.
``... -
09:11 AM Bug #18729 (Rejected): Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- The current method searching is symbolic (not copying at the time) except for aliases intentionally. For example, if ...
-
04:49 PM Bug #18827 (Closed): `__ENCODING__` is not set to the source encoding when saving script lines
- Applied in changeset commit:git|cd5cafa4a380e2459862b6e99ff0c381362ef1be.
----------
Respect the encoding of the sou... -
04:48 PM Revision cd5cafa4 (git): Respect the encoding of the source [Bug #18827]
- Do not override the input string encoding at the time of preparation,
the source encoding is not determined from the ... -
04:22 PM Feature #18279 (Closed): ENV.merge! support multiple arguments as Hash.merge!
- Applied in changeset commit:git|278fefb96294adf9d27a78f919c714a31b65ef58.
----------
ENV.merge! support multile argu... -
08:52 AM Feature #18279: ENV.merge! support multiple arguments as Hash.merge!
- Accepted.
Matz.
-
04:22 PM Revision 278fefb9 (git): ENV.merge! support multile arguments [Feature #18279]
-
03:48 PM Revision 51835135 (git): Added tests for setting ivars on frozen objs
-
03:48 PM Revision c49fde35 (git): Adding more clone tests, and adding dup tests
- 03:47 PM Revision cfe9c24d (git): * 2022-06-17 [ci skip]
-
03:47 PM Revision af425b6d (git): Added vm_ivar benchmark for initializing an embedded obj
-
02:56 PM Revision 0ab2bca1 (git): [ruby/fileutils] [DOC] Small tweaks (https://github.com/ruby/fileutils/pull/89)
- https://github.com/ruby/fileutils/commit/13ab96439b
- 02:35 PM Revision c310691d (git): [ruby/net-http] Make `Net::HTTPHeader#content_range` return nil on non-byte units
- * Returning nil from the `content_range` method instead of raising an
error when the unit in the content-range head... -
02:19 PM Bug #18829 (Closed): GC_COMPACTION_SUPPORTED macro should be set and detected automatically.
- Applied in changeset commit:git|52d42e702375446746164a0251e1a10bce813b78.
----------
Rename GC_COMPACTION_SUPPORTED
... -
02:18 PM Revision 79eaaf2d (git): Include runtime checks for compaction support
- Commit 0c36ba53192c5a0d245c9b626e4346a32d7d144e changed GC compaction
methods to not be implemented when not supporte... -
02:18 PM Revision 52d42e70 (git): Rename GC_COMPACTION_SUPPORTED
- Naming this macro GC_COMPACTION_SUPPORTED is misleading because it
only checks whether compaction is supported at com... -
01:10 PM Revision 2223eb08 (git): Revert "HTTPHeader.content_range throws error on non-byte units"
- This reverts commit 63546bfc1581d4abec2a0d846106a1c0afc0efa9.
-
12:43 PM Revision 1cc64a55 (git): [ruby/racc] Fix flag to `Regexp.new`
- Probably intended to pass encoding "none".
https://github.com/ruby/racc/commit/65cd26efd8 -
11:20 AM Revision 714a4942 (git): Remove unused and accidentally public rb_str_shared_root_p()
- This function was added to a public header in [1] probably
unintentionally since it's not used anywhere, exposes impl... -
11:17 AM Bug #11450 (Closed): HTTPHeader.content_range throws error on non-byte units
- Applied in changeset commit:git|63546bfc1581d4abec2a0d846106a1c0afc0efa9.
----------
HTTPHeader.content_range throws... -
11:17 AM Bug #12055 (Closed): `NET::HTTPResponse` is not deflating responses with custom `Content-Range` header
- Applied in changeset commit:git|63546bfc1581d4abec2a0d846106a1c0afc0efa9.
----------
HTTPHeader.content_range throws... - 11:16 AM Revision 63546bfc (git): HTTPHeader.content_range throws error on non-byte units
- * Added a nil check in Net::HTTPHeader#initialize_http_header for keys in the header that do not have any value
* Ret... -
08:22 AM Bug #8973 (Feedback): Allow to configure archlibdir for multiarch
-
07:54 AM Feature #18183: make SecureRandom.choose public
- I prefer `Random::Formatter#alphanumeric(n = 16, chars: …)` to others. But `alphabet:` or `set:` are acceptable too.
... -
07:47 AM Revision 8ef312fc (git): MJIT: Consider compaction on CC failure
-
07:27 AM Bug #18826: Symbol#to_proc inconsistent, sometimes calls private methods
- In general, `a.b(&:c)` should behave exactly the same as `a.b{_1.c}`. But visibility check for `protected` methods m...
-
06:44 AM Feature #18461 (Rejected): closures are capturing unused variables
- Rejected. Ruby and JavaScript are different languages.
Upon existence of `eval`, the impact of removing unused varia... -
06:26 AM Feature #18788: Support passing Regexp options as String to Regexp.new
- Accepted. Unknown flags should raise errors.
Matz.
-
05:10 AM Revision 30ca4a82 (git): MJIT: Remove free_compiling_iseqs from mswin
-
05:09 AM Revision b5079794 (git): MJIT: Handle compaction units on stop_worker
-
04:58 AM Revision 66f0ce34 (git): MJIT: Get rid of obsoleted compiling_iseqs
-
04:54 AM Bug #18833: Documentation for IO#gets is inaccurate (bytes versus characters)
- Correction - the `IO#gets` data for a UTF-8 input stream including BOM *does* include the BOM as an invisible first c...
-
04:02 AM Bug #18833: Documentation for IO#gets is inaccurate (bytes versus characters)
- For avoidance of doubt, the behaviour of Ruby itself is (IMHO) sensible and working well. The only change needed is t...
-
04:01 AM Bug #18833 (Rejected): Documentation for IO#gets is inaccurate (bytes versus characters)
- Please see https://ruby-doc.org/core-3.1.2/IO.html#method-i-gets:
> With integer argument `limit` given, returns u... -
04:41 AM Bug #18813: Let Module#autoload be strict about the autoloaded constant
- I am against the behavior change, because of the compatibility concern. It's OK for me to give warning instead of rai...
-
04:32 AM Revision 1ffc6c43 (git): MJIT: Deal with mjit_free_iseq on mjit_notify_waitpid
-
12:18 AM Revision 332985c1 (git): MJIT: Fix test_jit_failure for mswin
06/15/2022
-
11:50 PM Revision 15a6dd56 (git): MJIT: Handle C compiler failures
-
11:07 PM Revision 17d260a8 (git): Restore rb_exec_recursive_outer
- This was a public method, so we should probably keep it.
-
10:57 PM Revision 5310147b (git): MJIT: Handle JIT failure properly
-
09:49 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
- You're right, it happens too if the first element of the nesting is `Object`.
For context, this happened in a Rail... -
09:08 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
- fxn (Xavier Noria) wrote in #note-3:
> Even more, if you set an autoload for `C` in `Object`, the autoload is trigge... -
09:01 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
- Even more, if you set an autoload for `C` in `Object`, the autoload is triggered. Which is also consistent with "I ha...
-
08:47 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
- There is something weird here somewhere.
In general, Ruby does not check the ancestors as far as I can tell. Take ... -
08:23 PM Feature #18832: Do not have class/module keywords consider ancestors of Object
- I don't think this is a bug. `p Object.const_defined?(:C, false)` explicitly says you don't want to look into ancesto...
-
08:13 PM Feature #18832 (Closed): Do not have class/module keywords consider ancestors of Object
- The following code:
```ruby
module M
class C
end
end
include M
p Object.const_defined?(:C, false)
... -
08:56 PM Revision 1e8fed2d (git): [ruby/fileutils] [DOC] More on paths and lists (https://github.com/ruby/fileutils/pull/88)
- https://github.com/ruby/fileutils/commit/ba3ae2430d
-
08:46 PM Revision 9eabc575 (git): [ci skip] [lldb] Ensure rbbt has loaded the globals
- rb_backtrace relies on the existend of RUBY_T_MASK. This is set up by
the global loading code in lldb_init()
rb_back... -
05:59 PM Revision acee714c (git): [ci skip] Print the rb_classext_t for a class, using an offset
- Now that classes are using VWA, the RCLASS_PTR uses an offset to get the
rb_classext_t object. Doing this all the tim... -
05:57 PM Revision a327ce8b (git): Remove unused rb_thread_create_mjit_thread
- follow up https://github.com/ruby/ruby/pull/6006
-
05:52 PM Revision 23459e4d (git): Move RubyVM::MJIT to builtin Ruby
- just less C code to maintain
-
04:41 PM Misc #18830 (Closed): Remove MJIT worker thread
- Applied in changeset commit:git|1162523bae926cfa6128043b635e28c14b732754.
----------
Remove MJIT worker thread (#600... -
04:28 PM Misc #18830: Remove MJIT worker thread
- Thank you for sharing your past usage of Ruby on Windows. I'll keep the MSWIN support during the changes of this tick...
-
11:33 AM Misc #18830: Remove MJIT worker thread
- I am currently using Ruby with FreeBSD, macOS and GNU/Linux.
In the past I had to run Ruby with https://github.com... -
07:53 AM Misc #18830 (Closed): Remove MJIT worker thread
- ## Proposal
* Remove MJIT worker thread
* Compiling ISeq to C should synchronously happen in Ruby threads
* ... -
04:40 PM Revision 1162523b (git): Remove MJIT worker thread (#6006)
- [Misc #18830]
-
04:21 PM Feature #16495: Inconsistent quotes in error messages
- > the weird practice of putting three periods before and after a code block cited in a text
It is a cultural diffe... -
03:43 PM Feature #16495: Inconsistent quotes in error messages
- zverok (Victor Shepelev) wrote in #note-21:
> I wonder what is the **necessity** to preserve this legacy convention ... -
02:20 PM Feature #16495: Inconsistent quotes in error messages
- zverok (Victor Shepelev) wrote in #note-21:
> (If you ask me, it irked me always as also looking weird in the termi... -
01:02 PM Feature #16495: Inconsistent quotes in error messages
- @nobu Even where it works, it is not common knowledge of the way to hack around the **necessity** to post a singular ...
-
12:49 PM Feature #16495: Inconsistent quotes in error messages
- As it seems working in other than titles, it would be an issue of GitHub.
You should report it to GitHub, not here. -
12:09 PM Feature #16495: Inconsistent quotes in error messages
- Not sure if it's well supported, it doesn't work in GitHub issue title which is one place where I have this problem.
... -
11:28 AM Feature #16495: Inconsistent quotes in error messages
- https://daringfireball.net/projects/markdown/syntax#code
> To include a literal backtick character within a code spa... -
10:03 AM Feature #16495: Inconsistent quotes in error messages
- > Why don't you use double- or triple-backticks?
Because that doesn't work for inline Markdown. -
03:23 AM Feature #16495: Inconsistent quotes in error messages
- zverok (Victor Shepelev) wrote in #note-12:
> Because error messages are by their nature something you frequently wa... - 04:04 PM Revision 64fb3279 (git): * 2022-06-16 [ci skip]
-
04:04 PM Revision d154d5d2 (git): Add imemo types to global namespace in lldb helpers
-
01:17 PM Revision bb12aa4d (git): Remove unnecessary condition
- `no_blockarg` is called for non-null `node` only.
-
12:59 PM Feature #18831 (Open): Block argument to `yield`
- Block argument to `yield` is a syntax error.
This is because there was previously no way to receive a given block in... -
12:10 PM Revision d417c1dd (git): [rubygems/rubygems] Revert "Support running specs with asdf version manager"
- This reverts commit https://github.com/rubygems/rubygems/commit/4b2d09af5bc7.
https://github.com/rubygems/rubygems/c... -
09:14 AM Revision e09bdc11 (git): [rubygems/rubygems] Support running specs with asdf version manager
- The `asdf-ruby` plugin sets `RUBYLIB` to require some code to reshim
after installing gems. This interferes with our ... - 07:01 AM Revision daf086c0 (git): Update bundled gems list at 2022-06-15
-
05:42 AM Revision 46706e78 (git): MJIT: Add a test for Process.waitall handling
-
03:55 AM Bug #8973: Allow to configure archlibdir for multiarch
- @vo.x With your patch and `--with-multiarch --with-archlibdir='${libdir}'`, not only libruby.so but also all standard...
-
12:14 AM Bug #18780: Incorrect binding receiver for C API rb_eval_string()
- The issue with #18487 was that `Kernel#binding` used to find the
first Ruby frame on the stack and that this iteratin...
Also available in: Atom