Project

General

Profile

Activity

From 03/09/2023 to 03/15/2023

03/15/2023

11:50 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
This is a long thread, I was not aware of it.
Let me say that nobody can assume from the name of a class or module...
fxn (Xavier Noria)
11:40 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
To be clear, Zeitwerk works only with constants. When you load `foo.rb`, the constant `:Foo` has to exist in `Object`... fxn (Xavier Noria)
11:30 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> I don't think it's uncommon to cache instances of a class in some global mapping. Does Zeitwerk reload the entire n... fxn (Xavier Noria)
11:10 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
In fact, implementing `labeled_module`/`labeled_class` like you showed above would again break these expectations, il... Eregon (Benoit Daloze)
11:06 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> Also, it looks like Zeitwerk absolutely can reload code and create confusion
This is again an unrealistic comple...
Eregon (Benoit Daloze)
11:03 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> As demonstrated, if users want to do this, it's already possible.
Yes, and it just doesn't matter much in practi...
Eregon (Benoit Daloze)
11:27 PM Revision 61831806 (git): YJIT: Eliminate unnecessary mov for trampolines (#7537)
k0kubun (Takashi Kokubun)
11:07 PM Revision ca10274f (git): YJIT: Use assert_disasm! in an A64 test to avoid unused warning
I kept getting unused warnings for this macro on A64 macOS. alanwu (Alan Wu)
09:55 PM Revision 9a735c77 (git): YJIT: use u16 for insn_idx instead of u32 (#7534)
maximecb (Maxime Chevalier-Boisvert)
09:26 PM Revision 4ae9c34a (git): Move RB_VM_SAVE_MACHINE_CONTEXT to internal/thread.h
eightbitraptor (Matt V-H)
09:26 PM Revision 60b8c7d9 (git): Rename RB_GC_SAVE_MACHINE_CONTEXT -> RB_VM_SAVE_MACHINE_CONTEXT
eightbitraptor (Matt V-H)
09:26 PM Revision 5791aa62 (git): Move RB_GC_SAVE_MACHINE_CONTEXT to vm_core.h
eightbitraptor (Matt V-H)
07:45 PM Revision de174681 (git): YJIT: Assert that we have the VM lock while marking
Somewhat important because having the lock is a key part of the
soundness reasoning for the `unsafe` usage here.
alanwu (Alan Wu)
05:54 PM Bug #19531 (Closed): ObjectSpace::WeakMap: replaced values still clear the key they were assigned to
### Reproduction script
```ruby
wmap = ObjectSpace::WeakMap.new
a = "A"
b = "B"
wmap[1] = a
wmap[1] = b #...
byroot (Jean Boussier)
04:53 PM Revision f613c189 (git): Partially revert GH-7511
to see if it stabilizes Cirrus CI. k0kubun (Takashi Kokubun)
04:29 PM Bug #19412: Socket starts queueing and not responding after a certain amount of requests
brodock (Gabriel Mazetto) wrote in #note-9:
> @jeremyevans0 I've tested again in MacOS system provided ruby version:...
jeremyevans0 (Jeremy Evans)
03:57 PM Bug #19412: Socket starts queueing and not responding after a certain amount of requests
@jeremyevans0 I've tested again in MacOS system provided ruby version:
```
ruby --version ...
brodock (Gabriel Mazetto)
03:33 PM Bug #19412: Socket starts queueing and not responding after a certain amount of requests
I've also tried to build something similar to "hey" in ruby and couldn´t make it crash (this is likely because of the... brodock (Gabriel Mazetto)
03:31 PM Bug #19412: Socket starts queueing and not responding after a certain amount of requests
I've went back to my Linux machine and tried to reproduce the problem.
Using Ruby 3.0 (from the package manager), I ...
brodock (Gabriel Mazetto)
03:07 PM Bug #19485: Unexpected behavior in squiggly heredocs
sawa (Tsuyoshi Sawada) wrote in #note-3:
> For the purpose of measuring an indentation, a horizontal tab is regard...
jemmai (Jemma Issroff)
11:28 AM Bug #19485: Unexpected behavior in squiggly heredocs
Another condition could be only accept tabs in squiggly heredoc if they prefix all lines of the squiggly heredoc? (ot... Eregon (Benoit Daloze)
08:40 AM Bug #19485: Unexpected behavior in squiggly heredocs
I don't think it's a good idea to assume a tab is 8 spaces.
Regarding indentation, it might be a nice simplification...
ioquatix (Samuel Williams)
07:57 AM Bug #19485: Unexpected behavior in squiggly heredocs
nobu (Nobuyoshi Nakada) wrote in #note-2:
> My [draft] is:
>
> > Note that the "indentation" is counted like as each...
sawa (Tsuyoshi Sawada)
05:16 AM Bug #19485 (Assigned): Unexpected behavior in squiggly heredocs
My [draft] is:
> Note that the "indentation" is counted like as each horizontal tabs are
> expanded to spaces up to ...
nobu (Nobuyoshi Nakada)
02:55 PM Revision 77c8daa2 (git): Make EC required on JIT state (#7520)
* Make EC required on JIT state
Lets make EC required on the JITState object so we don't need to
`unwrap` it.
* Min...
tenderlovemaking (Aaron Patterson)
11:22 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
Regarding the original report, there is a clear solution now with `to_h`:
```ruby
1000.times.each_slice(2).to_a.to_...
Eregon (Benoit Daloze)
11:17 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
In other words, for efficiency arguments need to be passed on the stack, e.g. for JITed code.
Sure it could be possib...
Eregon (Benoit Daloze)
11:15 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
My opinion as a TruffleRuby implementer is I don't think TruffleRuby will or can support that.
So at least it should ...
Eregon (Benoit Daloze)
11:21 AM Revision 56b38fdd (git): [rubygems/rubygems] Use OpenSSL::Digest instead of digest stdlib
https://github.com/rubygems/rubygems/commit/69aa007679 hsbt (Hiroshi SHIBATA)
11:21 AM Revision a90302ad (git): [rubygems/rubygems] Added OpenSSL namespace explicitly
https://github.com/rubygems/rubygems/commit/bf4382e7a7 hsbt (Hiroshi SHIBATA)
11:21 AM Revision b528ecc1 (git): [rubygems/rubygems] OpenSSL::Digest is always provided after Ruby 2.4
https://github.com/rubygems/rubygems/commit/4f2f2ad412 hsbt (Hiroshi SHIBATA)
09:19 AM Revision 09041a6e (git): core_assertions.rb: Refine `assert_linear_performance`
* Add `rehearsal` keyword argument
* Stop repeating with the same factor
nobu (Nobuyoshi Nakada)
09:13 AM Bug #19530 (Closed): `Array#sum` and `Enumerable#sum` sometimes show different behaviours
Applied in changeset commit:git|ca437aeb395e77125fcd2ab9bc83bbcd3e357610.
----------
rb_ary_sum: don't enter fast pa...
byroot (Jean Boussier)
09:12 AM Revision ca437aeb (git): rb_ary_sum: don't enter fast path if initial isn't a native numeric type.
[Bug #19530]
If the initial value isn't one of the special cased types, we directly
jump to the slow path.
byroot (Jean Boussier)
09:05 AM Bug #19526 (Closed): Rails Active Support behavior change since e87d0882910001ef3b0c2ccd43bf00cee8c34a0c
It was a bug. fixed https://github.com/ruby/ruby/pull/7507
Thank you!
ko1 (Koichi Sasada)
09:05 AM Revision 6462c1a0 (git): `Hash#dup` for kwsplat arguments
On `f(*a, **kw)` method calls, a rest keyword parameter is identically
same Hash object is passed and it should make ...
ko1 (Koichi Sasada)
08:35 AM Bug #19459: Is `length` of `IO::Buffer#read` required or optional?
Thanks! ioquatix (Samuel Williams)
07:34 AM Bug #19459: Is `length` of `IO::Buffer#read` required or optional?
ruby_3_2 db28f7003f7d49cfa13871c38d10c1967282ca6b merged revision(s) 3b567eb491e460e00a66fdea8054eeb083b5dafd. naruse (Yui NARUSE)
07:36 AM Revision b73a0735 (git): merge revision(s) 0eb634ae73cb327ede833b72492f912792a4a9d5: [Backport #19464]
YJIT: Detect and reject `send(:alias_for_send, :foo)`
Previously, YJIT failed to put the stack into the corr...
naruse (Yui NARUSE)
06:48 AM Revision 7fd53eeb (git): Remove SIGCHLD `waidpid`. (#7527)
* Remove `waitpid_lock` and related code.
* Remove un-necessary test.
* Remove `rb_thread_sleep_interruptible` dead...
Samuel Williams
04:59 AM Revision ce47ee00 (git): Fix indirect counter increment
`*pcnt++` just dereferences `pcnt` then increments the local variable,
but has no side effect.
nobu (Nobuyoshi Nakada)
03:35 AM Revision 04a25509 (git): [rubygems/rubygems] Don't use full_required_path and extension_dir under the bundler
https://github.com/rubygems/rubygems/commit/72169288ff hsbt (Hiroshi SHIBATA)
03:35 AM Revision 31137dc6 (git): [rubygems/rubygems] Removed test for
https://github.com/rubygems/rubygems/pull/6444, I have no idea to
migrate this test to bundler example
yet
https://g...
hsbt (Hiroshi SHIBATA)
03:35 AM Revision 55a0fbfa (git): [rubygems/rubygems] Move build artifact detection logic for root gemspec to bundler from Gem::Specification.
Gem::Specification#missing_extension? is heavily called from RubyGems.
We should reduce extra method call from this...
hsbt (Hiroshi SHIBATA)
03:21 AM Bug #19529: [BUG] ObjectSpace::WeakMap can segfault after compaction
To the backport manager: please ensure to also backport commit [3dc8cde70078ccb38f5f4b0818ad5eecded01bd5](https://git... peterzhu2118 (Peter Zhu)
03:18 AM Revision 3dc8cde7 (git): Fix crash during compaction
[Bug #19529]
The fix for [Bug #19529] in commit 548086b contained a bug that crashes
on the following script:
```
w...
peterzhu2118 (Peter Zhu)

03/14/2023

11:36 PM Bug #4040 (Open): SystemStackError with Hash[*a] for Large _a_
I'm reopening this issue.
Originally, when commit:2e7bceb34ea858649e1f975a934ce1894d1f06a6 fixed cfuncs to no long...
jeremyevans0 (Jeremy Evans)
10:38 PM Revision 70ba3102 (git): YJIT: Introduce no_gc attribute (#7511)
k0kubun (Takashi Kokubun)
10:19 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Also, it looks like Zeitwerk absolutely can reload code and create confusion, and in addition, appending `file:line` ... ioquatix (Samuel Williams)
10:08 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> I had a call with @ioquatix (Samuel Williams), trying to explain the importance of the name that Ruby shows us, for... ioquatix (Samuel Williams)
08:58 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Another thought: maybe a much simpler way to solve most of these use-cases is adding `Module#source_location`, which ... Eregon (Benoit Daloze)
08:48 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
I had a call with @ioquatix, trying to explain the importance of the name that Ruby shows us, for example:
`undefine...
Eregon (Benoit Daloze)
10:17 PM Bug #18604: [BUG] ERROR(VpDivd): space for remainder too small
Use [bigdecimal-3.1.2](https://github.com/ruby/bigdecimal/releases/tag/v3.1.2) or later. hsbt (Hiroshi SHIBATA)
10:01 PM Bug #18604: [BUG] ERROR(VpDivd): space for remainder too small
got same issue here with any ruby 3.1.x version:(
Any news?
itsmegrave (Samuel Grave)
09:01 PM Revision 868f03cc (git): Remove unused jit_enable_p flag
This was used only by MJIT. k0kubun (Takashi Kokubun)
08:39 PM Revision 9a43c63d (git): YJIT: Implement throw instruction (#7491)
* Break up jit_exec from vm_sendish
* YJIT: Implement throw instruction
* YJIT: Explain what rb_vm_throw does [ci s...
k0kubun (Takashi Kokubun)
06:52 PM Bug #19412: Socket starts queueing and not responding after a certain amount of requests
brodock (Gabriel Mazetto) wrote in #note-4:
> I've also run a version of your client and got to reproduce the error ...
jeremyevans0 (Jeremy Evans)
06:33 PM Bug #19412: Socket starts queueing and not responding after a certain amount of requests
@jeremyevans0
running apache benchmark with `-c1` does show some of the behavior. It will go from 0 to somethign a...
brodock (Gabriel Mazetto)
05:26 PM Revision 76f20318 (git): YJIT: Allow testing assembler with disasm (#7470)
* YJIT: Allow testing assembler with disasm
* YJIT: Drop new dependencies
* YJIT: Avoid address manipulation
* YJI...
k0kubun (Takashi Kokubun)
04:57 PM Bug #19527: Object allocation during garbage collection phase
Please understand that while Ruby giving you the crash report
saying `[BUG] object allocation during garbage collect...
alanwu (Alan Wu)
03:16 AM Bug #19527: Object allocation during garbage collection phase
Hi everyone.
As I mentioned the first thing I did was check the issue with IBM, if you check the stack message, our ...
hjimenez89rb (Hugo Alberto Jiménez Santos)
03:49 PM Bug #19529 (Closed): [BUG] ObjectSpace::WeakMap can segfault after compaction
Applied in changeset commit:git|548086b34e3dd125edabf5dc1e46b891fad3ea9c.
----------
ObjectSpace::WeakMap: fix compa...
byroot (Jean Boussier)
08:17 AM Bug #19529: [BUG] ObjectSpace::WeakMap can segfault after compaction
Proposed patch: https://github.com/ruby/ruby/pull/7518 byroot (Jean Boussier)
07:46 AM Bug #19529: [BUG] ObjectSpace::WeakMap can segfault after compaction
Looking at the code, the `dcompact` function is wrong:
```c
static void
wmap_compact(void *ptr)
{
struct w...
byroot (Jean Boussier)
07:42 AM Bug #19529 (Closed): [BUG] ObjectSpace::WeakMap can segfault after compaction
Reproduction script:
```ruby
wm = ObjectSpace::WeakMap.new
obj = Object.new
100.times do |i|
GC.compact
w...
byroot (Jean Boussier)
03:49 PM Revision 548086b3 (git): ObjectSpace::WeakMap: fix compaction support
[Bug #19529]
`rb_gc_update_tbl_refs` can't be used on `w->obj2wmap` because it's
not a `VALUE -> VALUE` table, but a...
byroot (Jean Boussier)
09:15 AM Bug #19530: `Array#sum` and `Enumerable#sum` sometimes show different behaviours
Proposed patch: https://github.com/ruby/ruby/pull/7519 byroot (Jean Boussier)
08:51 AM Bug #19530: `Array#sum` and `Enumerable#sum` sometimes show different behaviours
Looking at `Array#sum` implementation, it very clearly has a fast path for when all the elements of the array are nat... byroot (Jean Boussier)
07:57 AM Bug #19530 (Closed): `Array#sum` and `Enumerable#sum` sometimes show different behaviours
Hi everyone. 👋🏻
We recently discovered that `Array#sum` and `Enumerable#sum` will output different results in some...
dstosik (David Stosik)
07:07 AM Revision ac65ce16 (git): Revert SIGCHLD changes to diagnose CI failures. (#7517)
* Revert "Remove special handling of `SIGCHLD`. (#7482)"
This reverts commit 44a0711eab7fbc71ac2c8ff489d8c53e97a8fe7...
Samuel Williams
04:58 AM Revision b2779383 (git): Try to use https://github.com/ruby/rbs/pull/1273
hsbt (Hiroshi SHIBATA)
04:49 AM Revision 278b639b (git): Disable RJIT_FORCE_ENABLE CI for now
Somehow btest-ruby is running miniruby. Not sure why.
https://github.com/ruby/ruby/actions/runs/4412043427/jobs/77311...
k0kubun (Takashi Kokubun)
04:08 AM Revision 5868a784 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.65 to 0.9.67.
- [Release notes](https://github.com/oxid...
dependabot[bot]
03:54 AM Revision 4ad171bb (git): Remove an unused VM option
This seems to be used nowhere today. k0kubun (Takashi Kokubun)
03:51 AM Revision c58759f4 (git): Removed to load jit_support.rb
It's removed at 4445b9e2a2dda207a2b3698c042342dd794b1b35 hsbt (Hiroshi SHIBATA)
03:42 AM Revision d8344559 (git): RJIT: Simplify how Capstone is used in tests
k0kubun (Takashi Kokubun)
03:39 AM Revision 1c8e69d6 (git): Bump ruby/action-slack from 3.0.0 to 3.2.1
Bumps [ruby/action-slack](https://github.com/ruby/action-slack) from 3.0.0 to 3.2.1.
- [Release notes](https://github...
dependabot[bot]
01:42 AM Revision 4e6c9567 (git): Use __builtin_ppc_get_timebase on POWER with clang
pkubaj (Piotr Kubaj)

03/13/2023

10:46 PM Bug #19527 (Third Party's Issue): Object allocation during garbage collection phase
Unfortunately, the traces are not very helpful.
But I agree, it's likely an issue with the [IBM gem](https://github....
alanwu (Alan Wu)
09:22 PM Bug #19527: Object allocation during garbage collection phase
Seems to be identical indeed. rubyFeedback (robert heiler)
09:10 PM Bug #19527: Object allocation during garbage collection phase
Isn't this a duplicate of #19524? I don't think you will get a different answer to this ticket from the one that was ... ufuk (Ufuk Kayserilioglu)
06:08 PM Bug #19527 (Third Party's Issue): Object allocation during garbage collection phase
We are currently developing a Ruby based web application which connects to a DB2 Database and we have been using ibm_... hjimenez89rb (Hugo Alberto Jiménez Santos)
10:33 PM Revision 4976b1a0 (git): Fork rbs to fix test failures
https://github.com/ruby/rbs/pull/1274 k0kubun (Takashi Kokubun)
08:32 PM Revision c7822b8d (git): YJIT: Merge add/sub/and/or/xor and mov on x86_64 (#7492)
k0kubun (Takashi Kokubun)
07:11 PM Feature #19528 (Third Party's Issue): `JSON.load` defaults are surprising (`create_additions: true`)
I'm not sure if it was actually intended, but there's some tacit naming convention for serializers in Ruby to use `lo... byroot (Jean Boussier)
06:11 PM Revision 309ff928 (git): [ruby/irb] Replace METHOD_IS_A with ===
(https://github.com/ruby/irb/pull/542)
https://github.com/ruby/irb/commit/edd6c30e16
st0012 (Stan Lo)
04:55 PM Revision 1a8a24a6 (git): [DOC] Enhanced RDoc for NilClass (#7500)
burdettelamar (Burdette Lamar)
03:41 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
ko1 (Koichi Sasada) wrote in #note-13:
> I think this reason violates (1).
What do you mean?
AFAIK https://githu...
Eregon (Benoit Daloze)
03:12 PM Revision 45127c84 (git): YJIT: Handle rest+splat where non-splat < required (#7499)
Jimmy Miller
02:31 PM Revision 1095baed (git): [ruby/irb] Support inspecting BasicObject
(https://github.com/ruby/irb/pull/541)
https://github.com/ruby/irb/commit/1dc2a406a3
st0012 (Stan Lo)
01:07 PM Revision 56dbf83a (git): Prevent a warning: assigned but unused variable
... which made a test fail
http://rubyci.s3.amazonaws.com/debian10/ruby-master/log/20230313T213003Z.fail.html.gz
``...
mame (Yusuke Endoh)
12:52 PM Bug #19485: Unexpected behavior in squiggly heredocs
I think what's happening here is that tabs are not converted directly to 8 spaces, but to "move ahead to next multipl... Dan0042 (Daniel DeLorme)
10:48 AM Feature #19440: Deprecate ThreadGroup
Yeah I know.
timeout.rb already has this workaround: https://github.com/ruby/timeout/pull/25/files
If `ThreadGroup#...
Eregon (Benoit Daloze)
02:27 AM Feature #19440: Deprecate ThreadGroup
Even if `ThreadGroup` were to be deprecated in 3.3, it can't help previous versions with the current timeout.rb. nobu (Nobuyoshi Nakada)
09:54 AM Revision 8c6b3498 (git): [rubygems/rubygems] Removed `Gem.datadir`.
https://github.com/rubygems/rubygems/pull/2216 is imcomplete to remove this method.
https://github.com/rubygems/ruby...
hsbt (Hiroshi SHIBATA)
09:31 AM Bug #19476 (Closed): Regexp unexpected partial match
Applied in changeset commit:git|dddc542e9b61b292d80a96d0d0efbbf58719e3be.
----------
[Bug #19476]: correct cache ind...
make_now_just (Hiroya Fujinami)
09:31 AM Revision dddc542e (git): [Bug #19476]: correct cache index computation for repetition (#7457)
make_now_just (Hiroya Fujinami)
07:02 AM Revision 1e73bdbf (git): Update bundled gems list at 2023-03-13
git[bot]
06:56 AM Revision e1021886 (git): Add btest-bruby target
btest can't be used for testing RJIT because RJIT doesn't work on
miniruby. However, btest-ruby is not necessarily us...
k0kubun (Takashi Kokubun)
06:46 AM Revision 7686687a (git): * remove trailing spaces. [ci skip]
git[bot]
06:46 AM Bug #19467 (Closed): Some linear_time regexp does not match in linear time
Applied in changeset commit:git|e22c4e8877677ff90805e4a4dcbdef80f4220136.
----------
[Bug #19467] correct cache poin...
make_now_just (Hiroya Fujinami)
06:46 AM Revision e22c4e88 (git): [Bug #19467] correct cache points and counting failure on `OP_ANYCHAR_STAR_PEEK_NEXT` (#7454)
make_now_just (Hiroya Fujinami)
06:38 AM Revision ed269c81 (git): RJIT: Count invokeblock exit types
k0kubun (Takashi Kokubun)
05:15 AM Revision da9c84f8 (git): RJIT: Rename a side exit counter
k0kubun (Takashi Kokubun)
05:09 AM Revision d27b5948 (git): RJIT: Fix a typo
and import a missing function k0kubun (Takashi Kokubun)
05:07 AM Revision 330086d3 (git): RJIT: Implement definedivar
k0kubun (Takashi Kokubun)
05:01 AM Revision 3938efa7 (git): RJIT: Fix block param proxy on send
peek_at_stack was doubly accounting for C::VM_CALL_ARGS_BLOCKARG, which
made that case always side-exit and hide this...
k0kubun (Takashi Kokubun)
04:14 AM Revision a23f6422 (git): RJIT: Fix block finding logic
like YJIT does k0kubun (Takashi Kokubun)
03:49 AM Revision e28f8370 (git): RJIT: Update dependencies
k0kubun (Takashi Kokubun)
03:41 AM Revision 07d3af22 (git): RJIT: Fix -Wshorten-64-to-32
k0kubun (Takashi Kokubun)
03:34 AM Revision 45fdc180 (git): Bump github/codeql-action from 2.2.5 to 2.2.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.5 to 2.2.6.
- [Release notes](https://...
dependabot[bot]

03/12/2023

10:15 PM Revision 9cd5441d (git): RJIT: Implement --rjit-trace-exits
k0kubun (Takashi Kokubun)
08:31 PM Revision bbd9221e (git): RJIT: Give up freezing InsnCompiler
for memoization k0kubun (Takashi Kokubun)
03:47 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
> No, it doesn't make sense, because it actually prevents the proper fix for TIMEOUT_THREAD_MUTEX for Timeout:
I t...
ko1 (Koichi Sasada)
03:35 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
ko1 (Koichi Sasada) wrote in #note-11:
> My understandings are:
>
> (1) It is hard to detect such deadlock risk beca...
Eregon (Benoit Daloze)
03:00 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
Eregon (Benoit Daloze) wrote in #note-8:
> Right, like I mentioned above.
> But the deadlock might not happen (or e...
ko1 (Koichi Sasada)
03:17 PM Feature #19406: Allow declarative reference definition for rb_typed_data_struct
eightbitraptor (Matthew Valentine-House) wrote in #note-4:
> > * (matz) can we have better macro to define the memor...
ko1 (Koichi Sasada)
12:11 PM Feature #19440: Deprecate ThreadGroup
mame (Yusuke Endoh) wrote in #note-3:
> #19020 explained only the phenomenon, but didn't explain how the problem is t...
Eregon (Benoit Daloze)
09:50 AM Revision 7ce4b716 (git): Add test for linear performance
nobu (Nobuyoshi Nakada)
09:40 AM Revision 781222a8 (git): core_assertions.rb: Consider backward compatibilities
This file is copied to default gems, which might support older
versions.
nobu (Nobuyoshi Nakada)
07:52 AM Revision c9db9c8a (git): Revert "Update ruby/action-slack v3.1.1 (#7505)"
This reverts commit 2570374bc8779a923f3bc42fe1731eefbb743edf.
Revert "Bump ruby/action-slack from 3.0.0 to 3.1.0"
T...
k0kubun (Takashi Kokubun)
07:51 AM Revision d50d1364 (git): Investigate which test hangs on MinGW
https://github.com/ruby/ruby/actions/runs/4396158119/jobs/7698424613 k0kubun (Takashi Kokubun)
07:47 AM Revision 3efe4639 (git): RJIT: Handle Mod 10 for CMP r/m64, r64
k0kubun (Takashi Kokubun)
07:35 AM Revision 9c220bf5 (git): RJIT: Use lambda constants to match operands
k0kubun (Takashi Kokubun)
06:30 AM Revision 8835f9d3 (git): RJIT: Define QwordPtr for in-clause readability
k0kubun (Takashi Kokubun)
06:25 AM Revision 9501283d (git): RJIT: Leave it to NoMatchingPatternError
instead of manually implementing NotImplementedError k0kubun (Takashi Kokubun)
06:17 AM Revision 846fc356 (git): RJIT: Use case-in for exhaustive matches
k0kubun (Takashi Kokubun)
06:04 AM Revision fe34db5a (git): RJIT: Migrate SIZET values to RJIT::C constants
k0kubun (Takashi Kokubun)
05:48 AM Revision 50c5f94e (git): RJIT: Introduce constants under RubyVM::RJIT::C
k0kubun (Takashi Kokubun)
05:26 AM Revision 58f7e8b7 (git): RJIT: Automate function pointer imports
k0kubun (Takashi Kokubun)
05:26 AM Revision 47a6cfca (git): RJIT: Use as the largest type as possible
to just import stuff easily k0kubun (Takashi Kokubun)
05:00 AM Revision 2570374b (git): Update ruby/action-slack v3.1.1 (#7505)
hsbt (Hiroshi SHIBATA)
04:59 AM Revision e4caf59c (git): Move yjit_force_enabled? to JITSupport
for consistency k0kubun (Takashi Kokubun)
04:56 AM Revision 4445b9e2 (git): Remove unused methods from JITSupport
k0kubun (Takashi Kokubun)
04:51 AM Revision 195e3297 (git): Skip test_udp_server on s390x RHEL 7.1
It seems like it never succeeds on this CI. k0kubun (Takashi Kokubun)
04:47 AM Revision 46a3634b (git): RJIT: Use SIZET macros instead of original PTR ones
k0kubun (Takashi Kokubun)
04:42 AM Revision c6bea54c (git): RJIT: Drop unused USE_* macros support
k0kubun (Takashi Kokubun)
04:26 AM Bug #19526 (Closed): Rails Active Support behavior change since e87d0882910001ef3b0c2ccd43bf00cee8c34a0c
This issue has been opened while investigating Rails issue https://github.com/rails/rails/issues/47627#issuecomment-1... yahonda (Yasuo Honda)
01:08 AM Revision 2d0dc376 (git): Reuse CVAR_LOOKUP macro
S_H_ (Shun Hiraoka)

03/11/2023

10:25 PM Revision 94da5f7c (git): Rename builtin attr :inline to :leaf
k0kubun (Takashi Kokubun)
10:19 PM Revision 0c0c88d3 (git): Support multiple attributes with Primitive.attr!
k0kubun (Takashi Kokubun)
07:40 AM Revision 3a02c781 (git): Change the syntax of Primitive.attr! to Symbol (#7501)
k0kubun (Takashi Kokubun)
07:40 AM Revision ac47b8df (git): Bump the required BASERUBY version to 2.5 (#7504)
[Misc #16671]
I'd like to bump it to 2.7 to use pattern matching in
tool/mk_builtin_loader.rb.
However, I experienc...
k0kubun (Takashi Kokubun)
07:24 AM Revision 973cb64b (git): RJIT: Skip a flaky test_thread test for now
and unskip a ractor test that was actually running k0kubun (Takashi Kokubun)
04:44 AM Revision f7b215af (git): [rubygems/rubygems] Added another case of extconf.rb
https://github.com/rubygems/rubygems/commit/3d0fa3dee8 hsbt (Hiroshi SHIBATA)
04:44 AM Revision 9801ad47 (git): [rubygems/rubygems] Added test for
https://github.com/rubygems/rubygems/pull/6444
https://github.com/rubygems/rubygems/commit/7d6ece5c92
hsbt (Hiroshi SHIBATA)

03/10/2023

10:57 PM Revision 93e34fe4 (git): RJIT: Write initial tests for Assembler
k0kubun (Takashi Kokubun)
10:14 PM Revision 83f6eee7 (git): YJIT: Bump SEND_MAX_DEPTH to 20 (#7469)
* YJIT: Bump SEND_MAX_DEPTH to 20
* Fix a test failure
k0kubun (Takashi Kokubun)
09:57 PM Revision 76808b1e (git): RJIT: Start testing Assembler
k0kubun (Takashi Kokubun)
09:15 PM Revision 6440d159 (git): RJIT: Simplify RubyVM::RJIT::Instruction
k0kubun (Takashi Kokubun)
09:11 PM Revision cdece5cf (git): RJIT: Remove unused code from headers
k0kubun (Takashi Kokubun)
09:04 PM Revision c364e074 (git): RJIT: Introduce --rjit-exec-mem-size
k0kubun (Takashi Kokubun)
09:04 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Yep, Zeitwerk does exactly that:
> When unloading, Zeitwerk issues Module#remove_const calls. Classes and modules ...
ioquatix (Samuel Williams)
09:02 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> there won't be a way to ever get the actual name of that module, regardless of it was anonymous or named. It would ... ioquatix (Samuel Williams)
04:23 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-12:
> I don't understand this argument at all. The assumptions are already...
ufuk (Ufuk Kayserilioglu)
03:24 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-12:
> I don't understand this argument at all. The assumptions are already...
Eregon (Benoit Daloze)
12:55 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> Yes, that has the same problem, but my suggestion was to make to_s and inspect respect the value of display_name if... ioquatix (Samuel Williams)
08:15 PM Revision 9bb43978 (git): Mark weak maps as write barrier protected
For both we mark the lambda finalizer.
ObjectSpace::WeakMap doesn't mark any other reference, so we can just add the...
byroot (Jean Boussier)
07:42 PM Revision 93f7106b (git): RJIT: Remove unused methods in rjit_c.rb
k0kubun (Takashi Kokubun)
07:29 PM Revision d5b7c8a9 (git): RJIT: Always enable --rjit-dump-disasm
k0kubun (Takashi Kokubun)
06:34 PM Feature #19437: Add marking and sweeping time to GC.stat
> Is compaction time classified as marking_time or sweeping_time?
It will be part of sweeping_time. I think it's n...
peterzhu2118 (Peter Zhu)
06:36 AM Feature #19437: Add marking and sweeping time to GC.stat
Similar question with mame-san's #5, but at the last marking starts sweeping. does the current patch (already merged)... ko1 (Koichi Sasada)
01:22 AM Feature #19437: Add marking and sweeping time to GC.stat
Just a curious question. Is compaction time classified as `marking_time` or `sweeping_time`? mame (Yusuke Endoh)
06:13 PM Revision d0b8bdb3 (git): Remove duplicate code in gc_marks_finish
There is an identical block a few lines down that does the exact same
thing.
peterzhu2118 (Peter Zhu)
06:07 PM Revision ac5f983f (git): RJIT: Break up and enable test_version (#7495)
k0kubun (Takashi Kokubun)
05:51 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
ko1 (Koichi Sasada) wrote in #note-7:
> Yes. There was a discussion to introduce a thread for signal handlers. But i...
Eregon (Benoit Daloze)
04:16 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
https://github.com/ruby/timeout/issues/17#issuecomment-1464039853 seems a proof this restriction is wrong, and actual... Eregon (Benoit Daloze)
03:47 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
Right, like I mentioned above.
But the deadlock might not happen (or even cannot happen for some cases I mentioned a...
Eregon (Benoit Daloze)
06:49 AM Bug #19473: can't be called from trap context (ThreadError) is too limiting
The current limitation is introduced to protect user from dead-lock error like that:
```
m = Mutex.new
trap(:I...
ko1 (Koichi Sasada)
05:03 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
Let me add a few points in this conversation:
> making weak reference, attached_objec may return nil for the colle...
ufuk (Ufuk Kayserilioglu)
03:15 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
ko1 (Koichi Sasada) wrote in #note-11:
> No. Current key is a class value (pointer) but the idea is making class ser...
Eregon (Benoit Daloze)
03:12 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
ko1 (Koichi Sasada) wrote in #note-12:
> making weak reference, `attached_objec` may return nil for the collected ob...
Eregon (Benoit Daloze)
02:08 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
Eregon (Benoit Daloze) wrote in #note-9:
> @ko1 I think the real solution to this category of problems, not just thi...
ko1 (Koichi Sasada)
02:06 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
byroot (Jean Boussier) wrote in #note-8:
> > One idea is re-introduce class serial.
>
> Does that mean the method...
ko1 (Koichi Sasada)
01:40 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
Also as mentioned in https://bugs.ruby-lang.org/issues/19436#note-1 I believe TruffleRuby and JRuby (and probably mor... Eregon (Benoit Daloze)
01:32 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
@ko1 I think the real solution to this category of problems, not just this specific one is to make `Class#attached_ob... Eregon (Benoit Daloze)
10:24 AM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
> One idea is re-introduce class serial.
Does that mean the method cache could be global again?
byroot (Jean Boussier)
06:37 AM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
Matz asked me to solve this memory leaking issue, so I'll consider about it before Ruby 3.3.
One idea is re-introduc...
ko1 (Koichi Sasada)
04:50 PM Revision 365fed63 (git): Revert "Allow classes and modules to become too complex"
This reverts commit 69465df4242f3b2d8e55fbe18d7c45b47b40a626. tenderlovemaking (Aaron Patterson)
03:19 PM Feature #19435: Expose counts for each GC reason in GC.stat
byroot (Jean Boussier) wrote in #note-6:
> > matz: stat gets bloated is kind of worrying.
>
> I'm not too concern...
Eregon (Benoit Daloze)
10:20 AM Feature #19435: Expose counts for each GC reason in GC.stat
> Now we can measure this kind of statistics with C-extension
Yes, but unfortunately GC hooks have the adverse eff...
byroot (Jean Boussier)
06:34 AM Feature #19435: Expose counts for each GC reason in GC.stat
Now we can measure this kind of statistics with C-extension (https://github.com/ko1/gc_tracer is one example).
Is it...
ko1 (Koichi Sasada)
03:06 PM Bug #18464 (Closed): RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
byroot (Jean Boussier)
03:05 PM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
The fix was merged as 7bd7aee02e303de27d2cddfc5ef47e612d6782cb byroot (Jean Boussier)
03:02 PM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
The PR to fix this has been merged ( https://github.com/ruby/ruby/pull/5990 ).
Would it be possible for the fix to...
ivoanjo (Ivo Anjo)
02:32 PM Revision f98a7fd2 (git): Move WeakMap and WeakKeyMap code to weakmap.c
These classes don't belong in gc.c as they're not actually part of the
GC. This commit refactors the code by moving a...
peterzhu2118 (Peter Zhu)
01:38 PM Feature #19406: Allow declarative reference definition for rb_typed_data_struct
ko1 (Koichi Sasada) wrote in #note-3:
> On dev-meeting there is no objection about the basic concept.
Great, than...
eightbitraptor (Matt V-H)
06:43 AM Feature #19406: Allow declarative reference definition for rb_typed_data_struct
On dev-meeting there is no objection about the basic concept.
Trivial points.
* (matz) can we have better macro...
ko1 (Koichi Sasada)
12:53 PM Feature #8948: Frozen regex
I'll try it when I get some time. Eregon (Benoit Daloze)
12:43 PM Feature #8948: Frozen regex
TruffleRuby has all Regexp objects frozen since a while, it would be great to do the same in CRuby for consistency. Eregon (Benoit Daloze)
11:57 AM Feature #17684 (Assigned): Remove `--disable-gems` from release version of Ruby
hsbt (Hiroshi SHIBATA)
11:57 AM Bug #18789 (Assigned): make test-bundled-gems failed after make install
hsbt (Hiroshi SHIBATA)
11:50 AM Revision dd47ce10 (git): [rubygems/rubygems] Use `RbSys::ExtensionTask` when creating new rust gems
https://github.com/rubygems/rubygems/commit/125f9fece9 Ian Ker-Seymer
10:38 AM Revision 4dce12be (git): Remove prototypes for functions that are no longer used. (#7497)
Samuel Williams
10:34 AM Bug #19524 (Third Party's Issue): Garbage Collector is not working as expected.
As Ufuk said. You example script is behaving as expected.
As for `[BUG] object allocation during garbage collectio...
byroot (Jean Boussier)
06:43 AM Revision 3c35c13a (git): RJIT: Resurrect --rjit-pause and RJIT.resume
k0kubun (Takashi Kokubun)
06:31 AM Revision e07e9f84 (git): RJIT: Do nothing on jit_cont_free
if cont is NULL. k0kubun (Takashi Kokubun)
06:15 AM Revision 4afe9c09 (git): RJIT: Use imemo_type_p instead
which seems safer. It seems like imemo_type can cause SEGV. k0kubun (Takashi Kokubun)
05:55 AM Revision 35fd79ac (git): RJIT: Lazily compile global ocb
k0kubun (Takashi Kokubun)
05:42 AM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
Let me clear why column information is better than `node_id`
My understanding:
* Better than `node_id`
* B1....
ko1 (Koichi Sasada)
03:32 AM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
Thank you all!
kddeisz (Kevin Newton) wrote in #note-8:
> In terms of memory consumption, I would think it would ...
mame (Yusuke Endoh)
05:16 AM Revision 5e27d82d (git): [rubygems/rubygems] rubocop -a test/rubygems/test_gem.rb
https://github.com/rubygems/rubygems/commit/4d20ed7e32 hsbt (Hiroshi SHIBATA)
05:16 AM Revision f1c9f89f (git): [rubygems/rubygems] Disable side-effect of GEM_HOME configuration
https://github.com/rubygems/rubygems/commit/c43328ab03 hsbt (Hiroshi SHIBATA)
04:57 AM Revision 65f25635 (git): Explain the project purpose in rjit.md [ci skip]
k0kubun (Takashi Kokubun)
03:51 AM Revision fade612d (git): [rubygems/rubygems] Removed needless option
https://github.com/rubygems/rubygems/commit/4489361a21 hsbt (Hiroshi SHIBATA)
03:51 AM Revision 15739c66 (git): [rubygems/rubygems] Added only missing extensions option into pristine command
https://github.com/rubygems/rubygems/commit/cfd0e615d7 hsbt (Hiroshi SHIBATA)
03:40 AM Feature #19094 (Closed): `sleep(nil)` vs `sleep()` and replicating the default implementation.
Merged. ioquatix (Samuel Williams)
03:40 AM Revision 86d38b45 (git): Accept `sleep(nil)` as sleep forever. (#7484)
Samuel Williams
03:35 AM Bug #18743: Enumerator#next / peek re-use each others stacktraces
It should be fixed. But I think the proposed change https://github.com/ruby/ruby/pull/6201 is not enough, we should l... matz (Yukihiro Matsumoto)
03:35 AM Revision dcc8ecde (git): Bump ruby/setup-ruby from 1.143.0 to 1.144.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.143.0 to 1.144.0.
- [Release notes](https://github...
dependabot[bot]
03:03 AM Revision a7bc000e (git): Revert and refine tests for uninitialized queue
`Queue` and `SizedQueue` still check array members. Only the test of
`ConditionVariable` is useless.
nobu (Nobuyoshi Nakada)
02:54 AM Revision 0a466e30 (git): Remove stale tests
These tests were added at a198bb3929a4562a12b4aa245a297c7d3695149f,
when these classes were `Struct`s. Since these c...
nobu (Nobuyoshi Nakada)
01:48 AM Misc #19525 (Closed): DevMeeting-2023-04-13
# The next dev meeting
**Date: 2023/04/13 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
01:47 AM Misc #19429 (Closed): DevMeeting-2023-03-09
mame (Yusuke Endoh)
01:35 AM Feature #19440: Deprecate ThreadGroup
Discussed at the dev meeting.
Many committers agree that ThreadGroup is not very useful, but @matz did not approve...
mame (Yusuke Endoh)
01:16 AM Feature #10343 (Rejected): Postfix notations for `when` and `else` inside `case` statement
Discussed at the dev meeting. @matz rejected this proposal because he didn't think it was easy to understand. mame (Yusuke Endoh)

03/09/2023

11:34 PM Revision 69465df4 (git): Allow classes and modules to become too complex
This makes the behavior of classes and modules when there are too many instance variables match the behavior of objec... HParker (Adam Hess)
11:28 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-6:
> The problem is Ruby does not use this internally
> ...
> Adding a d...
ufuk (Ufuk Kayserilioglu)
10:38 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Just thinking out loud, maybe we need to stop assuming strings (that can be fooled) represent class paths/namespaces.... ioquatix (Samuel Williams)
10:17 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
> Usage in tests is not convincing to me, one could just assign those to e.g. Testing::Foo or so.
Your suggestion ...
ioquatix (Samuel Williams)
08:46 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Maybe I should say it more plainly: I believe adding this feature would be a clear language design mistake, nothing l... Eregon (Benoit Daloze)
08:37 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-6:
> @ufuk It's already the case that it's trivial to override `Class#name...
Eregon (Benoit Daloze)
08:30 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
@ufuk It's already the case that it's trivial to override `Class#name` and have it return something other than a cons... ioquatix (Samuel Williams)
06:24 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
I am in complete agreement with @Eregon and I would also be against `Class#name` and `Module#name` method behaviour c... ufuk (Ufuk Kayserilioglu)
04:32 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
In general I'm against this functionality as explained in https://bugs.ruby-lang.org/issues/19450#note-14.
It can le...
Eregon (Benoit Daloze)
08:50 AM Feature #19520 (Rejected): Support for `Module.new(name)` and `Class.new(superclass, name)`.
See <https://bugs.ruby-lang.org/issues/19450> for previous discussion and motivation.
[This proposal](https://gith...
ioquatix (Samuel Williams)
11:26 PM Revision 65a95b82 (git): YJIT: upgrade type in `guard_object_is_string` (#7489)
* YJIT: upgrade type in guard_object_is_string
Also make logic more in line with other guard_xxx methods
* Update y...
maximecb (Maxime Chevalier-Boisvert)
11:05 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
> So sure it's possible with remove_const with a made-up example. Is it done in practice? I don't think so.
You ca...
ioquatix (Samuel Williams)
08:43 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
ioquatix (Samuel Williams) wrote in #note-8:
> > It can lead to confusion and lies about the program state, e.g., pr...
Eregon (Benoit Daloze)
08:25 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
> At least it should be forbidden to change the name of a Module multiple times.
> So from that POV that, #19520 is b...
ioquatix (Samuel Williams)
04:27 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
At least it should be forbidden to change the name of a Module multiple times.
So from that POV that, #19520 is bett...
Eregon (Benoit Daloze)
08:59 AM Feature #19521 (Closed): Support for `Module#name=` and `Class#name=`.
See https://bugs.ruby-lang.org/issues/19450 for previous discussion and motivation.
[This proposal](https://github...
ioquatix (Samuel Williams)
10:46 PM Bug #19524: Garbage Collector is not working as expected.
In your code example you keep adding strings to an array named `an_array` which has to hold a reference to all those ... ufuk (Ufuk Kayserilioglu)
05:44 PM Bug #19524 (Third Party's Issue): Garbage Collector is not working as expected.
We are currently developing a Ruby based web application which connects to a DB2 Database . WE have been using ibm_db... hjimenez89rb (Hugo Alberto Jiménez Santos)
09:32 PM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
If memory increase is a concern, could we not store line/column information as varints (e.g. like [how Protocol Buffe... ufuk (Ufuk Kayserilioglu)
08:58 PM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
> Anyway, I think this should be discussed after YARP is completed and incorporated into CRuby.
I'm OK with that, ...
Eregon (Benoit Daloze)
08:57 PM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
mame (Yusuke Endoh) wrote in #note-6:
> I think there is a confusion of what the word "reparse" means here.
I mea...
Eregon (Benoit Daloze)
05:14 PM Feature #19452: `Thread::Backtrace::Location` should have column information if possible.
YARP keeps column information around for this. In the call node there's column information at each of the points belo... kddnewton (Kevin Newton)
09:21 PM Feature #19457 (Closed): Some improvements to test-all suite
hsbt (Hiroshi SHIBATA)
09:17 PM Feature #19457: Some improvements to test-all suite
I've created some PRs related to this, and now regret opening an issue for this. Since I cannot close it, can someone... luke-gru (Luke Gruber)
09:14 PM Revision 9546c70e (git): Remove unused forward decl of rb_thread_struct
eightbitraptor (Matt V-H)
08:43 PM Misc #19475 (Closed): Propose Matthew Valentine-House (@eightbitraptor) as a core committer
I've finished to prepare Matt's account. Thank you. hsbt (Hiroshi SHIBATA)
12:14 PM Misc #19475: Propose Matthew Valentine-House (@eightbitraptor) as a core committer
Thank you @matz
@hsbt - I've emailed cvs-admin, and submitted the PR as per the instructions. Thank you.
eightbitraptor (Matt V-H)
09:12 AM Misc #19475: Propose Matthew Valentine-House (@eightbitraptor) as a core committer
@eightbitraptor Can you handle [instructions](https://bugs.ruby-lang.org/projects/ruby/wiki/CommitterHowto#What-to-do... hsbt (Hiroshi SHIBATA)
08:47 AM Misc #19475 (Assigned): Propose Matthew Valentine-House (@eightbitraptor) as a core committer
hsbt (Hiroshi SHIBATA)
05:13 AM Misc #19475: Propose Matthew Valentine-House (@eightbitraptor) as a core committer
Accepted. Follow the instructions from @hsbt to be a committer.
Welcome!
Matz.
matz (Yukihiro Matsumoto)
05:00 AM Misc #19475: Propose Matthew Valentine-House (@eightbitraptor) as a core committer
+1 ioquatix (Samuel Williams)
08:05 PM Misc #19431: DevMeeting at RubyKaigi 2023
I'll be there as well. ufuk (Ufuk Kayserilioglu)
07:33 PM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend. eightbitraptor (Matt V-H)
06:48 PM Misc #19431: DevMeeting at RubyKaigi 2023
I should be able to join but may also join late. maximecb (Maxime Chevalier-Boisvert)
09:15 AM Misc #19431: DevMeeting at RubyKaigi 2023
How much chocolate should I bring? Any requests? ioquatix (Samuel Williams)
09:07 AM Misc #19431: DevMeeting at RubyKaigi 2023
I'm in.
Matz.
matz (Yukihiro Matsumoto)
08:49 AM Misc #19431: DevMeeting at RubyKaigi 2023
+1 ko1 (Koichi Sasada)
07:58 PM Revision 48714292 (git): YJIT: Merge x86_merge into x86_split (#7487)
k0kubun (Takashi Kokubun)
05:40 PM Misc #19523 (Closed): Replace tabs in parse.y with spaces
Applied in changeset commit:git|1347d707cad8307b91df7e03e5347231ffafe40f.
----------
Ignore parse.y expand tabs comm...
k0kubun (Takashi Kokubun)
03:36 PM Misc #19523 (Closed): Replace tabs in parse.y with spaces
Since the tabs have been replaced in C files, could we do the same for parse.y? kddnewton (Kevin Newton)
05:34 PM Revision 1347d707 (git): Ignore parse.y expand tabs commit
[Misc #19523] k0kubun (Takashi Kokubun)
05:32 PM Revision c5e9af9c (git): Expand tabs in parse.y
I used the same script as https://github.com/ruby/ruby/pull/6094 but
for a .y file.
k0kubun (Takashi Kokubun)
05:29 PM Revision 74f44dae (git): Another fix for 262254dc7d
Koichi might want to adjust his editor configuration. k0kubun (Takashi Kokubun)
05:15 PM Revision 3938b79e (git): Revert an unneeded diff in 262254dc7d
k0kubun (Takashi Kokubun)
05:00 PM Bug #19518: Recent Source Releases Do Not Compile on CentOS 7 Due to configure Script Error Generated By autoconf >= 2.70
Agreed that this is a duplicate.
Thanks @jaruga. I forgot about SCL. I should probably look into integrating that ...
eviljoel (evil joel)
11:21 AM Bug #19518: Recent Source Releases Do Not Compile on CentOS 7 Due to configure Script Error Generated By autoconf >= 2.70
For the GCC, it seems that the devtoolset-8 and gcc-8 is the latest version on the Software Collections.
https://www...
jaruga (Jun Aruga)
10:58 AM Bug #19518: Recent Source Releases Do Not Compile on CentOS 7 Due to configure Script Error Generated By autoconf >= 2.70
> The gcc bundled with CentOS 7 is version 4.8.5 which only has experimental C11 support. This experimental C11 suppo... jaruga (Jun Aruga)
06:20 AM Bug #19518 (Closed): Recent Source Releases Do Not Compile on CentOS 7 Due to configure Script Error Generated By autoconf >= 2.70
Applied in changeset commit:git|96d1acfdf6c6b42f2029f44d5b5920961d6efa92.
----------
[Bug #19161] Check for TLS usab...
nobu (Nobuyoshi Nakada)
04:19 PM Bug #19473: can't be called from trap context (ThreadError) is too limiting
ioquatix (Samuel Williams) wrote in #note-5:
> I was under the impression that very few operations are safe to call ...
Eregon (Benoit Daloze)
03:55 AM Bug #19473: can't be called from trap context (ThreadError) is too limiting
I was under the impression that very few operations are safe to call from a signal handler. Is that not the case here? ioquatix (Samuel Williams)
03:37 PM Revision 262254dc (git): rename `defined_ivar` to `definedivar`
because non-opt instructions should contain `_` char. ko1 (Koichi Sasada)
03:19 PM Revision 22d8e95f (git): YJIT: Optimize `cmp REG, 0` into `test REG, REG` (#7471)
k0kubun (Takashi Kokubun)
01:37 PM Revision 3926ad57 (git): [rubygems/rubygems] Drop to support Psych 3.0 bundled at Ruby 2.5
https://github.com/rubygems/rubygems/commit/a6650c2c96 hsbt (Hiroshi SHIBATA)
12:13 PM Bug #19522 (Feedback): 升級rails 5遇到以下錯誤
2.3 is EOL by 2.3.8.
Recursing actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:194 over 9k times seems unu...
nobu (Nobuyoshi Nakada)
10:54 AM Bug #19522 (Feedback): 升級rails 5遇到以下錯誤
bundle install 正常
但rails s -e production
則遇到以下錯誤
=> Booting Thin
=> Rails 5.0.7.2 application starting in produ...
teddyswu (泰迪 吳)
11:24 AM Bug #19424: Significant performance decreases in `OpenStruct#marshal_load` in Ruby 3.0 and 3.1
The performance gains of using a `method_missing`-based OpenStruct are huge: https://github.com/ruby/ostruct/issues/5... Eregon (Benoit Daloze)
11:07 AM Bug #19455: Ruby 3.2: wrong Regexp encoding with non-ASCII comments
Discussed at the dev meeting. @matz said he would prefer 3.1 behavior if possible (but not high priority). @nobu said... mame (Yusuke Endoh)
11:02 AM Feature #19197: Add Exception#root_cause
Discussed at the dev meeting.
Please elaborate the use case a bit more. The proposed method is easy to implement i...
mame (Yusuke Endoh)
10:09 AM Feature #19094: `sleep(nil)` vs `sleep()` and replicating the default implementation.
PR: https://github.com/ruby/ruby/pull/7484 ioquatix (Samuel Williams)
06:05 AM Feature #19094: `sleep(nil)` vs `sleep()` and replicating the default implementation.
I understand the usefulness of the proposal. Accepted.
But do not propose other changes just for consistency with th...
matz (Yukihiro Matsumoto)
09:13 AM Bug #9366: "make -j32 check TESTS=-j32" occasionally fails on rubygems/specification
"hsbt (Hiroshi SHIBATA)" <[email protected]> wrote:
> @normalperson Do you still have this issue?

I no ...
Anonymous
08:56 AM Bug #9366 (Feedback): "make -j32 check TESTS=-j32" occasionally fails on rubygems/specification
@normalperson Do you still have this issue? hsbt (Hiroshi SHIBATA)
09:01 AM Feature #19450 (Closed): Is there an official way to set a class name without setting a constant?
Thanks for all the discussion, here are the proposals:
- https://bugs.ruby-lang.org/issues/19520 (parameter to new)
...
ioquatix (Samuel Williams)
03:56 AM Feature #19450: Is there an official way to set a class name without setting a constant?
Sorry @mame, I did not have a concrete proposal when I originally suggested it and this was more of a discussion to g... ioquatix (Samuel Williams)
08:55 AM Feature #16431 (Assigned): Optionally load did_you_mean (and RubyGems)
hsbt (Hiroshi SHIBATA)
08:48 AM Revision 44a0711e (git): Remove special handling of `SIGCHLD`. (#7482)
Samuel Williams
08:46 AM Revision 7bd7aee0 (git): Fix interpreter crash caused by RUBY_INTERNAL_EVENT_NEWOBJ + Ractors
When a Ractor is created whilst a tracepoint for
RUBY_INTERNAL_EVENT_NEWOBJ is active, the interpreter crashes. This ...
kjtsanaktsidis (KJ Tsanaktsidis)
08:34 AM Bug #18658 (Rejected): Need openssl 3 support for Ubuntu 22.04 (Ruby 2.7.x and 3.0.x)
We decided to not backport openssl-3.x gem into `ruby_2_7` and `ruby_3_0` branches. Because it affects with OpenSSL 1... hsbt (Hiroshi SHIBATA)
08:05 AM Bug #19416: Inconsistent behaviour for Struct.new without any member_names
Just for record. What made matz change his mind was the following code I wrote.
```ruby
Cons = Struct.new(:car, :...
mame (Yusuke Endoh)
05:08 AM Bug #19416: Inconsistent behaviour for Struct.new without any member_names
After consideration, I think we should allow empty `Struct` even without the name for consistency.
Matz.
matz (Yukihiro Matsumoto)
08:00 AM Bug #19392 (Feedback): Endless method and parsing priorities
@nobu says it would be difficult to implement. If someone creates a patch successfully, we may be able to consider it. mame (Yusuke Endoh)
07:38 AM Revision 1a0d3ec4 (git): RJIT: Make functions in rjit_c.c static
They don't need to be global. k0kubun (Takashi Kokubun)
07:31 AM Revision 4be224ea (git): RJIT: Reorganize rjit.c
Reordering functions for readability, adding stats whenever possible. k0kubun (Takashi Kokubun)
07:24 AM Revision f5909ac6 (git): RJIT: Stop allowing leaked globals rjit_*
k0kubun (Takashi Kokubun)
07:12 AM Revision a0918a4a (git): RJIT: Get rid of verbose logging
k0kubun (Takashi Kokubun)
07:07 AM Revision 7d7b67a4 (git): RJIT: Clean up the declaration mess
k0kubun (Takashi Kokubun)
06:51 AM Bug #19371 (Third Party's Issue): Having Psych 5 installed raises an error during another gem's C-extension installation when parsing YAML
This error caused Psych 4 was already activated by `Gem::ConfigFile` via `Gem.configuration`. After that, Psych 5 try... hsbt (Hiroshi SHIBATA)
06:20 AM Bug #19161 (Closed): Cannot compile 3.0.5 or 3.1.3 on Red Hat Enterprise Linux 7
Applied in changeset commit:git|96d1acfdf6c6b42f2029f44d5b5920961d6efa92.
----------
[Bug #19161] Check for TLS usab...
nobu (Nobuyoshi Nakada)
06:19 AM Revision cf08a85b (git): [rubygems/rubygems] Ensure that `TempIO` is closed
https://github.com/rubygems/rubygems/commit/dc7b9db514 nobu (Nobuyoshi Nakada)
05:16 AM Feature #19362: #dup on Proc doesn't call initialize_dup
Accepted, mostly for the sake of consistency. As a general suggestion, making subclasses from built-in classes is not... matz (Yukihiro Matsumoto)
05:13 AM Bug #19417: Regexp \p{Word} and [[:word:]] do not match Unicode Other_Number character
The document is wrong. The definition of `word` is defined in Unicode® Technical Standard #18 UNICODE REGULAR EXPRESS... naruse (Yui NARUSE)
05:08 AM Bug #19230 (Assigned): The openssl backend of securerandom is no longer needed
mame (Yusuke Endoh)
04:54 AM Revision 96d1acfd (git): [Bug #19161] Check for TLS usability
On all platforms using GCC, even other than darwin. nobu (Nobuyoshi Nakada)
04:23 AM Bug #19519 (Closed): Merge RubyGems-3.4.10 and Bundler-2.4.10 into Ruby 3.2
https://github.com/ruby/ruby/pull/7479 hsbt (Hiroshi SHIBATA)
04:18 AM Revision 2ecdefab (git): Make sure TestDefaultGems#test_validate_gemspec runs even when Dir.pwd != srcdir
For instance, when running tests in build directory like:
$ make test-all TESTOPTS="../ruby/test"
luke-gru (Luke Gruber)
04:04 AM Feature #19472: Ractor::Selector to wait multiple ractors
> Is there a real use-case for so many Ractors?
> This is why I'm working on MaNy project (M:N threads).
So it soun...
ioquatix (Samuel Williams)
03:05 AM Revision 1658e7d9 (git): Remove SIGCHLD `waidpid`. (#7476)
* Remove `waitpid_lock` and related code.
* Remove un-necessary test.
* Remove `rb_thread_sleep_interruptible` dead...
Samuel Williams
12:35 AM Revision db28f700 (git): merge revision(s) 3b567eb491e460e00a66fdea8054eeb083b5dafd: [Backport #19459]
[Bug #19459] Remove unnecessary always-true checks (#7362)
`length` is a required argument for `IO::Buffer#r...
naruse (Yui NARUSE)
12:32 AM Bug #19439: Marshal.load doesn't load Regexp instance variables
ruby_3_2 4e4a4e42b284d9309a7e51c97058093539e7a843 merged revision(s) d2520b7b76759118071a16e6bca22726a5de9fb4. naruse (Yui NARUSE)
 

Also available in: Atom