Project

General

Profile

Activity

From 02/14/2023 to 02/20/2023

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)

02/19/2023

11:07 PM Revision 5c0298bf (git): [ruby/pstore] Remove (newly unneeded) remarks about aliases
(https://github.com/ruby/pstore/pull/8)
https://github.com/ruby/pstore/commit/01c4ccc7aa
burdettelamar (Burdette Lamar)
10:50 PM Revision 5fb64f52 (git): [ruby/fileutils] Remove (newly unneeded) remarks about aliases
(https://github.com/ruby/fileutils/pull/108)
https://github.com/ruby/fileutils/commit/bbe595cfa5
burdettelamar (Burdette Lamar)
10:39 PM Revision 924ab1b7 (git): test/readline/test_readline.rb: skip a test x86_64-linux-(x32|i[3-6]86)
I run a 32-bit (x86) userspace on a 64-bit kernel to save memory
and this test fails for the same reason it does on p...
Eric Wong
10:26 PM Revision 3b239d24 (git): Remove (newly unneeded) remarks about aliases
burdettelamar (Burdette Lamar)
10:24 PM Revision 3d538271 (git): [ruby/date] Removed (newly unneeded) alias remarks
(https://github.com/ruby/date/pull/88)
https://github.com/ruby/date/commit/cfa7e9868b
burdettelamar (Burdette Lamar)
08:32 PM Revision 976cc385 (git): [DOC] Return *args to Enumerable method definitions
zverok (Victor Shepelev)
08:32 PM Revision ce0f3de0 (git): [DOC] Update pattern matching docs for 3.2
* Remove section about experimental status
* Add references to core objects that can deconstruct
zverok (Victor Shepelev)
08:32 PM Revision 4f049e91 (git): [DOC] Document IO::Timeout
zverok (Victor Shepelev)
08:32 PM Revision e1b447a3 (git): [DOC] Improve ObjectSpace#dump_XXX method docs
* remove false call-seq (output from Ruby parsing is cleaner)
* explain output: argument in plain words
* change para...
zverok (Victor Shepelev)
08:32 PM Revision 0258e92e (git): [DOC] Improve Kernel#binding docs
* Add links to Binding class
* Make examples practical
* Extend possible usages description
zverok (Victor Shepelev)
08:32 PM Revision 51bb5b23 (git): [DOC] Small adjustment for String method docs
* Hide freeze method (no useful docs, same as Object#freeze)
* Add dedup to call-seq of str_uminus
zverok (Victor Shepelev)
08:32 PM Revision 0c0b9191 (git): [DOC] Update TracePoint#binding docs for 3.2 behavior
zverok (Victor Shepelev)
08:32 PM Revision 01509f34 (git): [DOC] Restore Process module doc lost due to RDoc update
zverok (Victor Shepelev)
08:05 PM Feature #19024 (Closed): Proposal: Import Modules
jeremyevans0 (Jeremy Evans)
05:49 AM Feature #19024: Proposal: Import Modules
I wanted to update this because I've changed my thinking since the original proposal.
TL;DR
1. I agree that we sh...
shioyama (Chris Salzberg)
07:58 PM Revision 59f7bf96 (git): Mention when it is appropriate to document aliases in call-seq
jeremyevans (Jeremy Evans)
07:41 PM Revision ea507659 (git): [DOC] Change to handling of aliases (#7340)
Change to handling of aliases burdettelamar (Burdette Lamar)
12:06 PM Feature #18285 (Closed): NoMethodError#message uses a lot of CPU/is really expensive to call
Applied in changeset commit:git|8a59f75de7e1ee4c021a1cd79aa78f0c6cf78507.
----------
Use the development versions of...
mame (Yusuke Endoh)
12:06 PM Revision 759d2358 (git): Create a dummy minitest.gemspec for a bundled gem
To use the repository version of bundled gems, we need to build a gem by
"gem build", but the repository of minitest ...
mame (Yusuke Endoh)
12:06 PM Revision 8eaa3466 (git): No validation for bundled gems
https://github.com/mame/ruby/actions/runs/4208869556/jobs/7305356097
```
WARNING: open-ended dependency on irb (>= 1...
mame (Yusuke Endoh)
12:06 PM Revision 8a59f75d (git): Use the development versions of minitest and debug gems
This is a preparation for a new message format of NameError.
[Feature #18285]
https://github.com/minitest/minitest/p...
mame (Yusuke Endoh)
10:29 AM Revision 29f88b9f (git): [ruby/error_highlight] Support the new message format of NameError in Ruby 3.3
https://bugs.ruby-lang.org/issues/18285
https://github.com/ruby/ruby/pull/6950
https://github.com/ruby/error_highlig...
mame (Yusuke Endoh)
09:58 AM Revision ba1b9d31 (git): [ruby/bigdecimal] Fix the license name [ci skip]
```
$ gem build bigdecimal.gemspec
WARNING: license value 'BSD-2-clause' is invalid. Use a license identifier from
...
nobu (Nobuyoshi Nakada)
07:10 AM Revision 4dc2cb3c (git): [ruby/did_you_mean] Support the new message format of NameError in
Ruby 3.3
(https://github.com/ruby/did_you_mean/pull/184)
This change accepts the following change of the message of ...
mame (Yusuke Endoh)

02/18/2023

10:26 PM Bug #19445: Segmentation fault with Numeric#step
Today I learned "Associated revisions" tab in Redmine. hsbt (Hiroshi SHIBATA)
09:38 AM Bug #19445: Segmentation fault with Numeric#step
https://bugs.ruby-lang.org/issues/19445?tab=changesets
I missed the space between `Bug` and `#`, then linked manually.
nobu (Nobuyoshi Nakada)
07:23 AM Bug #19445: Segmentation fault with Numeric#step
Apologies, but I'm a bit confused. I see @nobu marked the issue as closed with needing backport, but I don't see any ... byroot (Jean Boussier)
06:26 AM Bug #19445: Segmentation fault with Numeric#step
Thanks @nobu. I confirmed to fix this.
```
$ curl -s 'https://cache.ruby-lang.org/pub/misc/ci_versions/all.json' ...
hsbt (Hiroshi SHIBATA)
11:34 AM Revision cbac0fa4 (git): [ruby/irb] Remove unused context argument from Worksapce#evaluate
(https://github.com/ruby/irb/pull/488)
The context argument was introduced in this change:
https://github.com/ruby/...
st0012 (Stan Lo)
07:19 AM Bug #19448: [Hash] Using Set as default value
@sawa I wasn't planning to answer the question myself, only to point the author to the detailed documentation of how ... byroot (Jean Boussier)
03:43 AM Bug #19448: [Hash] Using Set as default value
@byroot (Jean Boussier), I think your comment is misleading if not irrelevant.
The issue's point is that, a key-valu...
sawa (Tsuyoshi Sawada)
06:41 AM Bug #19441: Closing an Tempfile#dup behaviour
Thanks nobu for your answer it makes perfect sense.
My case which led to the current question comes from a Rails a...
stac47 (Laurent Stacul)
05:49 AM Revision de7eb5e7 (git): clean_env of Bundler is deprecated. It's unbundled_env now
hsbt (Hiroshi SHIBATA)
03:05 AM Bug #19442: Remove USE_RINCGC flag
> ruby_memprofiler_pprof - This uses USE_RINCGC, as a default value to GC_ENABLE_INCREMENTAL_MARK, although I'm not s... kjtsanaktsidis (KJ Tsanaktsidis)

02/17/2023

09:40 PM Revision c024cc05 (git): YJIT: Consolidate jit methods in JITState impl (#7336)
These jit_* methods don't jit code, but instead check things on the
JITState. We had other methods that did the same ...
Jimmy Miller
08:44 PM Revision 034d5ee4 (git): YJIT: Use rb_ivar_get at the end of ivar chains (#7334)
* YJIT: Use rb_ivar_get at the end of ivar chains
* Rename the counter to get_ivar_max_depth
k0kubun (Takashi Kokubun)
08:24 PM Bug #19442: Remove USE_RINCGC flag
Some more context on this ticket. @peterzhu2118 did a gem code search for `USE_RINCGC` and that returned 4 distinct g... eightbitraptor (Matt V-H)
06:53 PM Revision 0d8ef62f (git): BigDecimal changed #remainder's spec
This test is no longer passing:
```
1)
BigDecimal#remainder returns NaN if Infinity is involved FAILED
Expected...
k0kubun (Takashi Kokubun)
06:38 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
rubyFeedback (robert heiler) wrote in #note-18:
> > And it feels like I cannot convince anyone here with any amount ...
danh337 (Dan H)
08:48 AM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
> And it feels like I cannot convince anyone here with any amount of rationale
Ultimately you only have to convince ...
rubyFeedback (robert heiler)
06:10 PM Revision c3bae033 (git): Add asm comment to YJIT's rb_str_empty_p
maximecb (Maxime Chevalier-Boisvert)
06:07 PM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend. jhawthorn (John Hawthorn)
11:46 AM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend. znz (Kazuhiro NISHIYAMA)
05:33 AM Misc #19431: DevMeeting at RubyKaigi 2023
+1 nobu (Nobuyoshi Nakada)
05:52 PM Revision becec000 (git): [ruby/bigdecimal] Stub out extension build on JRuby
JRuby currently ships its own internal bigdecimal extension as
part of the core libraries. In order for users to be a...
headius (Charles Nutter)
05:46 PM Revision 36e3d46d (git): [ruby/bigdecimal] Handle correctly #remainder with infinity. Fixes
https://github.com/ruby/bigdecimal/pull/187
https://github.com/ruby/bigdecimal/commit/4b8572d452
mjrzasa (Maciek Rząsa)
03:49 PM Bug #19448: [Hash] Using Set as default value
That's is known limitation when using Hash default value
Also your problem is that `<<` would alter the same objec...
Hanmac (Hans Mackowiak)
03:47 PM Bug #19448 (Rejected): [Hash] Using Set as default value
This isn't a bug and is documented in `Hash.new` https://docs.ruby-lang.org/en/3.2/Hash.html#class-Hash-label-Default... byroot (Jean Boussier)
03:41 PM Bug #19448 (Rejected): [Hash] Using Set as default value
When using a hash and set is used as a default value, the keys method for the hash does not return expected values.
...
bobanj (Boban Jovanoski)
02:49 PM Revision 81dc3a17 (git): Remove USE_RGENGC_LOGGING_WB_UNPROTECT
This macro is broken when set to anything other than 0. And has had a
comment saying that it's broken for 3 years.
T...
eightbitraptor (Matt V-H)
02:42 PM Bug #19041: Weakref is still alive after major garbage collection
Hi @tenderlovemaking! I'm having difficulty interpreting the results of the `ObjectSpace` dump and I'm hoping you can... parker (Parker Finch)
02:37 PM Bug #19447 (Closed): Merge `internal/rgengc.h` into public `internal/gc.h` header
[[Github PR #7310](https://github.com/ruby/ruby/pull/7310)]
This PR merges the `rgengc.h` internal header into the...
eightbitraptor (Matt V-H)
02:32 PM Bug #19446 (Closed): Remove `compiler_wd` related warnings in `tool/update-deps`
[Github PR #7331](https://github.com/ruby/ruby/pull/7331)
The update deps tool uses intermediary build files to ve...
eightbitraptor (Matt V-H)
01:04 PM Feature #19443: Cache `Process.pid`
> PID can conflict because PID is recycled.
I don't think it's a big concern for this use case, even with PID recy...
byroot (Jean Boussier)
11:10 AM Feature #19443: Cache `Process.pid`
I think detecting fork using PID is not a good idea.
PID can conflict because PID is recycled.
We can define Proc...
akr (Akira Tanaka)
07:46 AM Feature #19443: Cache `Process.pid`
Here, from my branch built in a Ubuntu jammy (22.04) based image:
```
ruby 3.3.0dev (2023-02-16T18:42:31Z cache-p...
byroot (Jean Boussier)
07:29 AM Feature #19443: Cache `Process.pid`
```ruby
require 'benchmark/ips'
Benchmark.ips do |x|
x.report("Process.pid") { Process.pid }
end
```
On m...
byroot (Jean Boussier)
02:19 AM Feature #19443: Cache `Process.pid`
> However as of glibc version 2.25 the PID cache is removed and calls to getpid() always invoke the actual system cal... ko1 (Koichi Sasada)
10:03 AM Misc #19429: DevMeeting-2023-03-09
* [Feature #19406] Allow declarative reference definition for rb_typed_data_struct (eightbitraptor)
* This is essen...
eightbitraptor (Matt V-H)
08:15 AM Misc #19429: DevMeeting-2023-03-09
- [Bug #19436] Call Cache for singleton methods can lead to "memory leaks" (byroot)
- When caching a singleton met...
byroot (Jean Boussier)
08:42 AM Feature #18690: Allow `Kernel#then` to take arguments
I do not have any strong opinions either way, but Benoit wrote:
> The last example is just:
p.call(honyarar...
rubyFeedback (robert heiler)
08:39 AM Feature #18841: Proposal: autoload_relative
I am not sure we should add more methods from within that
family (autoload-family). Personally I would even remove
...
rubyFeedback (robert heiler)
08:35 AM Feature #19024: Proposal: Import Modules
Personally I think it may be better to leave require(),
load() and require_relative() unchanged as-is, and instead
...
rubyFeedback (robert heiler)
05:29 AM Bug #19441: Closing an Tempfile#dup behaviour
A `Tempfile` uses a finalizer to clean up the target file.
That is the file will be removed when a dup of `Tempfile`...
nobu (Nobuyoshi Nakada)
03:34 AM Revision a7beb4cf (git): Bump lewagon/wait-on-check-action from 1.2.0 to 1.3.1
Bumps [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action) from 1.2.0 to 1.3.1.
- [Release...
dependabot[bot]
03:01 AM Bug #19445 (Closed): Segmentation fault with Numeric#step
nobu (Nobuyoshi Nakada)
01:57 AM Revision dd28c55a (git): [Bug#19445] Fix keyword splat in enumerator
Extracted arguments do not have keyword hash to splat. nobu (Nobuyoshi Nakada)

02/16/2023

11:50 PM Bug #19444 (Closed): YJIT String#+@ miscompilations
Applied in changeset commit:git|c178926fbe879045fa711444a1fd9e906af23e3b.
----------
YJIT: jit_prepare_routine_call(...
alanwu (Alan Wu)
10:53 PM Bug #19444 (Closed): YJIT String#+@ miscompilations
We noticed two issues with YJIT's `String#+@` (String unary plus) implementation.
1. It has issues with GC allocat...
alanwu (Alan Wu)
11:50 PM Revision a4b7ec12 (git): YJIT: Fix false assumption that String#+@ => ::String
Could return a subclass.
[Bug #19444]
alanwu (Alan Wu)
11:50 PM Revision c178926f (git): YJIT: jit_prepare_routine_call() for String#+@ missing
We saw SEGVs due to this when running with StackProf, which needs a
correct PC for RUBY_INTERNAL_EVENT_NEWOBJ, the sa...
alanwu (Alan Wu)
11:39 PM Bug #19445 (Closed): Segmentation fault with Numeric#step
The following commands will cause a segmentation fault.
```
curl -s 'https://cache.ruby-lang.org/pub/misc/ci_vers...
hsbt (Hiroshi SHIBATA)
09:52 PM Revision a49bc73e (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/122)
https://github.com/ruby/net-http/commit/06f79cda87
burdettelamar (Burdette Lamar)
07:32 PM Revision 21f9c92c (git): YJIT: Show Context stats on exit (#7327)
k0kubun (Takashi Kokubun)
06:42 PM Feature #19443 (Closed): Cache `Process.pid`
It's not uncommon for database client and similar network libraries to protect themselves from Process.fork by regula... byroot (Jean Boussier)
04:29 PM Revision 8f22dc39 (git): YJIT: Refactor getlocal and setlocal insns (#7320)
k0kubun (Takashi Kokubun)
04:25 PM Revision b4c38f3c (git): YJIT: Initial support for rest args (#7311)
* YJIT: Initial support for rest args
* Update yjit/src/codegen.rs
---------
Co-authored-by: Maxime Chevalier-Bois...
Jimmy Miller
02:50 PM Bug #19442: Remove USE_RINCGC flag
@nobu I see you've just fixed it in [this commit](https://github.com/ruby/ruby/commit/21543ac86ce0b730c1381588d7dc9eb... eightbitraptor (Matt V-H)
02:45 PM Bug #19442: Remove USE_RINCGC flag
nobu (Nobuyoshi Nakada) wrote in #note-1:
> I don't think option 1 and 2 are exclusive.
I'm not sure what you mea...
eightbitraptor (Matt V-H)
02:41 PM Bug #19442: Remove USE_RINCGC flag
I'm for removing many of the untested code paths in gc.c since they may be buggy and are probably not used (like this... peterzhu2118 (Peter Zhu)
01:19 PM Bug #19442: Remove USE_RINCGC flag
Of course I'm **not** against the removal.
I just say removing the flag and fixing the bug are different stories.
nobu (Nobuyoshi Nakada)
01:13 PM Bug #19442: Remove USE_RINCGC flag
I don't think option 1 and 2 are exclusive. nobu (Nobuyoshi Nakada)
10:54 AM Bug #19442 (Closed): Remove USE_RINCGC flag
[GitHub PR #7317](https://github.com/ruby/ruby/pull/7313)
~~Ruby doesn't compile when USE_RINCGC is disabled. It's...
eightbitraptor (Matt V-H)
02:45 PM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend. st0012 (Stan Lo)
02:35 PM Bug #19441: Closing an Tempfile#dup behaviour
Provided `#dup` generally returns an object of the same type, I would expect to have a `Tempfile` object.
The unex...
stac47 (Laurent Stacul)
01:09 PM Bug #19441: Closing an Tempfile#dup behaviour
What do you expect for the `dup`ped `Tempfile` object?
An `IO` to the same file?
Or another temporary file?
nobu (Nobuyoshi Nakada)
10:40 AM Bug #19441 (Closed): Closing an Tempfile#dup behaviour
Hello amazing ruby folks!
I classified that ticket as a "Bug" although it is perhaps something I did not understan...
stac47 (Laurent Stacul)
01:15 PM Revision 21543ac8 (git): Fix compilation error when USE_RINCGC=0
nobu (Nobuyoshi Nakada)
11:25 AM Bug #19439: Marshal.load doesn't load Regexp instance variables
Ok, I have a patch for it, but it's ugly: https://github.com/ruby/ruby/pull/7323
byroot (Jean Boussier)
11:02 AM Bug #19439: Marshal.load doesn't load Regexp instance variables
Ah! the explanation is quite funny.
So the ivars are loaded fine, however, since the goal is to store the encoding...
byroot (Jean Boussier)
10:37 AM Bug #19439: Marshal.load doesn't load Regexp instance variables
After a quick check, it's because the IVAR on Regexps is used to store the encoding:
```c
case TYPE_REGEXP:...
byroot (Jean Boussier)
08:30 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
This issue caused by https://git.ruby-lang.org/ruby.git/tree/tool/lib/bundled_gem.rb#n53.
```ruby
unless spec.ex...
hsbt (Hiroshi SHIBATA)
07:02 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
I can reproduce this issue with current master branch. hsbt (Hiroshi SHIBATA)
07:14 AM Revision 1a4b4cd7 (git): Move `attached_object` into `rb_classext_struct`
Given that signleton classes don't have an allocator,
we can re-use these bytes to store the attached object
in `rb_c...
byroot (Jean Boussier)
02:40 AM Revision 1df75d65 (git): Bump actions/cache from 3.2.4 to 3.2.5
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/act...
dependabot[bot]
02:40 AM Revision 01166505 (git): Bump github/codeql-action from 2.2.1 to 2.2.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.1 to 2.2.4.
- [Release notes](https://...
dependabot[bot]
02:39 AM Revision 9aa0f656 (git): Bump ruby/setup-ruby from 1.134.0 to 1.138.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.134.0 to 1.138.0.
- [Release notes](https://github...
dependabot[bot]
02:00 AM Revision 7e5df495 (git): check-regexp only works with job name, not workflow name
hsbt (Hiroshi SHIBATA)
01:16 AM Revision f736f50f (git): Auto-merge feature for dependabot PRs (#7300)
* Automerge for dependabot update
* change update period with daily, we can merge it automatically when `make check`...
hsbt (Hiroshi SHIBATA)
12:58 AM Revision 25737306 (git): Update default gems list at 65b6411e9db31591ae2a4928acaa0b [ci skip]
git[bot]
12:57 AM Revision 65b6411e (git): [ruby/timeout] bump up 0.3.2
https://github.com/ruby/timeout/commit/e1b2448101 hsbt (Hiroshi SHIBATA)

02/15/2023

11:43 PM Revision b03b251a (git): Handle all non-object type objects
Haldun Bayhantopcu
11:43 PM Revision 0b4b2cd1 (git): Fix removing ivars from clases and modules.
Co-authored-by: Adam Hess <[email protected]> Haldun Bayhantopcu
07:55 PM Feature #13620: Simplifying MRI's build system: always make install
FWIW, here is another terrible hack due to trying to run before files have a proper Ruby home structure:
https://git...
Eregon (Benoit Daloze)
07:48 PM Feature #19435: Expose counts for each GC reason in GC.stat
byroot (Jean Boussier) wrote in #note-3:
> Our initial patch had those but I removed it to limit the number of extra...
Eregon (Benoit Daloze)
07:43 PM Misc #19429: DevMeeting-2023-03-09
* [Feature #19440] Deprecate ThreadGroup (eregon)
* Thoughts?
* If disagree, how do we put the Timeout thread i...
Eregon (Benoit Daloze)
07:41 PM Feature #19440 (Open): Deprecate ThreadGroup
I looked at the ThreadGroup methods, and none of them seem really useful.
`enclose` has super confusing semantics,...
Eregon (Benoit Daloze)
07:25 PM Revision 70d84a5f (git): [ruby/timeout] Simplify test
https://github.com/ruby/timeout/commit/db017da726 Eregon (Benoit Daloze)
07:25 PM Revision 610375ed (git): [ruby/timeout] Don't move the timer_thread when it's enclosed
Don't move the timer_thread to ThreadGroup::Default, when it's
created in an enclosed ThreadGroup.
Prevents the excep...
Rick Blommers
07:24 PM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
People are still hitting issues here due to an incorrect gemspec for the debug gem being shipped with Ruby 3.2.1 so I... deivid (David Rodríguez)
07:05 PM Revision 8943b0d4 (git): YJIT: `Kernel#{is_a?,instance_of?}` fast paths (GH-7297)
Co-authored-by: Maxime Chevalier-Boisvert <[email protected]>
Co-authored-by: Alan Wu <XrXr@users....
Jimmy Miller
06:22 PM Bug #19438: Ruby 2.7 -> 3.2 Performance Regression in so_k_nucleotide benchmark
Oh, I'm sorry, I misread your benchmark and thought it was a CSV based benchmark, I now see it's radically different,... byroot (Jean Boussier)
06:20 PM Bug #19438: Ruby 2.7 -> 3.2 Performance Regression in so_k_nucleotide benchmark
CSV being a gem, it's very likely that the regression isn't in ruby itself, but in the successive versions of the csv... byroot (Jean Boussier)
01:30 PM Bug #19438 (Open): Ruby 2.7 -> 3.2 Performance Regression in so_k_nucleotide benchmark
## Introduction
Recently I had been going through some of the old benchmarks in the [Ruby Great Implementation Sho...
nick.schwaderer (Nicholas Schwaderer)
05:04 PM Bug #19439: Marshal.load doesn't load Regexp instance variables
As a note, if CRuby plans to make all Regexp immutable & no subclass instances (like TruffleRuby already does), then ... Eregon (Benoit Daloze)
04:01 PM Bug #19439 (Closed): Marshal.load doesn't load Regexp instance variables
Hello, I've noticed this strange behaviour:
```ruby
source_object = Regexp.new("a")
source_object.instance_varia...
andrykonchin (Andrew Konchin)
04:47 PM Revision ae2340c9 (git): Refactor / document instance variable debug counters
This commit is refactoring and documenting the debug counters related to
instance variables.
tenderlovemaking (Aaron Patterson)
03:45 PM Feature #19437: Add marking and sweeping time to GC.stat
Hey Robert, I appreciate your excitement, but could you please refrain from commenting unless it's meaningfully contr... AMomchilov (Alexander Momchilov)
02:56 AM Feature #19437: Add marking and sweeping time to GC.stat
\o/ rubyFeedback (robert heiler)
03:00 PM Revision 847a0df0 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP#get
(https://github.com/ruby/net-http/pull/121)
https://github.com/ruby/net-http/commit/51b9af1eed
burdettelamar (Burdette Lamar)
02:53 PM Revision 3a9d5246 (git): [ruby/irb] Fix help-message (https://github.com/ruby/irb/pull/506)
https://github.com/ruby/irb/commit/a55ace0791 hasumikin (hitoshi hasumi)
02:24 PM Revision 7413079d (git): Encapsulate RCLASS_ATTACHED_OBJECT
Right now the attached object is stored as an instance variable
and all the call sites that either get or set it have...
byroot (Jean Boussier)
11:30 AM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend. byroot (Jean Boussier)
09:47 AM Revision bac4d2ee (git): Check !RCLASS_EXT_EMBEDDED instead of SIZE_POOL_COUNT == 1
It's much more self documenting and consistent byroot (Jean Boussier)
07:38 AM Feature #19430: Contribution wanted: DNS lookup by c-ares library
mame (Yusuke Endoh) wrote in #note-10:
> @akr, thank you for your comment. But sorry, I failed to get your point.
>...
akr (Akira Tanaka)
06:42 AM Revision 1f936d65 (git): `ractor_queue_enq/deq` doesn't need `rq` param
`rq` is always `r`'s queue. ko1 (Koichi Sasada)
04:45 AM Revision 413120e5 (git): Do not use `objcopy` on macOS
On macOS, it is not used to localize symbols in dynamic libraries
(libruby.dylib and libyjit.o). Instead, using `obj...
nobu (Nobuyoshi Nakada)
03:46 AM Revision fba8f778 (git): [DOC] remove redundant paragraph at set.rb (#6472)
remove redundant paragraph at set.rb tj (Thibault Jouan)
03:43 AM Revision 619af4fd (git): [DOC] Add an example of the splat operator with a non-array object (#7098)
kyanagi (Kouhei Yanagita)
03:41 AM Revision f03dd4ee (git): Refactor dir.rb sample (#6977) [ci skip]
* Refactor dir.rb sample
The original (1998) sample with a for-loop and use of case/when isn't what we'd write nowad...
Thomas R. Koll
03:26 AM Revision 3376eca8 (git): file.c: rb_file_load_ok: GC+retry on EMFILE/ENFILE/ENOMEM
`require' should make a best effort to avoid failure on
recoverable resource exhaustion errors.
Eric Wong

02/14/2023

09:31 PM Revision 15ef2b2d (git): YJIT: Optimize != for Integers and Strings (#7301)
k0kubun (Takashi Kokubun)
09:05 PM Feature #19437 (Closed): Add marking and sweeping time to GC.stat
Pull Request: https://github.com/ruby/ruby/pull/7304
There is a `time` key in GC.stat that gives us the total time...
peterzhu2118 (Peter Zhu)
08:54 PM Revision 6c558281 (git): YJIT: Check correct BOP on gen_fixnum_cmp (#7303)
k0kubun (Takashi Kokubun)
08:33 PM Revision 3c7d5ccd (git): [ruby/net-http] [DOC] Enhanced RDoc for request headers
(https://github.com/ruby/net-http/pull/120)
https://github.com/ruby/net-http/commit/b4eb8a7932
burdettelamar (Burdette Lamar)
07:58 PM Revision f4b0e8dc (git): YJIT: Pad more spaces to accommodate delimiters (#7302)
k0kubun (Takashi Kokubun)
07:32 PM Feature #18980: `it` as a default block parameter
If I recall correctly I suggested @1 @2 and so forth.
At a later time _1 _2 and so forth was added, which is not ent...
rubyFeedback (robert heiler)
05:12 PM Revision 55af69b1 (git): YJIT: Don't side-exit on too-complex shapes (#7298)
k0kubun (Takashi Kokubun)
04:09 PM Feature #19430: Contribution wanted: DNS lookup by c-ares library
@akr, thank you for your comment. But sorry, I failed to get your point.
As you said, the current resolv.rb has th...
mame (Yusuke Endoh)
08:22 AM Feature #19430: Contribution wanted: DNS lookup by c-ares library
mame (Yusuke Endoh) wrote in #note-7:
> > What about resolv.rb?
>
> Before making this proposal, I talked about...
akr (Akira Tanaka)
01:59 PM Revision e5e50609 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.61 to 0.9.64.
- [Release notes](https://github.com/oxid...
dependabot[bot]
12:40 PM Feature #19422: Make `--enabled-shared` mandatory on macOS
We discuss this feature in DevMeeting.
We will back to use `dynamic_lookup` and suppress warnings. But Apple may r...
hsbt (Hiroshi SHIBATA)
12:20 PM Feature #19197: Add Exception#root_cause
I think more complex cases like `causes` should be done manually or with a helper method, like you showed or with som... Eregon (Benoit Daloze)
12:14 PM Feature #17853: Add Thread#thread_id
FWIW, it seems the `Thread#inspect` change wasn't merged. Eregon (Benoit Daloze)
11:30 AM Bug #19427: Marshal.load(source, freeze: true) doesn't freeze in some cases
Thank you! andrykonchin (Andrew Konchin)
10:26 AM Revision 538c3b9a (git): Suppress -Wunused-but-set-variable warning
nobu (Nobuyoshi Nakada)
09:47 AM Revision ef9efcf0 (git): Check if objcopy works to localize symbol
LLVM objcopy does not support localizing symbols option, e.g,
`--localize-symbol` and `--keep-global-symbol`, for MachO.
nobu (Nobuyoshi Nakada)
06:18 AM Revision 2490b2e1 (git): Add utility macros `DECIMAL_SIZE_OF` and `DECIMAL_SIZE_OF_BYTES`
nobu (Nobuyoshi Nakada)
04:39 AM Bug #19259 (Closed): `Data#with` doesn't call `initialize` nor `initialize_copy`
Applied in changeset commit:git|45f0e3a673964069a4c9c57ce8665cbc21ac267f.
----------
[Bug #19259] `Data#with` should...
nobu (Nobuyoshi Nakada)
04:39 AM Bug #19434 (Closed): Fix YJIT compilation for Alpine Linux 3.17.2
k0kubun (Takashi Kokubun)
02:20 AM Bug #19434: Fix YJIT compilation for Alpine Linux 3.17.2
Hey Maxime. So, after you mentioned the cross-compiling issue, I got worried and ended up rebuilding my *Docker Alpin... bkuhlmann (Brooke Kuhlmann)
03:02 AM Revision 45f0e3a6 (git): [Bug #19259] `Data#with` should call `initialize` method
nobu (Nobuyoshi Nakada)
12:58 AM Revision dbe5b0dc (git): YJIT: Fix a typo in a counter name
I added `invokeblock_iseq_arg0_args_splat` counter but it wasn't used
because of a typo.
Related to https://github.c...
k0kubun (Takashi Kokubun)
 

Also available in: Atom