<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/variable.c, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[Tests] Assert Module#set_temporary_name returns self</title>
<updated>2025-12-24T02:03:20+00:00</updated>
<author>
<name>aguspe</name>
<email>agustin.pe94@gmail.com</email>
</author>
<published>2025-12-23T17:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6e2bf5df4eeab8e37fab86206d4f2e8ab36a60b7'/>
<id>6e2bf5df4eeab8e37fab86206d4f2e8ab36a60b7</id>
<content type='text'>
The return value of Module#set_temporary_name was changed
to return `self`, but the existing tests
did not verify this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The return value of Module#set_temporary_name was changed
to return `self`, but the existing tests
did not verify this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Respect encoding of ID in exception messages</title>
<updated>2025-12-17T01:15:59+00:00</updated>
<author>
<name>Daisuke Aritomo</name>
<email>osyoyu@osyoyu.com</email>
</author>
<published>2025-12-16T06:15:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0fe111caa6885407960541bdb6de7ba3cd6aad73'/>
<id>0fe111caa6885407960541bdb6de7ba3cd6aad73</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Let Ractor::IsolationError report correct constant path</title>
<updated>2025-12-17T01:15:59+00:00</updated>
<author>
<name>Daisuke Aritomo</name>
<email>osyoyu@osyoyu.com</email>
</author>
<published>2025-12-15T09:04:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cbcbbb2fbe57fb17b3bd6b93244c4f37f3626c7e'/>
<id>cbcbbb2fbe57fb17b3bd6b93244c4f37f3626c7e</id>
<content type='text'>
Before this patch, Ractor::IsolationError reported an incorrect constant
path when constant was found through `rb_const_get_0()`.

In this code, Ractor::IsolationError reported illegal access against
`M::TOPLEVEL`, where it should be `Object::TOPLEVEL`.

```ruby
TOPLEVEL = [1]

module M
  def self.f
    TOPLEVEL
  end
end

Ractor.new { M.f }.value
```

This was because `rb_const_get_0()` built the "path" part referring to
the module/class passed to it in the first place. When a constant was
found through recursive search upwards, the module/class which the
constant was found should be reported.

This patch fixes this issue by modifying rb_const_search() to take a
VALUE pointer to be filled with the module/class where the constant was
found.

[Bug #21782]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this patch, Ractor::IsolationError reported an incorrect constant
path when constant was found through `rb_const_get_0()`.

In this code, Ractor::IsolationError reported illegal access against
`M::TOPLEVEL`, where it should be `Object::TOPLEVEL`.

```ruby
TOPLEVEL = [1]

module M
  def self.f
    TOPLEVEL
  end
end

Ractor.new { M.f }.value
```

This was because `rb_const_get_0()` built the "path" part referring to
the module/class passed to it in the first place. When a constant was
found through recursive search upwards, the module/class which the
constant was found should be reported.

This patch fixes this issue by modifying rb_const_search() to take a
VALUE pointer to be filled with the module/class where the constant was
found.

[Bug #21782]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the instance variable name and the module in Ractor::IsolationError (#15563)</title>
<updated>2025-12-16T16:47:13+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-12-16T16:47:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aab4f6287da4d8035035f7486072f149abf8dcc9'/>
<id>aab4f6287da4d8035035f7486072f149abf8dcc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the class variable and the class itself in Ractor::IsolationError (#15562)</title>
<updated>2025-12-16T16:06:33+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-12-16T16:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=09a29e1312121fed5704ac196413c3b5ecb83fd7'/>
<id>09a29e1312121fed5704ac196413c3b5ecb83fd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `rb_eval_cmd_call_kw` to shortcut</title>
<updated>2025-12-04T09:07:49+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-04T08:35:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7f41c3e7b1373f35cc073241b3773289be9be03e'/>
<id>7f41c3e7b1373f35cc073241b3773289be9be03e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>wb-protect autoload_const</title>
<updated>2025-12-03T18:13:36+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2025-12-01T23:15:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f9cd94f17d6fef49f1ee5cbb8f66839f0d7a5db9'/>
<id>f9cd94f17d6fef49f1ee5cbb8f66839f0d7a5db9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename `rb_obj_exivar_p` -&gt; `rb_obj_gen_fields_p`</title>
<updated>2025-12-03T14:57:26+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-12-03T09:42:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5770c186d1e9d8e7202c83763c9619faa1f4c97c'/>
<id>5770c186d1e9d8e7202c83763c9619faa1f4c97c</id>
<content type='text'>
The "EXIVAR" terminology has been replaced by "gen fields"
AKA "generic fields".

Exivar implies variable, but generic fields include more than
just variables, e.g. `object_id`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "EXIVAR" terminology has been replaced by "gen fields"
AKA "generic fields".

Exivar implies variable, but generic fields include more than
just variables, e.g. `object_id`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Error if deleting a nonexistent obj from geniv</title>
<updated>2025-11-27T00:13:38+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2025-11-26T22:37:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a60cd8787cb65a6077f609652f6042143d81b227'/>
<id>a60cd8787cb65a6077f609652f6042143d81b227</id>
<content type='text'>
I don't think this ever happened, but we should raise the same error
we'd raise on lookup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I don't think this ever happened, but we should raise the same error
we'd raise on lookup
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure we don't dereference fields_obj as Qundef</title>
<updated>2025-11-27T00:13:38+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2025-11-26T22:02:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5bef7577b3b336a709935dd39e69abcf397c4684'/>
<id>5bef7577b3b336a709935dd39e69abcf397c4684</id>
<content type='text'>
We rely on the GC to clear this when the GC is run on another EC than
the cache.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We rely on the GC to clear this when the GC is run on another EC than
the cache.
</pre>
</div>
</content>
</entry>
</feed>
