Project

General

Profile

Activity

From 04/15/2021 to 04/21/2021

04/21/2021

11:29 PM Revision 5512353d (git): Remove reverse VM instruction
This was previously only used by the multiple assignment code, but
is no longer needed after the multiple assignment ...
jeremyevans (Jeremy Evans)
11:27 PM Feature #17790: Have a way to clear a String without resetting its capacity
That was what I was hoping the addition of memoryview would help with but the only way to interact with the memoryvie... dsisnero (Dominic Sisneros)
09:03 PM Misc #17818: Reviving Travis CI
Note I created the ticket from the following page in Travis.
https://support.travis-ci.com/
jaruga (Jun Aruga)
07:52 PM Misc #17818: Reviving Travis CI
I just got a really quick response from Travis support in less than 2 hours. The content is quite positive!
```
...
jaruga (Jun Aruga)
06:31 PM Misc #17818 (Closed): Reviving Travis CI
Related to #17720, chatting with @naruse and @hsbt in Ruby project, I thought it is better to revive Travis that had ... jaruga (Jun Aruga)
05:49 PM Bug #4443 (Closed): odd evaluation order in a multiple assignment
Applied in changeset commit:git|50c54d40a81bb2a4794a6be5f1861152900b4fed.
----------
Evaluate multiple assignment le...
jeremyevans (Jeremy Evans)
05:49 PM Revision 9dbd0969 (git): * 2021-04-22 [ci skip]
git[bot]
05:49 PM Revision 50c54d40 (git): Evaluate multiple assignment left hand side before right hand side
In regular assignment, Ruby evaluates the left hand side before
the right hand side. For example:
```ruby
foo[0] = ...
jeremyevans (Jeremy Evans)
04:25 PM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
This hasn’t yet been backported. When it has been, there will be a
release that includes the fixes to permit buildi...
austin (Austin Ziegler)
05:10 AM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
Newbie here, I just ran into this today on my Mac running MacOS 11.2.3 (Intel)
Based on the above it sounds like w...
tdehnke (Tony Dehnke)
02:57 PM Bug #17817: --jit outputs ./tmp/_ruby_mjit_*.h: No such file or directory on with TMP
It was executed on my Fedora Linux 33.
```
$ cat /etc/fedora-release
Fedora release 33 (Thirty Three)
```
jaruga (Jun Aruga)
02:52 PM Bug #17817: --jit outputs ./tmp/_ruby_mjit_*.h: No such file or directory on with TMP
I created the `tmp` directory in advance.
```
$ mkdir tmp
```
I see the following files are created after the...
jaruga (Jun Aruga)
02:49 PM Bug #17817 (Closed): --jit outputs ./tmp/_ruby_mjit_*.h: No such file or directory on with TMP
On the master branch: `3c8a67e8a5f51f337cf95b4038ed97bf8ca8b696`, I see the `ruby --jit` prints `fatal error: ./tmp/_... jaruga (Jun Aruga)
11:45 AM Revision 3c8a67e8 (git): [ruby/pp] Bump version to 0.2.0
https://github.com/ruby/pp/commit/a202dd2c9b hsbt (Hiroshi SHIBATA)
11:44 AM Revision 17441a6b (git): [ruby/pp] Support < Ruby 3.0
https://github.com/ruby/pp/commit/3ee131ae92 hsbt (Hiroshi SHIBATA)
11:43 AM Revision 2229fc8b (git): [ruby/resolv] gemspec: Explicitly list 0 executables
This gem exposes no executables, and this makes that clearer.
https://github.com/ruby/resolv/commit/8797a9d3ce
olleolleolle (Olle Jonsson)
11:41 AM Revision c27e8f1c (git): [ruby/forwardable] gemspec: Explicitly empty the executables list
This gem exposes no executables.
https://github.com/ruby/forwardable/commit/374b685927
olleolleolle (Olle Jonsson)
11:41 AM Revision b68a4c19 (git): [ruby/base64] gemspec: Use an explicit file list
This avoids shelling out to git.
https://github.com/ruby/base64/commit/f45f06f93f
olleolleolle (Olle Jonsson)
11:41 AM Revision fa00bf92 (git): [ruby/base64] gemspec: Explicitly empty executables list
This gem exposes no executables.
https://github.com/ruby/base64/commit/9d2c49cb19
olleolleolle (Olle Jonsson)
11:39 AM Revision 855997a4 (git): [ruby/abbrev] gemspec: Explicitly empty executables list
https://github.com/ruby/abbrev/commit/f28839e7b8 olleolleolle (Olle Jonsson)
11:38 AM Revision 4ac72d37 (git): [ruby/io-wait] gemspec: Explicitly list 0 executables
This gem exposes no executables, and this clarifies this.
https://github.com/ruby/io-wait/commit/f491c6cc64
olleolleolle (Olle Jonsson)
11:34 AM Revision 347c3b30 (git): Fix the regexp list for ignore list
hsbt (Hiroshi SHIBATA)
08:48 AM Feature #17816: Move C heap allocations for RVALUE object data into GC heap
Thanks @shyouhei I'll read through that ticked and the associated patch.
We're also seeing memory bloat when this ...
eightbitraptor (Matt V-H)
01:21 AM Feature #17816: Move C heap allocations for RVALUE object data into GC heap
Great work!
Slightly off topic but this ticket reminds me Feature #9362 I proposed years ago. It was fast, but re...
shyouhei (Shyouhei Urabe)
08:38 AM Revision 7c0c1c3e (git): This change broke the some files like date.gemspec and lib/logger.rb.
Revert "sync_default_gems.rb: merge only files named as each gem"
This reverts commit 37b96d6773a2151fb3193cab6b9e3f...
hsbt (Hiroshi SHIBATA)
07:30 AM Feature #17795: Around `Process.fork` callbacks API
There is some precedent @jeremyevans0 for library authors offering all the poisons to the users.
For example:
htt...
sam.saffron (Sam Saffron)
04:03 AM Bug #17814 (Closed): inconsistent Array.zip behavior
Applied in changeset commit:git|fb04c69418ceee696a114fe31279cf3a5ea16d30.
----------
array.c (rb_ary_zip): take only...
mame (Yusuke Endoh)
04:02 AM Revision fb04c694 (git): array.c (rb_ary_zip): take only as many as needed from an Enumerator (#4389)
[Bug #17814] mame (Yusuke Endoh)

04/20/2021

11:39 PM Revision d427e3cd (git): [ci skip] Remove badge for Travis CI from README.md
Travis CI was removed in 6b978d542704a5614af5e9375c4b31b8d2618652. peterzhu2118 (Peter Zhu)
11:26 PM Revision eb4e3206 (git): Man page: correct defaults for RUBY_THREAD_VM_STACK_SIZE
See RUBY_VM_THREAD_VM_STACK_SIZE in vm_core.h. alanwu (Alan Wu)
09:59 PM Bug #14607: Fix use of the rb_profile_frames start parameter
> I need to remember why such special (additional) calculation is done
I'm not sure what you mean by additional ca...
dylants (Dylan Thacker-Smith)
09:16 PM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
Yep, I was not aware that that is how it works, thank you for explaining the process. tlbra (tycho braams)
07:13 PM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
tlbra (tycho braams) wrote in #note-13:
> I think it's a bit early to close the issue, as the PR linked by hsbt has ...
jeremyevans0 (Jeremy Evans)
06:29 PM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
I think it's a bit early to close the issue, as the PR linked by hsbt has not actually been merged in the 2.6 branch ... tlbra (tycho braams)
04:45 PM Bug #17777 (Closed): 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
jeremyevans0 (Jeremy Evans)
09:16 PM Bug #17781: Resolv::DNS RequestID table allocations are never freed, causing DNS lookups to eventually hang
It looks like we also ran into this problem in production with ruby 2.6.7 as well. Following the instructions given, ... bensullivan (Ben Sullivan)
07:59 PM Misc #17815: Snapcraft Ruby plugin
Wow, I just figured out something. It's the env variable `GEM_PATH` from my system that leaks into the process being ... paddor (Patrik Wenger)
07:06 PM Misc #17815: Snapcraft Ruby plugin
mame (Yusuke Endoh) wrote in #note-5:
> I think `./configure --enable-load-relative` is what you are looking for.
...
paddor (Patrik Wenger)
02:08 PM Misc #17815: Snapcraft Ruby plugin
Hello,
paddor (Patrik Wenger) wrote:
> Python apparently determines its load paths relative to the executable being ...
mame (Yusuke Endoh)
12:42 PM Misc #17815: Snapcraft Ruby plugin
hsbt (Hiroshi SHIBATA) wrote in #note-2:
> Hello, I'm maintainer of ruby snap package at https://github.com/ruby/sna...
paddor (Patrik Wenger)
11:14 AM Misc #17815: Snapcraft Ruby plugin
Hello, I'm maintainer of ruby snap package at https://github.com/ruby/snap.ruby
I'm not sure what means "Ruby buil...
hsbt (Hiroshi SHIBATA)
10:42 AM Misc #17815 (Closed): Snapcraft Ruby plugin
I'm working on a Ruby build plugin for the Snapcraft v2 plugin AP, since the v1 Ruby plugin does not work on the Ubun... paddor (Patrik Wenger)
05:45 PM Bug #17812: Timeout::Error doesn't let two-argument raise() set a new message
I've submitted a pull request to fix this: https://github.com/ruby/timeout/pull/3 jeremyevans0 (Jeremy Evans)
04:54 PM Revision d92f09a5 (git): * 2021-04-21 [ci skip]
git[bot]
04:54 PM Revision 32643cfb (git): check ep during compaction because it can be null
This commit adds a check on the ep just like in the mark function. The
env can contain null bytes if allocation trac...
tenderlovemaking (Aaron Patterson)
04:49 PM Bug #17807 (Closed): "Segmentation fault at 0x0000000000000008" crash when accessing instance variables of Process::Waiter instances (Ruby 2.3 to 2.6)
Thank you for the report! I don't think this is a security issue, and since Ruby 2.6 is in security maintenance mode ... jeremyevans0 (Jeremy Evans)
04:42 PM Bug #17809 (Closed): Ruby 2.6.7 backported C99 code that breaks older compilers
I think this is only required for 2.6, since we switched to C99 before 2.7, so I've updated the backport field. jeremyevans0 (Jeremy Evans)
01:35 PM Feature #17816: Move C heap allocations for RVALUE object data into GC heap
This is a feature @eightbitraptor, @tenderlovemaking, and I have been working on. We're hoping to add this feature in... peterzhu2118 (Peter Zhu)
11:49 AM Feature #17816 (Closed): Move C heap allocations for RVALUE object data into GC heap

## Pull Request:
[Github PR: 4391](https://github.com/ruby/ruby/pull/4391)
## Introduction
_**This work su...
eightbitraptor (Matt V-H)
01:25 PM Feature #17570 (Closed): Move C heap allocations into GC heap for RVALUE object data
peterzhu2118 (Peter Zhu)
11:51 AM Feature #17570: Move C heap allocations into GC heap for RVALUE object data
This has been superseded by the work in [this ticket](https://bugs.ruby-lang.org/issues/17816). eightbitraptor (Matt V-H)
12:19 PM Revision 59411b0b (git): [ruby/zlib] gemspec: Remove unused files
Remove the list of executables.
https://github.com/ruby/zlib/commit/6a70725b8e
olleolleolle (Olle Jonsson)
12:19 PM Revision 749aad28 (git): [ruby/gdbm] gemspec: Set executables to the empty list
This gem exposes zero executables.
https://github.com/ruby/gdbm/commit/d51cf47f65
olleolleolle (Olle Jonsson)
12:19 PM Revision cc8d0e7c (git): [ruby/dbm] gemspec: add README & LICENSE
https://github.com/ruby/dbm/commit/c86b94b781 olleolleolle (Olle Jonsson)
12:19 PM Revision b56c8f81 (git): [ruby/logger] Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowledge might
assume this to be a spelling mistake. To me, this ...
gmcgibbon (Gannon McGibbon)
11:46 AM Revision 3fdc58c0 (git): [ruby/date] Bump version to 3.1.1
https://github.com/ruby/date/commit/e574cc9048 hsbt (Hiroshi SHIBATA)
10:22 AM Revision a31a9c74 (git): * 2021-04-20 [ci skip]
git[bot]
10:22 AM Revision 4c68c825 (git): Update bundled_gems
znz (Kazuhiro NISHIYAMA)
02:07 AM Bug #11579 (Closed): Fiddle.win32_last_error after calling Fiddle::Function#call isn't GetLastError()
Thanks. I've merged your fix: https://github.com/ruby/fiddle/commit/760a8f9b1451a9391c349008660f29d43549e81b kou (Kouhei Sutou)
12:11 AM Bug #4443: odd evaluation order in a multiple assignment
I have submitted a pull request to fix multiple assignment evaluation order: https://github.com/ruby/ruby/pull/4390 jeremyevans0 (Jeremy Evans)

04/19/2021

07:17 PM Feature #17785: Allow named parameters to be keywords
Since we have `__method__`, maybe adding something like `__params__`?
``` ruby
def check(arg, class:)
arg.is_a?(__...
matheusrich (Matheus Richard)
04:25 PM Bug #17814: inconsistent Array.zip behavior
Good catch! https://github.com/ruby/ruby/pull/4389 mame (Yusuke Endoh)
03:22 PM Bug #17814: inconsistent Array.zip behavior
note: sorry for the weird Fiber thing in the example code, that's not related to the bug
an enumerator created wit...
dzwdz (Kuba Prawdziwe-Nazwisko)
03:04 PM Bug #17814 (Closed): inconsistent Array.zip behavior
When using `Array.zip` with an enumerator, it "eats" an additional element off the end of it. `Enumerable.zip` has th... dzwdz (Kuba Prawdziwe-Nazwisko)
12:40 PM Revision 50f17241 (git): Try to fix other failures of writing XDG_CONFIG_HOME
https://github.com/ruby/actions/actions/runs/756591173
https://github.com/ruby/actions/actions/runs/759073690
https:/...
znz (Kazuhiro NISHIYAMA)
09:55 AM Feature #17795: Around `Process.fork` callbacks API
> Sorry, I have to admit my ignorance in this area, so it is difficult for me to log the discussion of the meeting
...
byroot (Jean Boussier)
09:40 AM Bug #17813 (Closed): rb_funcall() may reset the latest socket error unexpectedlly since Ruby 3.0.0
### The problem
It seems that when rb_funcall() is called, the socket error is reset.
This behavior is introduced...
kenhys (Kentaro Hayashi)
09:19 AM Revision 93420d34 (git): Added the specific files to the default gems like net-http and optparse
hsbt (Hiroshi SHIBATA)
05:06 AM Feature #17398: SyntaxError in endless method
I'm attaching an updated patch with a test. mame (Yusuke Endoh)
04:45 AM Bug #17476 (Closed): 3.0/specifications/default/net-*.gemspec repeats the same files
Applied in changeset commit:git|5d710d7e41ef3a9877426c87de121be3bf770e34.
----------
Fix the wrong file detection fo...
hsbt (Hiroshi SHIBATA)
04:45 AM Revision 39c01aef (git): * 2021-04-19 [ci skip]
git[bot]
04:44 AM Revision 5d710d7e (git): Fix the wrong file detection for net-*.gemspec
[Bug #17476][ruby-core:101724] hsbt (Hiroshi SHIBATA)
01:00 AM Bug #17809: Ruby 2.6.7 backported C99 code that breaks older compilers
Is this only?
```diff
diff --git a/hash.c b/hash.c
index 63b228f501e..f6555a09dd4 100644
--- a/hash.c
+++ b/ha...
nobu (Nobuyoshi Nakada)
12:21 AM Feature #16945 (Closed): Enable TCO by use of special form
Close due to duplication. nobu (Nobuyoshi Nakada)

04/18/2021

03:02 PM Feature #12543: explicit tail call syntax: foo() then return
mame (Yusuke Endoh) wrote in #note-9:
> And I have another concern. If tail call optimization is on by default, som...
jwmittag (Jörg W Mittag)
02:41 PM Feature #16945: Enable TCO by use of special form
x3qt (Yury Polyakov) wrote in #note-6:
> shyouhei (Shyouhei Urabe) wrote in #note-4:
> > Tell us how is it better t...
jwmittag (Jörg W Mittag)
10:06 AM Bug #17723: autoconf 2.70+ is not working with master branch
And 5a9b5b8e953dc36f4f7f7639e8aeaa8132241c79 too. nagachika (Tomoyuki Chikanaga)
10:06 AM Bug #17723: autoconf 2.70+ is not working with master branch
ruby_3_0 a55ba76617f240337854668c8b5dd9961873f5af merged revision(s) 4250d7c910fd67c0da07c6213901009330e3cd51,83f9664... nagachika (Tomoyuki Chikanaga)
10:04 AM Revision 5a9b5b8e (git): Add execution bit for autogen.sh.
nagachika (Tomoyuki Chikanaga)
09:05 AM Revision a55ba766 (git): merge revision(s) 4250d7c910fd67c0da07c6213901009330e3cd51,83f96642d2d74569cc38319d02d5922fac8f66b8,447feb0aa08e20cc5eeb8b3a6f881de261a2c9a2,1d80d703141f01383604022f9e8e53e10865197c,e271a3d4afc47e812b50fc9c50f6bf34d2d723a6,366e88e508de7c59d69906ad948cccd7979e932b,d825e34962540d345eb3c5a70eb264b415e915a5,4250d7c910fd67c0da07c6213901009330e3cd51,f9e43782995b1f77e7b10c79941bbbda15620e2a: [Backport #17723]
autogen.sh: Added
Currently it just runs "autoreconf --install"
---
aclocal.m4 | 4 ++--
...
nagachika (Tomoyuki Chikanaga)
08:59 AM Revision 6e6157d9 (git): merge revision(s) 6268fdc662c75c61091b2ab0b476ec15df023328:
spec/ruby/core/hash/transform_keys_spec.rb: Fix the failure of
ruby_3_0
https://github.com/ruby/spe...
nagachika (Tomoyuki Chikanaga)
04:49 AM Revision aae812d6 (git): * 2021-04-18 [ci skip]
git[bot]
04:47 AM Revision 6943ffc3 (git): Split revision.h rule
GNU-make specific rule is defined in defs/gmake.mk. nobu (Nobuyoshi Nakada)

04/17/2021

11:43 PM Feature #17808: Feature Request: JS like splat of Object properties as named method parameters

> But ultimately your whole feature request rely on a very specific JS "feature" (many people would call it a cruft...
Lithium (Brad Krane)
09:00 PM Bug #17812 (Closed): Timeout::Error doesn't let two-argument raise() set a new message
Shouldn't this:
```
martind@pizzagate:~$ ruby -we 'require "timeout"; raise(Timeout::Error.new("hello"), "world")'
...
[email protected] (Martin Dorey)
05:43 PM Feature #17795: Around `Process.fork` callbacks API

byroot (Jean Boussier) wrote in #note-21:
> I must admit I don't understand this argument. There are plenty of adv...
mame (Yusuke Endoh)
11:02 AM Feature #17795: Around `Process.fork` callbacks API
> some committers agreed with Jeremy's concern (easy to misuse).
I must admit I don't understand this argument. Th...
byroot (Jean Boussier)
07:56 AM Feature #17795: Around `Process.fork` callbacks API
This thicket was discussed in the dev meeting, but no conclusion was reached. The current situation is not so good, b... mame (Yusuke Endoh)
05:06 PM Bug #11230: Should rb_struct_s_members() be public API?
At the April 2021 developer meeting, it was decided to remove this C-API function after Ruby 3.2. jeremyevans0 (Jeremy Evans)
05:04 PM Feature #17403: Remove Fixnum and Bignum
At the April 2021 developer meeting, it was decided to make this change in Ruby 3.2. jeremyevans0 (Jeremy Evans)
10:14 AM Revision 1f562380 (git): Remove comments in tool/m4 from the generated configure
nobu (Nobuyoshi Nakada)
10:08 AM Revision 17c3014b (git): Prefer positive condition to double negative
Autoconf 2.70 seems to omit the check for the given CC,
`AC_COMPILE_IFELSE` does not know which is the cause of the
f...
nobu (Nobuyoshi Nakada)
08:18 AM Misc #17811 (Closed): DevelopersMeeting20210521Japan
# The next dev meeting
**Date: 2021/05/21 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee...
mame (Yusuke Endoh)
08:18 AM Misc #17734 (Closed): DevelopersMeeting20210416Japan
mame (Yusuke Endoh)
08:15 AM Feature #17016: Enumerable#accumulate
This ticket was discussed in the dev meeting, but no conclusion was reached.
BTW, Mathematica's "Accumulate" is di...
mame (Yusuke Endoh)
08:04 AM Feature #17753: Add Module#namespace
In my view, the way to implement the use case that matches Ruby is to go downwards.
Module has many constants, that ...
fxn (Xavier Noria)
07:27 AM Feature #17753: Add Module#namespace
This ticket was discussed on the dev meeting. @matz said that (1) the use case is not clear to him, and that (2) he w... mame (Yusuke Endoh)
07:38 AM Feature #17749: Const source location without name
Thank you! Then, I think the patch should use const_source_location info instead of adding `file` and `line` fields.
...
mame (Yusuke Endoh)
07:21 AM Bug #16983 (Assigned): RubyVM::AbstractSyntaxTree.of(method) returns meaningless node if the method is defined in eval
This ticket was discussed on dev-meeting. A method (or proc) created in an `eval` context should be marked and `AST.o... mame (Yusuke Endoh)
06:44 AM Bug #17810 (Closed): addr2line.c: Some symbol names missing in C backtrace with Clang/LLVM
When Clang/LLVM is used for compilation, some symbol names are missing in C level backtrace information. An example:
...
xtkoba (Tee KOBAYASHI)
02:54 AM Revision ed9ac039 (git): * 2021-04-17 [ci skip]
git[bot]
02:54 AM Revision d953ac11 (git): Fix writing XDG_CONFIG_HOME in test-bundler
https://github.com/ruby/actions/actions/runs/756591173
```
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/run...
znz (Kazuhiro NISHIYAMA)

04/16/2021

09:46 PM Bug #17809 (Closed): Ruby 2.6.7 backported C99 code that breaks older compilers
Hey folks,
It looks like the 2.6.7 release inadvertently backported some C99 code from HEAD onto the Ruby 2.6 bran...
tas50 (Tim Smith)
09:05 PM Feature #17808: Feature Request: JS like splat of Object properties as named method parameters
I believe the answers given so far should help (i.e. `(**rest)` and defining `to_hash`).
Also looks into `Struct` ...
marcandre (Marc-Andre Lafortune)
09:00 PM Feature #17808: Feature Request: JS like splat of Object properties as named method parameters
> Is there a way to modify existing declared methods adding that parameter
Well, I suppose you can decorate the me...
byroot (Jean Boussier)
07:24 PM Feature #17808: Feature Request: JS like splat of Object properties as named method parameters
byroot (Jean Boussier) wrote in #note-3:
> Well, the ruby equivalent to your example JS function would be:
>
> ```ru...
Lithium (Brad Krane)
07:03 PM Feature #17808: Feature Request: JS like splat of Object properties as named method parameters
Well, the ruby equivalent to your example JS function would be:
```ruby
def test(param1: nil, param2: nil, **)
e...
byroot (Jean Boussier)
06:53 PM Feature #17808: Feature Request: JS like splat of Object properties as named method parameters
Thanks for the quick update.
That almost works but to automate this the to_hash function needs to be aware of the m...
Lithium (Brad Krane)
01:43 PM Feature #17808: Feature Request: JS like splat of Object properties as named method parameters
Doesn't the implicit `to_hash` answer your demand?
```ruby
def foo(bar:)
p bar
end
class MyObject
def i...
byroot (Jean Boussier)
12:18 PM Feature #17808 (Open): Feature Request: JS like splat of Object properties as named method parameters
I'm pretty sure there is no equivalent Ruby for a very convenient JS way to enter named function parameters as below:... Lithium (Brad Krane)
05:59 PM Feature #17749: Const source location without name
mame (Yusuke Endoh) wrote in #note-8:
> @tenderlove I'm not sure about the use case. What purpose do you want this f...
tenderlovemaking (Aaron Patterson)
06:21 AM Feature #17749: Const source location without name
@tenderlove I'm not sure about the use case. What purpose do you want this for? Memory profiling?
`const_source_lo...
mame (Yusuke Endoh)
01:28 PM Feature #17795: Around `Process.fork` callbacks API
At Datadog, we use our monkey patching (mentioned in the description) to restart background threads that are used to ... ivoanjo (Ivo Anjo)
08:07 AM Feature #17795: Around `Process.fork` callbacks API
> It doesn't need system call unlike getpid.
It would be a win for sure, but in my opinion we might as well go all...
byroot (Jean Boussier)
08:03 AM Feature #17795: Around `Process.fork` callbacks API
Another idea is introducing Process.fork_level which can be used to detect fork instead of getpid.
```
Process.fo...
akr (Akira Tanaka)
11:20 AM Bug #17807 (Closed): "Segmentation fault at 0x0000000000000008" crash when accessing instance variables of Process::Waiter instances (Ruby 2.3 to 2.6)
Hey there! I'm in [Datadog's ddtrace gem](https://github.com/DataDog/dd-trace-rb) team and one of our customers was r... ivoanjo (Ivo Anjo)
08:51 AM Bug #16608: ConditionVariable#wait should return false when timeout exceeded
Previous dev-meeting (March), there is no objection to change the return value of `Mutex#sleep`.
> matz: agreed to...
ko1 (Koichi Sasada)
08:05 AM Feature #17762: A simple way to trace object allocation
It's OK to add this feature. The side effects are acceptable (for this is only for debugging anyway). I am OK with an... matz (Yukihiro Matsumoto)
07:13 AM Feature #15198 (Closed): Array#intersect?
Applied in changeset commit:git|b6bb4623ebcf1335cf0a81d279cde24a9e97bcce.
----------
NEWS for [Feature #15198] [ci s...
nobu (Nobuyoshi Nakada)
07:03 AM Feature #15198: Array#intersect?
We discussed this in today's developer meeting. Here are some remarks:
- It takes one argument for now.
- It means ...
knu (Akinori MUSHA)
06:56 AM Feature #15198: Array#intersect?
Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:13 AM Feature #15976 (Closed): Add Array#overlap? for whether the intersection of 2 arrays is non empty?
Applied in changeset commit:git|b6bb4623ebcf1335cf0a81d279cde24a9e97bcce.
----------
NEWS for [Feature #15198] [ci s...
nobu (Nobuyoshi Nakada)
07:12 AM Revision b6bb4623 (git): NEWS for [Feature #15198] [ci skip]
nobu (Nobuyoshi Nakada)
07:06 AM Revision 55d91a09 (git): Add Array#intersect?
Travis Hunter
05:54 AM Bug #9542 (Rejected): Delegator does not delegate protected methods
mame (Yusuke Endoh)
05:44 AM Bug #9542: Delegator does not delegate protected methods
It's intentional.
Matz.
matz (Yukihiro Matsumoto)
05:41 AM Revision 97cee1cb (git): rb_hash_free(): has never existed.
This is just a hoax. Nobody have ever implemented a function named as
such. Also the functionality implied by the n...
shyouhei (Shyouhei Urabe)
05:25 AM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
Fixed at https://github.com/ruby/ruby/pull/4360 hsbt (Hiroshi SHIBATA)
04:30 AM Feature #17398: SyntaxError in endless method
Pros
* More intuitive / consistent / natural
Cons
* Duplicated syntax rules
* Even more complex syntax
If I were yo...
matz (Yukihiro Matsumoto)
04:12 AM Feature #17403: Remove Fixnum and Bignum
No at least 3.1.
Don't introduce incompatibility in 3.1.
naruse (Yui NARUSE)
03:25 AM Bug #17806 (Closed): Bad interaction between method cache, prepend, and refinements
I'm running into a couple of issues with Ruby 3's new method cache and
refinements.
The first script raises `Syst...
alanwu (Alan Wu)
02:05 AM Revision dd3eca64 (git): * 2021-04-16 [ci skip]
git[bot]
02:04 AM Revision 6268fdc6 (git): spec/ruby/core/hash/transform_keys_spec.rb: Fix the failure of ruby_3_0
https://github.com/ruby/spec/pull/833
https://github.com/ruby/spec/commit/8290e5ad8952b14ee9a5069651d9864c66681112
mame (Yusuke Endoh)

04/15/2021

08:30 PM Bug #17802: backport fbbc37dc1d5b329777e6d9716118db528ab70730 to 2.7 and 3.0
ruby_2_7 67f1cd20bfb97ff6e5a15d27c8ef06cdb97ed37a merged revision(s) fbbc37dc1d5b329777e6d9716118db528ab70730. usa (Usaku NAKAMURA)
01:30 AM Bug #17802: backport fbbc37dc1d5b329777e6d9716118db528ab70730 to 2.7 and 3.0
ruby_3_0 d5a34e1b142eccc54971494be2243a0c6ac01d94 merged revision(s) fbbc37dc1d5b329777e6d9716118db528ab70730. nagachika (Tomoyuki Chikanaga)
08:30 PM Revision 67f1cd20 (git): merge revision(s) fbbc37dc1d5b329777e6d9716118db528ab70730: [Backport #17802]
test/drb/test_drb.rb: Specify the host of DRbServer
to try fixing the following error.
http://rubyc...
U.Nakamura
08:10 PM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
https://github.com/ruby/ruby/pull/4385 austin (Austin Ziegler)
07:31 PM Bug #17805: Segmentation fault at 0x0000000000000010 ruby 2.7.3p183
peterzhu2118 (Peter Zhu) wrote in #note-1:
> Thank you for the report. It's a duplicate of #17780 which has been fla...
jaredbeck (Jared Beck)
07:30 PM Bug #17805 (Closed): Segmentation fault at 0x0000000000000010 ruby 2.7.3p183
peterzhu2118 (Peter Zhu)
07:29 PM Bug #17805: Segmentation fault at 0x0000000000000010 ruby 2.7.3p183
Thank you for the report. It's a duplicate of #17780 which has been fixed and flagged for backport (so it will land i... peterzhu2118 (Peter Zhu)
06:07 PM Bug #17805 (Closed): Segmentation fault at 0x0000000000000010 ruby 2.7.3p183
jaredbeck (Jared Beck)
02:10 PM Revision f1f08f5b (git): Remove useless attribute set in init_mark_stack
init_mark_stack already clears the mark stack so we do not need to
set the attribute cache_size to zero.
Peter Zhu
09:07 AM Revision 26888d5e (git): Workaround for installation failures on macOS
nobu (Nobuyoshi Nakada)
06:36 AM Revision 7af7a539 (git): Also merge tool/bundler/*.rb for testing of Bundler
hsbt (Hiroshi SHIBATA)
06:36 AM Revision 96741765 (git): Merge the master branch of RubyGems
hsbt (Hiroshi SHIBATA)
06:36 AM Revision ed149dbf (git): Merge the master branch of Bundler
hsbt (Hiroshi SHIBATA)
06:36 AM Revision 0d9496f9 (git): Restore bundler.gemspec from ruby/ruby repository with sync_default_gems.rb
hsbt (Hiroshi SHIBATA)
05:55 AM Revision fd978621 (git): mkconfig.rb: Update around SDKROOT
c.f. https://opensource.apple.com/source/ruby/ruby-145.40.1/patches/tool_mkconfig.rb.diff
* moved to "includedir" fr...
nobu (Nobuyoshi Nakada)
05:16 AM Bug #17775: Backport to fix build failures
merged into ruby_3_0
https://github.com/ruby/ruby/commit/6add6014d8626c4e5f6816030ea651321e6aa044
https://github.co...
nagachika (Tomoyuki Chikanaga)
04:51 AM Revision 31669960 (git): bump up RUBY_PATCHLEVEL
nagachika (Tomoyuki Chikanaga)
04:43 AM Revision ce06c24b (git): merge revision(s) c32375883a6,48bb0329eb3:
Update for autoconf 2.70
---
configure.ac | 232 +++++++++++++++++----------...
nobu (Nobuyoshi Nakada)
04:43 AM Revision 6add6014 (git): merge revision(s) a3851d97ede:
Removed unused AC_CHECKING
---
configure.ac | 7 -------
1 file changed, 7 deletions(-)
nobu (Nobuyoshi Nakada)
04:40 AM Revision df0f60b6 (git): spec/ruby/library/matrix/: Change the version guard to 3.1.0
[Bug #17521] won't be backported until 3.1.0.
https://github.com/ruby/spec/pull/832
mame (Yusuke Endoh)
03:41 AM Bug #17759: Correct `ioctl_req_t` for musl
Hi @xtkoba
Are you ineterested in becoming a Ruby commiter?
At least, @nobu and I want you to have a commit bit.
...
mame (Yusuke Endoh)
03:22 AM Bug #17803: Segmentation fault during deflate
xtkoba (Tee KOBAYASHI) wrote in #note-2:
> Maybe reproducible by spawning hundreds of threads each of which calls de...
mame (Yusuke Endoh)
02:20 AM Bug #17803: Segmentation fault during deflate
Although I am not sure, this looks like a thread-safety issue. Maybe reproducible by spawning hundreds of threads eac... xtkoba (Tee KOBAYASHI)
03:10 AM Bug #17521: [Matrix stdlib] Zero matrix to the power of zero
Since `matrix` is a gem that can be updated independently from Ruby, I think backports are not required. In addition,... marcandre (Marc-Andre Lafortune)
01:50 AM Bug #17521: [Matrix stdlib] Zero matrix to the power of zero
Even though nobody filled the Backport field yet, I will set "WONTFIX".
Such a long long standing bug could be thoug...
nagachika (Tomoyuki Chikanaga)
02:14 AM Revision 92545977 (git): [Doc] Add Hash#value? into call-seq (#4293)
kachick (Kenichi Kamiya)
01:34 AM Bug #17804: Math.cbrt(0.0) returns NaN
FWIW, that code was introduced by commit commit:c995315153f7403636ec0d6119b7885668b32039. xtkoba (Tee KOBAYASHI)
01:17 AM Bug #17804 (Closed): Math.cbrt(0.0) returns NaN
Math.cbrt(0.0) returns NaN. It should return 0.0.
From reading the implementation, I expect this bug to happen onl...
chasonr (Ray Chason)
01:29 AM Bug #17735: `Hash#transform_keys!` drops non evaluated keys
ruby_3_0 84d9a9afc0b49d095541acb9832f8b12fb506e19 merged revision(s) 31e0382723bfb35cffe3ca485dd0577668cafa07,5e5fb72... nagachika (Tomoyuki Chikanaga)
01:25 AM Revision 84d9a9af (git): merge revision(s) 31e0382723bfb35cffe3ca485dd0577668cafa07,5e5fb72f99701dc27c66ab148471893f14e6d6f0,fb6ebe55d91187d9635e0183d47dbf38e95b1141,522d4cd32f7727886f4fcbc28ed29c08d361ee20: [Backport #17735]
Keep non evaluated keys in `Hash#transform_keys!` [Bug #17735]
---
hash.c ...
nagachika (Tomoyuki Chikanaga)
12:55 AM Bug #17779: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
I think this is a performance thing.
If there are any real world application affected by this issue, please let me k...
nagachika (Tomoyuki Chikanaga)
12:49 AM Bug #17639: TYPO in define constant
The fix was already backported at 3e67bfe202d6b410375af990ac806f15cb2df762. nagachika (Tomoyuki Chikanaga)
12:46 AM Revision d5a34e1b (git): merge revision(s) fbbc37dc1d5b329777e6d9716118db528ab70730: [Backport #17802]
test/drb/test_drb.rb: Specify the host of DRbServer
to try fixing the following error.
http://rubyc...
nagachika (Tomoyuki Chikanaga)
12:44 AM Revision f057a607 (git): bump teeny version to 3.0.2.
nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom