Activity
From 06/10/2020 to 06/16/2020
06/16/2020
-
11:18 PM Revision ccb7a4b9 (git): Replaced accessors of `Struct` with `invokebuiltin`
-
11:18 PM Revision b06d7c55 (git): ISeq created with callback is special, translation cannot be applied
-
09:45 PM Revision 4dba8b40 (git): Assert iclass property and remove dead code
- Iclass objects are never made from other iclass objects.
-
05:57 PM Bug #16819: Line reporting off by one when reporting line of a hash?
- > You mean that because you had two line instrs in a row with nothing between them you ended up eliminating it as unn...
- 05:14 PM Revision b50e74b4 (git): * 2020-06-17 [ci skip]
-
05:13 PM Revision eaf76be0 (git): Remove unused else if statements in int_even_p func (#3220)
- * remove else if & rb_funcall
* fix int_even_p impl
* fix rb_int_odd_p implementation -
02:56 PM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
- mame (Yusuke Endoh) wrote in #note-12:
> jeremyevans0 (Jeremy Evans) wrote in #note-9:
> > I've added a pull reques... -
05:09 AM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
- jeremyevans0 (Jeremy Evans) wrote in #note-9:
> I've added a pull request that fixes this issue: https://github.com/... -
02:46 PM Misc #16964 (Closed): net-imap gem: inaccessable github repo?
- I noticed that `net/imap` was moved into default gems: https://github.com/ruby/ruby/commit/e9d872a06e0847c72edda793e2...
-
02:28 PM Misc #16944: questions about Net::IMAP patches
- Thanks @shevegen. Is there a better way to send my questions to @nobu or @shyouhei, other than posting questions here...
- 02:23 PM Revision b877928c (git): Fix the ArgumentError message in shellsplit
- Change "double quote" to just "quote" because the message is about any type of quotes.
- 02:15 PM Revision 68e43103 (git): Improve the document of Shellwords
- - Improve careless examples
- Insert `--` before a file name for cat(1)
- Insert `-e` before a search pattern for... -
12:59 PM Feature #16963: Remove English.rb from Ruby 2.8/3.0
- I'm all in for this since this one will help to "normalize" standard library naming (this one is also having "exotic"...
-
12:40 PM Feature #16963 (Closed): Remove English.rb from Ruby 2.8/3.0
- English.rb is no longer maintained by ruby core team.
Can we remove it from our repository? The users can install ... -
11:54 AM Feature #16962 (Feedback): Make IO.for_fd autoclose option default to false
- I discussed this with @eregon and I think the goal here is to try and figure out a way these interfaces can be a bit ...
-
10:09 AM Bug #11669: inconsitent behavior of refining frozen class
- > How about to simply prohibit `refine` on frozen class?
Conceptually that sounds weird. Freezing a class is to pr... -
07:55 AM Bug #11669: inconsitent behavior of refining frozen class
- How about to simply prohibit `refine` on frozen class?
-
10:07 AM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #16848] Allow callables in $LOAD_PATH (byroot)
* I added a proposal for the "loader" interface based on... -
10:01 AM Bug #14541: Class variables have broken semantics, let's fix them
- Ok, so it's not the semantic I mention, and it's still largely useless in my opinion.
-
09:44 AM Revision 318d52e8 (git): Revert "Replaced accessors of `Struct` with `invokebuiltin`"
- This reverts commit 19cabe8b09d92d033c244f32ff622b8e513375f1,
which didn't support tool/lib/iseq_loader_checker.rb. -
09:25 AM Revision 26c179d7 (git): Check argument to ObjectSpace._id2ref
- Ensure that the argument is an Integer or implicitly convert to,
before dereferencing as a Bignum. Addressed a regre... -
09:24 AM Revision 19cabe8b (git): Replaced accessors of `Struct` with `invokebuiltin`
-
08:47 AM Revision 84160dc2 (git): Add static modifier for rb_int_ceil & rb_int_floor (#3217)
-
08:11 AM Feature #12901: Anonymous functions without scope lookup overhead
- I read this ticket and several comments:
## `Proc#call` calling performance
The performance gap is because of optim... -
07:28 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Quoted from https://bugs.ruby-lang.org/issues/16933
[Feature #16897] General purpose memoizer in Ruby 3 with Ruby ... -
04:31 AM Feature #14267: Lazy proc allocation introduced in #14045 creates regression
- I'm not so positive for the change. In general, comparing Procs is not a good idea, and I'm unsure if it is worth he...
-
03:29 AM Revision d9c88040 (git): Update without touch-unicode-files
-
03:15 AM Revision 466d3e68 (git): Just update sources in CI without fetching
- Also install external libraries only, extract-gems does not work
unless base ruby is available. -
12:21 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- sawa (Tsuyoshi Sawada) wrote in #note-2:
> The core of that problem actually has nothing to do with allowing non-symb...
06/15/2020
-
10:37 PM Feature #15627: Appearance of custom singleton classes
- That being said,
Why does `TrueClass`, `FalseClass` and `NilClass` classes in `Object` instead of just `singleton_... -
08:12 PM Bug #14541: Class variables have broken semantics, let's fix them
- @byroot you're right, that behavior is still there.
So when defining a class var in a parent after it's defined in a... -
09:26 AM Bug #14541: Class variables have broken semantics, let's fix them
- @eregon oh really?
It was my understanding that the change requested would keep the following behavior:
```ruby... -
07:33 PM Bug #16819: Line reporting off by one when reporting line of a hash?
- "Before Ruby 2.5, we inserted trace instruction and this instruction has "line 8" attribute just before line 9.
Howe... -
06:59 PM Bug #16951: Consistently referer dependencies
- deivid (David Rodríguez) wrote in #note-1:
> Had dependant gems had their dependency explicited in their `gemspec` as... -
05:24 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- I noticed the test/unit negative filter was implemented as Ruby project's original code in 2016.
https://github.com/... -
04:36 PM Bug #16935: Syntax error with `make check TESTS="-n /Foo#method/"`
- > The backslashes preceding ^ and # are not needed.
> And $$ is necessary to pass a $ via make, but the preceding ba... -
02:42 PM Bug #16935: Syntax error with `make check TESTS="-n /Foo#method/"`
- It is a spec that `$$` is replaced with a single `$`, but the ways may different for each implementations.
As GNU ma... -
02:18 PM Bug #16935: Syntax error with `make check TESTS="-n /Foo#method/"`
- The backslashes preceding `^` and `#` are not needed.
And `$$` is necessary to pass a `$` via `make`, but the preced... -
01:43 PM Bug #16935: Syntax error with `make check TESTS="-n /Foo#method/"`
- I succeeded the following command now on the latest master branch commit: `7a571103f231e8f9e7200aa40b9a56c3f34a2e80`....
- 03:29 PM Revision b52862d3 (git): * 2020-06-16 [ci skip]
-
03:26 PM Revision e3847072 (git): Updated builtin type names
- Fixnum and Bignum have been unified to Integer already.
-
12:20 PM Revision 7a571103 (git): Exit with non-zero status on disabled gem system update.
-
12:20 PM Revision 3ab1cfc3 (git): Add Gem.disable_system_update_message to disable gem update --system if needed.
-
12:20 PM Revision 49c42b60 (git): Remove encoding magic comments
- They are no longer needed since ruby 2.0.
-
12:20 PM Revision 2b4abcff (git): Deprecate `Gem::Util.silent_system`
- There's better tools for this job.
-
12:20 PM Revision afce7eb3 (git): Replace `Gem::Util.silent_system` with better tools
-
12:20 PM Revision c61031d6 (git): Remove modelines for consistency
- No other files in the repo include this.
-
12:20 PM Revision 47842647 (git): Remove random code
-
12:20 PM Revision 955f1837 (git): Use space inside block braces everywhere
- To make rubygems code style consistent with bundler.
-
11:28 AM Misc #16778: Should we stop vendoring default gems code?
- Ok, so if I understand correctly, the core team is open to doing this but want to see some initial PoC, right? If tha...
-
10:48 AM Revision ef481c12 (git): Fix ruby-head failing tests
- In `ruby-head` (where system rubygems already has the `XDG` standard
implementation), some tests currently depend on ... -
10:48 AM Revision c3ecd1cb (git): Revert "Revert "[rubygems/rubygems] Remove unneeded global teardown""
- This reverts commit ac2c07e98373bb62be618001c897fa9d5809d8a4.
-
10:48 AM Revision 3a262802 (git): Revert "Revert "[rubygems/rubygems] Remove unneeded teardown""
- This reverts commit ceacb06311cf150cd3682b277bbe6cf7e7bbbc30.
-
07:20 AM Revision 2a20c179 (git): Prefer String#each_byte when using a block
-
04:56 AM Revision 8f99bfa2 (git): tool/lib/minitest/unit.rb: Reproducible shuffle of test suites
- ... based on CRC32 of names of the test suites.
Formerly, `make test-all` randomized the order of the test suites by... -
03:38 AM Revision 094fb6ae (git): Accommodate process title spec to ruby-core setup
- I'm guessing the commands under ruby-core setup are very long, so the
title gets truncated. Use a shorter title, sinc... -
03:38 AM Revision 117b504b (git): Fix most exec specs
- The `gem_command` helper was failing to require `support/hax.rb`, which
takes care of making sure rubygems actually p... -
03:37 AM Revision f5f6415f (git): A help message to `tool/sync_default_gems.rb`
-
02:25 AM Revision 93e6fa1d (git): Use filesystem encoding in do_GET of filehandler
- Try to fix 404 error on mswinci.
https://rubyci.org/logs/mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-master/l...
06/14/2020
-
10:01 PM Revision 80bd3aa3 (git): Try using longer read_timeout for --jit-wait
- failure on TestFTP.
When we skip a test, the place to hang (long wait for compilation)
just moves to another test an... -
09:39 PM Misc #16961: Is overriding a method in a subclass considered as a breaking change or not?
- > Could MJIT add its own check if called on a Fixnum
You're right, that thing is *technically* not difficult. What I... -
09:32 PM Misc #16961: Is overriding a method in a subclass considered as a breaking change or not?
I imagine that it is fine as long as it's not done in a patch release and it appears in the `NEWS`.
`Array` has ...-
10:32 AM Misc #16961: Is overriding a method in a subclass considered as a breaking change or not?
- Could MJIT add its own check if called on a Fixnum, then do the inline fast-path logic, otherwise fallback to a call ...
-
05:52 AM Misc #16961 (Closed): Is overriding a method in a subclass considered as a breaking change or not?
- ## Background
* In [Bug #15589], I'm going to make `Integer#zero?` faster (comparable to `== 0`) on JIT by making su... - 03:00 PM Revision c8111c7e (git): * 2020-06-15 [ci skip]
-
02:59 PM Revision b8804010 (git): Remove non-US-ASCII characters [ci skip]
-
11:57 AM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
- Do we have an idea of how much overhead would it be to disable this not-correct optimization?
Arrays are copy-on-wri... -
11:48 AM Feature #12901: Anonymous functions without scope lookup overhead
- @dsisnero What's the `self` in those "anonymous functions"?
I think no `self` would be very confusing in Ruby, e.g.,... -
11:11 AM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #15822] Add Hash#except (zverok)
* Last time it was discussed, Matz asked "We didn't see the need for H... -
06:03 AM Misc #16933: DevelopersMeeting20200618Japan
- * [Misc #16961] Is overriding a method in a subclass considered as a breaking change or not? (k0kubun)
* Is it acc... -
10:40 AM Bug #14541: Class variables have broken semantics, let's fix them
- @byroot Actually with the changes above, my understanding is there won't be any "overtaking" anymore (a superclass re...
-
07:09 AM Revision d23917dd (git): Support arguments of singleton method
-
07:08 AM Revision b22bfdaa (git): Fixed up rest, keywords, keyword rest and block arguments
-
06:48 AM Revision 997133d5 (git): Make __builtin_cexpr! and __builtin_cstmt! work again
- with Ripper.
a3e6f52c17061f012c4e638b3343b57752ed7603 introduced __builtin_cexpr! and
__builtin_cstmt!, but nobody h... -
06:33 AM Bug #16941 (Closed): MJIT doesn't identify Struct kind of instruction
-
05:45 AM Bug #16941: MJIT doesn't identify Struct kind of instruction
- Hi k0kubun,
I think it should be Ok for me with --jit-min-calls=10000. Also, I will take the struct declaration outs... -
05:00 AM Revision 454e8120 (git): Add ubuntu-20.04 and rename to ubuntu-18.04 from ubuntu-latest
-
04:16 AM Revision 97614c55 (git): apinfo/fpinfo should always be non-NULL
-
12:28 AM Feature #16828 (Closed): Introduce find patterns
- Applied in changeset commit:git|ddded1157a90d21cb54b9f07de35ab9b4cc472e1.
----------
Introduce find pattern [Feature... -
12:24 AM Revision ddded115 (git): Introduce find pattern [Feature #16828]
-
12:23 AM Revision f7906a7e (git): push_pktbl is needed for hash pattern, not for array pattern
06/13/2020
- 11:34 PM Revision a451648b (git): * 2020-06-14 [ci skip]
-
11:33 PM Revision 1583c743 (git): Skip test_getbinaryfile_command_injection on --jit-wait
- Timeout-based test often fails with --jit-wait as a false positive.
Like other tests in the TestFTP, let me skip this... -
11:26 PM Bug #16680: Symlink folder in $LOAD_PATH does not work with autoload
- I could reproduce it with 2.7.1 and 2.7 head.
-
11:02 PM Bug #16680: Symlink folder in $LOAD_PATH does not work with autoload
- I can't reproduce it with the master.
```sh
$ ruby -v
ruby 2.8.0dev (2020-06-13T14:33:40Z master 2496bdb28f) [x8... -
11:14 PM Bug #16941: MJIT doesn't identify Struct kind of instruction
- Thanks, I figured out the problem from your script.
Every time we call `Struct.new(:a)`, it creates a different me... -
08:54 PM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- I don't see much the value of having the WeakMap implementation shared between Ruby implements, it's a tiny class, an...
-
06:10 PM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- Please don't edit my description.
I personally do not believe the specs should be removed. But I also do not feel ... -
11:12 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- In any case, having specs in ruby/spec doesn't mean it's public APIs.
That's why e.g., some private methods are also... -
11:07 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- When APIs like this are used in the wild, for many years, the docs can state "private API" (well actually these docs ...
-
09:28 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- Probably not only specs are "guilty", but also Ruby 2.7's changelog (and maybe, a small bit, [my rendering of it](htt...
-
01:18 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- > or that people writing specs is a bad thing
I clearly didn't say that, unless you mean writing specs for private... -
01:17 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- > Maybe new specs should go through more PRs and community oversight?
Well, clearly they should if they're not pub... -
12:55 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- The PR was created recently, but the code was written in April 2019 https://github.com/rails/rails/pull/39121/commits...
-
12:46 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- I think it's also worth pointing out that the gc.c comment I linked above does propagate to the official documentatio...
-
12:41 AM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- > So I don't think it's right to blame the specs here. The specs reflect reality.
I'm not sure I'm seeing what you... - 04:03 PM Revision a7acd353 (git): merge revision(s) 7e289cdf3fed588b2d5a6973e29f9ff95cb8d76c: [Backport #16949]
- [ruby/psych] Fixing compatibility with libyaml 0.2.5
The main issue is that commas aren't allowed in local tags. li... -
03:52 PM Bug #16949: Psych tests failed with libyaml 0.2.5
- ruby_2_6 r67884 merged revision(s) 7e289cdf3fed588b2d5a6973e29f9ff95cb8d76c.
-
02:30 AM Bug #16949: Psych tests failed with libyaml 0.2.5
- ruby_2_7 3c55d93cf68b1a969b90b306de4dd8b88d74a2f2 merged revision(s) 7e289cdf3fed588b2d5a6973e29f9ff95cb8d76c.
- 03:52 PM Revision a9a48e6a (git): merge revision(s) 7e289cdf3fed588b2d5a6973e29f9ff95cb8d76c: [Backport #16949]
- [ruby/psych] Fixing compatibility with libyaml 0.2.5
The main issue is that commas aren't allowed in local t... -
02:33 PM Revision 2496bdb2 (git): Extracted argument forwarding staffs
-
02:33 PM Revision 8e535256 (git): [ripper] use Ripper DSL
-
02:14 PM Revision 8b58f1d8 (git): [ci skip] Enhanced RDoc for Array (#3219)
- Methods:
#join
#inspect/#to_s
#to_a -
01:57 PM Revision 1efc3d6d (git): Suppress warnings [Feature #15973]
-
02:29 AM Revision 3c55d93c (git): merge revision(s) 7e289cdf3fed588b2d5a6973e29f9ff95cb8d76c: [Backport #16949]
- [ruby/psych] Fixing compatibility with libyaml 0.2.5
The main issue is that commas aren't allowed in local t... -
02:08 AM Bug #16813: Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
- merge revision(s) ac2106acc276854ae2ac8cc5fa6859aa28362f2f,cf90df22c74da2f87421749e8d065cfbd3812afd into ruby_2_7 at ...
-
01:31 AM Feature #6602: Tail call optimization: enable by default?
- I think it is not used because it is not optimized. If it was optimized, people would use it.
-
01:27 AM Feature #12543: explicit tail call syntax: foo() then return
- +1 for tail call optimization - either explicit or automatic
-
12:57 AM Feature #14912: Introduce pattern matching syntax
- Sorry for necroposting.
* Instead of `in Constant(pattern…)` – I agree that it might coïncide with capitalized metho... -
12:30 AM Feature #16960 (Open): Feedback regarding => in ‘As’ Pattern Matching
- The only obstacle preventing the use of non-symbol keys in hash patterns is simply the fact that `=>` is used for bot...
06/12/2020
-
11:22 PM Revision 1f1b62fb (git): Added install-dbg
- Scripts to run the interpreter via debugger.
-
11:19 PM Bug #16959: Weakmap has specs and third-party usage despite being a private API
- > I suspect the addition of the specs led to folks starting to use this private API.
I think it's the other way ar... -
10:09 PM Bug #16959 (Rejected): Weakmap has specs and third-party usage despite being a private API
- Weakmap is still described as an internal API, and the documentation points users at WeakRef as the official public A...
-
10:12 PM Bug #16958 (Feedback): bytes: stack level too deep (SystemStackError)
- I can recreate this if I do `SecureRandom.singleton_class.send(:remove_method, :gen_random)` or `SecureRandom.singlet...
-
09:44 PM Bug #16958 (Closed): bytes: stack level too deep (SystemStackError)
- Although I can't reliably reproduce this error, it appears that `SecureRandom.base64` sometimes lands in an infinite ...
-
08:11 PM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #16456] Ruby 2.7 argument delegation (`...`) should be its own kind of parameter in `Method#parameters` (a...
-
08:00 PM Feature #16954: A new mode `Warning[:deprecated] = :error` for 2.7
- mame (Yusuke Endoh) wrote in #note-2:
> @jeremyevans0 I have never thought of it. It may lead to a better solution:... -
08:53 AM Feature #16954: A new mode `Warning[:deprecated] = :error` for 2.7
- For the record, I used Jeremy's gem to deal with all 2.7 warnings, it saved me a lot of time. My typical setup in tes...
-
02:30 AM Feature #16954: A new mode `Warning[:deprecated] = :error` for 2.7
- @jeremyevans0 I have never thought of it. It may lead to a better solution:
1. We publish a gem namely `warning_d... -
12:29 AM Feature #16954: A new mode `Warning[:deprecated] = :error` for 2.7
- mame (Yusuke Endoh) wrote:
> There are two (orthogonal) approaches to make the first solution:
>
> 1. `Warning[:d... -
04:32 PM Revision eabdad5e (git): [ci skip] Enhanced Rdoc for Array (#3216)
- Methods:
#insert
#each
#each_index
#reverse_each
#length
#empty? -
04:29 PM Feature #16955: A new mode `Warning[:keyword_into_rest_arg] = true` for 2.7
- Eregon (Benoit Daloze) wrote in #note-4:
> jeremyevans0 (Jeremy Evans) wrote in #note-3:
> > Care must be taken whe... -
04:12 PM Feature #16955: A new mode `Warning[:keyword_into_rest_arg] = true` for 2.7
- jeremyevans0 (Jeremy Evans) wrote in #note-3:
> Care must be taken when doing so, especially in master when doing so... -
02:18 PM Feature #16955: A new mode `Warning[:keyword_into_rest_arg] = true` for 2.7
- Eregon (Benoit Daloze) wrote in #note-2:
> IMHO, `opt = args.pop if args.last.is_a?(Hash)` is very old style and old... -
11:11 AM Feature #16955: A new mode `Warning[:keyword_into_rest_arg] = true` for 2.7
- I think it can be useful to debug delegation issues,
and the killer feature is this will show the warning on the fir... -
12:35 AM Feature #16955: A new mode `Warning[:keyword_into_rest_arg] = true` for 2.7
- I'm against adding this. This will generate way too many false positions, not just in stdlib, but in many gems. It ...
-
12:04 AM Feature #16955 (Rejected): A new mode `Warning[:keyword_into_rest_arg] = true` for 2.7
- ## Problem
Please see #16954. This ticket is for discussing the second solution.
## Proposal
The problem is... -
04:13 PM Bug #16957 (Closed): Documentation example for enum.chunk doesn't match actual output.
- Applied in changeset commit:git|b212c7c7d136dad7391874c5c9ba0b77df5653e2.
----------
Update example code in Enumerat... -
04:07 PM Bug #16957: Documentation example for enum.chunk doesn't match actual output.
- The existing example code assumes the words in `/usr/share/dict/word` will be already upcased, which isn't true in yo...
-
03:55 PM Bug #16957 (Closed): Documentation example for enum.chunk doesn't match actual output.
- I was experimenting with chunk, ruby 2.7.1, using the documentation sample, also 2.7.1:
``` ruby
open("/usr/share... - 04:13 PM Revision 90412d7a (git): * 2020-06-13 [ci skip]
-
04:11 PM Revision b212c7c7 (git): Update example code in Enumerator#chunk documentation [ci skip]
- The code assumed that /usr/share/dict/words did not use mixed
case, and it does at least on a few operating systems.
... -
01:57 PM Bug #14541: Class variables have broken semantics, let's fix them
- I understand that backward compatibility concerns makes it very very improbable that such change would be implemented...
-
11:44 AM Bug #16941: MJIT doesn't identify Struct kind of instruction
- Hello K0kubun,
Here is the revised script
```
def my_method
a_struct = Struct.new(:a).new
a_struct.a =... -
12:42 AM Bug #16941: MJIT doesn't identify Struct kind of instruction
- > I didn't understand the need to compile the block every time it is being called.
Good point. If there's only one b... -
10:02 AM Revision 510df47f (git): Revert "[ruby/fileutils] Make verbose output go to stdout instead of stderr"
- This reverts commit 7cddb844e6d51f954c6669341b9cc656bd7d3492,
because the test of rake 13.0.1 is depending on the pre... -
09:55 AM Misc #16956 (Closed): Attributes for MJIT's optimization
- # What's this ticket?
A text explaining what attributes MJIT uses for optimizations and why they're needed.
This is... -
09:38 AM Revision cc9ca468 (git): [ruby/fileutils] Fix #install with "X" mode option
- `FileUtils#install` methed raises an unexpected `TypeError`, when
called with `mode:` option which has `"X"`.
```
$ ... -
09:38 AM Revision 7cddb844 (git): [ruby/fileutils] Make verbose output go to stdout instead of stderr
- Verbose output is not error output, and should be sent to
stdout and not stderr.
Fixes Ruby bug 4436
https://github... -
08:32 AM Revision e2678781 (git): prevent memory allocation for GC tests
- We observed test failures on test_latest_gc_info with random
order CI.
http://ci.rvm.jp/results/trunk-random1@phospho... -
01:35 AM Revision 1f4db23a (git): .gdbinit: struct RHash::basic is not a pointer
-
01:23 AM Revision c74b044a (git): .gdbinit: as.heap.aux.shared no longer exist
- Maybe 182ae1407b3f6597cdbf6872f788c1ed3aa22a35 missed it.
06/11/2020
-
11:57 PM Feature #16954 (Rejected): A new mode `Warning[:deprecated] = :error` for 2.7
- ## Problem
(This is [what I already wrote in rubyonrails discourse](https://discuss.rubyonrails.org/t/new-2-7-3-0-... -
11:02 PM Bug #14541: Class variables have broken semantics, let's fix them
- Correction, JRuby implemented it in 9.2.1.0:
https://github.com/jruby/jruby/issues/1554#issuecomment-389604892
It s... -
10:52 PM Bug #14541: Class variables have broken semantics, let's fix them
- Ah, but the "warning: class variable @@foo of D is overtaken by C" is only in verbose mode, I see.
I think nobody wan... -
10:44 PM Bug #14541: Class variables have broken semantics, let's fix them
- As shown above, the warning is shown by default, so I think we can raise an exception:
```
$ ruby -rtmpdir -e '@@... -
02:43 AM Bug #14541: Class variables have broken semantics, let's fix them
- jeremyevans0 (Jeremy Evans) wrote in #note-18:
>but are we OK jumping directly from verbose-mode warning in 2.7 t... -
02:13 AM Bug #14541 (Assigned): Class variables have broken semantics, let's fix them
- jeremyevans (Jeremy Evans) wrote in #note-17:
> Applied in changeset commit:git|900e83b50115afda3f79712310e4cb95e450... -
10:07 PM Bug #15819 (Closed): cannot read document of File::NULL with "ri File::NULL"
- `ri` doesn't show documentation on all constants, only classes and modules. So it is expected that `ri File::NULL` w...
-
09:02 PM Bug #15834 (Closed): Mutating the result of SortedSet.to_a mutates the original set, potentially violating the set's guarantees
- Applied in changeset commit:git|a6cf2f3d22a78aeae9d7f36cc78a195deb686705.
----------
Make mutating the result of Sor... -
09:02 PM Revision a6cf2f3d (git): Make mutating the result of SortedSet#to_a not affect the set
- Fixes [Bug #15834]
-
08:40 PM Feature #16952: Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- In my opinion, the error message I'm being given is a bug, because it's telling me that a file that _does_ exist, doe...
-
08:31 PM Feature #16952: Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- When I run your example in my shell (OpenBSD ksh), I get:
```
$ ./myscript.rb
ksh: ./myscript.rb: No such file o... -
07:51 PM Feature #16952: Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- I would think this is just the errno you get from `execve(2)`.
Ruby itself doesn't try to read the shebang.
So no... -
06:13 PM Feature #16952 (Open): Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- ```
$ cat myscript.rb
#!/bad/ruby/shebang
puts "Hei!"
$ ruby -e 'Kernel.exec("myscript.rb")'
Traceback (m... -
06:46 PM Revision e100fcbd (git): Prohibit setting class variable on frozen module through inheritance
- Setting class varibles goes through the ancestor list which can
contain iclasses. Iclasses share a lot of information... -
06:36 PM Bug #16953 (Feedback): Windows bash bin files removed in master
- Master is not creating bash bin files for Windows builds, only files with extensions cmd or bat.
Although running ... -
04:46 PM Bug #16004 (Closed): Kernel#lambda captured with Kernel#method doesn't create lambdas
- With the changes in #15973, `method(:lambda).call{}` warns. I think that is sufficient to handle this issue. If you...
- 03:55 PM Revision 631c01f5 (git): * 2020-06-12 [ci skip]
-
03:55 PM Revision eb5ecc2e (git): Enhanced Rdoc for Array#rindex and Array#[]= (#3204)
- * Enhanced Rdoc for Array#rindex and Array#[]=
* Enhanced Rdoc for Array#rindex and Array#[]= -
03:22 PM Bug #4436 (Closed): FileUtils verbose mode prints output to stderr
-
02:31 PM Feature #15973 (Closed): Let Kernel#lambda always return a lambda
- Applied in changeset commit:git|2188d6d160d3ba82432c87277310a4d417e136d5.
----------
Warn when passing a non-literal... -
02:30 PM Revision 2188d6d1 (git): Warn when passing a non-literal block to Kernel#lambda
- Implements [Feature #15973]
-
02:00 PM Feature #16848: Allow callables in $LOAD_PATH
- In order to try to move this forward, here's some code snippet of what I think the interface could look like:
```r... -
01:31 PM Bug #16951: Consistently referer dependencies
- For what it's worth, I also agree that once a library is gemified and promoted to a default gem, gems depending on it...
-
11:06 AM Bug #16951 (Closed): Consistently referer dependencies
- It seems that the default gems interdependencies in Ruby are mess. Years ago, when JSON was merged into StdLib, there...
-
10:46 AM Feature #16939: Alias _1 as _ for block numbered params
- matz (Yukihiro Matsumoto) wrote in #note-2:
> It was the first candidate for a single anonymous block parameter. But... -
10:32 AM Feature #16945: Enable TCO by use of special form
- shyouhei (Shyouhei Urabe) wrote in #note-4:
> Tell us how is it better than #12543, which is receiving negative feed... -
01:15 AM Feature #16945: Enable TCO by use of special form
- I thought that we had more discussions for tail-call syntax, but couldn't find others.
-
12:55 AM Feature #16945: Enable TCO by use of special form
- Tell us how is it better than #12543, which is receiving negative feedbacks?
-
10:30 AM Bug #16941: MJIT doesn't identify Struct kind of instruction
- Thanks, k0kubun for the feedback. I didn't understand the need to compile the block every time it is being called. Ca...
-
05:13 AM Bug #16941 (Feedback): MJIT doesn't identify Struct kind of instruction
- > Are structs not recognised by JIT compiler?
To be precise, `opt_call_c_function` insn is not supported by JIT comp... -
09:11 AM Bug #16950: Stop nonsense keyword argument warnings in 2.6
- Using non-keyword argument is not always workaround for that.
For example, redis 4.2.0 gem has changed options hash ... -
07:14 AM Bug #16950 (Closed): Stop nonsense keyword argument warnings in 2.6
- Ruby 2.6 warns the following code with `-w` option:
```
def foo(x) # warning: in `foo': the last argument was ... -
09:06 AM Revision 5349506e (git): Updated autogenerated dependencies
- Sorted the lines asnd added mjit_build_dir.o dependencies.
-
08:28 AM Feature #6869: Do not treat `_` parameter exceptionally
- Re
> In these descriptions, lowercase letter means the characters ''a'' though ''z'', as well as ''_'', the under... -
08:25 AM Feature #6869: Do not treat `_` parameter exceptionally
- Hi. This is interesting and I can see that the inconsistent treatment of `_` can be confusing (I never noticed tho be...
-
08:12 AM Revision 2dd61df6 (git): Revert encoding to `::Encoding::UTF_8` if `fu_windows?`
-
07:31 AM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #16950] Stop nonsense keyword argument warnings in 2.6 (mame)
* 2.6 produces a warning that no longer m... -
02:17 AM Misc #16933: DevelopersMeeting20200618Japan
- * [Bug #14541] Class variables have broken semantics, let's fix them (jeremyevans0)
* My previous commit to fix th... -
07:29 AM Revision 59646e8e (git): Fix error in `remove_entry`
- When `LANG=C`, dir is `UTF-8` and `base` is 'ASCII-8BIT` in `FileUtils::Entry_#join`.
So `Encoding::CompatibilityErro... -
05:52 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- I started reading through the code and it is certainly tricky, I wonder if we simply make `ruby2_keywords_hash?` off...
-
05:31 AM Revision a6713a57 (git): Refined ioctl error description
-
05:22 AM Revision c1d1f92e (git): [ruby/logger] Mention `File::Null` in Logger#new document
- https://github.com/ruby/logger/commit/2e772770be
-
05:22 AM Revision c7da0fcb (git): [ruby/logger] Mention behavior when logdev is a nil in the document
- https://github.com/ruby/logger/commit/8dc270ee23
-
04:54 AM Revision ae93ebae (git): [ruby/logger] Let Logger#reopen not raise on nil log devices
- https://github.com/ruby/logger/commit/da7bf844e5
-
04:53 AM Revision f3e12caa (git): [ruby/logger] Let File::NULL ("/dev/null", "NUL" etc.) be considered a nil log device
- https://github.com/ruby/logger/commit/b42a1b99aa
-
04:48 AM Revision 13baa2b5 (git): [ruby/matrix] Drop to Ruby 2.4 and 2.5
- https://github.com/ruby/matrix/commit/3244d82804
-
04:38 AM Revision e698bf1a (git): [ruby/webrick] Fix httpd error in CJK directory
- [Bug #16753]
https://github.com/ruby/webrick/commit/83cf440858 -
04:37 AM Revision 6742fcf5 (git): [ruby/webrick] Extract creation of Net::HTTP in httpproxy
- https://github.com/ruby/webrick/commit/e58195faf8
-
04:29 AM Revision fdd47538 (git): Gem::Specification#date is set automatically by RubyGems.org.
-
04:06 AM Revision 3b3a9edf (git): Drop to Ruby 2.4
-
03:39 AM Revision 44581d98 (git): [ruby/net-imap] Drop to Ruby 2.4
- https://github.com/ruby/net-imap/commit/c3256e3848
-
03:24 AM Revision aa8ca03f (git): [ruby/delegate] Fixed superclass missmatch
- https://github.com/ruby/delegate/commit/3ab3add800
-
01:47 AM Feature #16946: Add an `intersperse` method
- The example for `Array` looks simple, but it would be more complicated for `String`.
Is it OK by "char", not by "gra... -
12:58 AM Feature #16946: Add an `intersperse` method
- Hello, this request sounds interesting to me.
sos4nt (Stefan Schüßler) wrote:
> Haskell has an `intersperse` func... -
01:20 AM Revision 1fb16dbb (git): Adjusted indents [ci skip]
-
12:49 AM Revision f3e927b0 (git): Make proc/Proc.new without block an error instead of warning
- The warning for these was added in 2.7.
- 12:49 AM Revision f48fce49 (git): Fix a typo in instance_variable_set documentation
06/10/2020
-
11:36 PM Revision 0213f5b0 (git): Fix ASan crash
-
08:40 PM Feature #16031: Raise ArgumentError when creating Time objects with invalid day of month, instead of rolling into next month
- This is not related to `strptime` specifically, this is how Time behaves generally:
```ruby
Time.local(2020, 2, 3... -
08:08 PM Bug #16110 (Closed): Doesn't detect deadlock on Ruby 2.4 and 2.5 on Windows
- I tested 32-bit Windows builds of Ruby 2.6 and 1.9.3 and the deadlock is detected (those are the only 32-bit versions...
-
07:59 PM Bug #16116 (Feedback): ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
- It's hard to debug issues like this without having a self contained reproducible example. Can you provide a self con...
-
07:49 PM Bug #16173 (Closed): ENV.delete returns nil when name does not exist and block given
- Applied in changeset commit:git|04fddf35734f04fd16824a847cad499465663a5f.
----------
ENV.delete should return the re... -
07:49 PM Revision 04fddf35 (git): ENV.delete should return the result of block on non-existing key
- Fixes [Bug #16173]
Co-Authored-By: Burdette Lamar <[email protected]>
Co-Authored-By: Jeremy Evans <code@jerem... -
07:33 PM Bug #12706: Hash#each yields inconsistent number of args
- Interesting. Does it intend to fix just this case, or any inconsistencies I listed in https://bugs.ruby-lang.org/issu...
-
07:13 PM Bug #16841: Some syntax errors are thrown from compile.c
- ibylich (Ilya Bylich) wrote in #note-3:
> Thanks for looking into this issue.
>
> > Do you think that will work f... -
07:03 PM Bug #16841: Some syntax errors are thrown from compile.c
- Thanks for looking into this issue.
> Do you think that will work for your purposes?
Not really. I'm working on... -
05:28 PM Bug #16841 (Closed): Some syntax errors are thrown from compile.c
-
05:54 PM Misc #15748 (Closed): [Documentation] Suggestion to adjust Object.html#method-i-instance_variable_set
- Applied in changeset commit:git|573e8d7736c84149ae298f4a8ed532525b6645d0.
----------
Change language used in instanc... -
05:54 PM Misc #15265 (Closed): Documentation for `Object#instance_variable_set` is inaccurate and pejorative
- Applied in changeset commit:git|573e8d7736c84149ae298f4a8ed532525b6645d0.
----------
Change language used in instanc... - 05:54 PM Revision aab2a7cf (git): * 2020-06-11 [ci skip]
-
05:49 PM Revision 573e8d77 (git): Change language used in instance_variable_set documentation [ci skip]
- This uses less harsh language recommended by duerst.
Fixes [Misc #15265]
Fixes [Misc #15748] -
05:26 PM Bug #16948 (Closed): hash.each(&method(:something)) behavior changed without warning on master
-
05:08 PM Bug #16948: hash.each(&method(:something)) behavior changed without warning on master
- > it may be reverted depending on the extent of the compatibility issues.
My bad I should have seen it in `NEWS.md... -
02:59 PM Bug #16948: hash.each(&method(:something)) behavior changed without warning on master
- This was a deliberate change in commit:47141797bed55eb10932c9a722a5132f50d4f3d8. As the commit message states, it ma...
-
01:02 PM Bug #16948 (Closed): hash.each(&method(:something)) behavior changed without warning on master
- I'm testing our app against ruby master as part of https://bugs.ruby-lang.org/issues/16895, and found the following u...
-
03:04 PM Bug #16949 (Closed): Psych tests failed with libyaml 0.2.5
- GitHub Actions CI failed on macOS, because Homebrew's [libyaml](https://github.com/Homebrew/homebrew-core/blob/90fecd...
-
02:30 PM Revision 96d184aa (git): Run spec/bundler without a sub-make
-
01:12 PM Feature #16946: Add an `intersperse` method
- Interesting idea.
In particular that use case:
'Hello'.intersperse('-') # => "H-e-l-l-o"
I actually had th... -
10:00 AM Feature #16946 (Open): Add an `intersperse` method
- Haskell has an `intersperse` function which adds a separator between elements of a list.
It would be pretty useful... -
12:56 PM Revision 73ca989a (git): spec/bundler must not be run by mspec
-
12:36 PM Bug #16947 (Closed): private method unexpected behavior
- It is allowed since 2.7.0.
-
12:35 PM Bug #16947: private method unexpected behavior
- https://rubyreferences.github.io/rubychanges/2.7.html#selfprivate_method
-
12:34 PM Bug #16947: private method unexpected behavior
- ```ruby
class Person
def speak
puts "Hey, Tj!"
end
def whisper_louder
whisper
end
def whisper_sel... -
12:18 PM Bug #16947 (Closed): private method unexpected behavior
- private method called explicitly through self should return an error, but in version 2.7.1 an error does not occur an...
-
12:33 PM Revision 998ccb08 (git): [rubygems/rubygems] Use parenthesis for clarity for ternary condition
- https://github.com/rubygems/rubygems/commit/d1247472b9
-
12:33 PM Revision b62e9c91 (git): [rubygems/rubygems] Increase timeouts in test_gem_stream_ui.rb
- * 0.1s is really short and fails in CI: #3622
https://github.com/rubygems/rubygems/commit/d8495ae1c1 -
11:58 AM Feature #16945: Enable TCO by use of special form
- We don't want to introduce a new reserved word only for this purpose.
-
09:38 AM Feature #16945 (Closed): Enable TCO by use of special form
- I would like to propose to create some way to enable TCO in ruby by use of special form, like (recur)[https://clojure...
-
11:45 AM Revision 8d4b2594 (git): Enhanced Rdoc for Array#fetch and Array#index (#3202)
- * Enhanced Rdoc for Array#fetch and Array#index
* Couple of tweaks (per review) in Rdoc for Hash -
10:42 AM Revision 21df4dce (git): Skip updating exts in test-all to reduce the turnaround time
-
09:54 AM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- Seeing the current minitest and unit-test updated by the above ticket, it seems the both implementation supports "Tes...
-
09:13 AM Bug #16935: Syntax error with `make check TESTS="-n /Foo#method/"`
- I escaped hash marks as `\#`. But I still got same error. Could you tell me the corerct command?
```
$ make V=1 c... -
06:42 AM Misc #16944: questions about Net::IMAP patches
- I believe your question is for the ruby core team, so probably it is best to let
nobu or shyouhei or anyone else fro... -
03:44 AM Misc #16944 (Closed): questions about Net::IMAP patches
- I work on a product that contains many changes to Net::IMAP, both to the client and especially to the response parser...
-
04:34 AM Feature #16939: Alias _1 as _ for block numbered params
- All the examples I could find where `{|_| ...}`, which could be made compatible. I still wonder what valid code examp...
-
04:12 AM Feature #16352: Modify Marshal to dump objects larger than 2 GiB
- If the risk of collision with `SIZEOF_LONG - 1` is deemed too high, then add 64 bits of fixed data afterwards (pick a...
-
01:22 AM Revision 5648976c (git): vm_call_method: avoid marking on-stack object
- This callcache is on stack, must not be GCed. However its contents are
copied from other materials, which can be an ... -
12:58 AM Bug #16943 (Closed): Incorrect Behaves on Hash-From-Pair-Array
-
12:52 AM Revision 8bee9e5c (git): doc/contributing.rdoc: Now ruby >= 2.2 or 2.3 is required to build ruby
-
12:29 AM Revision 41b8866e (git): This document is steal status.
- Now, You can see the all of contributors at https://github.com/ruby/ruby/graphs/contributors
Also available in: Atom