Activity
From 11/24/2019 to 11/30/2019
11/30/2019
-
11:23 PM Revision a2fc6a51 (git): [ruby/fileutils] Fix test failure under ruby 2.4
- `Exception#full_message` is only defined on ruby 2.5.0 and above.
https://github.com/ruby/fileutils/commit/a8968f41ed -
11:22 PM Revision fa0f3eff (git): [ruby/fileutils] Fix error printing test failure
- `exception_details` is not defined anywhere.
This commit fixes the following test crash in ruby 2.4
```
Error: test... -
09:29 PM Revision 5b1f7f26 (git): Skip if getrusage is not supported
- 1243255c3a36433041012b6107a5ac48658a0895 broke ci.rvm.jp tests like
http://ci.rvm.jp/results/trunk_clang_39@silicon-d... -
08:26 PM Revision 1243255c (git): Update to ruby/spec@4eec3dc
-
08:26 PM Revision ab834527 (git): Update to ruby/mspec@a401f63
-
05:34 PM Feature #16294: Make MatchData frozen and forbid MatchData.allocate
- @nobu Thanks for the change! I'll adapt the specs.
-
05:18 PM Bug #16192 (Closed): ENV.update hash values ignored when block given
- Applied in changeset commit:git|5e0479f26afe1505afd9014ea96a206a88845828.
----------
ENV.update should not call bloc... -
05:18 PM Bug #16192: ENV.update hash values ignored when block given
- This is a clear bug, I'll merge @nobu's patch.
There are already specs for this from https://github.com/ruby/spec/pu... - 05:18 PM Revision 93a51241 (git): * 2019-12-01 [ci skip]
-
05:18 PM Revision 5e0479f2 (git): ENV.update should not call block on existing keys
- [Bug #16192]
-
09:28 AM Feature #16379: Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
- jeremyevans0 (Jeremy Evans) wrote:
> In regards to `pass_keywords`, this wouldn't even be a backport, this would be ... -
02:26 AM Feature #16379: Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
- I'm against backporting features (not just this particular feature) to already released ruby versions. For one, not ...
-
09:27 AM Feature #16131: Remove $SAFE, taint and trust
- I released the new versions: fileutils, webrick, date, dbm, etc, gdbm, stringio, zlib.
@kou rexml, rss, fiddle, s... -
09:21 AM Revision b94d0609 (git): [ruby/zlib] Bump version to 1.1.0
- https://github.com/ruby/zlib/commit/5af77c1ee8
-
09:14 AM Revision 7ebcee6b (git): [ruby/gdbm] Bump version to 2.1.0
- https://github.com/ruby/gdbm/commit/ffb2b063a3
-
09:11 AM Revision 56567c76 (git): [ruby/etc] Bump version to 1.1.0
- https://github.com/ruby/etc/commit/78987ce56a
-
09:09 AM Revision 08c866d5 (git): [ruby/fileutils] Bump version to 1.4.1
- https://github.com/ruby/fileutils/commit/da15e3ce06
-
09:01 AM Revision 06b9b78e (git): [ruby/dbm] Bump version to 1.1.0
- https://github.com/ruby/dbm/commit/163078359d
-
08:58 AM Revision 32e54795 (git): Revert "[ruby/fileutils] Fix #install with "X" mode option"
- This reverts commit eab88d20eaa925d5e61a2a65820a099b46ccf3f8.
The some CI was broken with this. -
08:52 AM Revision 5e9f0864 (git): [ruby/webrick] Check the feature by itself, instead of the version number
- https://github.com/ruby/webrick/commit/79d7922de9
-
08:50 AM Revision a98632d5 (git): [ruby/webrick] Enabled chunked encoding if Transfer-Encoding: chunked header is set
- Patch from Leonard Garvey.
Fixes Ruby Bug 9986.
https://github.com/ruby/webrick/commit/8cff7f3995 -
08:49 AM Revision edfbffb2 (git): [ruby/webrick] Bump version to 1.6.0
- https://github.com/ruby/webrick/commit/c5635fa5e2
-
08:48 AM Revision c75100d0 (git): [ruby/webrick] Allow WEBrick::HTTPServlet::CGIHandler :CGIInterpreter option to be array
- This way you don't need to escape each entry.
Implements Ruby Feature 15170.
https://github.com/ruby/webrick/commit... -
08:47 AM Revision f7cf5416 (git): [ruby/webrick] Document HTTPResponse#body callable option
- https://github.com/ruby/webrick/commit/d51836d03d
-
08:36 AM Revision ea4272d0 (git): [ruby/fileutils] Bump version to 1.4.0
- https://github.com/ruby/fileutils/commit/f92145b10b
-
08:32 AM Revision 3b9e1c0b (git): Move gemspec of fileutils under the toplevel of lib directory.
-
08:31 AM Revision eab88d20 (git): [ruby/fileutils] Fix #install with "X" mode option
- `FileUtils#install` methed raises an unexpected `TypeError`, when
called with `mode:` option which has `"X"`.
```
$ ... -
08:31 AM Revision aab74fc9 (git): [ruby/fileutils] Added `test_install_mode_option`
- https://github.com/ruby/fileutils/commit/bb10efe104
-
08:30 AM Revision 0a7d26be (git): [ruby/fileutils] Remove version.rb
- Loading separate version.rb unnecessary increases every start-up
time. In the other hand, the gemspec file is parsed... -
07:44 AM Revision c064018a (git): Make extract-gems only if test_task is check
-
07:44 AM Revision bb3542cc (git): Add update-gems before extract-gems
- (windows.yml used `nmake up`)
-
07:44 AM Revision 2eb4afb1 (git): Add extract-gems to GitHub Actions CI
-
07:29 AM Revision cf145928 (git): [ruby/readline-ext] Prepare to gem release
- https://github.com/ruby/readline-ext/commit/e5b969215a
-
07:15 AM Bug #16384 (Assigned): Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
-
06:18 AM Bug #16384 (Closed): Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
- Due to `each_builtin` existing only in miniruby, Ruby 2.7 cannot be built when configured for cross-compilation.
#... -
06:54 AM Revision 856f9990 (git): [ruby/forwardable] Bump version to 1.3.0
- https://github.com/ruby/forwardable/commit/e56f0f83c6
-
06:53 AM Revision 9fa0166a (git): [ruby/forwardable] Fix keyword argument separation warnings on Ruby 2.7+
- Do so in a way that is also compatible with previous versions.
https://github.com/ruby/forwardable/commit/b2dd340988 -
06:39 AM Revision af4b3f16 (git): [ruby/stringio] Bump version to 0.1.0
- https://github.com/ruby/stringio/commit/4c1e267e1a
-
06:38 AM Revision 990025cf (git): [ruby/stringio] RbConfig::LIMITS only provide after Ruby 2.5
- https://github.com/ruby/stringio/commit/1fed3aacd3
-
05:48 AM Revision e764dff3 (git): [ruby/date] Bump version to 3.0.0
- https://github.com/ruby/date/commit/202b2dad93
-
05:48 AM Revision 80705e2c (git): Add to support the single commit for sync_default_gems.rb
-
04:06 AM Misc #16262 (Closed): DevelopersMeeting20191128Japan
- The meeting has been already ended. I'll create a new ticket DevelopersMeeting20191220Japan later.
-
03:17 AM Bug #16383 (Closed): TracePoint does not report calls to attribute reader methods
- TracePoint does not report calls to attribute reader methods (e.g. methods defined using `attr_accessor` or `attr_rea...
-
02:28 AM Bug #16382: SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
- 2.6.5 seems to be working fine:
```
~/GitHub/ruby/did_you_mean/テスト$ ruby -v
ruby 2.6.5p114 (2019-10-01 revision ... -
02:13 AM Bug #16382 (Closed): SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
- ## Steps to reproduce
```
~/GitHub/ruby/did_you_mean/テスト$ LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb
Tra... -
02:20 AM Revision f8cc05de (git): Use @eof variable for ReidlineInputMethod#eof?
- "IRB::InputMethod#eof?" requires eof status each user input but
"ReidlineInputMethod#eof?" used "Reline.eof?" what is...
11/29/2019
-
11:00 PM Revision 0b1b2f24 (git): Remove e2mmap from sync_default_gems.rb
-
11:00 PM Revision c50d30f6 (git): Simplified ErrDimensionMismatch class
-
11:00 PM Revision 2f66c443 (git): Support argument for ErrNotRegular
-
11:00 PM Revision 0c59bfae (git): Also replace E2MM to standard exception class
-
11:00 PM Revision 0950ef9a (git): Remove e2mmap entries from docs
-
11:00 PM Revision c1059e99 (git): Support existence usecase for the custom exception classes
-
11:00 PM Revision 5044260d (git): replace raise method from e2mmap on Scalar class
-
11:00 PM Revision 9b950310 (git): raise method accepts 3 argument with exception class
-
11:00 PM Revision f47f2076 (git): Retire to maintain e2mmap on ruby core
-
11:00 PM Revision 04511b99 (git): Remove re-define embedded error classes and extract argument on custom error classes
-
11:00 PM Revision d82c541a (git): Use simple exception classes instead of e2mmap
-
06:32 PM Revision 0c273b22 (git): Supress class variable overtaken warning when original modules are the same
- This issue was exposed by recent commits to better support including
refined modules. -
04:38 PM Feature #16381: Accept resolv_timeout in Net::HTTP
- On second thought, I'm not thrilled about adding a new config option like this.
I think name resolution is logically... -
01:33 PM Feature #16381 (Open): Accept resolv_timeout in Net::HTTP
- This is a follow-up to https://bugs.ruby-lang.org/issues/15553 and a successor of https://github.com/ruby/ruby/pull/1...
- 03:21 PM Revision 8a1f313e (git): * 2019-11-30 [ci skip]
-
03:15 PM Revision d1ef4fd0 (git): Make single line pattern matching void expression
- Instead of returning `nil`, raise a syntax error if its value is
used. [Feature #16355] -
08:51 AM Bug #16366: .count on endless range causes infinite loop
- I introduce general solution.
Notes:
* there are no "(1..).count" test. can anyone write it?
* My fix can intr... -
08:48 AM Bug #16366 (Closed): .count on endless range causes infinite loop
- Applied in changeset commit:git|36da0b3da1aed77e0dffb3f54038f01ff574972b.
----------
check interrupts at each frame ... -
08:47 AM Revision 36da0b3d (git): check interrupts at each frame pop timing.
- Asynchronous events such as signal trap, finalization timing,
thread switching and so on are managed by "interrupt_fl... -
08:38 AM Revision c4686b92 (git): Revert "Treat :@1, :@@1, @1, and @@1 correctly to check termination"
- This reverts commit 5e275dd2af4d9d24cdb1cfc0f232f348dae9c2cd.
...The @1 type numberd parameter is reverted from Ruby... -
08:35 AM Revision bbbe481d (git): Add SECURITY.md [ci skip]
- for https://github.com/ruby/ruby/security/policy
-
08:32 AM Feature #16289 (Closed): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- Applied in changeset commit:git|191ce5344ec42c91571f8f47c85be9138262b1c7.
----------
Reduce duplicated warnings for ... -
08:12 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- Matz accepted this with #16345. I'll commit it soon.
-
08:32 AM Revision 191ce534 (git): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- By this change, the following code prints only one warning.
```
def foo(**opt); end
100.times { foo({kw:1}) }
```
A... -
08:07 AM Feature #16364 (Closed): Top-level ruby2_keywords
- Applied in changeset commit:git|3a87826d0c3dd4c42e327e0cd4fb0806d898497f.
----------
vm_method.c: add top-level ruby... -
07:51 AM Revision 3a87826d (git): vm_method.c: add top-level ruby2_keywords
- This is a top-level version of Module#ruby2_keywords.
It can be used for functions (top-level methods) that delegates... -
02:25 AM Revision 5ad32d55 (git): `LoadError` is not a subclass of `StandardError`
-
02:21 AM Revision f83bebdf (git): Skip useless test
- `JSONGeneratorTest#test_remove_const_seg` is meaningful only for
the extension library version, but nonsense for pure... -
02:17 AM Revision ba1cb388 (git): Fixed the position in NEWS [Feature #16348]
- [ci skip]
-
02:09 AM Revision a593186a (git): Nmake needs `VPATH`
-
01:46 AM Feature #16345: Don't emit deprecation warnings by default.
- Matz,
We already have `RUBYOPT=-W0` so no change is needed here for a global suppression. Maybe add `RUBYOPT=--no... -
01:16 AM Revision 98006cea (git): Add dependency on bundled yaml.h when using
11/28/2019
-
08:40 PM Bug #16380 (Third Party's Issue): OSX Segmentation fault at 0x0000000106e67698 / illegal hardware instruction rake install_latest
- This error occurs in Oracle Instant Client:
```
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6... -
05:19 PM Bug #16380: OSX Segmentation fault at 0x0000000106e67698 / illegal hardware instruction rake install_latest
- I don't see anything obvious in the crash logs.
As a shot in the dark, could you ask the people that have these trou... -
05:09 PM Bug #16380 (Third Party's Issue): OSX Segmentation fault at 0x0000000106e67698 / illegal hardware instruction rake install_latest
- Since a while we have across our team 4 or 5 developers who run often into "Segmentation fault" on OSX machines when ...
-
06:24 PM Revision 6b460a79 (git): export func for MJIT
-
06:22 PM Revision f38b6d19 (git): Revert "export for MJIT"
- This reverts commit 2e6f1cf8b264f4c8499c4e5f18bf662fdade04ff.
-
06:22 PM Revision e4e41840 (git): Revert "* remove trailing spaces. [ci skip]"
- This reverts commit 27d0d7c0d39076d4bbacd3c3f3864322699db7b4.
- 06:18 PM Revision 27d0d7c0 (git): * remove trailing spaces. [ci skip]
-
06:17 PM Revision 2e6f1cf8 (git): export for MJIT
- 06:11 PM Revision e5705c35 (git): * 2019-11-29 [ci skip]
- 06:11 PM Revision d104ebf2 (git): * remove trailing spaces. [ci skip]
-
06:11 PM Revision dd723771 (git): fastpath for ivar read of FL_EXIVAR objects.
- vm_getivar() provides fastpath for T_OBJECT by caching an index
of ivar. This patch also provides fastpath for FL_EXI... -
04:30 PM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
- duerst (Martin Dürst) wrote:
> I personally think that we should be restrictive in adding new methods to `Symbol`. O... -
02:50 PM Feature #16348 (Closed): Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
- Applied in changeset commit:git|b5fbefbf2c14742f6d46ecdf3ce712062dfb1d0a.
----------
Added Symbol#start_with? and Sy... -
09:38 AM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
- there is also `symbol[string]` which can be used as replace for Symbol#include?
-
09:08 AM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
- I am OK with adding `start_with?` and `end_with?`.
I am a bit reluctant with adding `include?` since Symbol does not... -
02:49 PM Revision b5fbefbf (git): Added Symbol#start_with? and Symbol#end_with? method. [Feature #16348]
-
02:49 PM Revision 76871dea (git): Use more template feature of w.r-l.o
-
12:45 PM Revision 0b453e2a (git): Get rid of inadvertent label [ci skip]
-
12:31 PM Revision 2fa3b456 (git): Merged common statements [Bug #16242]
-
10:57 AM Revision f0a5a07f (git): Removed unused variable [Bug #16242]
-
10:57 AM Bug #13446 (Closed): refinements with prepend for module has strange behavior
- Applied in changeset commit:git|a0579f3606561a74e323f6193b9504c06845236c.
----------
Make prepending a refined modul... -
10:57 AM Bug #16242 (Closed): Refinements method call to failed
- Applied in changeset commit:git|5069c5f5214ce68df8b3954321ad9114c5368dc3.
----------
Honor refinements for modules t... -
10:57 AM Revision a0579f36 (git): Make prepending a refined module after inclusion not break refinements
- After the previous commit, this was still broken. The reason it
was broken is that a refined module that hasn't been ... -
10:57 AM Revision 5069c5f5 (git): Honor refinements for modules that prepend other modules
- This previously did not work, and the reason it did not work is
that:
1) Refining a module or class that prepends ot... -
10:30 AM Feature #16378: Support leading arguments together with ...
- matz (Yukihiro Matsumoto) wrote:
> I know trailing `...` can be very useful from C experience. But the primary purpo... -
04:56 AM Feature #16378 (Rejected): Support leading arguments together with ...
- I know trailing `...` can be very useful from C experience. But the primary purpose of Ruby `...` is method delegatio...
-
10:15 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16379] Backporting ... to Ruby 2.4 - 2.6 and pass_keywords (eregon)
* I'd like to have the opinion of ... -
06:40 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16377] Regexp literals should be frozen (byroot)
* Previous discussion in [Feature #16345]
* Regexp... -
10:14 AM Feature #16379 (Closed): Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
- I've heard quite a few people saying that backporting `...` to Ruby 2.4-2.6 would be a good way to do migration for k...
-
08:40 AM Feature #16122: Data: simple immutable value object
- I like the idea of helpers in https://bugs.ruby-lang.org/issues/16122#note-18.
We need to discuss further the combin... -
08:23 AM Feature #4539: Array#zip_with
- * The name `zip_with` is too confusing with `zip`. We need a new name.
* The behavior can be described by the combin... -
08:15 AM Feature #16261 (Rejected): Enumerable#each_splat and Enumerator#splat
- As far as I understand, the code with the proposal `[1, 2, 3].zip([4, 5, 6]).each_tuple.map(&:+)` can be written as f...
-
06:24 AM Feature #16261: Enumerable#each_splat and Enumerator#splat
- I agree this feature would be a nice addition.
Actually I had exactly the same idea, presented at Rails Developer ... -
07:43 AM Feature #16142: Implement code_range in Proc and Method
- Note: this is not a final decision:
* Having a method to retrieve the endpoint of a method/proc is OK for me.
* The... -
04:46 AM Feature #16142: Implement code_range in Proc and Method
- > Maybe we could change #source_location to return a `SourceLocation` and have `SourceLocation#to_a` so `file, line =...
-
07:01 AM Feature #16363: Promote did_you_mean to default gem
- Accepted. Go ahead.
Matz.
-
06:37 AM Feature #16377: Regexp literals should be frozen
- Apparently it's a duplicate of https://bugs.ruby-lang.org/issues/8948
-
06:32 AM Revision 4325f080 (git): Add require "irb" to test/irb/test_completion.rb
-
06:28 AM Bug #16366: .count on endless range causes infinite loop
- `Enumerable#count` should aware of interrupts. Besides this case, `#count` should return `Infinity` (we may need to d...
-
06:22 AM Revision 7d75e94e (git): Fix regexp to complete complex literal
- IRB completion logic always needed exponential notation for complex literal
such as 3e6i but it's bug. I fixed to sup... -
05:44 AM Feature #16345: Don't emit deprecation warnings by default.
- By default, it should emit (deprecation) warnings. It's a good idea to have an environment variable option to suppres...
-
05:22 AM Feature #16260: Symbol#to_proc behaves like lambda, but doesn't aknowledge it
- https://github.com/ruby/ruby/pull/2708
-
04:51 AM Feature #16355 (Closed): Raise NoMatchingPatternError when `expr in pat` doesn't match
- Applied in changeset commit:git|8b4ee5d6ba92a385eedc9235ce0a2d5618deecf0.
----------
Raise `NoMatchingPatternError` ... -
04:25 AM Feature #16355: Raise NoMatchingPatternError when `expr in pat` doesn't match
- I accept this proposal for two reasons:
* as OP described, returning boolean values from `in` pattern matching masks... -
04:47 AM Revision 8b4ee5d6 (git): Raise `NoMatchingPatternError` when expr `in` pat doesn't match
- * `expr in pattern` should raise `NoMatchingError` when unmatched
* `expr in pattern` should return `nil`. (this is u... -
04:24 AM Revision 18953416 (git): Fix documentation of `MonitorMixin#new_cond` [ci skip] (#2707)
- Since https://github.com/ruby/ruby/pull/2576,
`new_cond` uses the Monitor object, not the receiver. -
04:19 AM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- It seems OK as the original proposal is same as the current behavior.
-
04:14 AM Feature #16364: Top-level ruby2_keywords
- Accepted.
Matz.
-
01:53 AM Revision c6880264 (git): Suppress strict-aliasing warning by x86_64-w64-mingw32-gcc 7.4.0
-
12:32 AM Revision abe8fb49 (git): Delete newline when C-k on emacs mode at EOL
11/27/2019
-
11:34 PM Feature #16345: Don't emit deprecation warnings by default.
- The above also shows we should avoid multiple calls to rb_warn* for a single logical warning.
E.g., `warning: The la... -
11:30 PM Feature #16345: Don't emit deprecation warnings by default.
- It's actually only 130 unique warnings:
```
$ wc -l run.txt
2439 run.txt
$ grep -v 'Setting up parallel test mod... -
11:13 PM Feature #16345: Don't emit deprecation warnings by default.
- I tried Jeremy's patch results are here of running Discourse `bin/turbo_rspec` it runs our test suite using 16 thread...
-
10:54 PM Feature #16345: Don't emit deprecation warnings by default.
- jeremyevans0 (Jeremy Evans) wrote:
> > However there are several situations that
> > we can know a user is a deve... -
08:29 PM Feature #16345: Don't emit deprecation warnings by default.
- sam.saffron (Sam Saffron) wrote:
> Even with @Eregon's proposed patch running our test suite with warnings is unusab... -
06:20 PM Feature #16345: Don't emit deprecation warnings by default.
- sam.saffron (Sam Saffron) wrote:
> I agree 100% with akr here.
>
> Even with @Eregon's proposed patch running our... -
02:01 PM Feature #16345: Don't emit deprecation warnings by default.
- When we consider the default verbosity of warnings, we should care about the "audience" of the warnings.
In the pr... -
07:20 AM Feature #16345: Don't emit deprecation warnings by default.
- I agree 100% with akr here.
Even with @Eregon's proposed patch running our test suite with warnings is unusable ca... -
11:26 PM Revision 7769975c (git): Remove two removed constants
-
11:19 PM Revision 2d0a1a18 (git): Fix ghost method line no
-
11:13 PM Revision f9debf34 (git): Update documentation for ruby2_keywords [ci skip]
-
08:32 PM Revision 416cccc6 (git): Drop windows-2016 on GitHub Actions
- https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-r...
-
06:05 PM Feature #16260: Symbol#to_proc behaves like lambda, but doesn't aknowledge it
- I think we should just return true for `lambda?`.
Proc has extra confusing behavior, e.g., #16166. - 06:03 PM Revision cdcaf041 (git): * 2019-11-28 [ci skip]
-
06:03 PM Revision 299a1361 (git): Don't modify rest array when using ruby2_keywords
- Previously, the rest array was modified, but it turns out that is
not necessary. Not modifying the rest array fixes ... -
05:55 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- @sawa wrote this in the dev-meeting ticket:
> Unintended arity. This must be fixed in an earlier stage before Ruby 3... -
05:42 PM Feature #16142: Implement code_range in Proc and Method
- Maybe we could change #source_location to return a `SourceLocation` and have `SourceLocation#to_a` so `file, line = p...
-
04:57 PM Feature #16378: Support leading arguments together with ...
- Also I believe `...` could be a good way to do delegation in all versions for lexical cases (the majority):
```ruby
... -
04:50 PM Feature #16378 (Closed): Support leading arguments together with ...
- I think this is very important, otherwise `...` can be used only very rarely.
For instance, `method_missing` typic... -
04:51 PM Feature #16253: Shorthand "forward everything" syntax
- I filed #16378 for supporting leading arguments with `...`.
-
04:45 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- @mame's measurements:
```ruby
def req(x)
x
end
hash = {a: 1}
arr = [hash]
100000000.times { req(*arr) }
```... -
04:19 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > There are a ton of other changes in 2.7 that... -
03:59 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- jeremyevans0 (Jeremy Evans) wrote:
> Do all non-`ruby2_keywords` tests still pass with that? If so, what are the be... -
03:49 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- jeremyevans0 (Jeremy Evans) wrote:
> There are a ton of other changes in 2.7 that could affect performance besides `... -
03:38 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- Eregon (Benoit Daloze) wrote:
> https://github.com/ruby/ruby/compare/master...eregon:no-ruby2_keywords is a more ext... -
04:10 PM Feature #16375: Right size regular expression compile buffers for literal regexes and on Regexp#freeze
- shevegen (Robert A. Heiler) wrote:
> > Would any further incremental work towards this be considered worthwhile from... -
02:43 AM Feature #16375: Right size regular expression compile buffers for literal regexes and on Regexp#freeze
- > Would any further incremental work towards this be considered worthwhile from a
> ruby-core and community perspect... -
01:01 AM Feature #16375 (Closed): Right size regular expression compile buffers for literal regexes and on Regexp#freeze
- References PR https://github.com/ruby/ruby/pull/2696
As a continuation of [type specific resize on freeze implemen... -
03:38 PM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
- Attached is a patch that adds `Zlib::GzipReader.each_file` will which handle multiple concatenated gzip streams in th...
-
03:25 PM Feature #16364: Top-level ruby2_keywords
- I'm in favor of adding top level `ruby2_keywords`.
-
01:42 PM Feature #16364: Top-level ruby2_keywords
- Makes sense to me, and agreed it's going to be a lot less confusing with it.
I'm not particularly for `ruby2_keywo... -
02:02 PM Feature #16372 (Rejected): Allow pattern matching to bind instance variables
- Extending pattern variables to non-local variables would make pattern-matching more complex and confusing. I reject t...
-
05:15 AM Feature #16372: Allow pattern matching to bind instance variables
- shevegen (Robert A. Heiler) wrote:
> If I understood you correctly then the suggestion is to allow both local and
>... -
01:55 PM Feature #16370: Pattern matching with variable assignment (the priority of `in` operator)
- We have discussed about in-line pattern matching and made a decision that it should cause an exception instead of ret...
-
12:49 PM Misc #16262: DevelopersMeeting20191128Japan
- Ugh, forgot one
* [Misc #16260] Symbol#to_proc behaves like lambda, but doesn't aknowledge it *(the title says it ... -
11:58 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #15605] json library needs more frequent releases
* Should we bump the json version to 2.2.1? -
01:06 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Misc #16375] Right size regular expression compile buffers for literal regexes and on Regexp#freeze (lourens)
*... -
12:38 PM Revision 6f27fa4f (git): prefer class_serial over m_tbl
- Decades ago, among all the data that a class has, its method
table was no doubt the most frequently accessed data. P... -
11:43 AM Feature #15605 (Assigned): json library needs more frequent releases
- I submit the backport changes from ruby core to flori/json at https://github.com/flori/json/pull/388
We need to bu... -
11:43 AM Feature #16377 (Closed): Regexp literals should be frozen
- The following script:
```ruby
def mutate
re = /foo/
state = re.instance_variable_get(:@state)
re.instanc... -
05:32 AM Feature #16373: RDoc for some of the Kernel methods cannot be found in Kernel module
- I'd like to share the context. `ri` is not the true problem to me.
I'm working to import the RDoc documentation to... -
03:47 AM Bug #16376 (Closed): Stack-buffer-overflow in renumber_by_map in regcomp.c
- I found this bug in ruby regex engine. I also reported this issue to Onigmo(https://github.com/k-takata/Onigmo/issues...
-
03:06 AM Bug #16371: Inconsistent usage of Double splat operator
- matz, the following is the current behaviors. Do you mean which should be fixed?
(1) 2.7, via variable
```
b ... -
01:35 AM Bug #16371: Inconsistent usage of Double splat operator
- I think this inconsistency is a bug. Double splat in hash expressions needs to work as interpolation.
Matz.
11/26/2019
-
08:50 PM Feature #16374: Object#nullify to provide scalars with the effect similar to Enumerable#reject
- Personally I don't quite like method names that end in "fy alone. Crystal has .stringify
such as in **&.name.stringi... -
04:12 PM Feature #16374 (Open): Object#nullify to provide scalars with the effect similar to Enumerable#reject
- How about adding a new method to `Object` class?
```ruby
class Object
def nullify &block
block.call(self) ? ... - 06:57 PM Revision 177bc652 (git): * 2019-11-27 [ci skip]
-
06:55 PM Revision a3e6f52c (git): rename __builtin_inline!(code) and introduce others.
- rename __builtin_inline!(code) to __builtin_cstmt(code).
Also this commit introduce the following inlining C code fea... -
05:20 PM Feature #15170 (Closed): Allow WEBrick::HTTPServlet::initialize to accept an array in server[:CGIInterpreter]
-
04:22 PM Feature #16345: Don't emit deprecation warnings by default.
- I still think disabling deprecation warnings is better default.
The warnings are useless for end users of applicat... -
03:25 PM Feature #14784: Comparable#clamp with a range
- @nobu Ugh, sorry, I didn't check the latest one (just judged from the ticket state). All is awesome! Thank you.
-
03:06 PM Feature #14784: Comparable#clamp with a range
- @zverok, I think cf934413 made it work as you described, doesn't it?
If something is wrong, let me know.
-
11:01 AM Feature #14784: Comparable#clamp with a range
- > Sounds reasonable, and matz says “an error on end-exclusive ranges” at https://bugs.ruby-lang.org/issues/14784#chan...
-
02:56 PM Bug #16008 (Closed): Ripper hshptn node drops information
-
02:16 PM Bug #16361: TestEnv#test_fetch failure
- So are you running just `make test-all` normally? I misguessed that you reconstructed the tarball for rpm package or...
-
08:05 AM Bug #16361: TestEnv#test_fetch failure
- mame (Yusuke Endoh) wrote:
> I cannot reproduce the issue with ruby 2.7.0-preview3.
>
> ```
> $ make test-all TE... -
02:03 PM Bug #14997: Socket connect timeout exceeds the timeout value for
- tenderlovemaking (Aaron Patterson) wrote:
> This really sounds like a bug to me. Please make a patch and I will app... -
01:54 PM Revision 9e01fcd0 (git): [ripper] Fixed unique key check in pattern matching
- Check keys
* by an internal table, instead of unstable dispatched results
* and by parsed key values, instead of esca... -
01:45 PM Feature #16373: RDoc for some of the Kernel methods cannot be found in Kernel module
- > Cons
> The document of Object class will be almost empty, which may cause confusion for readers while there is
... -
01:20 PM Feature #16373: RDoc for some of the Kernel methods cannot be found in Kernel module
- > I believe the real question is "why #then defined in Kernel and not in Object"
It makes sense to me. Do we have ... -
01:05 PM Feature #16373: RDoc for some of the Kernel methods cannot be found in Kernel module
- I believe that there is some complicated discrepancy between where the method "defined" physically and where it "belo...
-
12:24 PM Feature #16373 (Open): RDoc for some of the Kernel methods cannot be found in Kernel module
- RDoc documentations for some of the `Kernel` methods including `Kernel#then` are registered as `Object` methods. I'd ...
-
12:57 PM Revision 22dfd14c (git): Hoisted out `push_pvtbl`/`pop_pvtbl`
-
12:57 PM Revision 497f13ae (git): Wrap `p_kw` in an array at `p_kwarg`
- Not in `p_kw` itself, which makes key and variable/expr pair only
now. -
12:57 PM Revision 265b5382 (git): Allow `$10` and more in the Ripper DSL
-
12:49 PM Revision 7db719c5 (git): Write rbinc files to the source directory
- Update the target file itself of the dependency on this script.
Fall back to the current working directory if unwrita... -
11:11 AM Feature #16372: Allow pattern matching to bind instance variables
- If I understood you correctly then the suggestion is to allow both local and
instance variables become assignable, w... -
10:18 AM Feature #16372 (Rejected): Allow pattern matching to bind instance variables
- I tried this code, but got sytax error:
```ruby
case [1, 2]
in @a, @b
end
```
```
syntax error, unexpected... -
10:22 AM Revision 8b208293 (git): Remove an unnecessary variable
-
09:26 AM Revision 82525fcc (git): Add sync task for ruby/openssl
-
09:20 AM Revision 1fe31737 (git): Slightly fix the warning message [ci skip]
- I'm not sure, but maybe it was gramatically incorrect?
-
09:18 AM Revision 958641d9 (git): Suggest an alternative to suppress the irb warning
-
07:32 AM Bug #16371: Inconsistent usage of Double splat operator
- `**` operator is for keyword arguments, and in Ruby 2.6, non-symbol key is not allowed in keyword arguments. So in p...
-
06:50 AM Bug #16371 (Closed): Inconsistent usage of Double splat operator
- Here is an issue with a weird behavior of ruby double splat operator:
```
a = {a: 'a'}
b = {'b' => 'b'}
{x: ... -
07:19 AM Revision 5a6e3e75 (git): Add `--with-openssl-dir` to windows on GitHub Actions
- https://github.com/ruby/ruby/commit/7bd7a013b14fb6c4403ff243ec5db13c5c71f552/checks?check_suite_id=328682567#step:10:...
-
03:59 AM Bug #16366: .count on endless range causes infinite loop
- Attached is a patch that allows interrupting the iteration. It uses `rb_thread_check_ints` in each loop iteration fo...
-
01:09 AM Bug #16366: .count on endless range causes infinite loop
- I don't think infinite loop is a bug, but having no chance to `^C` is definitely wrong. Must be able to interrupt.
... - 02:46 AM Revision 307e899d (git): * 2019-11-26 [ci skip]
- 02:44 AM Revision 7bd7a013 (git): Fix `$(RMALL) -r` on Windows
- `set recursive=1 &` sets `1 ` to `recursive`, not `1`.
-
01:18 AM Feature #16370 (Open): Pattern matching with variable assignment (the priority of `in` operator)
- I wrote this code:
``` ruby
n = 0
ret = n in 99
p ret
```
I expected `ret` was `false` but was `0` (truthy ... -
01:02 AM Bug #16369: Segfault : crashed on child side of fork pre-exec thread_pool.rb
- After a bit more research, I think this might be the same issue as https://bugs.ruby-lang.org/issues/16288#note-2 so ...
-
12:49 AM Bug #16369 (Third Party's Issue): Segfault : crashed on child side of fork pre-exec thread_pool.rb
- It occurs at random in development on my rails 6 app with puma server, so unfortunately I do not have very reproducib...
11/25/2019
-
09:24 PM Bug #15856: Performance of redundant `Kernel.require` is slow when many gems are activated
- I agree caching `require 'openssl'` should be possible.
I'm OK with changing (or removing) that spec to specify the ... -
06:44 PM Bug #15856: Performance of redundant `Kernel.require` is slow when many gems are activated
- For what its worth:
We went ahead and incorporated the prior patch into chef's shipping packages starting with Che... -
08:19 PM Bug #16368 (Closed): Error in `YAML.load(symbolize_names: true)` with null column YAML
- Trying to parse YAML which contains null column `symbolize_names: true` would raise `NoMethodError`
```
irb(mai... -
06:22 PM Bug #16367 (Third Party's Issue): stdin not support ibm866 encoding for windows
- see here https://github.com/piotrmurach/tty-prompt/issues/115
-
04:37 PM Bug #16366: .count on endless range causes infinite loop
- Sounds like a bug - counting to infinity is not easy. :)
-
03:28 PM Bug #16366 (Closed): .count on endless range causes infinite loop
- Out of curiosity, I tried:
``` ruby
(1..).count
```
Which resulted in an unkillable 100% CPU irb session.
... -
08:42 AM Revision 26625bc3 (git): [ripper] Quoted label without expression must be a local variable
- The difference from 0b8c73aa65add5c57b46b0cfdf4e661508802172 is to
add the result of `string_add` event to marking ob... -
07:53 AM Revision 86461fc2 (git): lldb_cruby.py: improved dump of Symbol
- [ci skip]
-
06:09 AM Revision 09e76e98 (git): Improve consistency of bool/true/false
-
06:00 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16166] Remove exceptional treatment of *foo when it is the sole block parameter (sawa)
* Unintended ar... -
05:04 AM Revision e27acb61 (git): add fast path for argc==0.
- If calling builtin functions with no arguments, we don't need to
calculate argv location. -
03:10 AM Revision 5c6235a8 (git): Set TRUE/FALSE to `bool ruby_tz_uptodate_p` instead of 1/FALSE
-
02:46 AM Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
- Hello. It is definitely a good idea to enhance our CI. But that alone does not improve the code quality. We need s...
-
02:42 AM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > Comparing 2.6 to 2.7 is irrelevant in regard... -
12:22 AM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- jeremyevans0 (Jeremy Evans) wrote:
> > * Remove `ruby2_keywords` in Ruby 3.0, just have it in Ruby 2.7 where it's ne... -
12:00 AM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- https://github.com/ruby/ruby/compare/master...eregon:no-ruby2_keywords is a more extensive removal of `ruby2_keywords...
-
01:54 AM Revision 714a0cef (git): Fix a typo [ci skip]
-
01:47 AM Misc #16365 (Closed): [PATCH] Remove duplicated line in NEWS
- Applied in changeset commit:git|a5f0d1d71598451dd8461ba52a3a143cb33afdd3.
----------
Remove duplicated line in NEWS ... -
01:21 AM Misc #16365 (Closed): [PATCH] Remove duplicated line in NEWS
- I found a duplicated line in NEWS and created a patch to fix it.
- 01:46 AM Revision a5f0d1d7 (git): Remove duplicated line in NEWS [ci skip]
- [ruby-core:95935] [Misc #16365]
-
12:21 AM Revision 9af52c0d (git): lldb_cruby.py: fixed dump of embedded RArray
- [ci skip]
- 12:19 AM Revision ce50af21 (git): Fix the docs for Proc#>>.
- The docs are wrong about the behaviour of `#>>` (looks like it was copied from `#<<`)
In `(prc >> g).call(n)` _prc_ i...
11/24/2019
-
11:14 PM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16345] Don't emit deprecation warnings by default. (mame)
* The discussion seems to be agreeing with d... -
10:46 PM Misc #16262: DevelopersMeeting20191128Japan
- * [Misc #16188] The performance overhead of `ruby2_keywords` (eregon)
* It's about 7-8% (@mame measurements) for `... -
09:19 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16355]Raise NoMatchingPatternError when `expr in pat` doesn't match(ktsj)
* I'd like to fix this spec... -
03:14 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16363] Promote did_you_mean to default gem (yuki24)
* Currently there are two problems with the gem... -
02:25 AM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16364] Top-level ruby2_keywords (mame)
* Currently, there is no top-level `ruby2_keywords`, which woul... -
11:04 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- jeremyevans0 (Jeremy Evans) wrote:
> Comparing 2.6 to 2.7 is irrelevant in regards to the discussion of the effect o... -
10:57 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- Eregon (Benoit Daloze) wrote:
> Here is another benchmark, where no keyword arguments are used, yet we see a slowdow... -
10:41 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > On CRuby master branch, in the worst possibl... -
10:38 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- Here is another benchmark, where no keyword arguments are used, yet we see a slowdown of up to 11.5% in MRI 2.7:
htt... -
09:56 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- I also measured on TruffleRuby, and there the diff is minimal, just adding the `ruby2_keywords` check on *splat call ...
-
08:54 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- jeremyevans0 (Jeremy Evans) wrote:
> On CRuby master branch, in the worst possible case I could design, the differen... -
10:27 PM Revision fd956c72 (git): Cache loaded module to suppress method redefined warnings
- 09:50 PM Revision 90872520 (git): * 2019-11-25 [ci skip]
-
08:38 PM Revision 51ea1abb (git): Remove e2mmap dependency
-
06:10 PM Revision efbca151 (git): Remove lib/irb/slex.rb
-
02:29 PM Revision 1aeb201d (git): Remove debug code...
- 02:15 PM Revision 41164418 (git): * 2019-11-24 [ci skip]
-
02:08 PM Bug #16361: TestEnv#test_fetch failure
- I cannot reproduce the issue with ruby 2.7.0-preview3.
```
$ make test-all TESTS=test/ruby/test_env.rb
fatal: no... -
01:42 PM Revision 745ab168 (git): Disable tracer ext of IRB when tracer doesn't found
-
12:17 PM Feature #16355: Raise NoMatchingPatternError when `expr in pat` doesn't match
- I think this basically breaks [Feature #15865].
We should decide if `expr in pattern` can be used as a condition (... -
03:09 AM Feature #16363: Promote did_you_mean to default gem
- \o/
(^^^ That's an upvote emoji really.) -
12:27 AM Feature #16363 (Closed): Promote did_you_mean to default gem
- The `did_you_mean` gem has been a bundled gem for over 3 years now and I think it's time to promote it to a standard ...
-
02:23 AM Feature #16364 (Closed): Top-level ruby2_keywords
- How about defining top-level ruby2_keywords?
```
#!/usr/bin/env ruby
def foo(**kw)
kw
end
ruby2_keyword...
Also available in: Atom