Project

General

Profile

Activity

From 02/20/2023 to 02/26/2023

02/26/2023

10:05 PM Feature #19458: Expose HEREDOC identifier
My thinking (the proposal I considered submitting but didn't fully form yet) was rather that HEREdocs might create so... zverok (Victor Shepelev)
05:10 PM Feature #19458: Expose HEREDOC identifier
Exposing the identifier for only heredocs seems inconsistent. However, for consistency, we could expose the identifi... jeremyevans0 (Jeremy Evans)
01:36 PM Feature #19458: Expose HEREDOC identifier
> So what are you supposed to do if you wanted to include ERB in the string when you have to use ERB as the identifie... zverok (Victor Shepelev)
02:00 AM Feature #19458: Expose HEREDOC identifier
@zverok So what are you supposed to do if you wanted to include `ERB` in the string when you have to use `ERB` as th... sawa (Tsuyoshi Sawada)
09:03 PM Feature #19465: [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
"nobu (Nobuyoshi Nakada) via ruby-core" <[email protected]> wrote:
> Issue #19465 has been updated by nobu...
Anonymous
08:39 PM Revision 35136e1e (git): reuse open(2) from rb_file_load_ok on POSIX-like system
When loading Ruby source files, we can save the result of
successful opens as open(2)/openat(2) are a fairly expensiv...
Eric Wong
01:37 PM Revision 6e6992e5 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/127)
https://github.com/ruby/net-http/commit/07b2b88ef5
burdettelamar (Burdette Lamar)
01:17 PM Revision c8bafc3b (git): Fix autoconf RUBY_STACK_GROW_DIRECTION on ARM devices
benhamilton (Ben Hamilton)
11:17 AM Bug #19230: The openssl backend of securerandom is no longer needed
Here's actually an user running into the above bug: https://github.com/stefansundin/rssbox/issues/67, https://github.... dentarg (Patrik Ragnarsson)
04:20 AM Revision ef00c6da (git): Adjust `else` style to be consistent in each files [ci skip]
nobu (Nobuyoshi Nakada)

02/25/2023

05:54 PM Feature #19377: Rename Fiber#storage to Fiber.storage
@Eregon My argument was not about `#storage` taken alone, but about `#storage` vs `::[]` inconsistency. The inconsist... zverok (Victor Shepelev)
05:50 PM Feature #19458: Expose HEREDOC identifier
I came to the same idea as this ticket independently in a [half-joke discussion](https://bugs.ruby-lang.org/issues/19... zverok (Victor Shepelev)
04:50 PM Revision 672b81b0 (git): [ruby/irb] Remove unused Struct
(https://github.com/ruby/irb/pull/522)
https://github.com/ruby/irb/commit/97dae166ae
ima1zumi (Mari Imaizumi)
12:53 PM Bug #18572: Performance regression when invoking refined methods
palkan (Vladimir Dementyev) wrote in #note-4:
> As far as I understand, this line is responsible for "the 13 seconds...
Eregon (Benoit Daloze)
12:41 PM Feature #19450: Is there an official way to set a class name without setting a constant?
ioquatix (Samuel Williams) wrote in #note-18:
> > One requirement for that is the given name should not be a valid c...
Eregon (Benoit Daloze)
12:07 PM Feature #19450: Is there an official way to set a class name without setting a constant?
I wondered about whether your point of class name consistent was valid, but I found cases like this:
```
irb(main...
ioquatix (Samuel Williams)
12:02 PM Feature #19450: Is there an official way to set a class name without setting a constant?
Here are some of the places in my own code I'd like to use such a feature:
- https://github.com/ioquatix/bake/blob/a...
ioquatix (Samuel Williams)
11:50 AM Feature #19450: Is there an official way to set a class name without setting a constant?
ioquatix (Samuel Williams) wrote in #note-16:
> It's already the case that `Module#name` can return a string which i...
Eregon (Benoit Daloze)
11:34 AM Feature #19450: Is there an official way to set a class name without setting a constant?
> The fundamental thing here is Module#name must return a String which is how to access that module, unless some part... ioquatix (Samuel Williams)
11:28 AM Feature #19450: Is there an official way to set a class name without setting a constant?
> I'm also pretty sure assigning to a constant is incompatible with Ractor in some cases..
No, modules and classes...
Eregon (Benoit Daloze)
11:22 AM Feature #19450: Is there an official way to set a class name without setting a constant?
ioquatix (Samuel Williams) wrote in #note-13:
> An example of this is web frameworks which load files into anonymous...
Eregon (Benoit Daloze)
11:12 AM Feature #19450: Is there an official way to set a class name without setting a constant?
The use case is explained in https://bugs.ruby-lang.org/issues/19450#note-6 - to make it more descriptive when class ... ioquatix (Samuel Williams)
11:09 AM Feature #19450: Is there an official way to set a class name without setting a constant?
What is the use-case here?
To name otherwise-anonymous test classes/modules?
Why not simply assigning them to a rea...
Eregon (Benoit Daloze)
10:04 AM Revision d0031db9 (git): Prefer RB_NUM2LONG for string length. (#7379)
Samuel Williams
09:34 AM Bug #19467 (Assigned): Some linear_time regexp does not match in linear time
hsbt (Hiroshi SHIBATA)
05:24 AM Bug #19467 (Closed): Some linear_time regexp does not match in linear time
`Regexp.linear_time?(/\A.*a.*x\z/) #=> true` but it does not match in linear time
~~~ruby
Regexp.linear_time? /\A...
tompng (tomoya ishida)
09:04 AM Feature #19465: [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
Seems fine.👍 nobu (Nobuyoshi Nakada)
01:48 AM Feature #19465 (Assigned): [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
```
When loading Ruby source files, we can save the result of
successful opens as open(2)/openat(2) are a fairly ex...
normalperson (Eric Wong)
08:38 AM Revision d3ee9e59 (git): [ruby/stringio] Remove (newly unneeded) remarks about aliases
https://github.com/ruby/stringio/commit/60bb320477 burdettelamar (Burdette Lamar)
06:27 AM Revision f94e83fa (git): Assigning `nil` to fiber storage deletes the association. (#7378)
Also avoid allocations when looking up `Fiber#storage` if not needed. Samuel Williams
05:40 AM Revision 57bc3f2f (git): Add `IO::Buffer.string` for efficient string creation. (#7364)
Samuel Williams
04:25 AM Bug #19461 (Closed): Time.local performance tanks in forked process (on macOS only?)
I don't think we can do anything about this, so closing. ioquatix (Samuel Williams)
04:16 AM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
I've submitted a bug report to Apple:
![](clipboard-202302251716-rh6ma.png)
ioquatix (Samuel Williams)
03:14 AM Feature #19466 (Closed): Class.new takes a block, why doesn't Module.new take a block?
Okay, I confirmed it's working by my own hand, haha. I must work too hard this week, my brain is not functioning corr... ioquatix (Samuel Williams)
03:08 AM Feature #19466: Class.new takes a block, why doesn't Module.new take a block?
Ahh, I tried this but I must have made a mistake. So why does `EnvUtil` not use this? Maybe it's legacy? ioquatix (Samuel Williams)
02:58 AM Feature #19466: Class.new takes a block, why doesn't Module.new take a block?
It does.
```ruby
A = Module.new do
def foo; "foo" end
end
class B; include A end
B.new.foo # => "foo"
```
Cf. htt...
sawa (Tsuyoshi Sawada)
02:37 AM Feature #19466 (Closed): Class.new takes a block, why doesn't Module.new take a block?
```ruby
Class.new do
#... equivalent to class_eval
end
```
So, why don't we introduce:
```ruby
Module.ne...
ioquatix (Samuel Williams)
03:02 AM Misc #19429: DevMeeting-2023-03-09
- [Feature #19450] Is there an official way to set a class name without setting a constant?
- Do we accept `Class.n...
ioquatix (Samuel Williams)
02:55 AM Feature #19440: Deprecate ThreadGroup
I don't think I have ever seen `ThreadGroup` used in practice, nor do I personally know why I'd want to use it. There... ioquatix (Samuel Williams)

02/24/2023

11:59 PM Bug #19464 (Closed): YJIT miscompiles `BasicObject#__send__` to alias methods of `send`
Symptoms first experienced and [reported] by users of the `kt-paperclip` gem.
Reproducer:
```ruby
klass = Class....
alanwu (Alan Wu)
10:52 PM Feature #19450: Is there an official way to set a class name without setting a constant?
What do you all think of https://github.com/ruby/ruby/pull/7376 ?? ioquatix (Samuel Williams)
05:32 PM Feature #19450: Is there an official way to set a class name without setting a constant?
matheusrich (Matheus Richard) wrote in #note-9:
> Semi-related (maybe it should be a separate issue?) but assigning ...
jeremyevans0 (Jeremy Evans)
05:14 PM Feature #19450: Is there an official way to set a class name without setting a constant?
Semi-related (maybe it should be a separate issue?) but assigning a class to a constant via rightward assignment resu... matheusrich (Matheus Richard)
10:23 PM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
Wow, it's like 300x slower.
According to the stack overflow discussion, some how this does not affect Python, so may...
ioquatix (Samuel Williams)
02:52 PM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
Rewritten.
```
$ clang localtime_test.c && ./a.out
Measuring in parent
localtime_r = 0.002384000
localtime...
nobu (Nobuyoshi Nakada)
02:34 PM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
Seems unrelated to Ruby.
```
$ sw_vers
ProductName: macOS
ProductVersion: 13.2.1
BuildVersion: 22D68
$ ...
nobu (Nobuyoshi Nakada)
04:04 AM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
Thanks, that's quite an epic Q/A. ioquatix (Samuel Williams)
03:42 AM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
In Dec 2016, someone investigated a related question and posted here:
https://stackoverflow.com/questions/41353532...
PvpDJgHP (William Thomas NELSON)
09:25 PM Feature #19453 (Closed): Move `Fiber.current` into core.
Awesome, thanks for the details! ioquatix (Samuel Williams)
05:38 PM Feature #19453: Move `Fiber.current` into core.
This seems already the case for 3.1 and 3.2:
```
$ ruby -v --disable-gems -e 'puts $"; p Fiber.current'
ruby 3.1.3...
Eregon (Benoit Daloze)
09:19 PM Bug #19463 (Closed): YJIT `[BUG] Stack consistency error` under certain invalidation scenarios
Applied in changeset commit:git|132934b82baad97107fe754d60f9a68a1db7ecda.
----------
YJIT: Generate Block::entry_exi...
alanwu (Alan Wu)
08:10 PM Bug #19463 (Closed): YJIT `[BUG] Stack consistency error` under certain invalidation scenarios
> test.rb:19: [BUG] Stack consistency error (sp: 15, bp: 16)
With the following:
```ruby
klass = Class.new do
...
alanwu (Alan Wu)
09:18 PM Revision 132934b8 (git): YJIT: Generate Block::entry_exit with block entry PC
Previously, when Block::entry_exit is requested from any instruction
that is not the first one in the block, we gener...
alanwu (Alan Wu)
09:15 PM Bug #18572: Performance regression when invoking refined methods
Eregon (Benoit Daloze) wrote in #note-3:
> Interesting, maybe this is partly the cause for the `13 seconds` mentione...
palkan (Vladimir Dementyev)
07:30 PM Bug #18572: Performance regression when invoking refined methods
Interesting, maybe this is partly the cause for the `13 seconds` mentioned in https://shopify.engineering/the-case-ag... Eregon (Benoit Daloze)
05:31 PM Bug #18572: Performance regression when invoking refined methods
Checked Ruby 3.2—better than Ruby 3.1 but still noticeable:
```sh
Comparison:
#symbolize_keys original: 43...
palkan (Vladimir Dementyev)
09:11 PM Bug #19456 (Closed): Incorrect line numbers in GC hook
Applied in changeset commit:git|3e098224077e8c43a1d8c2070b26ffdfda422780.
----------
Fix incorrect line numbers in G...
peterzhu2118 (Peter Zhu)
09:10 PM Revision fa1eb31f (git): [ci skip] Add note in gc.c about ambiguous case
peterzhu2118 (Peter Zhu)
07:10 PM Revision 3e098224 (git): Fix incorrect line numbers in GC hook
If the previous instruction is not a leaf instruction, then the PC was
incremented before the instruction was ran (me...
peterzhu2118 (Peter Zhu)
07:10 PM Revision d2631c42 (git): Fix RubyVM::CExpr#inspect
@__LINE__ can be nil which causes the inspect method to fail. peterzhu2118 (Peter Zhu)
07:09 PM Revision 05f016cd (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/126)
https://github.com/ruby/net-http/commit/4700d0660b
burdettelamar (Burdette Lamar)
05:25 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
I also reproduced the `SIGSEGV` from the original bug using a build with debug symbols:
```
* thread #1, queue = ...
benhamilton (Ben Hamilton)
02:03 PM Revision f471f461 (git): YJIT: Use enum for expressing type diff (#7370)
k0kubun (Takashi Kokubun)
02:01 PM Revision d8d152e6 (git): YJIT: Compress TempMapping (#7368)
k0kubun (Takashi Kokubun)
01:34 PM Revision 07403de5 (git): [ruby/irb] Cleanup completion tests
(https://github.com/ruby/irb/pull/520)
* Remove redundant completion test
The test case was introduced to guard an ...
st0012 (Stan Lo)
11:48 AM Revision 5d5ff6e5 (git): [ruby/set] Set#merge does not take keyword arguments as a Hash
https://github.com/ruby/set/commit/ca1c9532a9 Akinori MUSHA
11:48 AM Revision 454ac4cb (git): [ruby/set] Set#merge takes many enumerable objects like Hash#merge! does
https://github.com/ruby/set/commit/becaca994d Akinori MUSHA
10:44 AM Revision aff41a36 (git): Add information about runirb in make help
kaiquekandykoga (Kaíque Koga)
02:22 AM Bug #19378: Windows: Use less syscalls for faster require of big gems
joshc (Josh C) wrote in #note-3:
> I've attached a revert patch.
I think the only way we would revert commit:79a...
jeremyevans0 (Jeremy Evans)
01:43 AM Bug #19378: Windows: Use less syscalls for faster require of big gems
I've also noticed a significant increase in file IO events (as reported by procmon) due to https://github.com/ruby/ru... joshc (Josh C)
01:22 AM Feature #19443: Cache `Process.pid`
"ko1 (Koichi Sasada) via ruby-core" <[email protected]> wrote:
> As I understand `getpid()` system call is...
Anonymous
12:14 AM Bug #19462 (Assigned): MJIT not enabled with universal macOS x86_64 + arm64 build
k0kubun (Takashi Kokubun)

02/23/2023

10:13 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
Sent PR https://github.com/ruby/ruby/pull/7367 with a fix.
benhamilton (Ben Hamilton)
09:13 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
I think I know what the problem is.
During the build, Ruby has special logic to serialize its own `builtin` module t...
benhamilton (Ben Hamilton)
09:31 PM Bug #13831: error when try to install
We've been carrying a patch for this issue for many years now and I submitted a PR: https://github.com/ruby/ruby/pull... joshc (Josh C)
09:05 PM Bug #19462 (Closed): MJIT not enabled with universal macOS x86_64 + arm64 build
I'm trying to build a universal macOS x86_64 + arm64 ruby from upstream @ ae9e1aee59b0db1e61aa0473556165f9fd719cde on... benhamilton (Ben Hamilton)
08:11 PM Bug #19460: Class not able to be garbage collected
Wow, interesting! Thanks for looking into it, I hadn't heard of harb before, pretty neat. luke-gru (Luke Gruber)
04:10 PM Bug #19460 (Closed): Class not able to be garbage collected
Closing as I don't think it's a bug per say, but happy to re-open if anyone thinks otherwise. byroot (Jean Boussier)
03:50 PM Bug #19460: Class not able to be garbage collected
I just had a look at this.
Modifying your script a bit to dump the heap:
```ruby
require 'objspace'
class A...
byroot (Jean Boussier)
04:27 AM Bug #19460: Class not able to be garbage collected
I should also note I don't know if this is a bug or if this is simply not possible to do in Ruby. I know using `load`... luke-gru (Luke Gruber)
03:55 AM Bug #19460 (Closed): Class not able to be garbage collected
I'm working on something where I need to remove a class and release all memory related to that class.
I've stumbled ...
luke-gru (Luke Gruber)
08:05 PM Feature #18070: `attr` should be removed
There may be backwards compatibility considerations. Personally I never
use attr. I use the longer variants (attr_acc...
rubyFeedback (robert heiler)
08:02 PM Feature #18136: take_while_after
I think one big problem with the proposed name such as the three word one is that they
are somewhat rare and difficu...
rubyFeedback (robert heiler)
07:53 PM Feature #17859: Start IRB when running just `ruby`
I don't have a strong opinion on the topic. I am fine either way.
Both seem to have a valid point of view, e. g. the...
rubyFeedback (robert heiler)
06:13 PM Revision 1fdaa066 (git): Fix a warning on typedef
../gc.c:13317:1: warning: ‘typedef’ is not at beginning of declaration [-Wold-style-declaration]
13317 | } typedef we...
k0kubun (Takashi Kokubun)
06:08 PM Revision b9f9440e (git): YJIT: Trivial fixes in codegen.rs
k0kubun (Takashi Kokubun)
06:03 PM Revision 5444dde7 (git): YJIT: Skip type checks on splat args and expandarray if possible (#7363)
YJIT: Skip type checks on splat args and expandarray
if possible
k0kubun (Takashi Kokubun)
05:12 PM Revision c3cd1910 (git): YJIT: Add `make yjit-smoke-test` [ci skip]
I have this as a shell command and Maxime told me that she finds it
useful, too. I tested this on a release build and...
alanwu (Alan Wu)
04:51 PM Revision 7c47c261 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/125)
https://github.com/ruby/net-http/commit/2ea20380fc
burdettelamar (Burdette Lamar)
03:02 PM Feature #18498 (Closed): Introduce a public WeakKeysMap that compares by equality
Applied in changeset commit:git|2a5354e59324cb296a423c73ec15ff9191086964.
----------
Implement ObjectSpace::WeakKeyM...
byroot (Jean Boussier)
03:01 PM Revision 2a5354e5 (git): Implement ObjectSpace::WeakKeyMap basic allocator
[Feature #18498] byroot (Jean Boussier)
12:24 PM Bug #19455: Ruby 3.2: wrong Regexp encoding with non-ASCII comments
i don't have a problem with this myself and the matching behavior is not affected as far as i can tell.
notable be...
janosch-x (Janosch Müller)
04:18 AM Bug #19455: Ruby 3.2: wrong Regexp encoding with non-ASCII comments
@janosch-x Do you have any specific problem with this change? For example, a string that used to match no longer matc... mame (Yusuke Endoh)
11:23 AM Bug #19461 (Closed): Time.local performance tanks in forked process (on macOS only?)
The following program demonstrates a performance regression in forked child processes when invoking `Time.local`:
...
ioquatix (Samuel Williams)
08:50 AM Revision 9406245d (git): [rubygems/rubygems] lint fix again
https://github.com/rubygems/rubygems/commit/118d28ad27 Mercedes Bernard
08:50 AM Revision 3d766122 (git): [rubygems/rubygems] lint fix
https://github.com/rubygems/rubygems/commit/de3b69f1a7 Mercedes Bernard
08:50 AM Revision 10a393c2 (git): [rubygems/rubygems] add safe_load_marshal for gem::version and gem::spec
https://github.com/rubygems/rubygems/commit/2ea2ead1b3 Mercedes Bernard
08:50 AM Revision e965133f (git): [rubygems/rubygems] test Bundler::Fetcher that error raised when attempting load unexpected class
https://github.com/rubygems/rubygems/commit/795e796a9e Mercedes Bernard
08:50 AM Revision 68995c21 (git): [rubygems/rubygems] test rubygems_integration that error raised when attempting load unexpected class
https://github.com/rubygems/rubygems/commit/9798718b3b Mercedes Bernard
08:50 AM Revision ffc20273 (git): [rubygems/rubygems] add test for private load_marshal method
https://github.com/rubygems/rubygems/commit/3a772125b8 Mercedes Bernard
08:50 AM Revision 583137fe (git): [rubygems/rubygems] make Bundler.load_marshal private
https://github.com/rubygems/rubygems/commit/4909d071d2 Mercedes Bernard
08:50 AM Revision d5994eb4 (git): [rubygems/rubygems] safe marshal gem specs when inflating
https://github.com/rubygems/rubygems/commit/5c5d0c5350 Mercedes Bernard
08:50 AM Revision 3d5ec840 (git): [rubygems/rubygems] safe marshal gem versions when fetching Marshal.specs.4.8.gz
https://github.com/rubygems/rubygems/commit/23880353c1 Mercedes Bernard
06:39 AM Bug #19189: Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime
ruby_3_1 0602df301cd76a3f1b444c4742b288bc6aed80ac merged revision(s) 613fca01486e47dee9364a2fd86b5f5e77fe23c8. nagachika (Tomoyuki Chikanaga)
06:14 AM Revision 0602df30 (git): merge revision(s) 613fca01486e47dee9364a2fd86b5f5e77fe23c8: [Backport #19189]
[Bug #19189] Fallback to the default "pkg-config"
---
lib/mkmf.rb | 2 +-
1 file changed, 1...
nagachika (Tomoyuki Chikanaga)
06:11 AM Bug #18629: block args array splatting assigns to higher scope _ var
ruby_3_1 536f5ba0d48c033e63398d1751aebd0a11bcc6ff merged revision(s) 3ddf6ad4d2f6dae4caa00b8c407768c7062099a0. nagachika (Tomoyuki Chikanaga)
06:11 AM Bug #18765: Wrong description introduced by https://github.com/ruby/ruby/pull/4938/files
ruby_3_1 9f072e9ae1bae2d76334c9e97a47280779768859 merged revision(s) 8038d5e40a079d60dfcf7cab1155528959760c28. nagachika (Tomoyuki Chikanaga)
06:10 AM Revision 9f072e9a (git): merge revision(s) 8038d5e40a079d60dfcf7cab1155528959760c28: [Backport #18765]
Revert flawed doc for slice_after, slice_when, and chunk_while
(#5952)
Restores doc for the methods...
nagachika (Tomoyuki Chikanaga)
05:40 AM Bug #19459 (Closed): Is `length` of `IO::Buffer#read` required or optional?
Applied in changeset commit:git|3b567eb491e460e00a66fdea8054eeb083b5dafd.
----------
[Bug #19459] Remove unnecessary...
nobu (Nobuyoshi Nakada)
01:17 AM Bug #19459: Is `length` of `IO::Buffer#read` required or optional?
https://github.com/nobu/ruby/tree/io_buffer-unnecessary-checks
https://github.com/ruby/ruby/pull/7362
nobu (Nobuyoshi Nakada)
01:12 AM Bug #19459 (Closed): Is `length` of `IO::Buffer#read` required or optional?
io_buffer.c has warnings.
http://ci.rvm.jp/logfiles/brlog.trunk-asserts.20230222-105209#L956
```
/tmp/ruby/src...
nobu (Nobuyoshi Nakada)
05:40 AM Revision 3b567eb4 (git): [Bug #19459] Remove unnecessary always-true checks (#7362)
`length` is a required argument for `IO::Buffer#read` and
`IO::Buffer#write` methods, and `argc` is already checked w...
nobu (Nobuyoshi Nakada)
05:36 AM Revision 536f5ba0 (git): merge revision(s) 3ddf6ad4d2f6dae4caa00b8c407768c7062099a0: [Backport #18629]
Private local variables should shadow outer variables [Bug #18629]
---
parse.y | 3 ...
nagachika (Tomoyuki Chikanaga)
03:48 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
Merged the pull request for ruby_3_1 https://github.com/ruby/ruby/pull/7355. nagachika (Tomoyuki Chikanaga)
03:46 AM Revision d485a5dc (git): bump patchlevel
nagachika (Tomoyuki Chikanaga)
03:45 AM Revision 76c61c99 (git): Backport https://github.com/ruby/ruby/pull/7321
hsbt (Hiroshi SHIBATA)
03:43 AM Bug #19153: Since 2.7.7 CGI::Cookie raises ArgumentError when cookie domains is prefixed with a dot
Updated the bundled cgi to 0.3.6 on ruby_3_1 branch. nagachika (Tomoyuki Chikanaga)
03:42 AM Bug #19153: Since 2.7.7 CGI::Cookie raises ArgumentError when cookie domains is prefixed with a dot
ruby_3_1 4141989b2aef2993bb19140a4be355d1c68b8be1 merged revision(s) 656f25987cf2885104d5b13c8d3f5b7d32f1b333,98074a5... nagachika (Tomoyuki Chikanaga)
03:41 AM Revision 4141989b (git): merge revision(s) 656f25987cf2885104d5b13c8d3f5b7d32f1b333,98074a57ca9f3169fe9da9af6c49b636d37db16f,745dcf5326ea2c8e2047a3bddeb0fbb7e7d07649,b335d899fff3cc22b022c9ee2ceb636d714bf1a7: [Backport #19153]
[ruby/cgi] Fix test_cgi_cookie_new_with_domain to pass on older
rubies
https://github.com/ruby/cgi/...
nagachika (Tomoyuki Chikanaga)
02:25 AM Revision da0e6b99 (git): Move `dump_machine_register` definitions
nobu (Nobuyoshi Nakada)
01:01 AM Feature #19457: Some improvements to test-all suite
Interesting, patches are welcome. nobu (Nobuyoshi Nakada)
12:31 AM Feature #19458: Expose HEREDOC identifier
To my understanding, the reason you can freely choose the heredoc identifier is not to label the language of the cont... sawa (Tsuyoshi Sawada)

02/22/2023

09:22 PM Revision e9e4e1cb (git): YJIT: Introduce Opnd::Stack (#7352)
k0kubun (Takashi Kokubun)
09:09 PM Revision 4f48debd (git): * remove trailing spaces. [ci skip]
git[bot]
09:09 PM Revision 29ec8e15 (git): Make GC faster when RGENGC_CHECK_MODE >= 2
We shouldn't run gc_verify_internal_consistency after every GC step
when RGENGC_CHECK_MODE >= 2, only when GC has fin...
peterzhu2118 (Peter Zhu)
09:07 PM Feature #19458 (Open): Expose HEREDOC identifier
I’d like to have access to the HEREDOC identifier.
In the ViewComponent framework I help maintain, we added a meth...
joelhawksley (Joel Hawksley)
08:02 PM Misc #18761: provide an example wasm project
> need more getting started instructions?
I think it may be helpful if there would be something like a "mini-tutoria...
rubyFeedback (robert heiler)
07:51 PM Feature #19457 (Closed): Some improvements to test-all suite
Hi, I've been making some improvements to this suite in a branch of my own and came up with a list of changes I think... luke-gru (Luke Gruber)
07:26 PM Revision 220cdbee (git): [lldb] Add a print_flags command (#7358)
eightbitraptor (Matt V-H)
04:09 PM Bug #19455: Ruby 3.2: wrong Regexp encoding with non-ASCII comments
I'm not sure that this a bug. If all non-comment characters considered in the regexp are in the US-ASCII range, it s... jeremyevans0 (Jeremy Evans)
10:18 AM Bug #19455 (Closed): Ruby 3.2: wrong Regexp encoding with non-ASCII comments
comments and comment groups don't trigger the correct `Regexp#encoding` on Ruby 3.2 anymore:
```ruby
# ruby 3.1
...
janosch-x (Janosch Müller)
02:49 PM Bug #19456 (Closed): Incorrect line numbers in GC hook
GitHub PR: https://github.com/ruby/ruby/pull/7357
If the previous instruction is not a leaf instruction, then the ...
peterzhu2118 (Peter Zhu)
01:58 PM Revision 4edb2a29 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net:HTTP
(https://github.com/ruby/net-http/pull/124)
https://github.com/ruby/net-http/commit/aaf26b21d6
burdettelamar (Burdette Lamar)
01:14 PM Revision b112ae99 (git): Skip failing test on MSWin
nobu (Nobuyoshi Nakada)
10:00 AM Revision 65ab2c1e (git): Backport [Bug #19158] for Ruby 3.2 (#7356)
Backport https://github.com/ruby/ruby/pull/7321 hsbt (Hiroshi SHIBATA)
09:02 AM Bug #19454: Instruction `send` has nil blockiseq and ARGS_SIMPLE flag
> It seems test-unit turns off specialized_instruction in RubyVM::InstructionSequence.compile_option.
Indeed, thank ...
dmitry.pogrebnoy (Dmitry Pogrebnoy)
08:42 AM Revision 6232e1b9 (git): [rubygems/rubygems] Skip extension test on jruby
https://github.com/rubygems/rubygems/commit/38ee82c297 segiddins (Samuel Giddins)
08:42 AM Revision 151ae979 (git): [rubygems/rubygems] Better teardown
https://github.com/rubygems/rubygems/commit/5fa0ebf09b segiddins (Samuel Giddins)
08:42 AM Revision a17b1b19 (git): [rubygems/rubygems] Always join with a string
Gem.path_separator can also be a regexp...
https://github.com/rubygems/rubygems/commit/7e6e56a5f3
segiddins (Samuel Giddins)
08:42 AM Revision 0ca3a095 (git): [rubygems/rubygems] Only update env if var exists
Will save on an error if it would be nil from an exception happening during that line
https://github.com/rubygems/ru...
segiddins (Samuel Giddins)
08:42 AM Revision 616a7e1f (git): [rubygems/rubygems] Nil out Gem.configuration after tests
https://github.com/rubygems/rubygems/commit/3135ad91d4 segiddins (Samuel Giddins)
08:42 AM Revision ae5deb1e (git): [rubygems/rubygems] Use assert_raise instead of assert_raises
For ruby-core compat
https://github.com/rubygems/rubygems/commit/c8f85c91a8
segiddins (Samuel Giddins)
08:42 AM Revision 931db212 (git): [rubygems/rubygems] Add tests covering pre-releases for gem exec
https://github.com/rubygems/rubygems/commit/f6877c29b9 segiddins (Samuel Giddins)
08:42 AM Revision 80bfa1b3 (git): [rubygems/rubygems] Fix resetting env in gem exec, and make sure it is set for gem exec gem
https://github.com/rubygems/rubygems/commit/13a6dd4992 segiddins (Samuel Giddins)
08:42 AM Revision 2dd96983 (git): [rubygems/rubygems] Allow gem exec gem
https://github.com/rubygems/rubygems/commit/a767f7b9be segiddins (Samuel Giddins)
08:42 AM Revision 47d4f73e (git): [rubygems/rubygems] Remove platform option for gem exec
Also fix native extensions that load dependencies
https://github.com/rubygems/rubygems/commit/a06f9870c7
segiddins (Samuel Giddins)
08:42 AM Revision 612ebd10 (git): [rubygems/rubygems] Ensure dependencies are updated by default when running gem exec
https://github.com/rubygems/rubygems/commit/664f3e1e5f segiddins (Samuel Giddins)
08:42 AM Revision 3f0f9a79 (git): [rubygems/rubygems] Add gem exec description
https://github.com/rubygems/rubygems/commit/dac1609fd5 segiddins (Samuel Giddins)
08:42 AM Revision d81be060 (git): [rubygems/rubygems] Add specs for gem exec
https://github.com/rubygems/rubygems/commit/3078e5834e segiddins (Samuel Giddins)
08:42 AM Revision cbe14cc8 (git): [rubygems/rubygems] Add gem exec command
https://github.com/rubygems/rubygems/commit/ca69a317f3 segiddins (Samuel Giddins)
08:03 AM Feature #19443: Cache `Process.pid`
> How to read comment #7 results?
It's a flat reduction on our latency (server response time) metrics.
On avera...
byroot (Jean Boussier)
02:44 AM Feature #19443: Cache `Process.pid`
Thank you.
How to read comment [#7](https://bugs.ruby-lang.org/issues/19443#note-7) results?
ko1 (Koichi Sasada)
07:22 AM Bug #19158 (Closed): Ruby 3.1.3 installs wrong gemspec for debug gem
hsbt (Hiroshi SHIBATA)
07:11 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
I submitted pull-requests for Ruby 3.1 and 3.2.
* [for Ruby 3.1](https://github.com/ruby/ruby/pull/7355)
* [for R...
hsbt (Hiroshi SHIBATA)
05:40 AM Revision 693e4dec (git): Prohibit GIT after setting readonly
nobu (Nobuyoshi Nakada)
04:11 AM Revision 65ef20d2 (git): Add support for LoongArch (#7343)
* vm_dump.c: Dump machine registers on loongarch64 Linux.
* coroutines: Support for native loongarch64 coroutines.
...
小MAO钓鱼
02:56 AM Revision 2798b13e (git): Bump actions/cache from 3.2.5 to 3.2.6
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/act...
dependabot[bot]
01:23 AM Revision d025ff29 (git): Clone bundled gem sources only if GIT is available
nobu (Nobuyoshi Nakada)
01:23 AM Revision ac5a949c (git): Refine exception messages when git failed
nobu (Nobuyoshi Nakada)
01:20 AM Revision 015bf5c4 (git): Removed accidentally commits with ruby/readline-ext
Partly reverted 1ddda4c0d7d2b83658ab149e36e088961ca0b2dc hsbt (Hiroshi SHIBATA)
01:18 AM Revision fc59b587 (git): [ruby/readline-ext] test_readline.rb only needs EnvUtil
https://github.com/ruby/readline-ext/commit/9245965ecd hsbt (Hiroshi SHIBATA)
01:18 AM Revision 08891906 (git): [ruby/readline-ext] Omit some tests with macOS platform
https://github.com/ruby/readline-ext/commit/efe2be6e4c hsbt (Hiroshi SHIBATA)
01:18 AM Revision 1ddda4c0 (git): [ruby/readline-ext] Import EnvUtils and related test libraries
https://github.com/ruby/readline-ext/commit/f034697a48 hsbt (Hiroshi SHIBATA)

02/21/2023

10:07 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
mame (Yusuke Endoh) wrote in #note-38:
> ```
> new: undefined method `foo' for main
> ```
I think that's quite ...
Eregon (Benoit Daloze)
09:34 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
Thank you! :) ivoanjo (Ivo Anjo)
09:59 PM Revision ae9e1aee (git): Call rb_ivar_set instead of exiting for many ivars
Previously, when we have a lot of ivars defined, we would exit via
`jit_chain_guard` for megamorphic ivars. Now if we...
eileencodes (Eileen Uchitelle)
09:41 PM Revision 9f8056a7 (git): YJIT: Fastpath for Module#=== (#7351)
Co-authored-by: Maxime Chevalier-Boisvert <[email protected]>
Co-authored-by: Jimmy Miller <jimmy....
alanwu (Alan Wu)
09:10 PM Revision 0353277b (git): YJIT: Avoid checking symbol ID twice on send (#7350)
k0kubun (Takashi Kokubun)
07:38 PM Revision 50e77b6a (git): [ruby/irb] Improve RubyLex's tests
(https://github.com/ruby/irb/pull/484)
* Improve assert_indenting helper
Instead of putting assertions inside the `...
st0012 (Stan Lo)
06:21 PM Revision 5baef075 (git): YJIT: Fix clippy issues and remove unused params (#7348)
* YJIT: Fix clippy issues and remove unused params
* Remove an unnecessary whitespace
---------
Co-authored-by: Ta...
Jimmy Miller
06:00 PM Revision d579f475 (git): Bump SHAPE_MAX_NUM_IVS to 80 (#7344)
k0kubun (Takashi Kokubun)
05:13 PM Bug #19439: Marshal.load doesn't load Regexp instance variables
Thank you! andrykonchin (Andrew Konchin)
12:57 PM Bug #19439 (Closed): Marshal.load doesn't load Regexp instance variables
Applied in changeset commit:git|d2520b7b76759118071a16e6bca22726a5de9fb4.
----------
Marshal.load: restore instance ...
byroot (Jean Boussier)
05:07 PM Revision 37b6d988 (git): Use `Gem::Package#build` instead of the class method for old baseruby
nobu (Nobuyoshi Nakada)
05:07 PM Revision 289080e4 (git): Clone and create dummy gemspec in sequential build
nobu (Nobuyoshi Nakada)
05:07 PM Revision 241c4cfd (git): Move dummy gemspec file creation for extract-gems-sequential
nobu (Nobuyoshi Nakada)
05:07 PM Revision 0a9efe87 (git): Use git directories instead of gemspec files as dependency
Minitest repository does not commit its gemspec file. nobu (Nobuyoshi Nakada)
04:00 PM Bug #19446 (Closed): Remove `compiler_wd` related warnings in `tool/update-deps`
peterzhu2118 (Peter Zhu)
03:57 PM Revision 3c01342e (git): Fix detection of compiler_wd in tool/update-deps
eightbitraptor (Matt V-H)
03:52 PM Bug #19454 (Feedback): Instruction `send` has nil blockiseq and ARGS_SIMPLE flag
It seems test-unit turns off `specialized_instruction` in `RubyVM::InstructionSequence.compile_option`.
> This bre...
nobu (Nobuyoshi Nakada)
02:45 PM Bug #19454 (Feedback): Instruction `send` has nil blockiseq and ARGS_SIMPLE flag
### Setup
* OS: MacOS Monterey 12.4
* VM: rbenv
* Gems: test-unit 3.5.3
* Ruby: ruby 3.1.3p185 (2022-11-24 re...
dmitry.pogrebnoy (Dmitry Pogrebnoy)
03:44 PM Feature #19437: Add marking and sweeping time to GC.stat
> You can show your support for this issue by clicking "like" in the top right corner
Aha - I did not notice that be...
rubyFeedback (robert heiler)
01:05 PM Feature #19437 (Closed): Add marking and sweeping time to GC.stat
Applied in changeset commit:git|93ac7405b80cc61930d73da04441fa09af1851e1.
----------
Add marking and sweeping time t...
peterzhu2118 (Peter Zhu)
03:39 PM Revision a26a0af0 (git): Use `BigDecimal::VERSION` instead of `RUBY_VERSION`
nobu (Nobuyoshi Nakada)
03:36 PM Revision ace116fc (git): Update default gems list at 0cde887eb9fd47b9857c9e4a7fbafc [ci skip]
git[bot]
03:35 PM Revision 0cde887e (git): [ruby/bigdecimal] Bump up to 3.1.4
ruby/bigdecimal#187 has changed a behavior and ruby/spec also needed a
follow up at https://github.com/ruby/ruby/comm...
nobu (Nobuyoshi Nakada)
02:24 PM Revision 7b768e43 (git): [ruby/bigdecimal] Move RB_GC_GUARD() at the end, like in BigMath_s_exp()
https://github.com/ruby/bigdecimal/commit/b66ef9fbb5 Eregon (Benoit Daloze)
02:24 PM Revision 5077cc2b (git): [ruby/bigdecimal] Avoid RB_GC_GUARD(a) = b in bigdecimal
* This is not supported on TruffleRuby, which requires the value to be
set before RB_GC_GUARD() is called.
* See ht...
Eregon (Benoit Daloze)
02:09 PM Misc #19429: DevMeeting-2023-03-09
- [Feature #19437] Add marking and sweeping time to GC.stat (peterzhu2118)
- This feature records GC time in marki...
peterzhu2118 (Peter Zhu)
01:05 PM Revision 93ac7405 (git): Add marking and sweeping time to GC.stat
There is a `time` key in GC.stat that gives us the total time spent in
GC. However, we don't know what proportion of ...
peterzhu2118 (Peter Zhu)
01:05 PM Revision d7c1ca48 (git): Refactor to separate marking and sweeping phases
This commit separates the marking and sweeping phases so that marking
functions do not directly call sweeping functions.
peterzhu2118 (Peter Zhu)
12:57 PM Revision d2520b7b (git): Marshal.load: restore instance variables on Regexp
[Bug #19439]
The instance variables were restore on the Regexp source,
not the regexp itself.
Unfortunately we have...
byroot (Jean Boussier)
12:13 PM Bug #19442: Remove USE_RINCGC flag
Similarly I think we should remove all the `RGENGC_WB_PROTECTED_*` flags https://github.com/Shopify/ruby/commit/078d... byroot (Jean Boussier)
11:00 AM Revision 61709227 (git): Update default gems list at b572f2436c70bef75126fe4e30910a [ci skip]
git[bot]
10:50 AM Revision b572f243 (git): [ruby/openssl] Stub gemspec for JRuby
JRuby has its own implementation of the `openssl` library in
jruby-openssl. The simplest way for us to allow users to...
headius (Charles Nutter)
10:32 AM Revision bc101f0f (git): [ruby/rdoc] Fix RDoc::Parser::Ruby not being documented
The calls to require prevent the class from being documented.
https://github.com/ruby/rdoc/commit/76283fc42e
etienne (Étienne Barrié)
10:31 AM Revision 4c772651 (git): [ruby/strscan] Mask out this test on JRuby/Windows
See https://github.com/jruby/jruby/issues/7644 for the root issue,
which will require fixes to JRuby's regular expres...
headius (Charles Nutter)
10:31 AM Revision 76a4cdfb (git): [ruby/strscan] test: Run test more with fixed anchor mode
(https://github.com/ruby/strscan/pull/60)
fix https://github.com/ruby/strscan/pull/56
Sutou Kouhei
10:31 AM Revision 260bc7cd (git): [ruby/strscan] Add test case to `test_string`
(https://github.com/ruby/strscan/pull/58)
`string` returns the original string after `scan` is called. Current
test ...
okuramasafumi (Masafumi OKURA)
10:31 AM Revision 18e840ac (git): [ruby/strscan] Bump version
https://github.com/ruby/strscan/commit/681cde0f27 Sutou Kouhei
10:31 AM Revision a44f5ab0 (git): [ruby/strscan] Mention return value of `rest?` in the doc
(https://github.com/ruby/strscan/pull/49)
The doc of `rest?` was unclear about return value. This commit adds the
re...
okuramasafumi (Masafumi OKURA)
10:31 AM Revision a350ef9f (git): [ruby/csv] test: use mailing list ID instead of unavailable URL
https://github.com/ruby/csv/commit/04862ccf87 Sutou Kouhei
10:31 AM Revision 2ac1efc0 (git): [ruby/csv] Use https links instead of http
(https://github.com/ruby/csv/pull/274)
https://github.com/ruby/csv/commit/e2a06929a8
apatniv (Vivek Ak)
10:31 AM Revision 1a05d988 (git): [ruby/csv] Remove unused @double_quote_character from Parser
(https://github.com/ruby/csv/pull/273)
https://github.com/ruby/csv/commit/e5622c53ae
Maumagnaguagno (Mau Magnaguagno)
10:28 AM Revision 38fa8eb4 (git): Merge rubygems/bundler master
Pick from https://github.com/rubygems/rubygems/commit/e9304aed7e43308b99e70c2f7b92028315fee8a5 hsbt (Hiroshi SHIBATA)
10:28 AM Revision a47e1328 (git): [rubygems/rubygems] Give a better message when Gemfile branch does not exist
https://github.com/rubygems/rubygems/commit/cb4fc41cbc deivid (David Rodríguez)
10:28 AM Revision b5eb9ebd (git): [rubygems/rubygems] Fix crash in pub grub involving empty ranges
https://github.com/rubygems/rubygems/commit/0f168516f7 deivid (David Rodríguez)
10:28 AM Revision 4064e3e7 (git): [rubygems/rubygems] Update pub_grub
* Replaces the wording of "is forbidden" with "cannot be used"
* Fixes the method signature of VersionRange::Empty#eq...
jhawthorn (John Hawthorn)
10:28 AM Revision 80389915 (git): [rubygems/rubygems] Sync with pub_grub main branch
We became a bit out of sync lately.
https://github.com/rubygems/rubygems/commit/6161a2610a
deivid (David Rodríguez)
10:28 AM Revision e7bf8596 (git): [rubygems/rubygems] Restore better error message when locked ref does not exist
https://github.com/rubygems/rubygems/commit/c8e024359f deivid (David Rodríguez)
10:26 AM Revision 9b6d421f (git): [rubygems/rubygems] [DOC] Update the link to OpenSource.org
The static list in alphabetical order seems no longer provided.
https://github.com/rubygems/rubygems/commit/a37dff7736
nobu (Nobuyoshi Nakada)
10:05 AM Revision ba2bd6d0 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.64 to 0.9.65.
- [Release notes](https://github.com/oxid...
dependabot[bot]
09:50 AM Revision d13879f8 (git): [ruby/bigdecimal] Read version from bigdecimal.c
The dependency of extconf.h on bigdecimal.gemspec does not make sense
as far as no rule is defined for it. Also, the...
nobu (Nobuyoshi Nakada)
09:40 AM Revision cb40432c (git): Use `ERROR_ARGS_AT`
nobu (Nobuyoshi Nakada)
08:55 AM Feature #19443: Cache `Process.pid`
I deployed a ruby shim of this cache to half of our servers: https://github.com/Shopify/pid_cache
Average latency:...
byroot (Jean Boussier)
04:46 AM Revision 6384f798 (git): Prevent "warning: ambiguity between regexp and two divisions"
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20230221T031004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/bu...
mame (Yusuke Endoh)
03:43 AM Feature #19451: Extract path and line number from SyntaxError?
@nobu most text editors need a single line and column for each backtrace location.
As it stands, just looking at t...
ioquatix (Samuel Williams)
03:23 AM Feature #19451: Extract path and line number from SyntaxError?
`SyntaxError` can contain multiple error locations.
I'm trying https://github.com/nobu/ruby/tree/SyntaxError%23diagn...
nobu (Nobuyoshi Nakada)

02/20/2023

11:48 PM Feature #19453 (Closed): Move `Fiber.current` into core.
i.e. don't `require 'fiber'` to use `Fiber.current`. Are there other methods we should consider too? ioquatix (Samuel Williams)
09:57 PM Revision 899fad90 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/123)
https://github.com/ruby/net-http/commit/220ff3f741
burdettelamar (Burdette Lamar)
06:12 PM Feature #19428: Adding a "piped heredoc" feature
@nobu - I'll see if I can implement a patch for this. Your steps are helpful.
@eregon - I also think the pipe char...
shreeve (Steve Shreeve)
03:01 PM Feature #19428: Adding a "piped heredoc" feature
IMO the examples in the description are too hard for humans to read, and very error-prone (it breaks everything if in... Eregon (Benoit Daloze)
01:57 AM Feature #19428: Adding a "piped heredoc" feature
shreeve (Steve Shreeve) wrote in #note-3:
> The parser is already doing the work to be "looking for" the end of the ...
nobu (Nobuyoshi Nakada)
06:06 PM Feature #19451: Extract path and line number from SyntaxError?
It's also worth mentioning that not all syntax errors have an associated path. `eval`, code piped to STDIN, and `ruby... schneems (Richard Schneeman)
04:01 PM Feature #19451: Extract path and line number from SyntaxError?
Is it #lineno or #line_number? I would think #line_number would look prettier,
if we add a method to SyntaxError. (No...
rubyFeedback (robert heiler)
03:03 PM Feature #19451: Extract path and line number from SyntaxError?
The calling backtrace and the location of the syntax error are separated things, so I don't think we should mix them.... Eregon (Benoit Daloze)
09:20 AM Feature #19451: Extract path and line number from SyntaxError?
FWIW, `SyntaxError#path` [was added](https://rubyreferences.github.io/rubychanges/3.2.html#syntaxerrorpath) in 3.2 zverok (Victor Shepelev)
07:02 AM Feature #19451: Extract path and line number from SyntaxError?
(and while we are at it, how about column information?) ioquatix (Samuel Williams)
06:58 AM Feature #19451 (Open): Extract path and line number from SyntaxError?
There doesn't seem to be any official way to extract the path and line number from a syntax error.
There are two w...
ioquatix (Samuel Williams)
06:04 PM Revision 0459eaec (git): compile.c: eliminate getinstancevariable -> pop sequences
This case wasn't eliminated before because `getinstancevariable`
could emit a warning, but that's no longer the case ...
byroot (Jean Boussier)
05:06 PM Revision ecd0cdaf (git): YJIT: Fix assertion for partially mapped last pages (#7337)
Follows up [Bug #19400] k0kubun (Takashi Kokubun)
04:05 PM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
Perhaps this could be discussed as "one item" in an upcoming
dev meeting, e. g. the extensions ioquatix suggested in...
rubyFeedback (robert heiler)
07:06 AM Feature #19452 (Open): `Thread::Backtrace::Location` should have column information if possible.
I discussed this with @mame and it would be pretty useful if we could also get the column information from exception ... ioquatix (Samuel Williams)
03:15 PM Feature #19450: Is there an official way to set a class name without setting a constant?
Just an aside note: ActiveRecord models [redefine](https://github.com/rails/rails/blob/main/activerecord/lib/active_r... zverok (Victor Shepelev)
02:52 PM Feature #19450: Is there an official way to set a class name without setting a constant?
I don't think Class#inspect should ever lie, so IMO there shouldn't be a way.
In the comment above, the problem is...
Eregon (Benoit Daloze)
06:56 AM Feature #19450: Is there an official way to set a class name without setting a constant?
Sure, but it's better than
```
irb(main):053:0> p foo::Bar
#<Class:0x00007fd0ad4b3860>::Bar
=> #<Class:0x00007f...
ioquatix (Samuel Williams)
05:37 AM Feature #19450: Is there an official way to set a class name without setting a constant?
ioquatix (Samuel Williams) wrote in #note-4:
> So, basically, given the above, I still prefer an interface like `Cla...
nobu (Nobuyoshi Nakada)
02:33 AM Feature #19450: Is there an official way to set a class name without setting a constant?
Okay, so I tried it out, but it doesn't work consistently:
```ruby
def labeled_class(name, superclass = Object, &blo...
ioquatix (Samuel Williams)
02:14 AM Feature #19450: Is there an official way to set a class name without setting a constant?
Thanks @nobu let me check it. Well, the implementation of `labeled_class` looks a bit tricky but if it works, it's go... ioquatix (Samuel Williams)
02:06 AM Feature #19450: Is there an official way to set a class name without setting a constant?
ioquatix (Samuel Williams) wrote:
> Can we do better?
I'm not sure what you want to do exactly.
> ```ruby
> C...
nobu (Nobuyoshi Nakada)
01:04 AM Feature #19450 (Closed): Is there an official way to set a class name without setting a constant?
This is the best I could come up with:
```ruby
klass = Class.new
Object.const_set("Klass", klass)
Object.send...
ioquatix (Samuel Williams)
02:48 PM Feature #19377: Rename Fiber#storage to Fiber.storage
Currently `Fiber#storage` can only be called for the current Fiber (otherwise `ArgumentError`).
But it may evolve (e...
Eregon (Benoit Daloze)
09:33 AM Feature #19377: Rename Fiber#storage to Fiber.storage
@ioquatix,
> It's useful for debugging to access the storage of a different fiber.
Can you please expand on thi...
zverok (Victor Shepelev)
01:07 AM Feature #19377: Rename Fiber#storage to Fiber.storage
It's useful for debugging to access the storage of a different fiber. ioquatix (Samuel Williams)
04:41 AM Misc #19431: DevMeeting at RubyKaigi 2023
Updating description to include RubyKaigi ruby-core invitation.
--Sorah on behalf of RubyKaigi Organizers
sorah (Sorah Fukumori)
01:50 AM Revision b326a5f3 (git): Adjust indent [ci skip]
nobu (Nobuyoshi Nakada)
01:33 AM Revision 7d5794ba (git): error.c: Use "undefined local variable or method `...' for main"
... for the toplevel. mame (Yusuke Endoh)
01:33 AM Revision 0e830e63 (git): Update some ruby specs for the new message format of NoMethodError
mame (Yusuke Endoh)
01:33 AM Revision 8f868a1a (git): Update some tests for the new message format of NoMethodError
mame (Yusuke Endoh)
01:33 AM Revision 1fd181b4 (git): error.c: Update the message format for NoMethodError
* If the receiver is a Class, use "... for class <class name>".
* If the receiver is a Module, use "... for module <m...
mame (Yusuke Endoh)
01:33 AM Revision e7b8d32e (git): Stop using receiver#inspect for "undefined method" errors
```
42.time #=> undefined method `time' for object Integer (NoMethodError)
class Foo
privatee #=> undefined loc...
mame (Yusuke Endoh)
 

Also available in: Atom