Activity
From 04/10/2020 to 04/16/2020
04/16/2020
-
09:30 PM Bug #11143: it should always be possible to return from an if
- Just got hit by this. Is this difficult to backport to supported versions?
- 09:23 PM Revision c23efbaa (git): Remove lib/rss.rb
- This is a follow-up of 83240f315a10b42b53c3b62c1fbc428f97912665 .
-
07:23 PM Feature #16795 (Open): build ruby.exe on Windows against ruby-static.lib omitting x64-vcruntime-ruby.dll (no '--enable-shared' option for Windows)
- I'm trying to build ruby for embedded windows environment. It would help a lot if I would be able to do it without '-...
-
06:41 PM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Attaching the "v5" version of the patch. This version corresponds with the changes I just pushed on my [ads/b.r-l.o-i...
-
04:17 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Slightly cleaned-up patch: v4
[still just a wip; please ignore] -
03:45 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Just attaching the "v3" version of the patch. This one is /not/ a commit candidate; needs some beautification.
The... -
05:21 PM Bug #16788: T_CLASS counts classes double
- The reason is documented here:
https://github.com/ruby/ruby/blob/f2c3848a5bf2bec0b27a6035c4b7399594c32509/class.c#L17... -
04:02 PM Bug #16788: T_CLASS counts classes double
- Unfortunately, I do not know the reason behind the automatic creation of singleton classes for classes. I'm guessing...
-
11:24 AM Bug #16788: T_CLASS counts classes double
- @jeremyevans0 thank you so much for your answer. Why are two singleton classes created and why only the second one is...
-
04:23 PM Bug #16793 (Third Party's Issue): [BUG] object allocation during garbage collection phase
- Based on the error message and control frame info, it appears puma is allocating an object during garbage collection,...
-
11:50 AM Bug #16793 (Third Party's Issue): [BUG] object allocation during garbage collection phase
- Hi
Our Puma server periodically stops working, and returns to command line without error message.
Nothing has chang... -
03:53 PM Revision a0bc3f2a (git): Suppress C4267 "possible loss of data" warnings
- 03:52 PM Revision 99a04815 (git): * 2020-04-17 [ci skip]
-
03:52 PM Revision 3cca0d19 (git): core_assertions.rb: fixed fd leak at timeout
-
03:52 PM Revision e231f8e8 (git): envutil.rb: not try to close pipes twice
-
02:07 PM Feature #16670: Reverse order of `expression` in `pattern` for 1-line pattern matching while it's still experimental
- I think the `in` syntax and order feels natural when you're actually matching a pattern. It's not AI-like pattern rec...
-
01:59 PM Feature #15921: R-assign (rightward-assignment) operator
- Until now I thought `=>` made perfect sense, given that it's already used in `rescue`, but Jeremy's counterpoint exam...
-
01:55 PM Feature #16794 (Open): Rightward operators
- While reading #15921 (r-assign) and #16670 (reverse pattern matching order) I felt a certain commonality to these and...
-
01:12 PM Feature #16791: Shortcut for Process::Status.exitstatus
- This is not a good feature request, IMO.
There is not really any explanation as to what the idea is about. Why is
... -
06:06 AM Feature #16791 (Open): Shortcut for Process::Status.exitstatus
- [Updated]
```
s = `csc x.cs`.sub(/.*?\n\n/m, '')
puts s if s != ''; exit $?.exitstatus if $?.exitstatus > 0
sys... -
11:54 AM Bug #16498: Hash#transform_values in 2.7.0 sets new hash's default to old hash's default_proc
- This does break ActiveSupport 5.2 test suite.
-
11:50 AM Revision fedc8075 (git): Preserve encoding in error messages for invalid user/group name
-
11:50 AM Revision 748c7c7c (git): Added tests for Process::UID.from_name and Process::GID.from_name
-
11:50 AM Revision f57e2d72 (git): Preserve encoding in error message for invalid env exec option
-
11:38 AM Revision 33aaa2aa (git): Added test for invalid env exec option
-
10:39 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Thanks @eregon for your feedback.
> Maybe we can make `Fiber.new(blocking: false)` call `Thread.current.scheduler.fi... -
09:15 AM Feature #16786: Light-weight scheduler for improved concurrency.
- I think is a great proposal.
I think we need to try to support existing code as much as possible, because all the ... -
09:05 AM Feature #16786: Light-weight scheduler for improved concurrency.
- I created #16792 to change Mutex to be held per Fiber instead of per Thread.
Based on that it should be easy to inte... -
10:26 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
- My initial reply might have come across as overly critical and that was not my intention.
I want to say, I agree wit... -
09:57 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
- > Any example? Please don't claim such things if there is no example.
I'll have to defer to @headius for examples, s... -
09:37 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
- ioquatix (Samuel Williams) wrote in #note-5:
> Can you check the Crystal implementation? How do they implement fair ... -
09:32 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
- > Application code which expects per-thread mutex
I'm happy to see examples of that.
I've never seen it in 5+ mor... -
09:24 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
- Characterising this as trivial hides the impact of this both on the scheduler design and application code which expec...
-
09:01 AM Feature #16792 (Closed): Make Mutex held per Fiber instead of per Thread
- Currently, Mutex in CRuby is held per Thread.
In JRuby and TruffleRuby, Mutex is held per Fiber (because it's simply... -
09:02 AM Revision 693378f1 (git): Moved noreturn call to end of noreturn function
-
08:59 AM Revision d4215daf (git): Use UNREACHABLE_RETURN for non-void function
-
08:39 AM Feature #11747: "bury" feature, similar to 'dig' but opposite
- I think the issues/problems specified in the comments are not present with a Hash-only implementation. :)
I would ... -
08:19 AM Revision 3eb05a80 (git): fix compiler error on gcc 4.x
- It seems gcc prior to 5 suffered from preprocessor bug. We have to
provide workarounds.
See https://github.com/ruby... - 05:22 AM Revision 4ab14aec (git): * 2020-04-16 [ci skip]
-
05:22 AM Revision 48273534 (git): Support for FreeBSD <sys/cdefs.h>
- FreeBSD's <sys/cdefs.h> is broken. Cygwin is also affected by that.
We need to avoid using them.
See also:
https://...
04/15/2020
-
11:36 PM Feature #16790: string format and refinements
- This isn't a bug, as it is currently expected that refinements would not be used in this case. Switching this to a f...
-
11:25 PM Feature #16790 (Open): string format and refinements
- I did:
```ruby
require 'pathname'
module PathRefinement
refine Pathname do
def to_s
'"%s"' % s... -
09:57 PM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Just attaching the "v2" version of the patch, which adds functionality to fallback on using getpwuid() when getpwuid_...
-
09:50 PM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- nobu (Nobuyoshi Nakada) wrote in #note-2:
> The reason to prefer `getpwnam` over `getpwuid` is that some login names... -
01:06 PM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- The reason to prefer `getpwnam` over `getpwuid` is that some login names who have different home directories can shar...
-
11:38 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- I created a pull request for this over on GitHub:
https://github.com/ruby/ruby/pull/3034
The automated intgrati... -
11:19 AM Bug #16787 (Closed): [patch] allow Dir.home to work for non-login procs when $HOME not set
- The 'Dir.home' method in versions of Ruby 2.x through the latest (2.7.1,
released 2020-03-31) is unable to reliably ... -
07:23 PM Bug #16789 (Closed): Compaction callback for C extensions not documented
- The compaction callback for C extensions not documented in the extension rdoc.
Here's the section of the C code wh... -
05:45 PM Bug #16788 (Rejected): T_CLASS counts classes double
- This is expected and not a bug. Creating a class automatically creates a singleton class. Output from debugger when...
-
05:22 PM Bug #16788 (Rejected): T_CLASS counts classes double
- Consider the following code:
``` ruby
h = {}
ObjectSpace.count_objects(h)
puts "Counts: #{ h[:T_CLASS] }, #{ h[... -
12:05 PM Revision 155f64e3 (git): Raise EPIPE at broken pipe for the backward compatibility
- Instead of SignalException for SIGPIPE, raise `Errno::EPIPE` with
instance variable `signo` and re-send that signal a... -
12:00 PM Revision d72fd1e4 (git): Added rb_syserr_new_path
- Similar to rb_syserr_fail_path, but just returns the created
exception instance instead of raising it. -
10:51 AM Bug #16785: ruby 2.8.0-dev 5c27681813 causes Rails CI failure
- I have confirmed 79f3403b addresses the issue.
```
% ruby -v
ruby 2.8.0dev (2020-04-15T06:49:29Z master 79f3403b... -
06:53 AM Bug #16785: ruby 2.8.0-dev 5c27681813 causes Rails CI failure
- Thanks to the easy way to reproduce the issue, I could fix the failure in commit:8355a99883 at least in my environmen...
-
06:42 AM Bug #16785 (Closed): ruby 2.8.0-dev 5c27681813 causes Rails CI failure
- Applied in changeset commit:git|8355a998839f17ff214a89062821a0a4287f6a54.
----------
Invalidate fastpath when callin... -
07:06 AM Revision 69b3e0ac (git): Create succ_index_table as a part of `iseq_setup`
- With compiling `CPDEBUG >= 2`, `rb_iseq_disasm` segfaults if this
table has not been created. Also `ibf_load_iseq_ea... -
07:06 AM Revision a9567cc2 (git): Added test for `debug_level:` option of `RubyVM::InstructionSequence.compile`
-
06:59 AM Revision 1dad9fa5 (git): This test is not testing attr_writer
-
06:49 AM Revision 79f3403b (git): Invalidate fastpath when calling attr_reader by super
- The same bug as 8355a99883 existed in attr_reader too.
-
06:32 AM Revision 8355a998 (git): Invalidate fastpath when calling attr_writer by super
- We started to use fastpath on invokesuper when a method is not refinements
since 5c27681813, but we shouldn't have us... -
03:34 AM Revision 2c12d111 (git): Disassemble nop-inserted list
-
03:28 AM Revision de2afcbf (git): Show heading for update_catch_except_flags
-
03:17 AM Revision f9822d17 (git): Shrink diassembled result string
- 01:37 AM Revision 0d6737cb (git): * 2020-04-15 [ci skip]
-
01:33 AM Revision 478135f4 (git): Disallow line-continuation before R-assign
-
01:18 AM Feature #16786: Light-weight scheduler for improved concurrency.
- I looked at C interface.
We can introduce new interface, something like:
```c
int rb_wait_readable(VALUE io);
int r... -
12:42 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Added `autoclose: false` to reflect discussion point from @headius.
-
12:47 AM Feature #14736 (Closed): Thread selector for flexible cooperative fiber based concurrency
- Closing in favour of https://bugs.ruby-lang.org/issues/16786
04/14/2020
-
11:58 PM Feature #16786: Light-weight scheduler for improved concurrency.
- In addition, I thought about it more, and I think `Fiber do ... end` without a scheduler should be a hard error, othe...
-
11:55 PM Feature #16786: Light-weight scheduler for improved concurrency.
- > Why not differentiate what we think of as Fiber today with this new type of Fiber (e.g. ScheduledFiber)?
From the ... -
06:55 PM Feature #16786: Light-weight scheduler for improved concurrency.
- I have not had much time to digest this from a single reading but a question immediately screams out at me in reading...
-
06:45 PM Feature #16786: Light-weight scheduler for improved concurrency.
- A thought occurs: if you have to create a "special" fiber to get nonblocking behavior anyway, why isn't it named some...
-
06:15 PM Feature #16786: Light-weight scheduler for improved concurrency.
- Notes from recent discussions about this on Slack:
Scheduler API should pass IO objects, not file descriptors
---... -
03:31 PM Feature #16786: Light-weight scheduler for improved concurrency.
- > One issue I see is that this adds another API (Scheduler) for people to have to
In practice, users do not see this... -
02:54 PM Feature #16786: Light-weight scheduler for improved concurrency.
- One issue I see is that this adds another API (Scheduler) for people to have to
remember. They will have to know how... -
02:38 PM Feature #16786 (Closed): Light-weight scheduler for improved concurrency.
- # Abstract
We propose to introduce a light weight fiber scheduler, to improve the concurrency of Ruby code with mi... -
04:57 PM Bug #16785 (Assigned): ruby 2.8.0-dev 5c27681813 causes Rails CI failure
- > commit:5c27681813
Thank you for your report. Let me take a look at this. -
09:16 AM Bug #16785 (Closed): ruby 2.8.0-dev 5c27681813 causes Rails CI failure
- Rails CI has been failing since https://buildkite.com/rails/rails/builds/68202#ee7fdd62-d66b-48a1-a55f-af28a2bff287 ,...
-
04:37 PM Misc #16047: Reconsider impact of frozen_string_literal on dynamic strings
- I find myself only applying ".freeze" to all-cap constants:
RED = "red".freeze
I think it would nice if Ruby 3 only... -
10:47 AM Revision a520ee47 (git): Removed duplicate value_expr checks
- `arg_rhs` has the same check and is always a non-void value
expression. -
08:02 AM Feature #11816: Partial safe navigation operator
- > Given the fact that `foo&.bar.baz` have basically no use whatsover, it is difficult to see what functioning code c...
-
03:49 AM Feature #11816: Partial safe navigation operator
- > The &. operator has pretty well-defined semantics by now and changing it may break some existing code.
Any chang... -
06:48 AM Revision f8886265 (git): Fix logic to detect vs120
- MJIT_CC seems not defined
https://ci.appveyor.com/project/ruby/ruby/builds/32161572/job/u5sw8yn4in87heki -
06:13 AM Revision 7a85d31c (git): [ruby/date] Suppress -Wchar-subscripts warnings by Cygwin gcc 9.3.0
- https://github.com/ruby/date/commit/9968eb69f0
-
06:11 AM Revision e6677503 (git): Add missing call in 70b7304f03
-
06:08 AM Revision 70b7304f (git): Ignore AppVeyor vs120's pdb corruption
- We tried to fix this like https://github.com/ruby/ruby/pull/3029, but it
didn't work. The failure has never been help... -
04:37 AM Revision f883d621 (git): Unify vm benchmark prefixes to vm_ (#3028)
- The vm1_ prefix and vm2_ had had special meaning until
820ad9cb1d72d0897b73dae282df3793814b27e8 and
12068aa4e980ab32a... -
04:10 AM Revision 9fa24018 (git): Make y.output in ripper unlocalized [ci skip]
- Often it is easy to search, grep, etc from command line, for
debugging purpose. -
03:39 AM Revision c79e3a59 (git): Add {Regexp,String}#match with block to call-seq [ci skip]
-
03:32 AM Revision 310ef9f4 (git): Make vm_call_cfunc_with_frame a fastpath (#3027)
- when there's no need to call CALLER_SETUP_ARG and CALLER_REMOVE_EMPTY_KW_SPLAT
(i.e. !rb_splat_or_kwargs_p(ci) && !ca... -
02:32 AM Bug #16784 (Closed): Compiling with --enable-load-relative and "musl-gcc -static" yields "negative string size (or size too big) (ArgumentError)"
- ```
$ uname -ar
Linux localhost 5.4.27-0-lts #1-Alpine SMP Mon, 23 Mar 2020 18:15:20 UTC ppc64le Linux
$ gcc --v...
04/13/2020
-
11:45 PM Revision b9d3ceee (git): Unwrap vm_call_cfunc indirection on JIT
- for VM_METHOD_TYPE_CFUNC.
This has been known to decrease optcarrot fps:
```
$ benchmark-driver -v --rbenv 'before ... -
07:16 PM Feature #16783: Implicit vs explicit self
- 😻
-
05:59 PM Feature #16783 (Closed): Implicit vs explicit self
- This was implemented in Ruby 2.7:
```ruby
class A
def b
self.a
self.a = 1
end
private
attr_... -
05:49 PM Feature #16783: Implicit vs explicit self
- phrasing
-
05:48 PM Feature #16783 (Closed): Implicit vs explicit self
- I recently ran into this case while trying to explain why `self` is needed for calling setters (can't disambiguate be...
-
05:37 PM Feature #16688: Allow #to_path object as argument to system()
- There's maybe just one small gotcha to consider:
```ruby
o = File.open("o","w")
system("ls", out: o) #sh... -
05:29 PM Feature #11816: Partial safe navigation operator
- The `&.` operator has pretty well-defined semantics by now and changing it *may* break some existing code. Maybe a po...
-
04:26 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- I added an explicit list based on the file linked above in a6f7458ea81e084f6ebe7dc5c8cb5b7cb70fe2be.
On the upside i... -
04:16 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- I don't think a list of ~15 cases of OS+clock would be helpful there, it's basically all OS we test.
And I doubt any... - 04:25 PM Revision fb40495c (git): * 2020-04-14 [ci skip]
-
04:23 PM Revision a6f7458e (git): Add a a list of cases for which clock_getres() has been observed to be inaccurate
- * See [Bug #16740]
-
01:57 PM Revision c28e230a (git): Improve Hash documentation.
-
12:51 PM Revision 67bcac87 (git): Allow simple R-assign in endless def
-
07:38 AM Revision 5dc6080c (git): delete CACHELINE
- Since https://github.com/ruby/ruby/pull/2888 this macro is no longer
used in any place. -
07:06 AM Revision c37a357c (git): include what you use.
- This reverts commit 443389effc37308ce1a3c3a840082a344fc6af56.
This reverts commit d94960f22ec2de3a3855305cb51343806d2... -
07:06 AM Revision 4ff3f205 (git): add #include guard hack
- According to MSVC manual (*1), cl.exe can skip including a header file
when that:
- contains #pragma once, or
- star... -
06:10 AM Revision a3f6f679 (git): Add MJIT_COUNTER macro to dump total_calls
-
03:43 AM Bug #16782: `lock': deadlock; recursive locking (ThreadError) in 2.7.1
- Total stab in the dark, but I wonder if it's because the signal handling is interrupting the same thread it's already...
-
03:42 AM Bug #16782 (Closed): `lock': deadlock; recursive locking (ThreadError) in 2.7.1
- Using the latest `async-http` repo:
```
% bundle exec rspec spec/async/http/performance_spec.rb
Traceback (mos... -
03:31 AM Feature #15897: `it` as a default block parameter
- jeremyevans0 (Jeremy Evans) wrote in #note-39:
> I'm going to close this feature since numbered block parameters w... -
12:51 AM Misc #16778: Should we stop vendoring default gems code?
- CI in general, and in particular Actions (along with actions/checkout@v2) can be done from any repo.
There could a...
04/12/2020
-
08:47 PM Feature #16781 (Open): alias :fold :reduce
- 1. Method "collect" has short synonym "map", short synonym of "inject" and "reduce" doesn't exist.
2. Name "fold" is... -
07:19 PM Revision 82fdffc5 (git): Avoid UB with flexible array member
- Accessing past the end of an array is technically UB. Use C99 flexible
array member instead to avoid the UB and simpl... - 03:02 PM Revision f2c3848a (git): * 2020-04-13 [ci skip]
-
02:29 PM Revision 4c8e3f12 (git): Make rb_scan_args implementations same
- between rb_scan_args_set and rb_scan_args_assign +
rb_scan_args_result. -
02:04 PM Bug #16776: Regression in coverage library
- Eregon (Benoit Daloze) wrote in #note-5:
> Maybe coverage could use a second type of internal tracepoint to fix this... -
02:01 PM Bug #16776: Regression in coverage library
- IMO, TracePoint hooks should have a priority. A TracePoint hook that is first enabled should monitor a hook code tha...
-
01:14 PM Bug #16776: Regression in coverage library
- I'm surprised too the coverage stdlib gets hit by this issue.
Maybe coverage could use a second type of internal t... -
06:27 AM Bug #16776: Regression in coverage library
- I'm not super familiar with `TracePoint`, but at first sight `DeepCover` shouldn't generate any extra callbacks as th...
-
05:32 AM Bug #16776: Regression in coverage library
- I never realized this limitation. I imagine that for the vast majority of users it's a non issue, but for `byebug` it...
-
01:11 PM Feature #16779: Add sprintf %q format option
- `%p` is part of the documentation of `sprintf` but maybe it's not so clear.
PR welcome to improve that documentation. -
01:10 PM Feature #16779 (Rejected): Add sprintf %q format option
-
11:54 AM Feature #16779: Add sprintf %q format option
- I am not aware of `%p` format option, this option exactly did what i try to solve.
Thanks.
Someone can close thi... -
10:59 AM Feature #16779: Add sprintf %q format option
- `.inspect.dump` double quotes, that doesn't seem readable/useful to me:
```ruby
puts sprintf("%s", "abc".inspect.du... -
10:57 AM Feature #16779: Add sprintf %q format option
- Isn't `%p` enough (which uses `#inspect`)?
-
11:16 AM Misc #16778: Should we stop vendoring default gems code?
- I believe that is a good practice in general because:
* Contributions don't get affected by changes in external depe... -
11:04 AM Misc #16778: Should we stop vendoring default gems code?
- > One issue might be that ruby/ruby changes frequently but the CI of e.g. ruby/ostruct might run infrequently because...
-
10:45 AM Misc #16778: Should we stop vendoring default gems code?
- I think this is a great idea and it would make the stdlib really "just a set of gems".
I'm not sure what should ha... -
10:19 AM Misc #16778: Should we stop vendoring default gems code?
- Hei @mame!
> When Ruby CI fails, we need to stop the error as soon as possible. It is not acceptable to send a pul... -
05:05 AM Misc #16778: Should we stop vendoring default gems code?
- mame (Yusuke Endoh) wrote in #note-11:
> As a committer who is involved in security release, I'm concerned about the ... -
03:29 AM Misc #16778: Should we stop vendoring default gems code?
- As a committer who is involved in security release, I'm concerned about the maintenance policy of default gems.
Cons... -
02:56 AM Misc #16778: Should we stop vendoring default gems code?
- I have one favor as a maintainer of Ruby CIs. If the copies of default gems are removed from ruby/ruby, please allow...
-
10:26 AM Feature #16494: Allow hash unpacking in non-lambda Proc
- Honestly, after how Matz has stated his opinion, I don't expect there is any room for dialogue.
The only thing I'd... -
09:45 AM Feature #16494: Allow hash unpacking in non-lambda Proc
- I am another person with blocks affected in a production application codebase, found sixteen uses.
I see a cluster... -
05:58 AM Feature #16754 (Closed): Pager for `--help`
- Applied in changeset commit:git|f22c4ff359498ab342e4b6d6feb21af6004ee270.
----------
View the help message with PAGE... -
05:58 AM Revision a07cbacd (git): Honor COLUMNS [Feature #16754]
-
05:58 AM Revision cc68d2fb (git): Hightlight usage [Feature #16754]
-
05:58 AM Revision 3825662d (git): Set up environment variable for pager [Feature #16754]
-
05:58 AM Revision e6551d83 (git): PAGER without fork&exec too [Feature #16754]
-
05:58 AM Revision f22c4ff3 (git): View the help message with PAGER [Feature #16754]
- View the help message wth pager designed by RUBY_PAGER or PAGER
environment variable, unless that value is empty. -
03:45 AM Revision 5c276818 (git): Enable fastpath on invokesuper (#3021)
- Fastpath has not been used for invokesuper since it has set vm_call_super_method on every invocation.
Because it seem... -
03:20 AM Feature #11816: Partial safe navigation operator
- FWIW, EcmaScript 2020 introduced a similar operator, see https://github.com/tc39/proposal-optional-chaining/
. The p... -
01:09 AM Bug #13962: Change http://unicode.org to https
- znz (Kazuhiro NISHIYAMA) wrote in #note-13:
> Making snapshots of 2.5 and 2.6 sometimes failed to download from `htt...
04/11/2020
-
10:26 PM Misc #16778 (Assigned): Should we stop vendoring default gems code?
-
10:24 PM Misc #16778: Should we stop vendoring default gems code?
- Using git submodules would certainly have advantages, but it's a big change.
Either way, it would be helpful if up... -
09:12 PM Misc #16778: Should we stop vendoring default gems code?
- shevegen (Robert A. Heiler) wrote in #note-4:
> this may help distributions such as,
> say, debian, when there is s... -
07:57 PM Misc #16778: Should we stop vendoring default gems code?
- Yeah! You're right about those other reasons. Specially for security issues in standard libraries, gemification is gr...
-
07:02 PM Misc #16778: Should we stop vendoring default gems code?
- > I believe that all of that kind of defeats the point of "gemification" of
> the standard library.
If I remember... -
04:17 PM Misc #16778: Should we stop vendoring default gems code?
- > Is that done against ruby/ruby's code, or the master code of all run-time and/or testing dependencies (ie, the 'gem...
-
03:07 PM Misc #16778: Should we stop vendoring default gems code?
- > upstream's responsibility to make sure the code works and it's properly tested
Is that done against ruby/ruby's co... -
01:49 PM Misc #16778: Should we stop vendoring default gems code?
- Forgot to mention, but something else that should be done as a "prerequisite" to this would be to make sure that all ...
-
01:26 PM Misc #16778 (Rejected): Should we stop vendoring default gems code?
- Currently ruby-core vendors all the code in default gems, and runs the tests for each of them.
Also, ruby-core con... -
10:17 PM Bug #16780 (Closed): Net::FTP PUT command issuing Net::ReadTimeout too quickly
- This is my first time writing up an issue for this community, so I apologize if this is written in an abnormal way th...
-
09:34 PM Feature #16779: Add sprintf %q format option
- The github pull request: https://github.com/ruby/ruby/pull/3019
-
06:06 PM Feature #16779 (Rejected): Add sprintf %q format option
- It would be great to have format option for quoted string for sprintf (like golang sprintf),
it's particularly usefu... - 03:19 PM Revision a01bda59 (git): * 2020-04-12 [ci skip]
-
03:07 PM Revision 022c7bbe (git): Relaxed of R-assign value to arg
-
02:00 PM Feature #16742: RbConfig.windows? and RbConfig.host_os
- > it should be false for cygwin too since it also tries to hide the fact you're on Windows.
Agreed. I think. I've ... -
01:16 PM Bug #13962: Change http://unicode.org to https
- Making snapshots of 2.5 and 2.6 sometimes failed to download from `http://www.unicode.org`.
But it seems making snap... -
11:48 AM Bug #16669: Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
- Thanks for providing a fix, which addresses the failure originally reported at Rails Action Text. https://github.com/...
-
11:34 AM Bug #16660 (Rejected): Struct#deconstruct_keys inconsistent behavior
- My stance is "if we really should care about consistency over performance, we should remove the `keys` argument itsel...
-
08:15 AM Feature #16763 (Closed): MSVC: allow ranges for MSVC 2017 and 2019 support in win32/Makefile.sub
- Applied in changeset commit:git|93edbb4c08856d6d10d0e2676cc2e36eef839a7d.
----------
Support version ranges for MSVC... -
08:12 AM Revision 93edbb4c (git): Support version ranges for MSVC [Feature #16763]
-
03:59 AM Revision e56e089b (git): Assertions for basic use of `encoding:` option
-
03:59 AM Revision bae16b42 (git): Assertions for enumerators of Dir
-
02:58 AM Revision aade69ea (git): Removed unnecessary `to_a` call
- `Dir.entries` returns an array.
-
02:39 AM Bug #14413: `-n` and `-p` flags break when stdout is closed
- I understand change. It makes sense. My only concern is:
- Is exit status changed when `SignalException` is raised?
... -
12:30 AM Bug #14413 (Closed): `-n` and `-p` flags break when stdout is closed
- Applied in changeset commit:git|6f28ebd585fba1aff1c9591ced08ed11b68ba9e3.
----------
Silence broken pipe error messa... -
02:34 AM Bug #16455 (Closed): coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
- It is fixed: https://github.com/ruby/ruby/pull/2995
-
02:24 AM Bug #16777 (Closed): IRB in Ruby 2.7 hangs on pasting long here document
- IRB in Ruby 2.7 hangs on pasting long here document. Here is an example when I copy and paste the script in the attac...
- 02:23 AM Revision bfe70671 (git): [ci skip] Enumerator doc cleanup
- This is my first attempt at a pull request. I was reading the ruby docs
the other day and noticed that the output did... - 02:19 AM Revision abe2e7de (git): Don't require sub-word atomics
- On some architectures (like RISC-V) sub-word atomics are only available
when linking against -latomic, but the config... -
01:51 AM Bug #16740: Deprecating and removing the broken Process.clock_getres
- Eregon (Benoit Daloze) wrote in #note-11:
> I don't have time to report these bugs to all operations systems.
> I'v... -
12:51 AM Bug #16771: Segmentation fault when inspecting a bound method
- I can reproduce this in 2.7.1, but not on master. Here's debugging information:
```
(gdb) bt
#0 0x00000bbf2523... -
12:30 AM Revision 6f28ebd5 (git): Silence broken pipe error messages on STDOUT [Feature #14413]
- Raise `SignalException` for SIGPIPE to abort when EPIPE occurs.
-
12:24 AM Bug #16768 (Rejected): "\n" started not to work as a delimiter in time zone names for Date._strptime since 2.7.0
- This seems more like a bugfix than a regression to me, even if the change was unintended. Is there a reason you woul...
04/10/2020
-
10:40 PM Bug #16669 (Assigned): Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
-
10:09 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- mame (Yusuke Endoh) wrote in #note-9:
> But some people said, it might be only guaranteed that the number returned b... -
09:47 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- akr (Akira Tanaka) wrote in #note-8:
> It doesn't describe OS version and actual problem of OS behavior.
If you l... -
06:01 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- Eregon (Benoit Daloze) wrote in #note-6:
> https://github.com/ruby/spec/blob/ec844797a51a017ebc93af833e421362b4b24a17... -
04:49 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- Eregon (Benoit Daloze) wrote in #note-6:
> https://github.com/ruby/spec/blob/ec844797a51a017ebc93af833e421362b4b24a1... -
04:34 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- I'm OK to change to "operating system or hardware bugs", although I don't think it's the fault of the hardware.
cloc... -
04:26 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- https://github.com/ruby/spec/blob/ec844797a51a017ebc93af833e421362b4b24a17/core/process/fixtures/clocks.rb#L19-L59 an...
-
03:26 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- I don't think that it is a good idea to say "operating system bugs" in rdoc unless there is a solid evidence. You sh...
-
02:48 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- Eregon (Benoit Daloze) wrote in #note-3:
> OK. I'll improve the documentation to mention it's basically unreliable o... -
12:23 PM Bug #16740: Deprecating and removing the broken Process.clock_getres
- OK. I'll improve the documentation to mention it's basically unreliable or broken on most operating systems.
-
07:06 AM Bug #16740 (Rejected): Deprecating and removing the broken Process.clock_getres
- We discussed this issue at a Ruby developer meeting.
https://bugs.ruby-lang.org/issues/16693
We don't want to rem... -
05:32 PM Revision 87bcb3c4 (git): Fix articles.
-
05:25 PM Bug #16776: Regression in coverage library
- I see.
It's a severe as "I can no longer track code coverage on my library that makes heavy use of TracePoint" is co... -
05:20 PM Bug #16776: Regression in coverage library
- Thank you for your report. The reason why the method execution is missed is because:
* coverage measurement is ba... -
04:39 PM Bug #16776 (Assigned): Regression in coverage library
- Hi!
I noticed a regression in the coverage library. I tried to write a minimal program to show it, hopefully it gi... - 05:09 PM Revision 7df83c4e (git): * 2020-04-11 [ci skip]
-
05:09 PM Revision 6abd08c0 (git): Replace Fixnum by Integer in a document.
-
04:51 PM Bug #16770 (Closed): Commit: RUBY3_HAS_BUILTIN: fix for nonexistent builtin - large increase in MinGW & mswin compile times
- I guess 443389effc37308ce1a3c3a840082a344fc6af56 probably fixed this.
-
01:41 PM Bug #16770: Commit: RUBY3_HAS_BUILTIN: fix for nonexistent builtin - large increase in MinGW & mswin compile times
- @Eregon
I apologize for the possible confusion. When I opened the issue, I woke up, and all three builds (Actions... -
04:45 PM Bug #14413: `-n` and `-p` flags break when stdout is closed
- I like silent exit at EPIPE on STDOUT.
The error message of `ruby ... | head` doesn't help us.
The user, who type... -
04:01 PM Bug #14413: `-n` and `-p` flags break when stdout is closed
- I think we need to be careful about changing the exceptions that IO operations can raise.
We already have:
Sock... -
04:44 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
- Much like all Enumerable methods return `Array` and (of course) do not copy instance variables, I think Array methods...
-
07:18 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- Should we do an experiment in 3.0?
Matz
-
07:17 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- I used to think methods should honor subclasses, but I changed my mind that the behavior made things too complex.
So... -
04:06 PM Feature #16428: Add Array#uniq?, Enumerable#uniq?
- In my cases, I (server side) only had to check duplication because a client also have validations.
Legal users can't... -
02:42 PM Feature #16428: Add Array#uniq?, Enumerable#uniq?
- kyanagi (Kouhei Yanagita) wrote in #note-5:
> I was developing mobile games, and I met these situations:
>
> A ca... -
02:25 PM Feature #16428: Add Array#uniq?, Enumerable#uniq?
- I was developing mobile games, and I met these situations:
A card deck can't have duplicate characters.
i.e. `dec... -
04:41 AM Feature #16428 (Feedback): Add Array#uniq?, Enumerable#uniq?
- You said, "I often need to check if an array have duplicate elements". But we cannot think of the real-world use-case...
-
02:47 PM Misc #16775 (Closed): DevelopersMeeting20200514Japan
- # The next dev meeting
**Date: 2020/05/14 13:00-17:00**
Place/Sign-up: https://docs.google.com/document/d/11rxI64... -
02:47 PM Misc #16693 (Closed): DevelopersMeeting20200410Japan
-
02:07 PM Revision 108d392e (git): RUBY3_HAS_ATTRIBUTE: fix fallbacks
- Same as 133ae0807d661eac174b59c6e91c11a40975baea
-
02:02 PM Bug #16774 (Closed): Don't require sub-word atomics
- On some architectures (like RISC-V) sub-word atomics are only available
when linking against -latomic, but the confi... -
01:46 PM Revision 8ec79540 (git): [DOC] Fixed POSIX clock_getres(3) link [ci skip]
- It should not be linked to `Process.clock_getes`.
-
01:12 PM Revision b18a6b64 (git): include/ruby/3: do not skip RUBY3_UNREACHABLE_RETURN
- Revert "Revert "include/ruby/3/core/rtypeddata.h: Use 0 instead of NULL for C++ compiler""
Revert "include/ruby/3/cor... -
12:42 PM Revision c9b3aa84 (git): Warn about Process#clock_getres being unreliable in documentation
- * [Bug #16740]
* Remove the GETTIMEOFDAY_BASED_CLOCK_REALTIME example because the
caveat applies to all clock ids, ... -
12:20 PM Feature #16746: Endless method definition
- nobu (Nobuyoshi Nakada) wrote in #note-19:
> It is not easy to control parsing time warnings, and bothers tests.
... -
11:59 AM Feature #16746: Endless method definition
- It is not easy to control parsing time warnings, and bothers tests.
-
10:20 AM Feature #16746: Endless method definition
- > I'd like to experiment with this new syntax. We may find drawbacks in the future, but to find them, we need to expe...
-
10:06 AM Feature #16746 (Closed): Endless method definition
- Applied in changeset commit:git|e8f53692ca7d65c92bde6d5bc6a1aea492915d9f.
----------
Endless method definition [Feat... -
08:26 AM Feature #16746: Endless method definition
- I'd like to experiment with this new syntax. We may find drawbacks in the future, but to find them, we need to experi...
-
02:18 AM Feature #16746: Endless method definition
- Using the assignment operator like `def value =` expects the following behavior.
```ruby
value = 42
# Refer to v... -
12:15 PM Feature #16769: Struct.new(..., immutable: true)
- Sad to see this rejected as there was a lot of agreement here, and I think #16122 might take a lot longer before anyt...
-
08:38 AM Feature #16769 (Rejected): Struct.new(..., immutable: true)
- I don't like the keyword argument that changes the fundamental behavior. I prefer #16122 to this proposal.
Let's dis... -
12:13 PM Feature #16122: Data: simple immutable value object
- In my view, `Struct.new` is the perfect example to generate a custom class in Ruby.
I think making it customizable wi... -
12:09 PM Feature #16122: Data: simple immutable value object
- We already have `Struct.new(..., keyword_init: true)`.
I think having other variants like `immutable: true, enumerab... -
12:02 PM Revision 302da060 (git): Reference to [Feature #16746] [ci skip]
-
11:56 AM Feature #16688: Allow #to_path object as argument to system()
- mame (Yusuke Endoh) wrote in #note-9:
> I'd like to confirm: `system(Pathname("cat /etc/passwd"))` should attempt to... -
11:44 AM Feature #16688: Allow #to_path object as argument to system()
- I'd like to confirm: `system(Pathname("cat /etc/passwd"))` should attempt to execute a file whose path is `./cat\ /et...
-
06:38 AM Feature #16688: Allow #to_path object as argument to system()
- Accepted.
Matz.
-
06:36 AM Feature #16688: Allow #to_path object as argument to system()
- I'm positive.
It would be useful for most options for `spawn`.
(except open mode, "w" of `system("ls", out: ["/tm... -
11:53 AM Feature #16742: RbConfig.windows? and RbConfig.host_os
- For `RbConfig.host_os` I expect the same as `RbConfig::CONFIG['host_os']`, or better slightly simplified (no version,...
-
06:00 AM Feature #16742: RbConfig.windows? and RbConfig.host_os
- Is `host_os` what you want to see?
`RbConfig::CONFIG['host_os']` is bare value by config.guess, like "linux-gnu", "d... -
05:54 AM Feature #16742: RbConfig.windows? and RbConfig.host_os
- The `#host_os` seems OK.
Regarding `#windows?`, what do you want to check using the value? Drive letter? Path sepa... -
11:36 AM Feature #16773 (Open): Reduce allocations in net/http
- Some minor patches which help to reduce allocations in net/http, which should benefit any programs making heavy use o...
-
11:35 AM Feature #15921: R-assign (rightward-assignment) operator
- `expr in var` already allows rightward assignment:
```
$ ruby -e '(1..).lazy.map {|x| x*2} in x; p x.first(10)'
... -
07:27 AM Feature #15921: R-assign (rightward-assignment) operator
- Cases where `=>` is used outside hashes, arrays, and method call arguments currently are syntax errors. This changes...
-
07:11 AM Feature #15921 (Closed): R-assign (rightward-assignment) operator
- Applied in changeset commit:git|1b2d351b216661e03d497dfdce216e0d51474664.
----------
Rightward-assign by ASSOC
[Fea... -
05:17 AM Feature #15921: R-assign (rightward-assignment) operator
- Accepted. I choose `=>`. Some confusing cases should be warned (by the compiler or a cop) e.g.
```
m((a=>b))
m (a=... -
09:02 AM Revision e8f53692 (git): Endless method definition [Feature #16746]
-
08:55 AM Feature #16754: Pager for `--help`
- I have no objection to the feature. Go ahead.
Matz.
-
08:35 AM Revision 878e21c6 (git): R-assign is still experimental [Feature #15921] [ci skip]
-
07:58 AM Feature #16684: Use the word "to" instead of "from" in backtrace
- matz (Yukihiro Matsumoto) wrote in #note-8:
> I don't think `to` is sufficient. I'd rather remove `from` altogether ... -
07:52 AM Feature #16684: Use the word "to" instead of "from" in backtrace
- I don't think `to` is sufficient. I'd rather remove `from` altogether if there's no compatibility issue.
Should we r... -
07:29 AM Bug #14541 (Closed): Class variables have broken semantics, let's fix them
- Applied in changeset commit:git|900e83b50115afda3f79712310e4cb95e4508972.
----------
Turn class variable warnings in... -
05:36 AM Bug #14541: Class variables have broken semantics, let's fix them
- Accepted. Let's see if it works out.
Matz.
-
07:29 AM Revision 900e83b5 (git): Turn class variable warnings into exceptions
- This changes the following warnings:
* warning: class variable access from toplevel
* warning: class variable @foo o... -
07:17 AM Revision defc0ee9 (git): ext/-test-/cxxanyargs: add #pragma for icc.
-
07:17 AM Revision 4e7d84cf (git): ruby3_rstring_getmem: suppres warning
- icc warns at this line.
> include/ruby/3/core/rstring.h(126): warning #413: variable "retval" has an uninitialized c... -
07:17 AM Revision 3e92785f (git): RUBY3_ASSUME: suppress warnings on icc
- icc warns side effects for RUBY3_ASSUME like this:
> ./include/ruby/3/value_type.h(202): warning #2261: __assume exp... -
07:17 AM Revision d69c5326 (git): configure: suppress SunPro warning
- To this date there is no way for Oracle developer Studio to suppress
warnings about unreachable codes (12.6 manual sa... -
07:17 AM Revision 75802bcf (git): configure: suppress icc warnings
- Every time a pointer to/from VALUE conversion happens, these two
warnings are issued:
- warning #1684: conversion fr... -
07:17 AM Revision e43237b1 (git): configure: always check for __builtin_unreachable
- Non-gcc compilers tend to have this intrinsic these days (e.g. icc).
Better check it regardless of $GCC. -
07:17 AM Revision 133ae080 (git): RUBY3_HAS_BUILTIN: fix __builtin_unreachable
- This macro has to be truthy, otherwise the `+0` trick above evalues
RUBY3_HAS_BUILTIN(__builtin_unreachable) to be al... -
07:17 AM Revision 4b853932 (git): mjit_worker: __GNUC__ is too lax
- Namely icc defines __GNUC__, but doesn't have -Wdeprecated-declarations
-
06:03 AM Revision 1b2d351b (git): Rightward-assign by ASSOC
- [Feature #15921]
-
05:53 AM Bug #16772 (Closed): Build becomes slow with CIFS mounted srcdir
- Applied in changeset commit:git|443389effc37308ce1a3c3a840082a344fc6af56.
----------
reduce duplicate include.
With... -
05:53 AM Revision d94960f2 (git): update dependencies
-
05:53 AM Revision 443389ef (git): reduce duplicate include.
- Without this patch, 20k files are opened (openat syscall) because
of duplicate includes. This patch reduced it to 3k ... -
05:31 AM Bug #16660: Struct#deconstruct_keys inconsistent behavior
- I agree that it's inconsistent and (a little bit) confusing. But it's not a bug.
I wish @ktsj to revisit this issue,... -
01:52 AM Revision 63a5412d (git): Make `#inspect` interruptible in `Kernel#p`
- Only writing the inspected result and a newline is
uninterruptible. - 01:38 AM Revision 230efaf2 (git): * 2020-04-10 [ci skip]
-
01:37 AM Revision 614d816a (git): Constified writev function family
Also available in: Atom