Project

General

Profile

Activity

From 10/14/2022 to 10/20/2022

10/20/2022

10:42 PM Feature #19071: Add Time#deconstruct, #deconstruct_keys, and #to_h
I agree with adding `deconstruct_keys` but not others (`deconstruct` and `to_h`).
* positional deconstruction forc...
matz (Yukihiro Matsumoto)
10:12 PM Revision 39f7edde (git): YJIT: Fix gen_expandarray treating argument as VALUE
The expandarray instruction interpreters its arguments as rb_num_t.
YJIT was treating the num argument as a VALUE pre...
alanwu (Alan Wu)
09:35 PM Bug #19043: Segfault on macOS 11.7 while using StringScanner in multiple threads
eightbitraptor (Matthew Valentine-House) wrote in #note-2:
> Have you tried replicating with `GC.auto_compact=true...
keithdoggett (Keith Doggett)
09:17 PM Revision 29303022 (git): YJIT: remove some stale comments [ci skip]
alanwu (Alan Wu)
07:43 PM Revision 9a0a165a (git): Check writebarrier arguments
nobu (Nobuyoshi Nakada)
07:43 PM Revision 245ad2b3 (git): YJIT: incorporate ruby_special_consts
nobu (Nobuyoshi Nakada)
06:59 PM Revision 6aed5b0c (git): Unmark Internal IV test as pending
Co-Authored-By: Aaron Patterson <[email protected]> jemmai (Jemma Issroff)
04:49 PM Bug #19053 (Closed): Build errors in the WebAssembly case
> For Invalid configuration wasm32-unknown-wasi': system wasi' not recognized error, you need to download the latest ... jaruga (Jun Aruga)
04:37 PM Bug #19053: Build errors in the WebAssembly case
> Therefore, you need to build the SDK by yourself on Fedora, then you will be able to build for WASI target.
I bu...
jaruga (Jun Aruga)
02:30 PM Bug #19053: Build errors in the WebAssembly case
> I'm not familiar with Fedora environment, but it looks like the pre-built wasi-sdk distributed in GitHub Releases i... jaruga (Jun Aruga)
03:52 PM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
Thanks for the discussion, guys.
So, I think that we need to fix the Regexp timeout's code examples at least in th...
jaruga (Jun Aruga)
05:49 AM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
Discussed at the dev meeting.
> Is it though? It's basically breaking the intent of whoever set the global Regexp.ti...
mame (Yusuke Endoh)
03:30 PM Feature #12084 (Closed): `Class#instance`
Applied in changeset commit:git|0378e2f4a8319440dd65c82b16f189161472d237.
----------
Add Class#attached_object
Impl...
ufuk (Ufuk Kayserilioglu)
04:09 AM Feature #12084: `Class#instance`
`attached_object` looks good to me. Accepted.
Matz.
matz (Yukihiro Matsumoto)
03:30 PM Revision 0378e2f4 (git): Add Class#attached_object
Implements [Feature #12084]
Returns the object for which the receiver is the singleton class, or
raises TypeError if...
ufuk (Ufuk Kayserilioglu)
02:06 PM Revision ecc6a717 (git): merge revision(s) 2d57447ae80e0b0895d6d22d606391b48516ba93:
Fix missing replacement in 1f91dcdab3b
---
template/Makefile.in | 2 +-
1 file changed, 1 i...
nagachika (Tomoyuki Chikanaga)
01:10 PM Feature #19066: Enable Scorecard Github Action
Sure, feel free to explore it. It is very simple to enable, to be honest. If you need some help, feel free to reach o... joycebrum (Joyce Brum)
08:42 AM Feature #19066 (Assigned): Enable Scorecard Github Action
Hi, @joycebrum, Thanks to introduce Scorecards.
I try to setup scorecards action on ruby/ruby repository at first.
hsbt (Hiroshi SHIBATA)
01:05 PM Revision 192bc725 (git): Define `UNDEF_P` and `NIL_OR_UNDEF_P` [EXPERIMENTAL]
nobu (Nobuyoshi Nakada)
01:05 PM Revision f55212bc (git): Move "special consts" so `Qundef` and `Qnil` differ just 1 bit
nobu (Nobuyoshi Nakada)
12:58 PM Revision 1e66d3b8 (git): Ignore manual files only commits [ci skip]
nobu (Nobuyoshi Nakada)
12:33 PM Revision 4bb62ee5 (git): merge revision(s) 6a8f1a9e5cd1c9c2b3c6925d8d3fa76a29dabf73:
Copy from bundled gem source for test
---
common.mk | 13 +++++++----
defs/gmake.m...
nagachika (Tomoyuki Chikanaga)
12:30 PM Bug #19073: openssl gem 3.0.0 problem
rhenium (Kazuki Yamaguchi) wrote in #note-3:
> Yes, openssl issues should go to the GitHub.
>
> But we need a way...
hspem (Per-Erik Martin)
12:09 PM Bug #19073 (Third Party's Issue): openssl gem 3.0.0 problem
Yes, openssl issues should go to the GitHub.
But we need a way to reproduce the problem, or at least some clues, t...
rhenium (Kazuki Yamaguchi)
11:29 AM Bug #19073: openssl gem 3.0.0 problem
retro (Josef Šimánek) wrote in #note-1:
> Can you share more details to reproduce like Dockerfile? Also if I underst...
hspem (Per-Erik Martin)
11:18 AM Bug #19073: openssl gem 3.0.0 problem
Can you share more details to reproduce like Dockerfile? Also if I understand it well, Ruby OpenSSL issues are tracke... retro (Josef Šimánek)
11:10 AM Bug #19073 (Third Party's Issue): openssl gem 3.0.0 problem
We have a server using openssl 3.0.3 (i.e. written i C).
This has worked with all kinds of different clients (ruby...
hspem (Per-Erik Martin)
12:22 PM Revision 46c2bf37 (git): merge revision(s) 87d8d25796df3865b5a0c9069c604e475a28027f:
Use configured GIT
---
common.mk | 4 ++--
defs/gmake.mk | 68 ++++++++++++++++++++++++...
nagachika (Tomoyuki Chikanaga)
12:18 PM Revision 19ef027d (git): merge revision(s) abc4a46046c326263683a8b3611775c2ddd56a71:
Get rid of building main again when test-bundled-gems
---
.github/workflows/ubuntu.yml | 1 +
...
nagachika (Tomoyuki Chikanaga)
12:16 PM Revision 5932b426 (git): merge revision(s) 071653ecd79287661c795400797a5402c4322129:
Run the prerequisites of test-bundled-gems in order
---
common.mk | 6 +++++-
defs/gmak...
nagachika (Tomoyuki Chikanaga)
12:09 PM Feature #19062 (Closed): Introduce `Fiber#locals` for shared inheritable state.
After many discussion, I think it's fair to say, `dup` by default makes the most sense, and with that model, it could... ioquatix (Samuel Williams)
06:48 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
At least it shouldn't be named `locals` since it's not **local** to a fiber.
Maybe `storage`?
Matz.
matz (Yukihiro Matsumoto)
11:30 AM Revision 72e9097d (git): merge revision(s) 4f1e0bfacd93c28bff549e2f3603c3b4942429a3:
Followed up CVE-2022-39253 for bundler examples
---
spec/bundler/cache/git_spec.rb | 3 ++...
nagachika (Tomoyuki Chikanaga)
11:30 AM Revision fbf4bec4 (git): merge revision(s) dae843f6b7502f921a7e66f39e3714a39d860181,86096a91d55f72620e0f8ca8634da5fa342dc35b:
Bypass git submodule add/update with git config
protocol.file.allow=always option.
Co-authored-by: ...
nagachika (Tomoyuki Chikanaga)
10:20 AM Feature #18559 (Closed): Allocation tracing: Objects created by the parser are attributed to Kernel.require
This was implemented by @ko1 in e35c528d721d209ed8531b10b46c2ac725ea7bf5
I tested it on our system it has the desi...
byroot (Jean Boussier)
10:09 AM Feature #19072 (Closed): Reminder: Remove ABI version suffix like "3.2.0+2" from release version
The development version of Ruby 3.2.0 added ABI version suffix like `+2`. It will remove at the final release of Ruby... hsbt (Hiroshi SHIBATA)
09:25 AM Feature #19063: Hash.new with non-value objects should be less confusing
austin (Austin Ziegler) wrote in #note-4:
> This mistake is much more common than I would have thought, and it appea...
shugo (Shugo Maeda)
02:45 AM Feature #19063: Hash.new with non-value objects should be less confusing
Summary so far
### Is there any example of `Hash.new([])` being used intentionally?
Yes. [Shugo's example](http...
mame (Yusuke Endoh)
02:41 AM Feature #19063: Hash.new with non-value objects should be less confusing
austin (Austin Ziegler) wrote in #note-8:
> Edit on a couple of these. The GitLab behaviour, and @shugo’s code both d...
shugo (Shugo Maeda)
08:38 AM Revision e35c528d (git): push dummy frame for loading process
This patch pushes dummy frames when loading code for the
profiling purpose.
The following methods push a dummy frame...
ko1 (Koichi Sasada)
08:21 AM Bug #19067 (Rejected): Module methods not usable at toplevel under wrapped script
matz (Yukihiro Matsumoto)
08:21 AM Bug #19067: Module methods not usable at toplevel under wrapped script
`load "foo.rb"` should work (similar enough) with or without wrapping module. In that sense, replacing `self` is unac... matz (Yukihiro Matsumoto)
08:11 AM Feature #18462 (Closed): Proposal to merge WASI based WebAssembly support
Updating the ticket status to say that WebAssembly/WASI support has been upstreamed by https://github.com/ruby/ruby/p... katei (Yuta Saito)
07:58 AM Misc #18987: [ANN] Sunsetting svn.ruby-lang.org
Unfortunately, we lost subversion server on svn.ruby-lang.org when I failed to migrate its server.
I will do the ...
hsbt (Hiroshi SHIBATA)
06:35 AM Bug #18998 (Closed): Kernel#Integer does not convert SimpleDelegator object expectly
Applied in changeset commit:git|7563604fb868d87057733f52d780d841fc1ab6bb.
----------
[Bug #18998] Honor `#to_str` ne...
nobu (Nobuyoshi Nakada)
06:35 AM Revision 7563604f (git): [Bug #18998] Honor `#to_str` next to `#to_int` in `Kernel#Integer`
nobu (Nobuyoshi Nakada)
06:02 AM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
For the record, I write down the concerns:
* I don't see the convenience of `Fiber.annotate`. Convince me.
* User...
matz (Yukihiro Matsumoto)
05:36 AM Revision 4f1e0bfa (git): Followed up CVE-2022-39253 for bundler examples
hsbt (Hiroshi SHIBATA)
05:30 AM Bug #19033: One-liner pattern match as Boolean arg syntax error
mame (Yusuke Endoh) wrote in #note-6:
> Note that `foo(1, 2, 3 in ary)` could be inherently ambiguous. It can be int...
baweaver (Brandon Weaver)
05:28 AM Bug #19033: One-liner pattern match as Boolean arg syntax error
Note that `foo(1, 2, 3 in ary)` could be inherently ambiguous. It can be interpreted as `foo((1, 2, 3 in ary))` or `f... mame (Yusuke Endoh)
04:16 AM Bug #19033 (Rejected): One-liner pattern match as Boolean arg syntax error
I can understand the feeling the `a in b` should be accepted as an argument expression. But in reality, it needs huge... matz (Yukihiro Matsumoto)
04:32 AM Bug #18983: Range#size for beginless Range is not nil.
I agree with inconsistency; if edges were numeric, return the count (or Infinity), otherwise it should return nil.
`...
matz (Yukihiro Matsumoto)
02:49 AM Revision 0a43a040 (git): [DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip]
Upper bits than the least significant 4 bits need not be 0. nobu (Nobuyoshi Nakada)
12:47 AM Revision b963fb25 (git): YJIT: Respect writable_addrs on --yjit-dump-iseq-disasm as well (#6596)
YJIT: Respect writable_addrs on --yjit-dump-iseq-disasm
as well
k0kubun (Takashi Kokubun)
12:45 AM Revision 2e3b764a (git): Remove a leftover comment [ci skip]
k0kubun (Takashi Kokubun)
12:38 AM Revision 7f175e56 (git): Avoid missed wakeup with fiber scheduler and Fiber.blocking. (#6588)
* Ensure that blocked fibers don't prevent valid wakeups. Samuel Williams
12:20 AM Revision d9d9005a (git): MJIT: Stop using the VM barrier for jit_cont
This solves multiple problems.
First, RB_VM_LOCK_ENTER/LEAVE is a barrier. We could at least use the
_NO_BARRIER var...
k0kubun (Takashi Kokubun)

10/19/2022

07:47 PM Feature #19071: Add Time#deconstruct, #deconstruct_keys, and #to_h
My first reaction seeing the example usage: they seem more for `Date` than `Time`, but I can see this being useful fo... bdewater (Bart de Water)
07:21 PM Feature #19071 (Closed): Add Time#deconstruct, #deconstruct_keys, and #to_h
I believe that `Time` being suitable for pattern-matching is a reasonable feature with many possible usages, which wi... zverok (Victor Shepelev)
07:36 PM Revision 0d360ee7 (git): YJIT: Skip dumping code for the other cb on --yjit-dump-disasm (#6592)
YJIT: Skip dumping code for the other cb
on --yjit-dump-disasm
k0kubun (Takashi Kokubun)
06:44 PM Revision 9da0d4ca (git): YJIT: fix a #[warn(unused_parens)]
alanwu (Alan Wu)
06:06 PM Revision 0aaa6133 (git): Transition frozen string to frozen root shape
Co-Authored-By: Aaron Patterson <[email protected]> jemmai (Jemma Issroff)
06:03 PM Revision 5ca23caa (git): YJIT: fold the "asm_comments" feature into "disasm" (#6591)
Previously, enabling only "disasm" didn't actually build. Since these
two features are closely related and we don't r...
alanwu (Alan Wu)
04:29 PM Misc #18984: Doc for Range#size for Float/Rational does not make sense
I think this is a bug. Since `(0.51..5.quo(2)).count` raises a `TypeError` and `(0.51..5.quo(2)).size` is supposed to... sawa (Tsuyoshi Sawada)
03:34 PM Revision bc939d29 (git): [DOC] More about line number (#6582)
burdettelamar (Burdette Lamar)
03:33 PM Revision c32180d5 (git): [ruby/stringio] [DOC] Enhanced RDoc for StringIO
(https://github.com/ruby/stringio/pull/35)
Treated:
- #getc
- #getbyte
- #ungetc
- #ungetbyte
- #readchar
- #readbyt...
burdettelamar (Burdette Lamar)
02:54 PM Revision eeea633e (git): Stop zeroing memory on allocation / copy
Shapes gives us an almost exact count of instance variables on an
object. Since we know the number of instance varia...
tenderlovemaking (Aaron Patterson)
01:55 PM Revision 412e3c7a (git): Assert for RTEST that Qnil and Qfalse differ just 1 bit
nobu (Nobuyoshi Nakada)
01:20 PM Revision 1db6249c (git): merge revision(s) 1f91dcdab3b530dde93fa29fba8bf60683cd8056:
Define BOOTSTRAPRUBY from HAVE_BASERUBY
---
common.mk | 1 +
configure.ac ...
nagachika (Tomoyuki Chikanaga)
01:03 PM Revision 86096a91 (git): [rubygems/rubygems] Use [] instead of double-quotes
hsbt (Hiroshi SHIBATA)
12:10 PM Revision a25c0338 (git): Suppress warning for fgrep
>fgrep: warning: fgrep is obsolescent; using ggrep -F hsbt (Hiroshi SHIBATA)
11:51 AM Feature #19063: Hash.new with non-value objects should be less confusing
baweaver (Brandon Weaver) wrote in #note-29:
> I would also be very positive of this change, potentially for Array a...
Eregon (Benoit Daloze)
12:52 AM Feature #19063: Hash.new with non-value objects should be less confusing
etienne (Étienne Barrié) wrote in #note-24:
> While I like the idea of checking the arity of the block, maybe the co...
baweaver (Brandon Weaver)
12:39 AM Feature #19063: Hash.new with non-value objects should be less confusing
austin (Austin Ziegler) wrote in #note-4:
> **Note**: At least two of the examples later use `hash[key] |= values`, ...
nobu (Nobuyoshi Nakada)
12:34 AM Feature #19063: Hash.new with non-value objects should be less confusing
Adding a new element in the default proc will add by just referencing.
I'm not for doing it implicitly.
nobu (Nobuyoshi Nakada)
11:42 AM Feature #19070: Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methods
Doesn't `Ripper.lex` already provide this information? Eregon (Benoit Daloze)
10:20 AM Feature #19070 (Closed): Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methods
# Background
Implementation for Language Server Protocol (LSP) sometimes needs token information. For example both...
yui-knk (Kaneko Yuichiro)
11:34 AM Revision dae843f6 (git): Bypass git submodule add/update with git config protocol.file.allow=always option.
Co-authored-by: Nobuyoshi Nakada <[email protected]> hsbt (Hiroshi SHIBATA)
10:49 AM Revision 567725ed (git): Fix and improve coroutines for Darwin (macOS) ppc/ppc64. (#5975)
Sergey Fedorov
05:53 AM Revision fc3137ef (git): Add support for anonymous shared IO buffers. (#6580)
Samuel Williams
04:19 AM Feature #19069: Default value assignment with `Hash.new` in block form
@nobu (Nobuyoshi Nakada) I interpret that your concern is that the hash will grow endlessly by random referencing (un... sawa (Tsuyoshi Sawada)
12:33 AM Feature #19069: Default value assignment with `Hash.new` in block form
Adding a new element in the default proc will add by just referencing.
I'm not for doing it implicitly, and ditto fo...
nobu (Nobuyoshi Nakada)
03:37 AM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
> And if we use its naming convention for the 4 colours, they'll be:
> Default items' foreground color: foreground_c...
k0kubun (Takashi Kokubun)
02:27 AM Feature #19061: Proposal: make a concept of "consuming enumerator" explicit
zverok (Victor Shepelev) wrote in #note-3:
> `File#each_line` is consuming by design, if I understand correctly.
...
mame (Yusuke Endoh)
12:14 AM Revision f982a263 (git): [DOC] Fix typo in Enumerable#slice_before
kyanagi (Kouhei Yanagita)
12:12 AM Revision 18b96d8a (git): [ruby/stringio] [DOC] StringIO doc enhancements
(https://github.com/ruby/stringio/pull/33)
Treated:
- ::new
- ::open
- #string
- #string=
- #close
- #close_read
- #...
burdettelamar (Burdette Lamar)
12:11 AM Revision 1654f88c (git): sync_default_gems.rb: commit all after replaced rdoc-ref [ci skip]
nobu (Nobuyoshi Nakada)

10/18/2022

11:52 PM Revision 01d56b99 (git): [DOC] Fix rdoc-ref
nobu (Nobuyoshi Nakada)
09:33 PM Bug #19041: Weakref is still alive after major garbage collection
tenderlovemaking (Aaron Patterson) wrote in #note-7:
> That method may not be putting the object in a register. Som...
parker (Parker Finch)
08:03 PM Revision 12c30f21 (git): Fixes remaining issues and turns back on dead code and unused (#6584)
Jimmy Miller
06:41 PM Revision 6bd72a64 (git): [DOC] Enhanced RDoc for StringIO (#34)
Treated:
- #lineno
- #lineno=
- #binmode
- #reopen
- #pos
- #pos=
- #rewind
- #seek
- #sync
- #each_byte
burdettelamar (Burdette Lamar)
06:19 PM Revision b2ba71df (git): Code clean around unused code for some architectures or features (#6581)
Jimmy Miller
05:49 PM Feature #19061: Proposal: make a concept of "consuming enumerator" explicit
mame (Yusuke Endoh) wrote in #note-2:
> But it introduces yet another new type of Enumerator (unrewindable Enumerato...
Dan0042 (Daniel DeLorme)
12:05 PM Feature #19061: Proposal: make a concept of "consuming enumerator" explicit
For problem 1 you can check if an IO is seekable, and this would tell you whether you could restart from the beginning. ioquatix (Samuel Williams)
11:18 AM Feature #19061: Proposal: make a concept of "consuming enumerator" explicit
> Here is my understanding
This is correct.
> Problem 1: The consuming flag depends on the underlying IO
Tha...
zverok (Victor Shepelev)
08:06 AM Feature #19061: Proposal: make a concept of "consuming enumerator" explicit
Here is my understanding:
```ruby
[1, 2, 3].each.consuming? #=> false
$stdin.each_line.consuming? #=> true
# A us...
mame (Yusuke Endoh)
04:07 PM Revision e7166c9b (git): Allow passing a Rust closure to rb_iseq_callback (#6575)
k0kubun (Takashi Kokubun)
03:56 PM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
If we want to establish naming convention based on terminal apps, I think I'd pick `iTerm2` as the reference because ... st0012 (Stan Lo)
03:16 PM Revision d67b6310 (git): [DOC] Link to packed data doc (#6567)
* Link to packed data doc
* Update pack.rb
Co-authored-by: Peter Zhu <[email protected]>
* Update pack.rb
Co-auth...
burdettelamar (Burdette Lamar)
02:45 PM Bug #19065: ruby 3.1.2 is printing all class variables for undefined error
Ok thanks for the info
Varun (Sai Varun)
01:50 PM Revision 3e05dff6 (git): merge revision(s) 6a43245e6cda89eddd105f5a6e0182a7229657af:
Use BOOTSTRAPRUBY_COMMAND instead of fake.rb directly
---
common.mk | 2 +-
1 file changed,...
nagachika (Tomoyuki Chikanaga)
01:27 PM Revision 671811a8 (git): merge revision(s) d8f81ffdff668b457339885c15d7cee785ad38be:
builtin.c includes mini_builtin.c when cross-compiling
---
common.mk | 3 +++
1 file change...
nagachika (Tomoyuki Chikanaga)
12:50 PM Revision 75539c2d (git): merge revision(s) 85a483169f8381bec08ff2c9a9fc66167fc8a84a:
Use cross compiling settings as fake.rb for snapshots
---
tool/make-snapshot | 2 +-
1 file...
nagachika (Tomoyuki Chikanaga)
12:48 PM Revision 5f8c6549 (git): merge revision(s) 76664905a589416739a13241e7b8535d78984723:
Ignore fake.rb for snapshot
---
common.mk | 6 +++---
1 file changed, 3 insertions(+), 3 de...
nagachika (Tomoyuki Chikanaga)
12:47 PM Revision c65bdad1 (git): merge revision(s) 45004bba6b4fa22429b1c45f13444a894874c41e:
fake.rb needs id.h
---
common.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
nagachika (Tomoyuki Chikanaga)
12:46 PM Revision 09c8604b (git): merge revision(s) 2767cb282531be10c6393d3d7c48fcdd2935ca4d:
Now fake.rb is needed to prepare sources
---
tool/make-snapshot | 1 +
1 file changed, 1 in...
nagachika (Tomoyuki Chikanaga)
12:46 PM Revision 9b1cf2c2 (git): merge revision(s) 762fca9b12b9cfb0159404c95ee4275100169c17:
Prefer `File` class methods to write a string
---
tool/make-snapshot | 23 ++++++++++-------------
...
nagachika (Tomoyuki Chikanaga)
12:44 PM Revision fbebe493 (git): merge revision(s) a01271c1c46079cb6f7f32051f1253cf3d9bca6b:
BOOTSTRAPRUBY needs fake.rb when cross-compiling
---
configure.ac | 1 +
1 file changed, 1 ...
nagachika (Tomoyuki Chikanaga)
12:44 PM Revision fed41160 (git): merge revision(s) 7b11247b4dc6b04c3ba3876009145ce0dbf78662:
Fix potential target type confliction [ci skip]
---
common.mk | 2 +-
1 file changed, 1 ins...
nagachika (Tomoyuki Chikanaga)
12:42 PM Revision 8e74bfb6 (git): merge revision(s) 7c67d0fd79a3cffe857587fa3cf576b611023840:
Make sources by BASERUBY if available instead of miniruby
---
common.mk | 25 ++++++++++...
nagachika (Tomoyuki Chikanaga)
12:40 PM Revision 0bdf9c4e (git): merge revision(s) 21a5da3c4c803987c48bc9ca588948c50715631a:
Check if MSys shell can run a command with a drive letter
---
configure.ac | 10 ++++++++--
...
nagachika (Tomoyuki Chikanaga)
12:32 PM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> One of the problems I'm trying to solve is behavioural changes due to the internal fiber of enumerator. Can you pro... Eregon (Benoit Daloze)
12:06 PM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> So in the context of creating a fiber, it's 30% slower. That's quite significant.
It's less than that on my mach...
byroot (Jean Boussier)
11:55 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
```
Warming up --------------------------------------
baseline 287.720k i/100ms
locals-dup...
ioquatix (Samuel Williams)
11:44 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
Sorry but that's not remotely a good benchmark. We're talking about a potential overhead, so it has to be considered ... byroot (Jean Boussier)
11:26 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
If we were concerned about having a separate but similarly inheritable scope for Threads, maybe we should have this m... ioquatix (Samuel Williams)
11:20 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> It's extremely negligible.
Okay, good to know.
```ruby
require 'benchmark'
locals = {a: 1, b: 2, c: 3}
...
ioquatix (Samuel Williams)
11:05 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> It's not thread unsafe to update the locals in Ruby because of the GVL.
We should not design general semantics b...
Eregon (Benoit Daloze)
10:37 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> I'm concerned about the memory and performance cost of calling dup per fiber.
It's extremely negligible.
> I'...
byroot (Jean Boussier)
10:15 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
Thanks for your examples. I agree there are different ways to solve this problem.
The key model I'm trying to intr...
ioquatix (Samuel Williams)
08:14 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> this is more logical?
What is logical to me is to behave like POSIX environment variables. When you spawn a new...
byroot (Jean Boussier)
12:27 PM Revision 5e901758 (git): merge revision(s) 26054c74619d36b2781e872fad15a1a0bfab1be1:
Fix paths of exts.mk to clean
exts.mk files are one level under the top of extension directories.
--...
nagachika (Tomoyuki Chikanaga)
12:27 PM Revision b4f8f4ce (git): merge revision(s) 77f3f8a1d4f45d06df6cfea2bac3a67867c19efb:
exts.mk.tmpl: propagate MINIRUBY to enc.mk even though invoking from
exts.mk
This is another attemp...
nagachika (Tomoyuki Chikanaga)
12:05 PM Bug #19067: Module methods not usable at toplevel under wrapped script
This is actually even confusing prior to the recent change:
> If the optional wrap parameter is true, the loaded s...
shioyama (Chris Salzberg)
11:11 AM Bug #19067: Module methods not usable at toplevel under wrapped script
> This is a bit incompatible, but I wonder if it is better than dealing with `Module#using`, `Module#private_method`,... shioyama (Chris Salzberg)
10:49 AM Bug #19067: Module methods not usable at toplevel under wrapped script
I think we can say the following by the same reasoning:
```ruby
# foo.rb
p self
```
```ruby
module MyModule...
mame (Yusuke Endoh)
10:21 AM Bug #19067: Module methods not usable at toplevel under wrapped script
> As an author of the target file I no longer control the nesting, which is fundamental to know the constant referenc... shioyama (Chris Salzberg)
09:56 AM Bug #19067: Module methods not usable at toplevel under wrapped script
> The documentation is unclear about what does "being executed under" mean. Without that definition, we cannot know i... shioyama (Chris Salzberg)
09:48 AM Bug #19067: Module methods not usable at toplevel under wrapped script
I have always been skeptical about the ability to pass a module to `Kernel#load`.
As an author of the target file ...
fxn (Xavier Noria)
07:53 AM Bug #19067 (Rejected): Module methods not usable at toplevel under wrapped script
```ruby
#foo.rb
module Foo
end
private_constant :Foo
```
```ruby
module MyModule; end
load "./foo.rb", MyM...
shioyama (Chris Salzberg)
12:00 PM Feature #19063: Hash.new with non-value objects should be less confusing
I opened a new issue #19069 regarding my proposal https://bugs.ruby-lang.org/issues/19063#note-15. If you have commen... sawa (Tsuyoshi Sawada)
10:51 AM Feature #19063: Hash.new with non-value objects should be less confusing
I'm also of the stance that this shouldn't surprise someone familiar with how Ruby is evaluated, but it is true that ... byroot (Jean Boussier)
09:57 AM Feature #19063: Hash.new with non-value objects should be less confusing
While I like the idea of checking the arity of the block, maybe the core issue isn't entirely with the API for `Hash.... etienne (Étienne Barrié)
11:58 AM Feature #19069 (Rejected): Default value assignment with `Hash.new` in block form
This is a spin-out from #19063, and is a recapture of my comment https://bugs.ruby-lang.org/issues/19063#note-15.
...
sawa (Tsuyoshi Sawada)
09:41 AM Misc #19040: DevMeeting-2022-10-20
- [Feature #19066] Enable Scorecard Github Action
- I don't know the details, but at first sight, it seems worth doing
duerst (Martin Dürst)
08:54 AM Misc #19040: DevMeeting-2022-10-20
* [Feature #19068] Upgrades required Bison version for development
* Change set is only improvement of yydebug opti...
yui-knk (Kaneko Yuichiro)
08:06 AM Misc #19040: DevMeeting-2022-10-20
- [Bug #19067] Module methods not usable at toplevel under wrapped script
- Similar to #18960
- Based on my under...
shioyama (Chris Salzberg)
08:52 AM Feature #19068 (Closed): Upgrades required Bison version for development
# Background
Printing node type, e.g. `NODE_LIT`, for `yydebug` option is helpful when developing parse.y.
Befo...
yui-knk (Kaneko Yuichiro)
08:44 AM Revision 1b235dcf (git): Ignore manual files only commits [ci skip]
nobu (Nobuyoshi Nakada)
08:43 AM Revision e1ca90c2 (git): sync_default_gems.rb: fold too long subject [ci skip]
Line with substituted issue references with URLs are often very long.
Although Git (and GitHub) recommends folding su...
nobu (Nobuyoshi Nakada)
08:22 AM Revision 93d73cfe (git): Update default gems list at dffca50bb609661f04660221834c48 [ci skip]
git[bot]
08:21 AM Revision dffca50b (git): [ruby/fiddle] Free closures immediately
(https://github.com/ruby/fiddle/pull/109)
These structs don't need to be freed as part of finalization, so lets
free...
tenderlovemaking (Aaron Patterson)
08:21 AM Revision e84ea4af (git): [ruby/fiddle] Add support for linker script on Linux
GitHub: fix https://github.com/ruby/fiddle/pull/107
Reported by nicholas a. evans. Thanks!!!
https://github.com/rub...
Sutou Kouhei
08:21 AM Revision 93da67d4 (git): [ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64
(https://github.com/ruby/fiddle/pull/105)
Fixes [Bug #18645]
https://github.com/ruby/fiddle/commit/9a5a1dab1d
glaubitz (John Paul Adrian Glaubitz)
08:21 AM Revision 08ec6562 (git): [ruby/fiddle] Bump version
Sutou Kouhei
08:21 AM Revision 091e3522 (git): fiddle: use the old rb_ary_tmp_new() alias
Fiddle is a gem and has the external upstream which supports older
versions of Ruby.
nobu (Nobuyoshi Nakada)
07:55 AM Feature #19024: Proposal: Import Modules
> there's a lot of sharp edges
I consider the first one a bug, thanks for identifying it. I've filed an issue for ...
shioyama (Chris Salzberg)
07:54 AM Revision 007946c2 (git): [rubygems/rubygems] Bundler: github DSL has used https protocol over git
This behavior change was done in Bundler 2.2.0.
https://github.com/rubygems/bundler/pull/7142
Signed-off-by: Takuya...
Takuya Noguchi
07:33 AM Revision f5df47d1 (git): Merge RubyGems/Bundler master
https://github.com/rubygems/rubygems/commit/6214d00b2315ed37c76b1fbc1c72f61f92ba5a65 hsbt (Hiroshi SHIBATA)
07:33 AM Revision 2ab7bb89 (git): [rubygems/rubygems] TestGemSecuritySigner#test_sign: Correct the expectation for new cert.
https://github.com/rubygems/rubygems/commit/bed360410d jprokop (Jarek Prokop)
07:33 AM Revision b7debaa8 (git): [rubygems/rubygems] TestGemSecurity#test_class_re_sign: Correct signature algorithm.
https://github.com/rubygems/rubygems/commit/e2d533591c jprokop (Jarek Prokop)
07:33 AM Revision cbddc913 (git): [rubygems/rubygems] Set Subject Key Identifier in test to correspond to the new certificate.
https://github.com/rubygems/rubygems/commit/3a607f43d1 jprokop (Jarek Prokop)
07:33 AM Revision cb63a3f4 (git): [rubygems/rubygems] Materialize platforms strictly on Windows too
https://github.com/rubygems/rubygems/commit/ab11545f80 deivid (David Rodríguez)
07:33 AM Revision 4d3dbbe7 (git): [rubygems/rubygems] Remove unnecessary receiver
https://github.com/rubygems/rubygems/commit/ba9d9b1890 deivid (David Rodríguez)
07:33 AM Revision 74dbb0d0 (git): [rubygems/rubygems] Remove unnecessary generic
I didn't realize how the `Bundler::GemHelpers.generic` method works when
I added this. It already matches this and ot...
deivid (David Rodríguez)
07:33 AM Revision 5fa18a7b (git): [rubygems/rubygems] Fix bad spec wording
https://github.com/rubygems/rubygems/commit/06faad1e05 deivid (David Rodríguez)
07:33 AM Revision e956caea (git): [rubygems/rubygems] Extract matcher for slow perf spec
https://github.com/rubygems/rubygems/commit/1c0eb63c6a deivid (David Rodríguez)
07:33 AM Revision 56ad7969 (git): [rubygems/rubygems] Simplify fetching spec group dependencies
https://github.com/rubygems/rubygems/commit/62c2edd255 deivid (David Rodríguez)
07:33 AM Revision 804ae4ea (git): [rubygems/rubygems] Simplify SpecGroup creation
https://github.com/rubygems/rubygems/commit/788e46e152 deivid (David Rodríguez)
07:33 AM Revision 67de0005 (git): [rubygems/rubygems] Inline helper method
https://github.com/rubygems/rubygems/commit/e60459d6b6 deivid (David Rodríguez)
07:33 AM Revision b99010f9 (git): [rubygems/rubygems] Use `flat_map`
https://github.com/rubygems/rubygems/commit/b31308fb4c deivid (David Rodríguez)
07:33 AM Revision 71dede38 (git): [rubygems/rubygems] Remove one more `expand_dependencies` call
https://github.com/rubygems/rubygems/commit/996fd81871 deivid (David Rodríguez)
07:33 AM Revision cef7f6b2 (git): [rubygems/rubygems] Remove now unnecessary parameter to `expand_dependencies`
We just call it once for resolution, so we can simplify things.
https://github.com/rubygems/rubygems/commit/99c144fbe3
deivid (David Rodríguez)
07:33 AM Revision 8c4bd1e5 (git): [rubygems/rubygems] Remove another `expand_dependencies` instance
https://github.com/rubygems/rubygems/commit/33769ddb07 deivid (David Rodríguez)
07:33 AM Revision 60670b16 (git): [rubygems/rubygems] Remove another unnecessary dependency expansion
https://github.com/rubygems/rubygems/commit/b4a0fcd2d2 deivid (David Rodríguez)
07:33 AM Revision 0b6f2af3 (git): [rubygems/rubygems] Avoid unnecessary dependency expansion
https://github.com/rubygems/rubygems/commit/426748ed06 deivid (David Rodríguez)
07:33 AM Revision da1981fc (git): [rubygems/rubygems] Remove unused parameter to `SharedHelpers.pretty_dependency`
https://github.com/rubygems/rubygems/commit/665051d085 deivid (David Rodríguez)
07:33 AM Revision 4205190c (git): [rubygems/rubygems] Remove dead code
https://github.com/rubygems/rubygems/commit/999b644708 deivid (David Rodríguez)
06:03 AM Revision 931bcd1b (git): [ruby/irb] Assert lvars_code doesn't include \n
Removing /\A.+\n/ could have an unexpected impact, depending on how
RubyLex.generate_local_variables_assign_code is i...
k0kubun (Takashi Kokubun)
05:44 AM Revision a09f764c (git): [ruby/irb] Always use local variables in current context to parse code (https://github.com/ruby/irb/pull/397)
* Use local_variables for colorize, code_block_open check, nesting_level and assignment_expression check
* Check if ...
tompng (tomoya ishida)
05:30 AM Revision 344e6c91 (git): [ruby/irb] Fix code terminated check with heredoc and backtick (https://github.com/ruby/irb/pull/390)
* Fix backtick method def method call handled as backtick open
* Fix handling heredoc in check_string_literal
* Sor...
tompng (tomoya ishida)
04:16 AM Revision 134acf98 (git): ruby/ruby-commit-hook has been renamed [ci skip]
to ruby/git.ruby-lang.org k0kubun (Takashi Kokubun)
02:37 AM Revision ab3b1b23 (git): sync_default_gems.rb: fix links to GitHub issues
- Substitute `GH-xxxx` which does not contain `#` too.
- Split each substitutions.
nobu (Nobuyoshi Nakada)
02:25 AM Bug #19042 (Closed): Bug: Dir.glob ignores subdirectories in alternation when alternation is preceded by recursive directory pattern
Applied in changeset commit:git|329d5424a479bb08e75bd750c51a5382e382731c.
----------
[Bug #19042] Fix Dir.glob brace...
h.shirosaki (Hiroshi Shirosaki)
12:18 AM Revision 329d5424 (git): [Bug #19042] Fix Dir.glob brace with '/'
Dir.glob brace pattern with '/' after '**' does not match
paths in recursive expansion process.
We expand braces with...
h.shirosaki (Hiroshi Shirosaki)

10/17/2022

10:37 PM Revision 995bdd69 (git): Try --x-use-aria2 for better retries (#6574)
to possibly deal with failures like https://ci.appveyor.com/project/ruby/ruby/builds/45097615.
I'm not sure how vcpk...
k0kubun (Takashi Kokubun)
09:58 PM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> Even if the "locals hash" is copied when a new fiber is created, you can still have the behavior your want by stori... ioquatix (Samuel Williams)
08:05 PM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> Here is a short example of what I want:
That example makes very little sense to me:
- How is this a "local"...
byroot (Jean Boussier)
07:57 PM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
Here is a short example of what I want:
```ruby
Fiber[:count] = 0
enumerator = Enumerator.new do |y|
10.times do ...
ioquatix (Samuel Williams)
07:42 PM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
The only thing I really care about is an efficient way to implicitly share specific state within an execution context... ioquatix (Samuel Williams)
11:49 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
ioquatix (Samuel Williams) wrote in #note-17:
> > It would be a semantic bug if adding a new local in a child fiber a...
Eregon (Benoit Daloze)
11:48 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> ActiveRecord connections are thread safe
Again, "thread safe" is a very loaded term. It just means that things w...
byroot (Jean Boussier)
11:12 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
ActiveRecord connections are thread safe, and it makes total sense to me that an enumerator might like to run in the ... ioquatix (Samuel Williams)
10:55 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> No, it's not bad to share a DB connection between threads, if the DB connection itself is thread safe
"Thread sa...
byroot (Jean Boussier)
10:48 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> It would be a semantic bug if adding a new local in a child fiber affects a parent fiber as @byroot (Jean Boussier)... ioquatix (Samuel Williams)
10:29 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
For sure we need the `.dup` on the internal hash used for storage when inheriting it to a new Fiber.
It would be a s...
Eregon (Benoit Daloze)
09:44 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
Okay, with this small change, we can propagate locals across threads: https://github.com/ruby/ruby/pull/6566/commits/... ioquatix (Samuel Williams)
09:30 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
Just for my own note:
```ruby
struct rb_execution_context_struct {
/* storage (ec (fiber) local) */
str...
ioquatix (Samuel Williams)
09:18 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> Well same than for your Fiber example, but with threads.
I don't think we should introduce `Thread#locals` because...
ioquatix (Samuel Williams)
08:42 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> I think of that more of a design choice rather than an outright issue.
Of course. But it is generally considered...
byroot (Jean Boussier)
08:27 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> If you simply inherit this hash, a child fiber changing Something.current would change it in its parent, sibling an... ioquatix (Samuel Williams)
08:23 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> Can you give an example of the problem caused by mutability?
Sure, you can look at how `ActiveSupport::IsolatedE...
byroot (Jean Boussier)
07:50 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
> The problem however is the semantic. If all the values in Fiber.locals are immutable, it's quite painless, but if t... ioquatix (Samuel Williams)
07:40 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
So that is indeed a need that arise when you start using fibers or even threads. Existing Ruby code rely a lot on Fib... byroot (Jean Boussier)
07:01 AM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
Seems pretty different from the thread local storage.
Intentional?
nobu (Nobuyoshi Nakada)
09:47 PM Revision b54c8ba8 (git): Simplified rb_obj_copy_ivar implementation
jemmai (Jemma Issroff)
09:32 PM Revision 1865ed4a (git): Fix an outdated notification message
https://github.com/ruby/ruby/commit/0d7292ec734d49def118959d6a80588e7c0f7a39 k0kubun (Takashi Kokubun)
09:14 PM Revision 1c83469f (git): [ruby/irb] Remove unnecessary coloring support check
https://github.com/ruby/irb/commit/ddd7dbe2c5 st0012 (Stan Lo)
07:13 PM Feature #19066 (Closed): Enable Scorecard Github Action
Hi, I am Joyce and I'm working on behalf of Google and the [Open Source Security Foundation](https://openssf.org/) to... joycebrum (Joyce Brum)
06:29 PM Feature #19063: Hash.new with non-value objects should be less confusing
@baweaver (Brandon Weaver) wrote:
> Should we open a new ticket for this shorthand Hash.new { [] } syntax?
Either w...
sawa (Tsuyoshi Sawada)
05:49 PM Feature #19063: Hash.new with non-value objects should be less confusing
I would agree that `Hash.new { [] }` would be very nice, and as mentioned has a dual in `Array.new(5) { [] }`.
Whi...
baweaver (Brandon Weaver)
03:45 PM Feature #19063: Hash.new with non-value objects should be less confusing
ioquatix (Samuel Williams) wrote in #note-16:
> The question is, are there valid use cases for `Hash.new(default_val...
jeremyevans0 (Jeremy Evans)
03:02 PM Feature #19063: Hash.new with non-value objects should be less confusing
Dan0042 (Daniel DeLorme) wrote in #note-19:
> The main downside is incompatibility with previous ruby versions. [...]...
sawa (Tsuyoshi Sawada)
01:47 PM Feature #19063: Hash.new with non-value objects should be less confusing
sawa (Tsuyoshi Sawada) wrote in #note-15:
> ```ruby
> h2 = Hash.new{|h, k| "foo"}
> h3 = Hash.new{"foo"}
>
> h2...
Dan0042 (Daniel DeLorme)
01:02 PM Feature #19063: Hash.new with non-value objects should be less confusing
This is a good idea. Even though the current behavior is "logical", and experienced rubyists have gotten so used to t... Dan0042 (Daniel DeLorme)
07:03 AM Feature #19063: Hash.new with non-value objects should be less confusing
In support of `Hash.new{default_value}`, `Array.new(count){default_value}` works in the same way. ioquatix (Samuel Williams)
06:59 AM Feature #19063: Hash.new with non-value objects should be less confusing
@sawa I appreciate your technical knowledge and insight.
However... the practical reality is the vast majority of th...
ioquatix (Samuel Williams)
06:28 AM Feature #19063: Hash.new with non-value objects should be less confusing
I can imagine why you particularly picked up (or people are more troubled with) `Hash.new` rather than `Array.new`. P... sawa (Tsuyoshi Sawada)
05:59 AM Feature #19063: Hash.new with non-value objects should be less confusing
This issue is essentially the same issue as people mistakenly writing `Array.new(5, [])` with the intention to actual... sawa (Tsuyoshi Sawada)
05:46 AM Feature #19063: Hash.new with non-value objects should be less confusing
duerst (Martin Dürst) wrote in #note-11:
> `Hash.new(my_method_returning_an_empty_array)` would behave exactly the s...
sawa (Tsuyoshi Sawada)
05:11 AM Feature #19063: Hash.new with non-value objects should be less confusing
ioquatix (Samuel Williams) wrote in #note-10:
> The current behaviour is ambiguous at best and as @austin has shown,...
duerst (Martin Dürst)
05:05 AM Feature #19063: Hash.new with non-value objects should be less confusing
sawa (Tsuyoshi Sawada) wrote in #note-9:
> 2. Your proposal 1 would break one of the very basic principles of Ruby...
duerst (Martin Dürst)
04:05 AM Feature #19063: Hash.new with non-value objects should be less confusing
The current behaviour is ambiguous at best and as @austin has shown, buggy and incorrect at worst / in practice.
I...
ioquatix (Samuel Williams)
03:37 AM Feature #19063: Hash.new with non-value objects should be less confusing
baweaver (Brandon Weaver) wrote in #note-5:
> Then what would qualify as a proof?
I don't think it is provable. That...
sawa (Tsuyoshi Sawada)
03:25 AM Feature #19063: Hash.new with non-value objects should be less confusing
Edit on a couple of these. The GitLab behaviour, and @shugo’s code both do `hash[key] |= value_list`, so they *do* ef... austin (Austin Ziegler)
03:16 AM Feature #19063: Hash.new with non-value objects should be less confusing
sawa (Tsuyoshi Sawada) wrote in #note-2:
> > When people use Hash.new([]) they mean Hash.new { |h, k| h[k] = [] }.
...
austin (Austin Ziegler)
03:04 AM Feature #19063: Hash.new with non-value objects should be less confusing
> austin (Austin Ziegler) wrote in #note-4:
> So this is *very* widespread, and experienced Rubyists make this mista...
baweaver (Brandon Weaver)
03:01 AM Feature #19063: Hash.new with non-value objects should be less confusing
> For note, coming up with a lot of examples pointing towards that is not a proof.
Then what would qualify as a pr...
baweaver (Brandon Weaver)
02:56 AM Feature #19063: Hash.new with non-value objects should be less confusing
This mistake is much more common than I would have thought, and it appears in some fairly large projects (not everyon... austin (Austin Ziegler)
02:54 AM Feature #19063: Hash.new with non-value objects should be less confusing
sawa (Tsuyoshi Sawada) wrote in #note-2:
> > When people use Hash.new([]) they mean Hash.new { |h, k| h[k] = [] }.
> ...
baweaver (Brandon Weaver)
02:47 AM Feature #19063: Hash.new with non-value objects should be less confusing
> When people use Hash.new([]) they mean Hash.new { |h, k| h[k] = [] }.
I don't think so. Can you prove it? For note...
sawa (Tsuyoshi Sawada)
01:34 AM Feature #19063: Hash.new with non-value objects should be less confusing
@matz what do you think? ioquatix (Samuel Williams)
05:49 PM Bug #18605: Fails to run on (newer) 32bit Windows with ucrt
This (unsurprisingly) also breaks ruby on arm64 and is blocking our arm64 porting effort: https://github.com/msys2/MI... lazka (Christoph Reiter)
05:47 PM Revision f11765ae (git): YJIT: Allow --yjit-dump-disasm to dump into a file (#6552)
* YJIT: Allow --yjit-dump-disasm to dump into a file
* YJIT: Move IO implementation to disasm.rs
* YJIT: More consi...
k0kubun (Takashi Kokubun)
05:45 PM Revision 64c52c42 (git): YJIT: Interleave inline and outlined code blocks (#6460)
Co-authored-by: Alan Wu <[email protected]>
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisve...
k0kubun (Takashi Kokubun)
05:31 PM Bug #19041: Weakref is still alive after major garbage collection
parker (Parker Finch) wrote in #note-6:
> I'm still curious _why_ calling `#weakref_alive?` on the `WeakRef` seems t...
tenderlovemaking (Aaron Patterson)
04:27 PM Revision e7c71c6c (git): Make mjit_cont sharable with YJIT (#6556)
* Make mjit_cont sharable with YJIT
* Update dependencies
* Update YJIT binding
k0kubun (Takashi Kokubun)
04:26 PM Revision 07a93b1e (git): YJIT: Do not call `mprotect` when `mem_size` is zero (#6563)
This allows x86_64 based YJIT to run on Docker Desktop on Apple silicon (arm64)
Mac because it will avoid a subtle be...
Tatsuya Kawano
04:12 PM Feature #17576: Partial Functions (procs, lambdas)
Isn't the topic starter talking about pattern arguments for function? This is something I'm personally looking frowar... pyromaniac (Arkadiy Zabazhanov)
04:11 PM Revision ad3d210b (git): YJIT: call free_block to cleanup block when out of memory
The commented out instance of free_block() is left over from the port.
The addition in gen_single_block() was a place...
alanwu (Alan Wu)
03:23 PM Revision 637144b8 (git): Adjust indents [ci skip]
nobu (Nobuyoshi Nakada)
02:56 PM Feature #18982 (Closed): Add an `exception: false` argument for Queue#push, Queue#pop, SizedQueue#push and SizedQueue#pop
Applied in changeset commit:git|60defe0a68a40d1b3225cf6b971ea195e19ae2e2.
----------
thread_sync.c: Clarify and docu...
byroot (Jean Boussier)
02:56 PM Revision 60defe0a (git): thread_sync.c: Clarify and document the behavior of timeout == 0
[Feature #18982]
Instead of introducing an `exception: false` argument to have `non_block`
return nil rather than ra...
byroot (Jean Boussier)
02:38 PM Revision 7db29de0 (git): [ruby/openssl] add document-method for BN#mod_inverse
https://github.com/ruby/openssl/commit/5befde7519 Ben Toews
02:38 PM Revision 149cb049 (git): [ruby/openssl] add BN#mod_sqrt
https://github.com/ruby/openssl/commit/4619ab3e76 Ben Toews
02:38 PM Revision e037731c (git): [ruby/openssl] define BIGNUM_2cr macro for BN function that takes context and
returns a BN
https://github.com/ruby/openssl/commit/4d0971c51c
Ben Toews
09:36 AM Revision f6bf5e2c (git): Respect `USE_COMMON_RANDOM` macro by a command line option [ci skip]
nobu (Nobuyoshi Nakada)
09:36 AM Revision b584c106 (git): Fix debug messages [ci skip]
nobu (Nobuyoshi Nakada)
09:36 AM Revision f08fcd0e (git): Fix possible use of undefined macros on very old macOS [ci skip]
nobu (Nobuyoshi Nakada)
07:57 AM Bug #19065 (Closed): ruby 3.1.2 is printing all class variables for undefined error
I think this is a duplicate of #18285.
Since Ruby 3.0.0, an error message of UndefinedMethod always includes all i...
mame (Yusuke Endoh)
06:57 AM Bug #19065: ruby 3.1.2 is printing all class variables for undefined error
My bad
I have used the command "ruby script"
In the error message, we are getting all the class variables printed...
Varun (Sai Varun)
06:28 AM Bug #19065 (Feedback): ruby 3.1.2 is printing all class variables for undefined error
We need how to reproduce the issue and error output at least. mame (Yusuke Endoh)
06:16 AM Bug #19065 (Closed): ruby 3.1.2 is printing all class variables for undefined error
Not sure whether this is a bug or some config issue from my side
Varun (Sai Varun)
07:43 AM Revision 85cee293 (git): Update default gems list at 6166fa612cf798930863c7cca23dc9 [ci skip]
git[bot]
07:35 AM Revision 6166fa61 (git): [ruby/openssl] Call out insecure PKCS #1 v1.5 default padding for RSA
https://github.com/ruby/openssl/commit/fd5eaa6dfc Bart de Water
07:35 AM Revision aecc470a (git): [ruby/openssl] Use default `IO#timeout` if possible.
https://github.com/ruby/openssl/commit/471340f612 Samuel Williams
07:35 AM Revision 17998ad3 (git): [ruby/openssl] Add support to SSL_CTX_set_keylog_callback
- This callback is invoked when TLS key material is generated or
received, in order to allow applications to store ...
Christophe De La Fuente
07:35 AM Revision e4b16279 (git): [ruby/openssl] ssl: fix "warning: ‘ctx’ may be used uninitialized"
The code was introduced by https://github.com/ruby/openssl/commit/65530b887e54 ("ssl: enable generating keying
materi...
rhenium (Kazuki Yamaguchi)
07:35 AM Revision 04bf83d6 (git): [ruby/openssl] bump version number to 3.1.0.pre
https://github.com/ruby/openssl/commit/fceb978a5d rhenium (Kazuki Yamaguchi)
07:35 AM Revision cd83f5b9 (git): [ruby/openssl] Ruby/OpenSSL 3.0.1
https://github.com/ruby/openssl/commit/e5bbd015dc rhenium (Kazuki Yamaguchi)
07:35 AM Revision 15a966a6 (git): [ruby/openssl] Ruby/OpenSSL 2.2.2
https://github.com/ruby/openssl/commit/de8a644bc4 rhenium (Kazuki Yamaguchi)
07:35 AM Revision 33d30a86 (git): [ruby/openssl] Ruby/OpenSSL 2.1.4
https://github.com/ruby/openssl/commit/5316241e61 rhenium (Kazuki Yamaguchi)
07:35 AM Revision b69d41e1 (git): [ruby/openssl] pkey/ec: check existence of public key component before exporting
i2d_PUBKEY_bio() against an EC_KEY without the public key component
trggers a null dereference.
This is a regression...
rhenium (Kazuki Yamaguchi)
07:35 AM Revision 0677b2fb (git): [ruby/openssl] pkey: restore support for decoding "openssl ecparam -genkey" output
Scan through the input for a private key, then fallback to generic
decoder.
OpenSSL 3.0's OSSL_DECODER supports enco...
rhenium (Kazuki Yamaguchi)
07:35 AM Revision 4fb2845c (git): [ruby/openssl] pkey: clear error queue before each OSSL_DECODER_from_bio() call
Fix potential error queue leak.
https://github.com/ruby/openssl/commit/3992b6f208
rhenium (Kazuki Yamaguchi)
07:35 AM Revision 10f93a8b (git): [ruby/openssl] pkey/dsa: let PKey::DSA.generate choose appropriate q size
DSA parameters generation via EVP_PKEY_paramgen() will not automatically
adjust the size of q value but uses 224 bits...
rhenium (Kazuki Yamaguchi)
07:35 AM Revision 65bba0ef (git): [ruby/openssl] hmac: use EVP_PKEY_new_raw_private_key() if available
Current OpenSSL 3.0.x release has a regression with zero-length MAC
keys. While this issue should be fixed in a futur...
rhenium (Kazuki Yamaguchi)
07:35 AM Revision bee383d9 (git): [ruby/openssl] x509*: fix error queue leak in #extensions= and #attributes= methods
X509at_delete_attr() in OpenSSL master puts an error queue entry if
there is no attribute left to delete. We must eit...
rhenium (Kazuki Yamaguchi)
07:35 AM Revision 79543b9a (git): [ruby/openssl] ssl: enable generating keying material from SSL sessions
Add OpenSSL::SSL::SSLSocket#export_keying_material to support RFC 5705
https://github.com/ruby/openssl/commit/65530b...
madblobfish
07:35 AM Revision a9809634 (git): [ruby/openssl] Check if the option is an Hash in `pkey_ctx_apply_options0()`
causes SEGV if it is an Array or something like that.
https://github.com/ruby/openssl/commit/ef23525210
no6v (Nobuhiro IMAI)
07:35 AM Revision c865e8d1 (git): [ruby/openssl] [CI] TestHMAC#test_dup - remove 'pend' for OpenSSL 3
https://github.com/ruby/openssl/commit/626b0434a6 MSP-Greg (Greg L)
07:35 AM Revision 5dae78b9 (git): [ruby/openssl] Pass arguments to check macro presence
X509_STORE_get_ex_new_index() is a macro, so passing just its name to
have_func() doesn't detect it. Pass an example ...
alanwu (Alan Wu)
07:35 AM Revision a211b321 (git): [ruby/openssl] Check for OpenSSL functions in headers
While building with a custom build of OpenSSL, I noticed in mkmf.log
that all the feature detection checks are done u...
alanwu (Alan Wu)
07:25 AM Revision 63234edf (git): openssl: use the old rb_ary_tmp_new() alias
openssl has to support older versions of Ruby. Undo the change in
ext/openssl/ossl_pkey_ec.c by commit efb91ff19b73 (...
rhenium (Kazuki Yamaguchi)
07:07 AM Feature #19057: Hide implementation of `rb_io_t`.
I agree with `Hide all details` but I'm more willing to compromise on the interface.
> With one tweak: not int rb_io...
ioquatix (Samuel Williams)
05:47 AM Revision b7de04d1 (git): Disable dependabot for auto-request-review for now
because you have to manually update the version tag comment.
It feels unsafe to trust third party git tags when you n...
k0kubun (Takashi Kokubun)
05:45 AM Revision bfc6c1f1 (git): Bump necojackarc/auto-request-review from 0.7.0 to 0.8.0 (#6571)
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.7.0 to 0.8.0.
- [R...
dependabot[bot]
05:44 AM Revision fb6a9656 (git): Do not run CodeQL on dependabot PRs
k0kubun (Takashi Kokubun)
05:02 AM Revision 0d7292ec (git): Leave only the oldest Visual Studio in AppVeyor (#6561)
k0kubun (Takashi Kokubun)
03:02 AM Revision 7cf37a57 (git): [DOC] Add the polar form in String#to_c
nobu (Nobuyoshi Nakada)
02:30 AM Revision e4191ac1 (git): Change a tab to spaces
yui-knk (Kaneko Yuichiro)
01:12 AM Bug #19047 (Closed): DelegateClass displays "method redefined" warning when overriding methods
Merged at https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/60610031009e60bdfe5775b0316df251ee... hsbt (Hiroshi SHIBATA)
12:50 AM Feature #19064 (Open): UDPSocket#bind does not take AddrInfo, despite documentation saying it should
https://docs.ruby-lang.org/en/master/Socket.html#method-i-bind says that this code should work:
``` ruby
require ...
mcr (Michael Richardson)

10/16/2022

10:24 PM Feature #19063 (Rejected): Hash.new with non-value objects should be less confusing
Related to #10713 and #2764.
Ruby's `Hash.new` accepts either a block or a param for its default value. In the cas...
baweaver (Brandon Weaver)
10:08 PM Feature #19062: Introduce `Fiber#locals` for shared inheritable state.
As an example of a specific use case, the <https://github.com/BMorearty/request_store-fibers> gem implements a simila... ioquatix (Samuel Williams)
10:31 AM Feature #19062 (Closed): Introduce `Fiber#locals` for shared inheritable state.
After exploring <https://bugs.ruby-lang.org/issues/19058>, I felt uncomfortable about the performance of copying lots... ioquatix (Samuel Williams)
07:55 PM Bug #19004: Complex can be nested by Complex.polar
I thought to try fixing this issue as a first contribution to Ruby. I have a proposed fix here https://github.com/rub... stevegeek (Stephen Ierodiaconou)
11:39 AM Revision 9fc7df75 (git): merge revision(s) 464f73a5f0c1042bfefdd367b330cbdcafffca95:
Do not load library files from repository only for test
What we want to test should be the bundled and to be...
nagachika (Tomoyuki Chikanaga)
10:57 AM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
> Will it raise an exception before any matching?
In code where I've implemented similar checks, I've done somethi...
ioquatix (Samuel Williams)
10:37 AM Revision c1129491 (git): merge revision(s) 64cff780051adf95a0f1799baddec98ae23e8add:
`Gem.unpack` extracts gems so able to execute
Creates simple bin stubs to load the extracted executable file...
nagachika (Tomoyuki Chikanaga)
10:33 AM Revision 174594cf (git): merge revision(s) d20886dd225e07fe14347398c2c0913f3e11d22a:
Create build-only gemspec files only if having an extension
---
tool/gem-unpack.rb | 4 ++--
...
nagachika (Tomoyuki Chikanaga)
09:31 AM Revision ba9c0d0b (git): Allow run bundled_gems manually [ci skip]
nobu (Nobuyoshi Nakada)
09:22 AM Revision 15488fc1 (git): Update bundled gems list at 2022-10-16
nobu (Nobuyoshi Nakada)
07:46 AM Revision e7b557ce (git): merge revision(s) 32d1ce96e09773e809d575c17b916012d88d6ffc:
Fix race conditions when cleaning extensions
Clean built directories by `make distclean`, and then clean lef...
nagachika (Tomoyuki Chikanaga)
07:46 AM Revision ae6f46db (git): merge revision(s) 0c9803b0fdfd17981bd9f59767adab0207c3a74d:
The "gems" build directory was rename as ".bundle"
---
common.mk | 12 ++++++------
...
nagachika (Tomoyuki Chikanaga)
07:41 AM Revision 2a0a9d56 (git): merge revision(s) 21f006f5f7c161fd3857f69186e810f1958bd7f0:
Retrieve previously configured macros also other than `extensions`
---
template/exts.mk.tmpl | 1 -
...
nagachika (Tomoyuki Chikanaga)
07:31 AM Revision ed960c67 (git): merge revision(s) d7afaf21f2edfac8a606891868a3c4a7025267bd:
Move the target directory of bundled gems like as rubygems
---
ext/extmk.rb | 6 +++++-
1 f...
nagachika (Tomoyuki Chikanaga)
07:31 AM Revision 363dc5d1 (git): merge revision(s) 17ce0b9b846a065065008b5fb2e9f8ad13058fa1:
Retrieve configured gems info
---
template/configure-ext.mk.tmpl | 2 +-
template/exts.mk.t...
nagachika (Tomoyuki Chikanaga)
07:29 AM Revision e3abdccc (git): merge revision(s) db3d111c1d1e90b400f1e737ded6a4e4bdf2cec8:
Bundled gems are expanded under `.bundle/gems` now
---
ext/extmk.rb | 13 +++++++------
...
nagachika (Tomoyuki Chikanaga)
05:22 AM Misc #19050 (Closed): [ANN] Schedule maintenance for git.ruby-lang.org
git.ruby-lang.org is backed now. I upgraded Debian 10 to 11 and instance type t2 to c5a series.
Thanks for all.
hsbt (Hiroshi SHIBATA)
02:57 AM Misc #19050: [ANN] Schedule maintenance for git.ruby-lang.org
Unfortunately, I'm still working to migrate our git server.
I'm sorry for the inconvenience to develop ruby. I'll ...
hsbt (Hiroshi SHIBATA)
04:40 AM Revision 667aa812 (git): merge revision(s) ee6cc2502664ac46edc61868d8954b626bb48e53:
Remove wrong dollar
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
nagachika (Tomoyuki Chikanaga)
02:30 AM Feature #19058: Introduce `Fiber.inheritable` attributes/variables for dealing with shared state.
Implementing the proposal efficiently would require some more work. The proposed implementation is O(number of inheri... ioquatix (Samuel Williams)

10/15/2022

10:14 PM Feature #19058: Introduce `Fiber.inheritable` attributes/variables for dealing with shared state.
Here is another interesting idea (suggested by @tenderlovemaking) which uses binding locals which more closely resemb... ioquatix (Samuel Williams)
02:52 AM Feature #19058 (Closed): Introduce `Fiber.inheritable` attributes/variables for dealing with shared state.
There are many instances of programs using globals, thread locals and fiber locals for shared state. Unfortunately th... ioquatix (Samuel Williams)
05:44 PM Revision f0654b10 (git): More precisely iterate over Object instance variables
Shapes provides us with an (almost) exact count of instance variables.
We only need to check for Qundef when an IV ha...
tenderlovemaking (Aaron Patterson)
04:57 PM Feature #17290: Syntax sugar for boolean keyword argument
I think Marc-Andre and Brandon's idea can be limited to be relevant only for receiving the parameters (in a definitio... sawa (Tsuyoshi Sawada)
03:53 PM Revision 8d20632d (git): [DOC] Packed data (#6520)
New page for packed data burdettelamar (Burdette Lamar)
03:34 PM Revision d56301c0 (git): No longer download zlib source
Although zlib package in vcpkg is still 1.2.12, it should be no
problem in ruby tests.
nobu (Nobuyoshi Nakada)
03:26 PM Revision 1e3fa634 (git): Explicitly cast to uint32_t and suppress warnings by VC
```
../src/variable.c(1440): warning C4244: 'initializing': conversion from 'double' to 'uint32_t', possible loss of ...
nobu (Nobuyoshi Nakada)
03:13 PM Feature #19045: [Proposal] Add support Data#pretty_print
nobu (Nobuyoshi Nakada) wrote in #note-4:
> `"3.2" <= RUBY_VERSION` won't work when `RUBY_VERSION` is "3.10", but pr...
osyo (manga osyo)
03:08 PM Misc #19040: DevMeeting-2022-10-20
* [Feature #19061] Proposal: make a concept of "consuming enumerator" explicit (zverok)
* Introduce an `Enumerator...
zverok (Victor Shepelev)
12:26 AM Misc #19040: DevMeeting-2022-10-20
- [Feature #19056] Introduce `Fiber.annotation` for attaching messages to fibers.
- Do we accept the proposed inter...
ioquatix (Samuel Williams)
03:00 PM Feature #19061 (Open): Proposal: make a concept of "consuming enumerator" explicit
**The problem**
Let's imagine this synthetic data:
```ruby
lines = [
"--EMAIL--",
"From: zverok.offline@gm...
zverok (Victor Shepelev)
02:09 PM Revision 9944ff54 (git): * 2022-10-15 [ci skip]
git[bot]
02:09 PM Revision 6ea1a477 (git): Upgrade zlib_version on AppVeyor
They removed https://zlib.net/zlib1212.zip because
https://zlib.net/zlib1213.zip was released :thinking_face:
Fix CI...
k0kubun (Takashi Kokubun)
02:09 PM Revision 1407149f (git): Update zlib version
nobu (Nobuyoshi Nakada)
12:34 PM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
Here is a picture of an interactive debugger (async-debug) which uses similar annotations to present useful informati... ioquatix (Samuel Williams)
12:32 AM Feature #19056: Introduce `Fiber.annotation` for attaching messages to fibers.
A counter-proposal to introduce `Fiber#name`, but this is different concept.
```
fiber = Fiber.current
fiber.nam...
ioquatix (Samuel Williams)
12:04 PM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
I agree timeout=0 should mean immediately.
It's already been proposed for `Queue#pop` and `SizedQueue#push`: https:/...
Eregon (Benoit Daloze)
04:07 AM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
ioquatix (Samuel Williams) wrote in #note-2:
> The model I've been following is this:
>
> ```ruby
> 0 # wou...
nobu (Nobuyoshi Nakada)
01:17 AM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
> That being said, if you do feel strongly about having a bypass feature, I propose using `false`.
I think "no tim...
mame (Yusuke Endoh)
12:22 AM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
The model I've been following is this:
```ruby
nil # default timeout
0 # would timeout immediately
t > 0 # ...
ioquatix (Samuel Williams)
11:02 AM Feature #19057: Hide implementation of `rb_io_t`.
I support the `Hide all details` approach.
With one tweak: not `int rb_ioptr_descriptor(struct rb_io *ioptr);` but `...
Eregon (Benoit Daloze)
02:12 AM Feature #19057: Hide implementation of `rb_io_t`.
Twitter discussion with @alanwu: <https://twitter.com/alanwusx/status/1581086330259668992> ioquatix (Samuel Williams)
01:54 AM Feature #19057 (Assigned): Hide implementation of `rb_io_t`.
In order to make improvements to the IO implementation like <https://bugs.ruby-lang.org/issues/18455>, we need to add... ioquatix (Samuel Williams)
08:43 AM Revision 7fcad1fa (git): Update `Fiber::Scheduler` documentation. (#6562)
Samuel Williams
08:38 AM Feature #11955: Expose Object that Receives logs in Logger
I'm against this proposal because I think it's solving the wrong problem.
I don't think you should assume the `Logge...
ioquatix (Samuel Williams)
08:32 AM Revision 802671cd (git): merge revision(s) 5e554d30ba747ad1b59335efaa63c7e3c94bfad0:
Upgrade zlib_version on AppVeyor
They removed https://zlib.net/zlib1212.zip because
https://zlib.net...
nagachika (Tomoyuki Chikanaga)
07:35 AM Revision 50496fb1 (git): merge revision(s) 9d900620cafc379f527ee04a338f3a7f5daf6962:
Set `GEM_PATH` environment variable in runruby.rb
---
tool/runruby.rb | 6 ++++++
1 file ch...
nagachika (Tomoyuki Chikanaga)
07:34 AM Revision cc745f2d (git): merge revision(s) 416cba90c1610f54dafd91234de9ec74d73ae22c:
Try to install also gemspec files under gem directories
Gemspec files having extension libraries are placed ...
nagachika (Tomoyuki Chikanaga)
07:33 AM Revision 95e996e3 (git): merge revision(s) 2d1032075a4654b8b54dde96424f299f7f29f9d6:
Stop `build_extensions` when DESTDIR set
Try to fix `make install without root privilege` failures on snapsh...
nagachika (Tomoyuki Chikanaga)
07:33 AM Revision fa2ddb67 (git): merge revision(s) 79fa27acc452c50ae47936880f91424e729fda72:
rbinstall: Also do `Gem.ruby` patching for unpacked bundled gems
Pointing `Gem.ruby` to the newly installed ...
nagachika (Tomoyuki Chikanaga)
07:32 AM Revision d4dadf5d (git): merge revision(s) 8a3663789c52ec5635194656af6b69d3d03120ee:
Fix bundled gems installation when relative loading
---
tool/rbinstall.rb | 10 +++++++---
...
nagachika (Tomoyuki Chikanaga)
07:32 AM Revision 578f0313 (git): merge revision(s) 7e4ac434b923739b540ce21cba307c4d0515d72e:
Skip build extensions again on cross compiling too
---
tool/rbinstall.rb | 2 +-
1 file cha...
nagachika (Tomoyuki Chikanaga)
07:32 AM Revision d3f46409 (git): merge revision(s) 3112475469e35b522448858d23ee1651532276e7:
Skip build extensions again on mswin and mingw
---
tool/rbinstall.rb | 3 +++
1 file change...
nagachika (Tomoyuki Chikanaga)
07:31 AM Revision 69f7bc86 (git): merge revision(s) 4246e102d49eae0bd1bca01fba53286ad8178d2a:
Enabled to build extensions with the bundled gems again
https://github.com/ruby/ruby/commit/cbb115213c42f156...
nagachika (Tomoyuki Chikanaga)
07:31 AM Revision 47dc4037 (git): merge revision(s) 5c1b76a3a55afeb07116bbd3492303c6b6cd890d:
Install built gem extension binaries
---
tool/rbinstall.rb | 56 ++++++++++++++++-------------------...
nagachika (Tomoyuki Chikanaga)
07:27 AM Revision 21c876d3 (git): merge revision(s) b2491783986084770f6f97552f27b868622730cf:
Install gems `lib` directory to build path
---
ext/extmk.rb | 19 +++++++++++++++++++
1 fil...
nagachika (Tomoyuki Chikanaga)
07:26 AM Revision 2d26e451 (git): merge revision(s) a2c66f52f402cb58372e271226f3341065561e53:
Make dependency-free gemspec files
The default gems have not been installed yet in the build directory,
...
nagachika (Tomoyuki Chikanaga)
07:25 AM Revision 4a986a11 (git): merge revision(s) e1a4e44f14482814a0540ae0a4b31d858ff56f53:
Extract gemspec files to each gem directories
Since extension libraries can not be built in the source direc...
nagachika (Tomoyuki Chikanaga)
07:25 AM Revision f2c28e90 (git): merge revision(s) bb0a22a8c05994396aa316c242ff8816d8d0a259:
Obey spec file locations to rubygems
---
common.mk | 3 ++-
defs/gmake.mk | 2...
nagachika (Tomoyuki Chikanaga)
07:15 AM Revision ef7cf530 (git): merge revision(s) 1150a54afe98171657869bd2eafd82fda59893b1:
Use `File::PATH_SEPARATOR` for the portability
---
tool/test-bundled-gems.rb | 6 +++---
1 ...
nagachika (Tomoyuki Chikanaga)
07:04 AM Revision 52fcb3a7 (git): Add missing `#close` call to `test_dup_timeout` test. (#6560)
Samuel Williams
07:04 AM Feature #19060 (Closed): Introduce `Fiber::Scheduler#io_select` for non-blocking `IO.select`.
It's implemented. ioquatix (Samuel Williams)
05:08 AM Feature #19060 (Closed): Introduce `Fiber::Scheduler#io_select` for non-blocking `IO.select`.
It's relatively straight forward to implement the interface for the hook, but the implementation is tricky. However, ... ioquatix (Samuel Williams)
06:59 AM Revision 8a420670 (git): Introduce `Fiber::Scheduler#io_select` hook for non-blocking `IO.select`. (#6559)
Samuel Williams
06:41 AM Bug #19038: Corruption of generic_iv_tbl when compacting
ruby_3_1 830fbb412b1c01f0a44b66a70b946d7e87feb6e5 merged revision(s) 76bae60d9b967415c5930c2c5906e14c8362a6dd. nagachika (Tomoyuki Chikanaga)
06:40 AM Revision 830fbb41 (git): merge revision(s) 76bae60d9b967415c5930c2c5906e14c8362a6dd: [Backport #19038]
[Bug #19038] Fix corruption of generic_iv_tbl when compacting
When the generic_iv_tbl is resized up, rebuild...
nagachika (Tomoyuki Chikanaga)
03:04 AM Feature #19059 (Closed): Introduce top level `module TimeoutError` for aggregating various timeout error classes.
This proposal was originally part of <https://bugs.ruby-lang.org/issues/18630> but was removed because we could not d... ioquatix (Samuel Williams)
12:52 AM Feature #15560 (Closed): Add support for read/write offsets.
I tried making a PR, but I think we should give up.
`IO#read(length, buffer, offset)` can work okay.
But doing ...
ioquatix (Samuel Williams)
12:35 AM Feature #15560: Add support for read/write offsets.
I've added this to the `IO::Buffer` interface which is good enough for my requirements.
```ruby
buffer = IO::Buff...
ioquatix (Samuel Williams)
12:14 AM Revision 1acc1a5c (git): YJIT doesn't need rb_obj_ensure_iv_index_mapping
We should make this function static and remove it from YJIT bindings. tenderlovemaking (Aaron Patterson)

10/14/2022

11:09 PM Feature #19056 (Closed): Introduce `Fiber.annotation` for attaching messages to fibers.
It's useful to know what a fiber is doing especially when they have a temporal execution (i.e. sockets connecting vs ... ioquatix (Samuel Williams)
08:04 PM Bug #19041: Weakref is still alive after major garbage collection
Thanks for that explanation @tenderlovemaking, it helps and I truly appreciate it!
One misunderstanding I had was ...
parker (Parker Finch)
07:45 PM Revision 53e0e5e8 (git): YJIT: Avoid creating payloads for non-JITed ISEQs (#6549)
* YJIT: Count freed ISEQs
* YJIT: Avoid creating payloads for non-JITed ISEQs
k0kubun (Takashi Kokubun)
07:01 PM Revision cbd3d655 (git): Add a test for transition order
We only cache the destination shape id, but that can lead to false cache
hits. This patch tests that we correctly ha...
tenderlovemaking (Aaron Patterson)
06:59 PM Revision 9a5684bf (git): Add test for ractor race condition on ivar sets
jemmai (Jemma Issroff)
05:40 PM Bug #19053: Build errors in the WebAssembly case
I'm not familiar with Fedora environment, but it looks like the pre-built wasi-sdk distributed in GitHub Releases is ... katei (Yuta Saito)
12:39 PM Bug #19053 (Closed): Build errors in the WebAssembly case
I was testing WASI feature[1][2] on Ruby 3.2.0 preview2[3] on Fedora 36 following the instruction steps[2]. Then I go... jaruga (Jun Aruga)
05:14 PM Misc #19040: DevMeeting-2022-10-20
* [Bug #19055] Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout (mame)
* How should we design the t...
mame (Yusuke Endoh)
05:13 PM Bug #19055: Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
Good catch. Currently, there is no way to specify "no timeout" by timeout keyword.
I wonder what API is preferable...
mame (Yusuke Endoh)
04:18 PM Bug #19055 (Closed): Regexp.new(regexp, timeout: nil) is intrupted by Regexp.timeout
It seems that that a code for `Regexp timeout` written in the release page[1] is actually interrupted by the `Regexp.... jaruga (Jun Aruga)
05:04 PM Revision fb99227c (git): More clippy fixes (#6547)
Jimmy Miller
04:43 PM Revision 7e81dd94 (git): Update yjit docs (#6548)
* The list of supported architectures was updated in
https://github.com/ruby/ruby/commit/5ef048e5b1c3dd61adf782ace570...
Eileen M. Uchitelle
04:32 PM Misc #19054: `else` in exception-handling context vs early return
zverok (Victor Shepelev) wrote in #note-2:
> ...e.g. NOTHING is achieved by `else` that can't be achieved by putting...
jeremyevans0 (Jeremy Evans)
04:14 PM Misc #19054: `else` in exception-handling context vs early return
Well, my pseudo-code-expressed intuition can be rather expressed like this:
```ruby
begin
# whatever happens her...
zverok (Victor Shepelev)
02:53 PM Misc #19054: `else` in exception-handling context vs early return
I think the existing behavior is expected. `else` with `rescue` operates similar to `else` with `if`. In pseudocode... jeremyevans0 (Jeremy Evans)
01:59 PM Misc #19054 (Closed): `else` in exception-handling context vs early return
`else` in exception-handling context is rarely used (at least in codebase I saw), so we encountered it just recently:... zverok (Victor Shepelev)
04:16 PM Revision 7e24ebc6 (git): Disable msystem: MINGW64 job on GitHub Actions (#6545)
k0kubun (Takashi Kokubun)
04:03 PM Revision ee6cc250 (git): Remove wrong dollar
nobu (Nobuyoshi Nakada)
03:08 PM Revision 60610031 (git): [ruby/delegate] Fix DelegateClass block "method redefined" warning
This commit prevents "method redefined" warnings when overriding methods
within a `DelegateClass` block, such as in t...
jonathanhefner (Jonathan Hefner)
12:51 PM Bug #19042: Bug: Dir.glob ignores subdirectories in alternation when alternation is preceded by recursive directory pattern
Thank you.
I made a test, and that patch seems fine.
```diff
diff --git a/test/ruby/test_dir.rb b/test/ruby/test...
nobu (Nobuyoshi Nakada)
12:35 PM Bug #19042: Bug: Dir.glob ignores subdirectories in alternation when alternation is preceded by recursive directory pattern
If brace patterns have '/', the brace would fail to match here.
https://github.com/ruby/ruby/blob/7b413c1db3e65909c6...
h.shirosaki (Hiroshi Shirosaki)
12:45 PM Revision d4162053 (git): Copy `IO#timeout` on `IO#dup`. (#6546)
Samuel Williams
12:31 PM Feature #19045 (Closed): [Proposal] Add support Data#pretty_print
Applied in changeset commit:git|7b7e5153e81288fe57ae64f2e1db228435156aeb.
----------
[ruby/pp] [Feature #19045] Add ...
osyo (manga osyo)
12:31 PM Revision 7b7e5153 (git): [ruby/pp] [Feature #19045] Add support Data#pretty_print
https://github.com/ruby/pp/commit/343a20d721 osyo (manga osyo)
10:23 AM Revision 5ccb625f (git): Use `roomof` macro for rounding up divisions
nobu (Nobuyoshi Nakada)
09:31 AM Revision ee8bcbf4 (git): Reuse ins_methods_type_i function
S_H_ (Shun Hiraoka)
12:16 AM Misc #19052 (Open): Increased memory usage (RSS) for Ruby when compiled by gcc
Hello! We have seen a large increase in memory usage as measured by resident set size (RSS) in our Ruby 3.1.2 program... bosh-ecosystem-vmware (BOSH Ecosystem Team @ VMware)
 

Also available in: Atom