Activity
From 01/08/2021 to 01/14/2021
01/14/2021
-
11:30 PM Bug #17536: Segfault in `CFUNC :define_method`
- I should also mention that there is currently Rails 6.0.3.4.
-
11:28 PM Bug #17536: Segfault in `CFUNC :define_method`
- It is reproducible on every platform.
We had to hack the test suite a bit to make it work on Fedora. The full script... -
09:58 PM Bug #17536: Segfault in `CFUNC :define_method`
- vo.x (Vit Ondruch) wrote in #note-5:
> Just FTR, the reproducer I have is trying to execute shoulda-matchers [1] tes... -
09:52 PM Bug #17536: Segfault in `CFUNC :define_method`
- vo.x (Vit Ondruch) wrote in #note-5:
> Just FTR, the reproducer I have is trying to execute shoulda-matchers [1] tes... -
01:53 PM Bug #17536: Segfault in `CFUNC :define_method`
- Just FTR, the reproducer I have is trying to execute shoulda-matchers [1] test suite such as:
~~~
$ bundle exec r... -
12:55 PM Bug #17536: Segfault in `CFUNC :define_method`
- Yes, I can hit it every time. And I am testing the patch commit:efcdf68e6443ab70fbff1703b9dabbfc5090df31 and it does ...
-
09:24 AM Bug #17536: Segfault in `CFUNC :define_method`
- > This looks like the segvs we were observing
I'm not certain. Ours was failing inside the GC code. Here it fails ... -
01:09 AM Bug #17536: Segfault in `CFUNC :define_method`
- This looks like the segvs we were observing, which was fixed by https://bugs.ruby-lang.org/issues/17539 (and PR https...
- 09:42 PM Revision 0a039c5f (git): [ruby/bigdecimal] Use new conversion functions in BigDecimal_divide
- https://github.com/ruby/bigdecimal/commit/3b55ad1c42
- 09:42 PM Revision 500fc63c (git): [ruby/bigdecimal] Reorder the arguments of BigDecimal_divide
- https://github.com/ruby/bigdecimal/commit/1e03da7076
-
08:48 PM Bug #17423: `Prepend` should prepend a module before the class
- Based on the decision made at the developer meeting (https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMe...
-
08:37 PM Bug #17539: Guard callinfo during compilation (backport)
- Also please add 5e26619660f20272a53c7f839dde36cce034bb35 (it fixes a write barrier issue)
Thanks! -
12:17 AM Bug #17539 (Closed): Guard callinfo during compilation (backport)
- Hi,
Please backport efcdf68e6443ab70fbff1703b9dabbfc5090df31 to ruby_3_0. We're seeing segvs, and efcdf68e6443ab7... - 05:57 PM Revision 48589f34 (git): * 2021-01-15 [ci skip]
-
05:55 PM Revision 5e266196 (git): Fix WB for callinfo
- The WB for callinfo needs to be executed *after* the reference is
written. Otherwise we get a WB miss. -
02:43 PM Feature #12607: Ruby needs an atomic integer
- Eregon (Benoit Daloze) wrote in #note-34:
> And how do you implement that efficiently, and in a way that's thread-sa... -
01:06 PM Feature #12607: Ruby needs an atomic integer
- There is also the well-known example of metrics in Sidekiq, and all these:
https://github.com/search?l=Ruby&q=Atomic... -
03:41 AM Feature #12607: Ruby needs an atomic integer
- chrisseaton (Chris Seaton) wrote in #note-32:
> An use-case I was working on earlier today was profiling operations ... -
02:34 AM Feature #12607: Ruby needs an atomic integer
- > In my experience financial transactions will be handled at the DB level.
So imagine you're implementing the DB t... -
02:25 AM Feature #12607: Ruby needs an atomic integer
- chrisseaton (Chris Seaton) wrote in #note-28:
> For example for issuing unique IDs across multiple Ractors.
That'... -
01:34 PM Bug #17429: Prohibit include/prepend in refinement modules
- shugo (Shugo Maeda) wrote in #note-11:
> The behavior is similar to Module#mix proposed by Matz before.
Visually ... -
03:15 AM Bug #17429: Prohibit include/prepend in refinement modules
- marcandre (Marc-Andre Lafortune) wrote in #note-3:
> Is there a proposal to import modules in refinements?
>
> So... -
01:20 PM Feature #17479: Enable to get "--backtrace-limit" value by "$-B"
- neg_hide (Hidenori Negishi) wrote in #note-3:
> I am making a library that makes error messages easier to read. Ther... -
12:35 PM Revision 834b404b (git): [DOC] Fixed indent [ci skip]
-
12:30 PM Bug #17542 (Closed): Username and password are not decoded if retrieved from env
- If someone sets an env variable defining a http_proxy (ENV['http_proxy']), containing a
username / password with per... -
10:21 AM Bug #17537: === on ranges of strings is not consistant with include?
- > ranges of strings have inconsistent semantics
That's an inherent property of string ranges, and of Range in gen... -
04:55 AM Bug #17537: === on ranges of strings is not consistant with include?
- Ok. Well, my personal opinion is that just to have some fancy way to handle version strings, ranges of strings have ...
-
09:50 AM Bug #17540: A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- Mmm… That sounds like an LLVM issue. At least in the latest C++, `volatile` is deprecated. I don’t think that fix w...
-
04:34 AM Bug #17540 (Closed): A segfault due to Clang/LLVM optimization on 32-bit ARM Linux
- When built with `optflags=-O3` (which is the default), `ruby -e "pp Thread.main"` causes a segfault, which seems to b...
-
08:54 AM Bug #17541 (Closed): shareable constant literals in a large script might be recycled
- Please backport commit:6bcc4664bdaebbf9b28a762ae63f476a1ec6cfb2.
These are optional.
commit:bb40c5cbe977de9f36a2a... -
07:44 AM Revision 29777cb3 (git): Merge RubyGems-3.2.5
-
07:44 AM Revision 93dcf082 (git): Merge Bundler-2.2.5
-
07:44 AM Revision c721e36c (git): Merge RubyGems-3.2.4
-
07:44 AM Revision d4f5827a (git): Merge Bundler-2.2.4
-
07:15 AM Revision 6bcc4664 (git): Return new NODE_LIT
- As NODE_ZLIST/NODE_LIST are not markable, cannot be reused as
NODE_LIT. -
07:13 AM Revision bb40c5cb (git): Ensure symbol list node is either NODE_STR or NODE_DSTR
-
07:12 AM Revision c060bdc2 (git): NODE markability should not change by nd_set_type
-
06:50 AM Feature #17490 (Closed): Rename RubyVM::MJIT to RubyVM::JIT
- Applied in changeset commit:git|e1fee7f949cb6719122672fa1081c60984a5339f.
----------
Rename RubyVM::MJIT to RubyVM::... -
06:46 AM Revision e1fee7f9 (git): Rename RubyVM::MJIT to RubyVM::JIT
- because the name "MJIT" is an internal code name, it's inconsistent with
--jit while they are related to each other, ... - 02:22 AM Revision 1824df40 (git): * 2021-01-14 [ci skip]
- 01:21 AM Revision 4d13f3e9 (git): [ruby/bigdecimal] Explicitly cast size_t to int
- https://github.com/ruby/bigdecimal/commit/b1f1ed26c9
- 01:20 AM Revision b4ade739 (git): [ruby/bigdecimal] Explicitly cast uint64_t to double
- https://github.com/ruby/bigdecimal/commit/f0d94e6843
- 01:20 AM Revision e129be75 (git): [ruby/bigdecimal] Suppress warning at NO_SANITIZE on gcc
- https://github.com/ruby/bigdecimal/commit/f6765b8071
-
12:13 AM Revision efcdf68e (git): Guard callinfo
- Callinfo was being written in to an array and the GC would not see the
reference on the stack. `new_insn_send` creat... -
12:06 AM Revision f4ce78d5 (git): delete negative cache from the table correctly
- negative cache entry should be removed from
vm->negative_cme_table even if the redefined class has no
subclasses.
01/13/2021
-
11:45 PM Feature #12607: Ruby needs an atomic integer
- > You can achieve something similar with Object.new.object_id
You may want them to be consecutive.
> Why atomic... -
10:40 PM Feature #12607: Ruby needs an atomic integer
- chrisseaton (Chris Seaton) wrote in #note-28:
> > What is the use case for this atomic integer?
>
> For example f... -
09:45 PM Feature #12607: Ruby needs an atomic integer
- > What is the use case for this atomic integer?
For example for issuing unique IDs across multiple Ractors.
> o... -
06:05 PM Feature #12607: Ruby needs an atomic integer
- What is the use case for this atomic integer? I sometimes have a use for an atomic monotonically increasing counter, ...
-
07:32 AM Feature #12607: Ruby needs an atomic integer
- Eregon (Benoit Daloze) wrote in #note-25:
> True, but an atomic integer remains useful even if there is an STM.
> A... -
10:56 PM Revision c8b47eb7 (git): only add the trailing nop if the catch table is not break / next / redo
- We don't need nop padding when the catch tables are only for break /
next / redo, so lets avoid them. This eliminate... -
10:53 PM Revision 589a8026 (git): fix ASAN errors
-
09:37 PM Misc #17535: DevelopersMeeting20210216Japan
- * [Feature #17291] Optimize `__send__` call (mrkn)
* [rspec-mocks](https://github.com/rspec/rspec-mocks) depends o... -
04:26 PM Misc #17535 (Closed): DevelopersMeeting20210216Japan
- # The next dev meeting
**Date: 2021/02/16 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee... -
08:50 PM Feature #17528: Make Addrinfo.getaddrinfo fall back to Timeout.timeout for :resolv_timeout
- I was just doing a similar test actually, I think you're correct! I'll close this issue and re-submit a patch to Net:...
-
05:50 PM Feature #17528: Make Addrinfo.getaddrinfo fall back to Timeout.timeout for :resolv_timeout
- How to test:
```
% vi /etc/resolv.conf # specify non-existing nameserver
% time ./ruby -rtimeout -rsocket -... -
04:05 PM Feature #17528: Make Addrinfo.getaddrinfo fall back to Timeout.timeout for :resolv_timeout
- According to https://bugs.ruby-lang.org/issues/12435, the only reason we are using `Timeout.timeout` in `Net::HTTP#co...
-
07:06 PM Bug #17538 (Closed): Assertion failure when rincgc is turned off
- [Pull request on GitHub](https://github.com/ruby/ruby/pull/4064).
When compiling with `-DUSE_RINCGC=0` (turn off r... -
05:35 PM Bug #17537: === on ranges of strings is not consistant with include?
- It was intentional.
Before 2.6, `===` was using `include?` underneath, which had some undesirable consequences:
`... -
05:12 PM Bug #17537 (Closed): === on ranges of strings is not consistant with include?
- Hi,
In Ruby up to 2.6 both `("1".."12").include?("6")` and `("1".."12") === "6"` were true. In 2.7 and 3.0, `inc... -
04:47 PM Bug #17536: Segfault in `CFUNC :define_method`
- This is part of the backtrace:
~~~
#0 lookup_method_table (id=349648, klass=93825096550280) at vm_method.c:690
... -
04:41 PM Bug #17536 (Closed): Segfault in `CFUNC :define_method`
- Trying to run test suite of `shoulda-matchers`, I observe the following issue:
~~~
... snip ...
if t... -
04:26 PM Misc #17480 (Closed): DevelopersMeeting20210113Japan
-
03:19 PM Bug #17517: File.expand_path returns us-ascii when both arguments are ascii compat
- https://github.com/ruby/ruby/pull/4061
-
03:18 PM Feature #17407 (Closed): Fiber.current and require 'fiber'
- Applied in changeset commit:git|521ad9a13aef1e1dae4eaff70d3e6b2e358aa095.
----------
Moved Fiber methods into core [... -
06:52 AM Feature #17407: Fiber.current and require 'fiber'
- I still think `Fiber.current` is not needed because `Fiber#transfer` is not easy feature to use.
However, Fiber sche... - 03:18 PM Revision 70cd351c (git): * 2021-01-14 [ci skip]
-
03:17 PM Revision 7f3c5e65 (git): mkmf.rb: remove exts.mk at distclean
-
02:46 PM Bug #17534 (Closed): Pattern-matching is broken with find pattern
- The minimal reproduction code:
```ruby
case [1, 2, 3]
in y
puts "branch1"
in [*, x, *]
puts "branch2"
el... -
02:20 PM Revision 521ad9a1 (git): Moved Fiber methods into core [Feature #17407]
-
01:11 PM Bug #17533 (Closed): Named capture is not assigned to the same variable as reserved words.
- Applied in changeset commit:git|0036648a420f945624898568bb82bc5f83195d12.
----------
Capture to reserved name variab... -
12:14 PM Bug #17533 (Closed): Named capture is not assigned to the same variable as reserved words.
- It is expected that named captures don't add new variables same as reserved words, and such variables couldn't be mad...
-
12:16 PM Revision 0036648a (git): Capture to reserved name variables if already defined [Bug #17533]
-
11:49 AM Bug #17429: Prohibit include/prepend in refinement modules
- With https://bugs.ruby-lang.org/issues/17429#note-3 it would.
I think it makes sense adding such functionality at th... -
08:08 AM Bug #17429: Prohibit include/prepend in refinement modules
- Calling include in refinement modules has certin use cases.
Here's an actual example.
https://github.com/tomykair... -
11:41 AM Feature #17485 (Closed): Keyword argument for timezone in Time.new
- Applied in changeset commit:git|4b15caee8fe7a5aaa52ed5a3ab2a3517c9206fd7.
----------
Added `in:` timezone option to ... -
09:37 AM Revision e9b93d67 (git): Positional and keyword arguments for timezone are exclusive
- [Feature #17485]
-
09:15 AM Revision 4b15caee (git): Added `in:` timezone option to `Time.new` [Feature #17485]
-
09:13 AM Bug #17523 (Closed): Inconsistent Warning[] values in scripts loaded by -r option
- Applied in changeset commit:git|6f6dfdcc685077f0f85dcdd63843ecfc0f6fbfb6.
----------
Make warning values consistent ... -
09:13 AM Bug #17509 (Closed): Custom respond_to? methods in modules break defined?(super)
- Applied in changeset commit:git|85b5d4c8bf4cdcba4f1af65f2bc0c8ac716cb795.
----------
Revert "[Bug #11213] let define... -
09:12 AM Revision 6f6dfdcc (git): Make warning values consistent [Bug #17523]
- They should be affected, as well as `$VERBOSE`, by `-w`/`-W`
options, not only in the main script but in scripts load... -
09:11 AM Revision 85b5d4c8 (git): Revert "[Bug #11213] let defined?(super) call respond_to_missing?"
- This reverts commit fac2498e0299f13dffe4f09a7dd7657fb49bf643 for
now, due to [Bug #17509], the breakage in the case `... -
08:07 AM Revision 303533d2 (git): Avoid re-entering opt_invokebuiltin_delegate_leave
- on interruption.
The cancellation code was originally written for leave insn, but re-entering
opt_invokebuiltin_dele... -
08:07 AM Revision 98ca667b (git): Fixed a typo [Bug #17522]
-
08:07 AM Revision 5b2a0fc6 (git): Fixed dangling imemo_tmpbuf
- The count of rb_alloc_tmp_buffer_with_count is the allocation size
counted in VALUE size but not in the requested ele... -
08:07 AM Revision 1614dd9f (git): expose some C-APIs for ractor
- expose some C-APIs to try to make ractor utilities on external gems.
* add
* rb_ractor_local_storage_value_lookup(... -
08:06 AM Revision b2beb858 (git): Make any hash values fixable [Bug #17488]
- As hnum is an unsigned st_index_t, the result of RSHIFT may not be
in the fixable range.
Co-authored-by: NeoCat <neo... -
08:06 AM Revision b93e16dc (git): enable constant cache on ractors
- constant cache `IC` is accessed by non-atomic manner and there are
thread-safety issues, so Ruby 3.0 disables to use ... -
07:38 AM Bug #17504 (Closed): Allow UTC offset without colons per ISO-8601
- Applied in changeset commit:git|9441f3f97087a4325ee80911859d37da41fa5050.
----------
Allow UTC offset without colons... -
07:37 AM Bug #17504: Allow UTC offset without colons per ISO-8601
- Accepted.
Matz.
-
07:37 AM Revision 9441f3f9 (git): Allow UTC offset without colons per ISO-8601 [Bug #17504]
-
07:10 AM Feature #17479: Enable to get "--backtrace-limit" value by "$-B"
- matz (Yukihiro Matsumoto) wrote in #note-4:
> I am OK with introducing a way to get the limit. But I am strongly oppo... -
05:50 AM Feature #17479: Enable to get "--backtrace-limit" value by "$-B"
- I am OK with introducing a way to get the limit. But I am strongly opposed to `$-B`. Any other idea?
Matz.
-
07:07 AM Feature #17330: Object#non
- I don't see the `non` method make code more readable by glancing at the examples.
Can you elaborate on the benefit o... -
06:30 AM Feature #16806: Struct#initialize accepts keyword arguments too by default
- I am OK with 3.1 to warn, 3.2 to change.
Matz.
-
06:29 AM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
- As of #15743, it was made clear that `RubyVM` means CRuby specific module (OK? @eregon). I am OK with renaming it `JI...
- 06:09 AM Revision 30a35420 (git): [ruby/ostruct] Bump version
-
06:05 AM Feature #17327: The Queue constructor should take an initial set of items
- I accept the idea. Take `Enumerable` as initial values.
Matz.
-
05:47 AM Feature #17496: Add constant Math::TAU
- universato (Yoshimine Sato) wrote in #note-31:
> FYI
>
> https://processing.org/reference/TAU.html
> Processing... -
05:42 AM Feature #16989: Sets: need ♥️
- I agree with adding `Set` by default. But no set literals nor `SortedSet` at the moment.
Matz.
-
03:31 AM Feature #16989: Sets: need ♥️
- I'm sorry, I am completely confused by this discussion, I can't make sense of it.
From what I read:
```ruby
se... -
01:48 AM Feature #16989: Sets: need ♥️
- knu (Akinori MUSHA) wrote in #note-29:
> For example, a program that goes `hash = {}; hash << 1; hash[:key] = :value... -
01:26 AM Feature #16989: Sets: need ♥️
- I don't like the idea of making `array & hash` possible, as that would go against the trends of making Ruby type-frie...
-
01:26 AM Feature #16989: Sets: need ♥️
- akr (Akira Tanaka) wrote in #note-25:
> - Hash#each doesn't work well as Set but we can use Hash#each_key.
To b... -
12:13 AM Feature #16989: Sets: need ♥️
- marcandre (Marc-Andre Lafortune) wrote in #note-26:
> I still don't see the benefit of not simply having `Set` in co... - 04:30 AM Revision 65787f18 (git): Typo fixes [doc]
- 04:29 AM Revision f48edc28 (git): Fix method protection for modules in the ancestry chain.
- [Fixes ruby/ostruct#23]
-
04:28 AM Revision 75212f2f (git): Update wording in ractor.md (#4056) [doc]
-
03:50 AM Bug #17532 (Closed): Remove `"` from `regstr` arguments in `vm_dump.c`
- Applied in changeset commit:git|d8fb0bca5475d62731ba871adf344fef88f62bbf.
----------
Removed excess stringizations o... -
02:17 AM Bug #17532 (Closed): Remove `"` from `regstr` arguments in `vm_dump.c`
- On AArch64 Linux, a machine register dump is printed as follows:
```
-- Machine register context ------------------... -
03:47 AM Revision d8fb0bca (git): Removed excess stringizations on regstr [Bug #17532]
-
03:16 AM Bug #17162 (Closed): Dir['**/*'] : stack smashing detected when listing big amount of directories
- Applied in changeset commit:git|083c5f08ec4e95c9b75810d46f933928327a5ab3.
----------
Check stack overflow in recursi... -
03:16 AM Revision 083c5f08 (git): Check stack overflow in recursive glob_helper [Bug #17162]
- 02:49 AM Revision a5b4b806 (git): [ruby/bigdecimal] Allow digits=0 in BigDecimal(flt) and Float#to_d
- Using dtoa of mode=0, we can determine the number of digits in decimal that is
necessary to represent the given Float... -
02:27 AM Revision 30f13164 (git): Skip test when UDP server is no response.
-
01:24 AM Feature #17097: `map_min`, `map_max`
- https://github.com/crystal-lang/crystal/pull/365
In Crystal language, these proposed methods are called `max_of`, `m... - 12:36 AM Revision 0a4f719a (git): Update ext/bigdecimal/depend
- 12:08 AM Revision 28321e40 (git): Update ext/bigdecimal/depend
01/12/2021
-
10:38 PM Feature #17496: Add constant Math::TAU
- FYI
https://processing.org/reference/TAU.html
Processing may not be a general purpose language, but it has `TAU`... -
10:10 AM Feature #17496: Add constant Math::TAU
- akr (Akira Tanaka) wrote in #note-25:
>However I like another name, `Math::PI2`.
akr (Akira Tanaka) wrote in #n... -
06:14 AM Feature #17496: Add constant Math::TAU
- akr (Akira Tanaka) wrote in #note-28:
> shyouhei (Shyouhei Urabe) wrote in #note-26:
> > `M_PI_2` is π/2 rather tha... -
06:02 AM Feature #17496: Add constant Math::TAU
- shyouhei (Shyouhei Urabe) wrote in #note-26:
> `M_PI_2` is π/2 rather than 2π. I guess `Math::PI2` is too confusing... -
05:56 AM Feature #17496: Add constant Math::TAU
- jzakiya (Jabari Zakiya) wrote in #note-23:
> **Why**
> 1. Since 2010, ``TAU``'s acceptance and use has increased in... -
05:45 AM Feature #17496: Add constant Math::TAU
- `M_PI_2` is π/2 rather than 2π. I guess `Math::PI2` is too confusing.
-
05:19 AM Feature #17496: Add constant Math::TAU
- I feel a constant of Math::PI * 2 is useful especially for
`x * 360 / (Math::PI * 2)`.
We need not only `*` but a... -
10:19 PM Bug #17531: `did_you_mean` not Ractor friendly
- Typo: I meant a class variable, not a class instance variable.
-
07:30 PM Bug #17531 (Closed): `did_you_mean` not Ractor friendly
- The gem `did_you_mean` uses a class instance variable that does not work with Ractor.
```
$ RUBYOPT='--disable-di... -
06:18 PM Bug #17530 (Closed): irb handles << incorrectly with variable as identifier
- If you attempt to start a here-document with an identifier that is also a variable, it is interpreted as an append, w...
- 05:11 PM Revision 4ba3a449 (git): [ruby/bigdecimal] Optimize rb_float_convert_to_BigDecimal by using dtoa
- This improve the conversion speed several times faster than before.
```
RUBYLIB= BUNDLER_ORIG_RUBYLIB= /home/mrkn/.r... - 04:58 PM Revision 2175c2c9 (git): [ruby/bigdecimal] Use pre-allocated objects for special values
- https://github.com/ruby/bigdecimal/commit/95c201f2d3
-
04:42 PM Feature #16989: Sets: need ♥️
- I still don't see the benefit of not simply having `Set` in core.
Moreover, does this make `ary & set` possible? e... -
04:26 PM Feature #16989: Sets: need ♥️
- knu (Akinori MUSHA) wrote in #note-23:
> akr (Akira Tanaka) wrote in #note-22:
> > I like extending Hash instead of... -
04:05 PM Feature #16989: Sets: need ♥️
- akr (Akira Tanaka) wrote in #note-22:
> I like extending Hash instead of incorporating Set.
I don't understand th... -
04:57 AM Feature #16989: Sets: need ♥️
- akr (Akira Tanaka) wrote in #note-22:
> I like extending Hash instead of incorporating Set.
> For example, #inspect... -
04:46 AM Feature #16989: Sets: need ♥️
- I like extending Hash instead of incorporating Set.
For example, #inspect omit hash values.
(Of course, modifying H... - 04:27 PM Revision 6670de82 (git): [ruby/bigdecimal] Fix exception message raised in Kernel.BigDecimal
- https://github.com/ruby/bigdecimal/commit/d163f170a4
https://github.com/ruby/bigdecimal/commit/ff8eeeb064 - 04:13 PM Revision 79d236a9 (git): * 2021-01-13 [ci skip]
-
04:12 PM Revision 0e442475 (git): [ruby/reline] Version 0.2.1
- https://github.com/ruby/reline/commit/a3b3c6ee60
-
04:12 PM Revision eb5a094f (git): [ruby/reline] Move the cursor correctly when deleting at eol
- This fixes ruby/reline#246.
https://github.com/ruby/reline/commit/07a73ba601 -
04:12 PM Revision 44817db2 (git): [ruby/reline] Handle ed_search_{prev,next}_history in multiline correctly
- The current line was being handled incorrectly when displaying the hit
history, so it has been fixed to be correct.
... -
04:12 PM Revision 9fa478e3 (git): [ruby/irb] Version 1.3.1
- https://github.com/ruby/irb/commit/c230d08911
-
01:12 PM Revision 344a824e (git): [DOC] Use URI#read instead of URI.open for better compatibility
- - URI.open is available since 2.5.0, but URI#read is available since 1.8.0.
- Fix `open` without `close`.
- ref https... -
11:15 AM Revision 0dc95266 (git): Fix the failing test with XDG_CONFIG_HOME
-
11:15 AM Bug #17529: Ractor Segfaults with GC enabled
- Just confirmed that it only segfaults when ruby is configured with the `--enable-shared` option (which `rbenv` does b...
-
10:21 AM Bug #17529: Ractor Segfaults with GC enabled
- @ko1
It crashes for any value of ARGV[0] between 1 and 25 (that I tested).
The fact that its happening so consi... -
08:04 AM Bug #17529: Ractor Segfaults with GC enabled
- I couldn't reproduce it. Could you tell me `ARGV[0]`?
BTW please fill "ruby -v:" filed with your environment (even... -
01:42 AM Bug #17529: Ractor Segfaults with GC enabled
- Thanks for the report.
Probably the same bug as #17489 -
01:06 AM Bug #17529 (Closed): Ractor Segfaults with GC enabled
- I've been benchmarking `Ractor` on my machine with the following naive prime number generator:
```ruby
# frozen_s... -
11:13 AM Feature #12607: Ruby needs an atomic integer
- ko1 (Koichi Sasada) wrote in #note-24:
> I believe introducing STM https://bugs.ruby-lang.org/issues/17261 is more g... -
07:54 AM Feature #12607: Ruby needs an atomic integer
- I believe introducing STM https://bugs.ruby-lang.org/issues/17261 is more general for this purpose.
-
11:03 AM Bug #17280 (Closed): Dir.glob with FNM_DOTMATCH matches ".." and "." and results in duplicated entries
- Applied in changeset commit:git|7dc0511ea4be210f82abb1c82a31aec3a4fe5736.
----------
Remove "." and ".." from Dir.gl... -
07:38 AM Bug #17280: Dir.glob with FNM_DOTMATCH matches ".." and "." and results in duplicated entries
- https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20201210Japan.md#bug-17280-dirglob-with-fnm_dotm...
-
11:02 AM Revision 7dc0511e (git): Remove "." and ".." from Dir.glob with FNM_DOTMATCH [Bug #17280]
- Co-authored-by: Jeremy Evans <[email protected]>
-
09:02 AM Misc #17480: DevelopersMeeting20210113Japan
- marcandre (Marc-Andre Lafortune) wrote in #note-8:
> * [Misc #0] Comment Deadline (marcandre)
> * Please make comme... -
12:52 AM Misc #17480: DevelopersMeeting20210113Japan
- * [Bug #17517] `File.expand_path` returns us-ascii when both arguments are ascii compat (znz)
* `require_relative` ... - 08:38 AM Revision ccabf496 (git): [ruby/bigdecimal] Fix length calculation in rb_uint64_convert_to_BigDecimal
- https://github.com/ruby/bigdecimal/commit/14e53ed7f6
-
08:24 AM Revision 1eb8eb55 (git): Convert time component strings to integers more strictly
- https://bugs.ruby-lang.org/issues/17485#change-89871
-
08:00 AM Revision b017848f (git): Show seconds of utc_offset if not zero
-
07:31 AM Feature #17363 (Assigned): Timeouts
-
06:30 AM Feature #17485: Keyword argument for timezone in Time.new
- I think `Time.new(2021, 1, 1, "+09:99")` should raise an error instead of `2021-01-01 09:00:00 +0900`.
-
05:47 AM Feature #17291: Optimize __send__ call
- mrkn (Kenta Murata) wrote in #note-3:
> I found that rspec-core redefines `__send__`.
>
> https://github.com/rspe... -
05:40 AM Feature #17330: Object#non
- I prefer "not" method than this "non" method.
`x.empty?.not`
Although `x.empty?.!` is possible now, `!` method ... -
04:57 AM Feature #17528: Make Addrinfo.getaddrinfo fall back to Timeout.timeout for :resolv_timeout
- I think Timeout.timeout doesn't work for Addrinfo.getaddrinfo
because Timeout.timeout cannot interrupt getaddrinfo f... -
04:43 AM Feature #17473: Make Pathname to embedded class of Ruby
- shyouhei (Shyouhei Urabe) wrote in #note-7:
> JFYI pathname was born as a pure-ruby library, then was eventually tra... -
04:10 AM Bug #17350: mongo-ruby-driver causes the segfault at program's exit
- Thank you for your investigation, mame-san!
mongo-ruby-driver has been fixed as below.
https://jira.mongodb.org/b... -
02:45 AM Bug #17527: rb_io_wait_readable/writable with scheduler don't check errno
- Yet another solution is to check if in schedulers?
- 12:57 AM Revision f7dc4d5c (git): tool/sync_default_gems.rb: Prevent infinite loop due to unknown options
-
12:50 AM Bug #17517: File.expand_path returns us-ascii when both arguments are ascii compat
- Original question is `__FILE__` and `__dir__` are us-ascii only when loaded by `relative_require`.
```
% cat hoge.rb... - 12:49 AM Revision 71b17c41 (git): * 2021-01-12 [ci skip]
- 12:22 AM Revision 1d04faee (git): [ruby/bigdecimal] Use rb_cstr_convert_to_BigDecimal in GetVpValueWithPrec
- https://github.com/ruby/bigdecimal/commit/381ddf5ff6
- 12:21 AM Revision 78d3813c (git): [ruby/bigdecimal] Add rb_cstr_convert_to_BigDecimal
- https://github.com/ruby/bigdecimal/commit/ac230a996e
01/11/2021
-
08:53 PM Feature #17528 (Open): Make Addrinfo.getaddrinfo fall back to Timeout.timeout for :resolv_timeout
- Currently, `Addrinfo.getaddrinfo` ignores the `:resolv_timeout` option if we are on a system without `getaddrinfo_a`....
-
07:01 PM Bug #17519: set_visibility fails when a prepended module and a refinement both exist
- although the title makes it sound obscure, this bug is actually fairly easy to trigger when using rspec and rails:
... -
05:59 PM Bug #17527 (Closed): rb_io_wait_readable/writable with scheduler don't check errno
- ## Problem
Playing with the new Fiber Scheduler, I noticed that `TCPServer#accept` would hung forever after closin... -
12:13 PM Revision 66a844fd (git): Define printf qualifier prefix fallbacks
-
10:46 AM Revision 72549cfe (git): Removed ENABLE_PATH_CHECK condition [ci skip]
- This condition is useless on Ubuntu, as this macro is defined by
default on other than Windows. -
07:49 AM Bug #17526 (Closed): Avoid re-entering opt_invokebuiltin_delegate_leave
- Please backport commit:2a1c68c91efeba93c413d0736bc513179d784c50 to Ruby 3.0. According to my quick investigation, it ...
-
07:40 AM Revision 2a1c68c9 (git): Avoid re-entering opt_invokebuiltin_delegate_leave
- on interruption.
The cancellation code was originally written for leave insn, but re-entering
opt_invokebuiltin_dele... -
05:00 AM Revision 5e00eeb4 (git): [ruby/matrix] use an exclusive range [Bug #17521]
-
02:39 AM Revision d2aaf865 (git): [ruby/etc] Added fallback definition of RUBY_ATOMIC_EXCHANGE
- https://github.com/ruby/etc/commit/0c5900bd21
-
02:39 AM Revision f6e2c41d (git): [ruby/etc] Check blocking variables at release
- https://github.com/ruby/etc/commit/f017bdfedf
01/10/2021
-
09:21 PM Bug #17521 (Closed): [Matrix stdlib] Zero matrix to the power of zero
- Applied in changeset commit:git|d8c8b79d24bf0f3177535501ad9b801e552fb2ad.
----------
[ruby/matrix] Fix 0-th power [B... - 09:21 PM Revision d8c8b79d (git): [ruby/matrix] Fix 0-th power [Bug #17521] (#4047)
- 08:39 PM Revision 8187228d (git): Fix ractor docs (#4048) [doc]
-
08:13 PM Revision 0e015f93 (git): Adds RDoc summary of Hash methods (#4045)
- * Adds RDoc summary of Hash methods
- 03:47 PM Revision 52257640 (git): * 2021-01-11 [ci skip]
-
03:33 PM Revision 480f436d (git): Suppress constant redefinition warnings
-
01:17 PM Feature #17525 (Closed): Implement Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- https://github.com/ruby/ruby/pull/4038
This change implements Happy Eyeballs Version 2 (RFC8305) in Socket.tcp.
I... -
12:29 PM Revision c63552ea (git): Remove possibility of using same seeds
-
11:42 AM Revision 1e827d4c (git): Moved to ruby/actions workflow [ci skip]
-
09:31 AM Feature #17524: resolv: add some more characters in IPv6 link local zone id
- Thanks for your comment and pull request. That is what I expected.
I'm looking forward it to be merged.
-
09:19 AM Revision 2adbf01a (git): dtoa.c: make thread-safe by using atomic CAS
-
07:42 AM Revision 34d02631 (git): dtoa.c: constified
- clang seems to locate never modified local data in the const
segment implicitly. -
07:28 AM Revision 63abb5c2 (git): dtoa.c: make compilable independently
- Except for `-Dxmalloc=malloc -Dxfree=free`.
01/09/2021
- 11:45 PM Revision 01aa0360 (git): * 2021-01-10 [ci skip]
- 11:40 PM Revision 2e9b6096 (git): [ruby/bigdecimal] Fix type name
- https://github.com/ruby/bigdecimal/commit/2dad4d17b2
- 11:36 PM Revision 8b53cbaf (git): [ruby/bigdecimal] Avoid casting negative value to size_t
- https://github.com/ruby/bigdecimal/f047b2786f
- 11:35 PM Revision 72d504c1 (git): [ruby/bigdecimal] Use smallest local variable scope in GetVpValueWithPrec
- https://github.com/ruby/bigdecimal/commit/44f26b9aa0
-
08:16 PM Feature #17524 (Assigned): resolv: add some more characters in IPv6 link local zone id
- This seems reasonable to me. I chose a more conservative approach in the initial implementation, but we've already h...
-
10:36 AM Feature #17524 (Closed): resolv: add some more characters in IPv6 link local zone id
- According to [RFC6874](https://tools.ietf.org/html/rfc6874#section-2), IPv6 link local zone id is:
```
ZoneID ... -
07:18 PM Bug #17521 (Assigned): [Matrix stdlib] Zero matrix to the power of zero
- Congratulations on finding the oldest bug in Ruby ever! 🎉
This bug will be 23 years old in a week; it dates from t... -
12:17 AM Bug #17521: [Matrix stdlib] Zero matrix to the power of zero
- I find that[specs declare this as intended behavior](https://github.com/ruby/ruby/blob/1a3343cfdcb765b94bf63375d45618...
-
01:38 PM Revision 590dc06e (git): Get rid of defining methods for tests in core classes
- Not to interfere in other tests.
- 01:37 PM Revision 161a20df (git): gc fix typo for the timer instruction for ARM64.
- 11:36 AM Revision 3d9c9599 (git): [ruby/bigdecimal] Stop using GetVpValueWithPrec in rb_rational_convert_to_BigDecimal
- https://github.com/ruby/bigdecimal/commit/b4f470da61
https://github.com/ruby/bigdecimal/commit/44a78df866 - 11:36 AM Revision be34e31d (git): [ruby/bigdecimal] Add assertions for checking the argument types
- https://github.com/ruby/bigdecimal/commit/96c9ebd886
- 11:35 AM Revision fb18a811 (git): [ruby/bigdecimal] Stop using GetVpValueWithPrec in rb_float_convert_to_BigDecimal
- https://github.com/ruby/bigdecimal/commit/33e7c50263
https://github.com/ruby/bigdecimal/commit/d3c1b0b921 - 11:35 AM Revision 89f31252 (git): [ruby/bigdecimal] Add test cases of conversion from Float
- https://github.com/ruby/bigdecimal/commit/28d3836366
-
07:52 AM Bug #17523 (Closed): Inconsistent Warning[] values in scripts loaded by -r option
- While `-w` option affects `$VERBOSE` for both the main and required scripts, but affects `Warning[]` values only in t...
-
04:47 AM Bug #17522: A typo in `include/ruby/internal/stdalign.h`
- Thank you, I think there is no impact as that macro isn't used except for `sizeof(VALUE)` now.
-
04:41 AM Bug #17522 (Closed): A typo in `include/ruby/internal/stdalign.h`
- Applied in changeset commit:git|0bb62dccf4e6990cfe0bb35c4d8e74e000086d19.
----------
Fixed a typo [Bug #17522] -
01:47 AM Bug #17522 (Closed): A typo in `include/ruby/internal/stdalign.h`
- In `include/ruby/internal/stdalign.h`, the line
```
#elif RBIMPL_HAS_ATTRIBUTE(aliged)
```
should be as
```
#el... -
04:37 AM Revision 0bb62dcc (git): Fixed a typo [Bug #17522]
-
04:33 AM Revision 7ff0e93f (git): parse.y: handle "duplicated argument name" appropriately on ripper.y
- refs: 733ed1e184
-
03:13 AM Bug #17518: escapeHTML segfaults on armv7hl
- Good to hear that. Thank you!
01/08/2021
-
11:26 PM Bug #17521 (Closed): [Matrix stdlib] Zero matrix to the power of zero
- Just like `0**0 == 1`, `Matrix.zero(n)**0 == Matrix.identity(n)` should be true for all `n`:
https://math.stackexc... -
10:41 PM Feature #17520 (Feedback): Allow symbols starting with number, e.g. :2_weeks
- You may not know that:
```ruby
p({ '2_weeks': 1 })
# => prints {:"2_weeks"=>1}
```
Such symbols being quite ... -
09:59 PM Feature #17520 (Feedback): Allow symbols starting with number, e.g. :2_weeks
For instance:
```
p({ 2_weeks: 1 })
```
results in:
```
a.rb:1: trailing `_' in number
p({ 2_weeks: 1 ...-
07:45 PM Bug #17519: set_visibility fails when a prepended module and a refinement both exist
- and a demonstration with a custom class:
```ruby
RUBY_VERSION
class Thing
def direction
'LEFT'
end
end
def ... -
07:29 PM Bug #17519: set_visibility fails when a prepended module and a refinement both exist
- since :except is only available natively on Ruby3, here is a Ruby2 demonstration:
```ruby
irb> RUBY_VERSION
=> "2.7.2... -
07:15 PM Bug #17519 (Closed): set_visibility fails when a prepended module and a refinement both exist
- the set_visibility functions (aka public/private/protected) fail with NameError when:
* called on a specific object'... -
03:59 PM Bug #17518 (Closed): escapeHTML segfaults on armv7hl
- Thx, that helped. Going to set backport flag.
-
12:19 PM Bug #17518: escapeHTML segfaults on armv7hl
- Maybe the issue has been already fixed since f690eb34e28b000627e5f0649dd81a04e252286f. Can you check it on the master?
-
11:36 AM Bug #17518 (Closed): escapeHTML segfaults on armv7hl
- Preparing Ruby 3.0 update in Fedora Rawhide, I struggle with rebuild of 'unicode' gem on armv7hl:
~~~
... snip ..... - 03:31 PM Revision 1a3343cf (git): * 2021-01-09 [ci skip]
-
03:31 PM Revision 391ee3ee (git): Replace `Kernel.#open` with `URI.open` in doc
- Because `Kernel.#open` no longer opens URI since Ruby 3.0.
-
06:43 AM Revision 98bd7e87 (git): [ruby/irb] Make IRB::ColorPrinter.pp compatible with PP.pp
- The incompatible interface is not helpful, again if you want to use it
as a standalone library, falling it back to PP... -
06:35 AM Revision d6b2b5bd (git): [ruby/irb] Add missing require
- This is useful if you want to use IRB::ColorPrinter as a library like:
```
begin
require 'irb/color_printer'
IRB... -
05:44 AM Revision d4b7e967 (git): should use `assert_include` here.
- Random ordering test can introduce antoher candidate so it should be
`assert_include`. -
05:39 AM Revision abdc634f (git): remove unused decl
-
04:38 AM Bug #17466 (Closed): Inconsistent backtrace order in Ruby 3.0
- Applied in changeset commit:git|917050220a1fd41bdb3e50ea54a200b0c285bcd4.
----------
[ruby/irb] Use Exception#full_m... - 04:38 AM Revision 5a221ead (git): * 2021-01-08 [ci skip]
-
04:32 AM Revision 6cbb3fd1 (git): [ruby/irb] Fix comment, irb gem supports 2.5.0 or older
- https://github.com/ruby/irb/commit/36118015ba
-
04:25 AM Revision a8f4cbee (git): [ruby/reline] Add acknowledgments and license for rb-readline
- https://github.com/ruby/reline/commit/19df59b916
-
04:25 AM Revision 01235f80 (git): [ruby/reline] Suppress auto indent for adding newlines in pasting
- Co-authored-by: Juanito Fatas <[email protected]>
https://github.com/ruby/reline/commit/074bb017a7 -
04:25 AM Revision 76c9a3c8 (git): [ruby/reline] Suppress crashing when dynamic_prompt_proc returns a broken prompt list
- Co-authored-by: Juanito Fatas <[email protected]>
https://github.com/ruby/reline/commit/558f7be168 -
04:25 AM Revision 88af5085 (git): [ruby/reline] Suppress crashing when auto_indent_proc returns broken indent info
- Co-authored-by: Juanito Fatas <[email protected]>
https://github.com/ruby/reline/commit/7c24276275 -
04:25 AM Revision e356b71d (git): [ruby/reline] Remove debug print
- https://github.com/ruby/reline/commit/d7fbaedc6a
-
04:25 AM Revision ea75aed9 (git): [ruby/reline] Correct var names in Reline were different from vi-*-mode-string
- https://github.com/ruby/reline/commit/8255fc93b9
-
04:25 AM Revision 54c1dcba (git): [ruby/reline] Update cursor correctly when just cursor moving
- This fixes ruby/reline#236 and ruby/reline#239.
https://github.com/ruby/reline/commit/3e3c89d00b -
04:25 AM Revision 559f844b (git): irb: Drop lines from backtrace for tests in Ruby repository
-
04:25 AM Revision 111fddd5 (git): [ruby/irb] Fix BACK_TRACE_LIMIT logic
- https://github.com/ruby/irb/commit/30dc5d43fe
-
04:25 AM Revision 91705022 (git): [ruby/irb] Use Exception#full_message to show backtrace in the correct order
- [Bug #17466]
https://github.com/ruby/irb/commit/1c76845cca -
04:25 AM Revision ed3264d3 (git): [ruby/irb] refactoring an error handling in `IRB::Inspector`
- * moved rescue clause to `#inspect_value` to catch all failures in inspectors
* test with all (currently five kind of... -
04:25 AM Revision f5947752 (git): [ruby/irb] do not escape a predicate method for doc namespace
- * Fixes #88
https://github.com/ruby/irb/commit/d431a30af4 -
04:25 AM Revision 4bb683a5 (git): [ruby/irb] fix typo in `IRB::Irb#convert_invalid_byte_sequence`
- https://github.com/ruby/irb/commit/d09d3c3d68
Also available in: Atom