Activity
From 06/04/2021 to 06/10/2021
06/10/2021
- 11:31 PM Revision 9210f8df (git): * 2021-06-11 [ci skip]
-
11:31 PM Revision d74e5d5b (git): Crash more nicely when the VM isn't fully set up
- If we crash but the VM isn't fully alive, we can get an infinite loop.
-
05:35 PM Bug #17945 (Closed): Date::Infinity comparison <=> with Float::INFINITY not symmetric
- **Example**
``` ruby
require 'date'
p Float::INFINITY <=> Date::Infinity.new
p Date::Infinity.new <=> Float::IN... -
02:59 PM Revision 929cc615 (git): Finish GC before calling gc_set_initial_pages
- If we are during incremental sweeping when calling gc_set_initial_pages
there is an assertion error. The following pa... -
12:09 PM Misc #17936: Run Travis at push on forked repository
- > I sent the PR here.
> https://github.com/ruby/ruby/pull/4556
The PR was merged. I expect that now you can run T... -
08:26 AM Feature #17944 (Open): Remove Socket.gethostbyaddr and Socket.gethostbyname
- It is marked as unsafe by our static analysis. Can it be removed now?
It was deprecated in:
https://bugs.ruby-l... -
08:15 AM Feature #10320: require into module
- texpert (Aurel Branzeanu) wrote in #note-11:
> And another similar gem is modulation ( https://rubygems.org/gems/mod... -
06:18 AM Feature #10320: require into module
- jaesharp (J Lynn) wrote in #note-10:
> I'd like to note that there exists a gem called modules ( https://rubygems.or... -
05:51 AM Feature #10320: require into module
- I'd like to note that there exists a gem called modules ( https://rubygems.org/gems/modules ) which uses `Kernel#load...
-
07:53 AM Revision d281fc52 (git): Add missing dependencies
- https://github.com/ruby/ruby/runs/2791163586?check_suite_focus=true
-
07:40 AM Revision 474f7995 (git): Cast jit_func for Windows
- https://ci.appveyor.com/project/ruby/ruby/builds/39542385/job/8b7aq951f9t01x4x
-
07:32 AM Revision c5e8a49b (git): Avoid enqueueing the same ISeq twice
- by a race condition by multiple Ractors.
Atmically incrementing body->total_calls may have its own cost, so for
now ... -
07:09 AM Revision 3d6b5c23 (git): merge revision(s) 773c690f2553db31a9cc83a037f5449e0c1ea456:
- [ruby/net-ftp] Bump version to 0.1.2
https://github.com/ruby/net-ftp/commit/895ba44b3c
---
... -
07:08 AM Revision 24370a7a (git): merge revision(s) 370949aad60e992c26037241c07489c056554ea3:
- test/net/ftp/test_ftp.rb - fix intermittent MinGW failure
Fixes intermittent error as below:
[242/8... -
07:07 AM Revision 98e5d1f2 (git): merge revision(s) fe11031b677f301fa011202f3d27e8eb73064264:
- test/net/ftp/test_ftp.rb: remove unused variable
---
test/net/ftp/test_ftp.rb | 1 -
1 file... -
07:07 AM Revision 02411b16 (git): merge revision(s) 1b2abb6590a653cb7b31d73c42edbaf2d0617b27:
- [ruby/net-ftp] Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowle... -
07:06 AM Revision 63634928 (git): merge revision(s) 990baec41174a0b4cf7e285cf3185b4ab444437e:
- [ruby/net-ftp] Close the passive connection data socket if there is
an error setting up the transfer
... -
07:01 AM Revision ced669ae (git): merge revision(s) a86c6cb34df0c44973efe6578ba1cd9150af22cf:
- [ruby/net-ftp] Replace Timeout.timeout with socket timeout
Timeout.timeout is inefficient since it spins up ... -
06:15 AM Revision 791d7d49 (git): Freeze command line script
-
02:32 AM Feature #17930: Add column information into error backtrace
- If needed, we can implement `Thread::Backtrace::Location#code_location` by using `AST.of`.
```
class Thread::Back... -
01:32 AM Bug #17941: POSIX timers are not fork-safe on 2.7.x
- ruby_3_0 d4f4ae599f650feb0a9da6fa486ce425dbe8a81a merged revision(s) 73f9831a57e133ab5645221df862a176a42f6685.
-
01:31 AM Revision d4f4ae59 (git): merge revision(s) 73f9831a57e133ab5645221df862a176a42f6685: [Backport #17941]
- POSIX timer cannot be shared in forked process [Bug #17941]
---
thread_pthread.c | 1 +
1 f...
06/09/2021
-
11:27 PM Feature #17930: Add column information into error backtrace
- > Another thought: for the case of NoMethodError, maybe showing the arguments would be enough to differentiate in mos...
-
06:07 PM Feature #17930: Add column information into error backtrace
- Another thought: for the case of NoMethodError, maybe showing the arguments would be enough to differentiate in most ...
-
05:52 PM Feature #17930: Add column information into error backtrace
- > I'll try to implement it again in prelude.rb, or think of creating a private, MRI-specific default gem.
Why not ... -
04:53 PM Feature #17930: Add column information into error backtrace
- > did_you_mean is a public gem, so I think it should avoid using such a internal, unstable (the AST will evolve and d...
-
06:16 PM Revision 8a46b480 (git): Refactor gc_marks_start_heap to only configure heap
- Move the non-heap related configurations to gc_marks_start.
-
03:17 PM Misc #17936 (Closed): Run Travis at push on forked repository
- Applied in changeset commit:git|f7741cda323e759432f34c954d7da0ac3d865ab1.
----------
Enable Travis on the specific b... - 03:17 PM Revision fa340dd9 (git): * 2021-06-10 [ci skip]
- 03:16 PM Revision f7741cda (git): Enable Travis on the specific branches or forked repositories.
- Align the Travis enabling timing with GitHub Actions.
For the syntax, see <https://docs.travis-ci.com/user/condition... -
02:45 PM Bug #17923 (Closed): try to mark T_NONE object with miniruby x86 Win32 buildt with MSVC
-
12:21 PM Bug #17923: try to mark T_NONE object with miniruby x86 Win32 buildt with MSVC
- FTR commit:e03bf76b312e9cba0e44488fcd8f67099af816cb by user:nobu should solve this in a more general way. I think we ...
-
10:15 AM Revision e03bf76b (git): Pack iseq_inline_constant_cache_entry
- Reordered iseq_inline_constant_cache_entry members not to exceed
the size of RValue. -
09:49 AM Revision 9ba335e2 (git): [Win32] fixed PACKED_STRUCT_UNALIGNED on x86
- Use MACHINE for x86 CPU family, ARCH is CPU model name (i386) and
cannot be x86. -
08:50 AM Bug #17943: Segmentation fault in dispatch()
- mame (Yusuke Endoh) wrote in #note-1:
> It is a static function in protobuf. Please contact on them first.
Thanks f... -
08:11 AM Bug #17943 (Third Party's Issue): Segmentation fault in dispatch()
- It is a static function in protobuf. Please contact on them first.
https://github.com/protocolbuffers/protobuf/blo... -
07:46 AM Bug #17943 (Third Party's Issue): Segmentation fault in dispatch()
- Ruby is crashing due to a segfault in dispatch() while decoding a protobuf message on s390 platform. This occurred wi...
-
05:32 AM Feature #17942: Add a `initialize(public @a, private @b)` shortcut syntax for defining public/private accessors for instance vars as part of constructor
- You should probably read @matz's response to a previous request for instance variable parameters: https://bugs.ruby-l...
-
05:25 AM Feature #17942: Add a `initialize(public @a, private @b)` shortcut syntax for defining public/private accessors for instance vars as part of constructor
- FYI: This is (partially) a duplicate of #5825, #8563, #12023, #12578, #12820, and #15192.
-
04:55 AM Feature #17942 (Open): Add a `initialize(public @a, private @b)` shortcut syntax for defining public/private accessors for instance vars as part of constructor
- This proposal builds on the proposed `initialize(@a, @b)` instance var assignment shortcut syntax described in #15192...
-
04:21 AM Feature #15192: Introduce a new "shortcut assigning" syntax to convenient setup instance variables
- ## Same feature in TypeScript
It's worth mentioning that other languages have a shortcut for assignment var assignme... -
03:34 AM Bug #17941 (Closed): POSIX timers are not fork-safe on 2.7.x
- Applied in changeset commit:git|73f9831a57e133ab5645221df862a176a42f6685.
----------
POSIX timer cannot be shared in... -
03:32 AM Revision 73f9831a (git): POSIX timer cannot be shared in forked process [Bug #17941]
-
12:36 AM Feature #17845: Windows Ruby - ucrt build?
- A patch is attached for the configure script to set `rb_cv_msvcrt=ucrt` and `RT_VER=140` when UCRT is used.
-
12:31 AM Feature #17763: Implement cache for cvars
- Thank you for the benchmark.
How about that?
>> We also measured database queries in Rails and with the cvar cache ... -
12:08 AM Feature #17785: Allow named parameters to be keywords
- This feels related to [this proposal](https://bugs.ruby-lang.org/issues/16460) I submitted ~1.5 years ago concerning ...
06/08/2021
-
10:37 PM Bug #16782 (Closed): `lock': deadlock; recursive locking (ThreadError) in 2.7.1
- I have not seen this issue for a long time so it must be fixed.
-
10:35 PM Feature #17930: Add column information into error backtrace
- I agree we should introduce an abstract rich model for this.
https://bugs.ruby-lang.org/issues/13383 is a similar ... -
07:40 PM Feature #17930: Add column information into error backtrace
- mame (Yusuke Endoh) wrote in #note-5:
> In fact there is no enough information because `Thread::Backtrace::Location`... -
12:18 PM Feature #17930: Add column information into error backtrace
- Ahh, I've tried but I found that the current prototype draws an underline from "the end column of the receiver of the...
-
11:42 AM Feature #17930: Add column information into error backtrace
- I've created a PR for did_you_mean: https://github.com/ruby/did_you_mean/pull/151
Eregon (Benoit Daloze) wrote in ... -
09:29 AM Feature #17930: Add column information into error backtrace
- > I talked with ko1 (Koichi Sasada), and we agreed that allowing RubyVM::AbstractSyntaxTree.of(Thread::Backtrace::Loc...
-
09:17 AM Feature #17930 (Assigned): Add column information into error backtrace
- Thank you @matz .
I talked with @ko1, and we agreed that allowing `RubyVM::AbstractSyntaxTree.of(Thread::Backtrace... -
06:31 PM Revision 9f110ced (git): Add multi-heap support to gc_marks_wb_unprotected_objects
-
05:20 PM Bug #17767 (Closed): `Cloned ENV` inconsistently returns `ENV` or `self`
- Applied in changeset commit:git|117310bdc00236c0a7676616ce25b5106775dabc.
----------
Make ENV.clone warn and ENV.dup... - 05:19 PM Revision f9e13cda (git): * 2021-06-09 [ci skip]
-
05:19 PM Revision 117310bd (git): Make ENV.clone warn and ENV.dup raise
- ENV.dup returned a plain Object, since all of ENV's behavior is
defined in ENV's singleton class. So using dup makes...
06/07/2021
-
11:12 PM Revision 8c87efaa (git): [ruby/psych] Fix the test that does not work with libyaml-0.1.7
- https://github.com/ruby/psych/commit/542cf9754f
-
09:54 PM Bug #17941: POSIX timers are not fork-safe on 2.7.x
- Here is a small C program which aborts on Ruby 2.7+ on Linux but works on Ruby 2.5:
```
#include <ruby.h>
#include <... -
08:46 PM Bug #17941 (Closed): POSIX timers are not fork-safe on 2.7.x
- I have an application which runs under a pre-fork-model web server (uwsgi).
When a worker exits, SIGCHLD will be d... -
08:14 PM Bug #17940: Bus Error
- There is too little information to judge now, but my prejudication is that this is the same issue as in #17922 (and a...
-
07:21 PM Bug #17940 (Feedback): Bus Error
- In general, if you are using FFI and get a Bus Error, it is unlikely to be a bug in Ruby. It is more likely this is a...
-
07:01 PM Bug #17940 (Closed): Bus Error
- /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.1/lib/ffi/library.rb:275: [BUG] Bus Error at 0x00000001050bc000
ruby 2.6.3p62... - 06:47 PM Revision a49a08ab (git): * 2021-06-08 [ci skip]
-
06:47 PM Revision 459a9f82 (git): Don't create objects during GC
- If we crash during GC, allocating new objects in the segv handler can
cause an infinite loop. This commit is to avoi... -
06:27 PM Bug #17767: `Cloned ENV` inconsistently returns `ENV` or `self`
- At the May 2021 developer meeting, it was decided that `ENV.dup` should raise and `ENV.clone` should warn, so I close...
-
04:51 PM Feature #17938: Keyword alternative for boolean positional arguments
- > This applies for any argument really. No other way than to read the docs (or know from a previous reading) to answe...
-
01:46 PM Feature #17938: Keyword alternative for boolean positional arguments
- We need to name keyword arguments consistently among similar methods. Otherwise, we will face confusion as you mentio...
-
01:13 PM Feature #17938: Keyword alternative for boolean positional arguments
- Another problem is
```ruby
object.respond_to?(:symbol, include_all: false)
object.methods(regular: true)
```
doe... -
02:34 AM Feature #17938: Keyword alternative for boolean positional arguments
- Although it requires migration complexity and ugliness for the time being, I think it's OK.
We may need to investig... -
04:18 PM Misc #17886: DevelopersMeeting20210617Japan
- * [Bug #17561] The timeout option for Addrinfo.getaddrinfo is not reliable on Ruby 2.7.2 (jeremyevans0)
* Usage of... -
07:18 AM Misc #17886: DevelopersMeeting20210617Japan
- * [Feature #12913] A way to configure the default maximum width of pp (mame)
* How about `pp(obj, pp_out: $stderr,... -
04:04 PM Misc #17936: Run Travis at push on forked repository
- I sent the PR here.
https://github.com/ruby/ruby/pull/4556
-
03:41 PM Bug #15928: Constant declaration does not conform to JIS 3017:2013
- This was discussed at the May 2021 developer meeting. @naruse is against breaking backwards compatibility for this i...
-
02:19 PM Feature #17845: Windows Ruby - ucrt build?
- The attached patch is essentially a cleanup of that by @Biswa96 from GitHub. With this `./configure rb_cv_msvcrt=ucrt...
-
01:47 PM Feature #17930: Add column information into error backtrace
- I agree with the idea too. Let's see how it works.
Matz.
-
11:44 AM Revision 26fcec5a (git): [DOC] fix metacharacter markups [ci skip]
-
11:44 AM Revision c741ea0b (git): timev.rb: moved class rdoc from time.c
-
11:44 AM Revision 4bd538e8 (git): dir.rb: moved class rdoc from dir.c
-
10:24 AM Revision bb4a1020 (git): Do not use YAML module in tests of Psych
-
10:21 AM Revision d7146dfd (git): Use assert_raise instead of assert_raises
-
10:15 AM Revision 85b94144 (git): [ruby/psych] Bump version to 4.0.1
- https://github.com/ruby/psych/commit/4049939006
-
10:15 AM Revision fd6225c7 (git): [ruby/psych] Implement YAML.safe_dump to make safe_load more usable.
- In case where Psych is used as a two way serializers,
e.g. to serialize some cache or config, it is preferable
to hav... -
10:15 AM Revision 43088315 (git): [ruby/psych] Make YAML.load_file use YAML.load instead of safe_load
- YAML.load and YAML.safe_load are different a little; the former allows
Symbol by default but the latter doesn't. So Y... -
10:09 AM Feature #17853: Add Thread#thread_id
- Thank you, @naruse and @nobu!
-
08:45 AM Revision dd765f9e (git): Get rid of updating Unicode files
- Some certificates on Unicode.org have expired.
-
07:22 AM Revision bc126d91 (git): Skip make update-unicode for BASERUBY CI
- Unfortunately it often fails depending on the status of www.unicode.org.
https://github.com/mame/ruby/runs/276134616... -
07:16 AM Feature #12913: A way to configure the default maximum width of pp
- So, some people (including @ko1) have a custom to pass keyword arguments to Kernel#pp:
```
foo = 42
bar = 43
pp... - 01:23 AM Revision a9d76172 (git): * 2021-06-07 [ci skip]
- 01:22 AM Revision ad22e889 (git): Fix Typo
-
12:47 AM Bug #17939: Segmentation fault at Ruby 3.0.0 w/ CGI.escapeHTML
- This segfault issue looks like #17518, which has been already fixed in 3.0.1. I have no idea about the other issue (p...
06/06/2021
-
07:48 PM Bug #17939 (Rejected): Segmentation fault at Ruby 3.0.0 w/ CGI.escapeHTML
- It reproduces with 2.7, and it seems like the patched gem allocates a lot of memory. Because I'm still in the middle ...
-
07:39 PM Bug #17939: Segmentation fault at Ruby 3.0.0 w/ CGI.escapeHTML
- I tried to check if this reproduces with 3.0.1 as well, but it seems to hit another issue that puma hangs forever and...
-
07:23 PM Bug #17939 (Rejected): Segmentation fault at Ruby 3.0.0 w/ CGI.escapeHTML
- When I run https://github.com/k0kubun/gitstar-ranking with a Gemfile modified to use haml.gem at https://github.com/k...
-
02:02 PM Revision cf92b3cc (git): ast.rb: reduce nesting
- 01:45 PM Revision c9af563e (git): * 2021-06-06 [ci skip]
-
01:45 PM Revision 2e972406 (git): prelude.c.tmpl: strip comment-only or empty lines at the beginning
-
09:56 AM Bug #17835: Net::HTTP should automatically add Accept-Encoding request header on HEAD request as well
- Opened: https://github.com/ruby/net-http/pull/26
-
09:43 AM Feature #17938: Keyword alternative for boolean positional arguments
- I'm negative about this, because of the overhead and complexity it would introduce while supporting both forms, and b...
06/05/2021
-
05:10 PM Feature #17845: Windows Ruby - ucrt build?
- The test `TestEnv#test_huge_value` showed a difference between msvcrt and ucrt for x64-mingw32:
```
1) Failure:... -
11:33 AM Feature #17853: Add Thread#thread_id
- @nobu that looks great!
-
09:29 AM Feature #17853: Add Thread#thread_id
- ```diff
diff --git i/thread.c w/thread.c
index cbef44a9d4a..c627e5c8f2a 100644
--- i/thread.c
+++ w/thread.c
@@ ... -
09:21 AM Misc #17502: C vs Ruby
- @ko1 Could you reply to this?
I feel C code in the middle of Ruby code is not so great, and if moving C code to st... -
07:59 AM Feature #17938: Keyword alternative for boolean positional arguments
- When you want to make arguments self-explanatory, I wonder if it is not sufficient to write as follows:
```ruby
obj... -
07:22 AM Misc #17683: Current status of beginless range (experimental or not)
- AFAIK, there was no such message as "Beginless range is experimental, and the behavior may change in future versions ...
-
06:48 AM Misc #17683: Current status of beginless range (experimental or not)
- Hello, is there anyone who is responsible for this? I need this information for the book I'm writing now.
-
04:57 AM Feature #17135 (Closed): Improve performance of Integer#size method
- Applied in changeset commit:git|3208a5df2dfb429752a130a36274464e9924cf44.
----------
Improve perfomance for Integer#... -
04:57 AM Revision 3208a5df (git): Improve perfomance for Integer#size method [Feature #17135] (#3476)
- * Improve perfomance for Integer#size method [Feature #17135]
* re-run ci
* Let MJIT frame skip work for Integer#si... - 03:28 AM Revision 033e76e7 (git): * 2021-06-05 [ci skip]
-
03:27 AM Revision 67ca2cce (git): Update bundled_gems
06/04/2021
-
07:00 PM Feature #17938 (Open): Keyword alternative for boolean positional arguments
- Some Ruby methods accept optional boolean arguments. This kind of parameter is known to be confusing since you cannot...
-
05:47 PM Feature #17763: Implement cache for cvars
- This is the script/app I used to measure https://github.com/k0kubun/railsbench
-
05:46 PM Feature #17763: Implement cache for cvars
- I ran benchmarks using railsbench and the branch with the CVAR cache is a lot faster, 657 requests per second over th...
-
03:31 PM Bug #17937 (Closed): Segmentation fault in Enumerator#next on Apple M1, Mac OS Big Sur 11.2.2
- If this is already fixed in 2.7.3, I think we can close this. We cannot change 2.7.1.
-
03:16 PM Bug #17937 (Closed): Segmentation fault in Enumerator#next on Apple M1, Mac OS Big Sur 11.2.2
- A simple code in the irb console fails:
```
irb(main):003:0> [1,2,3].to_enum.next
[BUG] Segmentation fault at 0x... -
03:08 PM Bug #17925: Pattern matching syntax using semicolon one-line
- It is a known restriction that the code is parsed as `case (expression in 42)`.
Let me consider if it is possible to... -
09:36 AM Misc #17936 (Closed): Run Travis at push on forked repository
- I want to change the current condition to run Travis to improve developer's experience.
In my understanding, curre... -
08:37 AM Feature #12075: some container#nonempty?
- I want to mention that some of the method names proposed so far would break symmetry.
Note that "empty" is a propert... -
06:04 AM Feature #12075: some container#nonempty?
- I like `Array#some?` and `Hash#some?`. It is so frequent to write `!ary.empty?`.
I think the main concern is only ab... -
04:56 AM Feature #15567: Allow ensure to match specific situations
- Also there is a problem with the proposed work around:
```
begin
rescue Exception => exception
raise
ensure
... -
04:22 AM Feature #15567: Allow ensure to match specific situations
- Here are some examples of situations where `$!` is used inside `ensure` block. In every case, there is a potential bu...
-
03:41 AM Bug #13298: mingw SEGV TestEnumerable#test_callcc
- Note that there are two related issues, for which the solutions conflict with each other:
* #9710: no __builtin_s... -
01:37 AM Bug #13298: mingw SEGV TestEnumerable#test_callcc
- I have a similar problem with a recent 3.1.0dev version, in which the attached test case (named `x64-mingw32-callcc-t...
-
12:24 AM Revision 91c542ad (git): lldb_cruby.py: push non-flonum float to history [ci skip]
-
12:12 AM Revision 3c57c087 (git): lldb_cruby.py: fix non-flonum float inspection [ci skip]
Also available in: Atom