Activity
From 09/19/2019 to 09/25/2019
09/25/2019
-
08:41 PM Feature #16150: Add a way to request a frozen string from to_s
- > So how about making an experiment by the next preview(2) to see how big the incompatibility is?
Thank you, I wil... -
05:30 PM Feature #16150: Add a way to request a frozen string from to_s
- @matz Great to hear.
I get you are worried about `String#to_s`, but what about others that have been mentioned her... -
07:51 PM Bug #16148: bugs.ruby-lang.org is not sending email notifications for watched issues
- test
-
07:35 PM Bug #16154 (Closed): lib/delegate.rb issues keyword argument warnings
- The hash-flag approach for ruby2_keywords has been merged at 3b302ea8c95d34d5ef072d7e3b326f28a611e479. That commit u...
-
07:33 PM Revision 3b302ea8 (git): Add Module#ruby2_keywords for passing keywords through regular argument splats
- This approach uses a flag bit on the final hash object in the regular splat,
as opposed to a previous approach that u... -
06:25 PM Feature #16168 (Closed): Add keyword argument separation to C functions using rb_scan_args
- matz decided to always treat `:` in `rb_scan_args` as `**opt`, so I have merged my `rb_scan_args-colon-always-keyword...
-
06:18 PM Revision 80b5a0ff (git): Make rb_scan_args handle keywords more similar to Ruby methods (#2460)
- Cfuncs that use rb_scan_args with the : entry suffer similar keyword
argument separation issues that Ruby methods suf... -
06:05 PM Bug #16181 (Closed): return from a proc in a module/class body returns out of script. Should be LJE.
- return is not allowed from class/module body. But if we insert a return into a block then we can invoke the block th...
-
04:13 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- matz (Yukihiro Matsumoto) wrote:
> @eregon [ruby-core:95070] beats me. I am persuaded. I agree with:
>
> * `_1` (... -
04:12 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Dan0042 (Daniel DeLorme) wrote:
> > How would we define the current semantics, without being very complex or confusi... -
12:39 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- > I think `_0` and `_1` are very confusing because people can consider it is sequential meaning. However, the meaning...
-
11:54 AM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- > Beautifully simple:
> _0 is a single implicit parameter, as in x in { |x| }
> _1 is the first numbered parameter,... -
11:16 AM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Just to make it more polarized, I like the change, it feels more natural.
-
10:44 AM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Dan0042 (Daniel DeLorme) wrote:
> How unfortunate that you managed to persuade matz :-(
Completely agreed. -
10:15 AM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- > How would we define the current semantics, without being very complex or confusing?
Beautifully simple:
_0 is a... -
04:02 AM Bug #16178 (Closed): Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Applied in changeset commit:git|55e1e22b2d44a8a1eca0f6ed2b11dc0f564f7192.
----------
Changed numbered parameters sem... -
03:27 AM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- @eregon [ruby-core:95070] beats me. I am persuaded. I agree with:
* `_1` (and no other numbered parameters) to wor... - 03:27 PM Revision 4755e23d (git): * 2019-09-26 [ci skip]
-
03:26 PM Revision ae83dbe2 (git): Get rid of `IO.select` to fix multiline paste
-
11:54 AM Revision 5b1fd79a (git): [DOC] fixed the return value of IO#ready? [ci skip]
- IO#ready? returns true or false only, since r50262(1baa57b0033).
-
11:37 AM Bug #16180 (Rejected): Random.rand(max) ignores / is broken when max ceiling value is a float
- If you want random `Float` values up to `max`, use `Random#rand` or `Random.rand` instead of `Kernel#rand`.
-
11:34 AM Bug #16180: Random.rand(max) ignores / is broken when max ceiling value is a float
- your cases are documented there: https://ruby-doc.org/core-2.6.4/Kernel.html#method-i-rand
`When max.abs is greate... -
11:07 AM Bug #16180 (Rejected): Random.rand(max) ignores / is broken when max ceiling value is a float
- ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18]
ruby 2.7.0preview1 (2019-05-31 trunk c55db6aa271df4a689d... -
08:12 AM Revision 6d578164 (git): check `ARY_SHARED_ROOT_P()`.
- ARY_SHARED_ROOT_P(ary) is true, ARY_HEAP_CAPA(ary) should not
be called. -
08:01 AM Revision 3deeb3fd (git): introduce `obj_ary_extracapa`.
- Introduce a new debug counter `obj_ary_extracapa` which counts
arrays which are `len < capa`. -
07:58 AM Revision 112c9f14 (git): lldb_inspect: removed unnecessary newline and `end` option
-
07:14 AM Bug #16179 (Feedback): ruby binaries generate "already initialized constant" warnings on AIX 6.1
- Could you show what `ruby -e 'puts $:'` print, and is it same as in irb?
-
02:33 AM Bug #16179 (Closed): ruby binaries generate "already initialized constant" warnings on AIX 6.1
- We are building ruby 2.6.3(both 32 and 64bit) on AIX 6.1.
The build options used for 64bit build are:-
```
expor... -
07:13 AM Bug #16135 (Third Party's Issue): Segmentation fault in Ruby 2.6.1
- It occurs in KysyCore.dll and the extension library calling that DLL.
Have you asked the author? -
05:10 AM Bug #16135: Segmentation fault in Ruby 2.6.1
- Loading Kysy dll is required in order to run my test cases .
-
04:52 AM Revision 33c5ad31 (git): Removed idNUMPARAM_0
-
04:08 AM Feature #16131: Remove $SAFE, taint and trust
- I've expanded my pull request to deprecate taint/trust and related methods with verbose warnings, and make the method...
-
04:01 AM Revision 55e1e22b (git): Changed numbered parameters semantics
- * `_1` (and no other numbered parameters) to work as `|x|`.
* giving up `_0`.
[ruby-core:95074] [Bug #16178] -
03:00 AM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- I think the following code behavior is wrong:
```ruby
p instance_exec(["a"]){|*foo, **bar| foo } #=> ["a"]
```
It... -
01:39 AM Revision e663299a (git): Simplified duplicate code
-
12:48 AM Revision c99fb0f4 (git): Revert "[ruby/io-console] Skip cursor position test on Solaris"
- This reverts commit 5294ded681992ced2ecbd31c814b63265d2f591e.
-
12:48 AM Revision ca58e834 (git): Do not use of non-standard escape character '\e'
-
12:43 AM Revision c60451d9 (git): [ruby/io-console] Unique paths to be added
- https://github.com/ruby/io-console/commit/a3ad851b6c
-
12:43 AM Revision fc9eb5b9 (git): [ruby/io-console] Load the current libraries
- https://github.com/ruby/io-console/commit/ab7653c543
09/24/2019
- 11:24 PM Revision 8e8dd88c (git): * 2019-09-25 [ci skip]
-
11:24 PM Revision 5294ded6 (git): [ruby/io-console] Skip cursor position test on Solaris
- It results in a mysterious failure.
https://github.com/ruby/io-console/commit/e3543c3da4 -
10:39 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- It's all about definitions. How do we explain numbered parameters?
Isn't `_1` the first parameter, as in `x` in `{... -
10:18 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Here is another inconsistency on current trunk:
```ruby
[1,[2,3]].map { |x| x } # => [1, [2, 3]]
[1,[2,3]].map { ... -
10:14 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Dan0042 (Daniel DeLorme) wrote:
> `proc{ |x,| }.arity` == 1, so `_1` is consistent with that.
Which sounds like a... -
09:45 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- zverok (Victor Shepelev) wrote:
> Honestly, we use it pretty frequently in our codebase and find it appealing.
> It... -
09:38 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- `proc{ |x,| }.arity` == 1, so `_1` is consistent with that.
In order to get the tuples' first value you would need... -
04:04 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Hmmm. I find underscores to be harder to read in combination with
other parts (e. g. _abc or _123) whereas I use _ q... -
01:53 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Some counter-points (that being said, I dislike the "unnamed parameters" idea as a whole, because I am afraid this fe...
-
01:37 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- nobu (Nobuyoshi Nakada) wrote:
> When `_1` is same as `|x|`, what does `[[1, 2]].map {_1 + _2}` mean?
It means `[... -
01:29 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- When `_1` is same as `|x|`, what does `[[1, 2]].map {_1 + _2}` mean?
The meaning of `_1` changes if `_2` is used or ... -
01:23 PM Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Of course, having `_` as the only unnamed parameter would have `|x|` semantics,
but I guess it's too late for that a... -
01:21 PM Bug #16178 (Closed): Numbered parameters: _1 should be the same as |x| and _0 should not exist
- Currently on trunk:
```ruby
array = ["string", 42, [1, 2]]
array.map { |x| x * 2 }
# => ["stringstring", 84, [1... -
10:08 PM Feature #16120: Omitted block argument if block starts with dot-method call
- I ended up rebasing my commits to the latest master and then fiddling with parse.y until I got everything clean and w...
-
07:10 PM Bug #16173: ENV.delete returns nil when name does not exist and block given
- I also agree that nobu's patch should be merged.
-
06:31 PM Bug #16173: ENV.delete returns nil when name does not exist and block given
- I, being a member only of The Outer Party, can't merge anything here.
I'm agnostic on whether the change should be... -
07:08 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
- Example from .NET:
(https://docs.microsoft.com/en-us/dotnet/api/system.io.path.getextension)
```
class Program
... -
02:36 PM Bug #16135: Segmentation fault in Ruby 2.6.1
- As KysyCore.dll is included in the backtrace, that is likely to be the cause of the problem. Is it possible for you ...
-
06:27 AM Bug #16135: Segmentation fault in Ruby 2.6.1
- Kysy is not installed in the machine .
The above call stack is from my development environment which has Kysy codeba... -
12:57 PM Revision 0e84eecc (git): Make numbered parameters exclusive in a scope
-
12:57 PM Revision ea68bb91 (git): Changed numbered parameter prefix
-
12:57 PM Revision e73cc3ee (git): Added implicit block parameter
-
12:52 PM Revision a1dcb9da (git): Rename from ruby-x.y.z.ext.draft to ruby-x.y.z-draft.ext [ci skip]
-
12:05 PM Revision c5a97d99 (git): misc/lldb_cruby.py: update for python3 [ci skip]
- lldb module bundled with Xcode is for Python 3 now.
-
11:59 AM Revision 05263660 (git): misc/lldb_cruby.py: removed unused module `commands` [ci skip]
-
10:05 AM Bug #16177 (Closed): Some `*.rb` files on builddir cause Segmentation fault
- How to reproduce:
1. Create dummy files by `./miniruby -e '%w[a b foo bar test zzz].each{|basename|File.write("#{b... -
07:20 AM Revision 10e3267c (git): [ruby/io-console] Made cursor position 0-origin
- https://github.com/ruby/io-console/commit/9377e37295
-
07:20 AM Revision 244f7ec2 (git): [ruby/io-console] Made cursor position consistent with `winsize`
- To be consistent with `winsize`, changed the cursor position
format from `[x, y]` to `[row, column]`.
https://github... -
03:38 AM Bug #16176 (Third Party's Issue): Segmentation fault running irb on ruby 2.6.4p104 (2019-08-28 revision 67798) [x64-mingw32]
- It seems crashing in ffi-call by rb-readline.
-
02:50 AM Revision 2366c681 (git): suppress meddlesome clang10 warrning
- It says:
vm.c:2519:34: warning: expression does not compute the number of elements in this array; element type is 'c... -
02:44 AM Revision 14ba62d4 (git): refactor delete unused variable
- cadfaacb2533d47d52dbb5dbefe724d7bf11112e missed it.
09/23/2019
-
11:23 PM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
- Attached is an alternative approach for implementing this. It uses `VALUE` for the `kwfreeze` variable, so we can use...
-
10:52 PM Bug #16176: Segmentation fault running irb on ruby 2.6.4p104 (2019-08-28 revision 67798) [x64-mingw32]
- Install is from https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.4-1/rubyinstaller-devk...
-
09:28 PM Bug #16176 (Third Party's Issue): Segmentation fault running irb on ruby 2.6.4p104 (2019-08-28 revision 67798) [x64-mingw32]
- I'm new to Ruby so bare with me, I have a fresh install of Ruby on a Windows 10 (Build 1803) corporate Dell laptop an...
-
10:06 PM Feature #16147: List Comprehensions in Ruby
- Eregon (Benoit Daloze) wrote:
> Just my opinion: I don't think we should have list comprehensions in Ruby.
Thanks... -
09:16 PM Feature #16147: List Comprehensions in Ruby
- nobu (Nobuyoshi Nakada) wrote:
> sammomichael (Samuel Michael) wrote:
> > ```ruby
> > [for x in 1..10 do x**2 if x... -
08:43 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- I think it's important to make a distinction between "immutable" and "frozen".
Some programming languages have imm... -
08:01 PM Bug #16154: lib/delegate.rb issues keyword argument warnings
- When reading the code it seems like the intent of `foo(test:42)` is for baz to return `[{:test=>42}, {}]` but that's ...
-
05:05 PM Feature #16120: Omitted block argument if block starts with dot-method call
- Since I wasn't at the developer meeting I'll post my thoughts/responses to the log here.
> matz: I prefer this sty... - 04:28 PM Revision e561e4a8 (git): * 2019-09-24 [ci skip]
-
04:28 PM Revision 74e33662 (git): Make public_send and rb_f_send handle keyword argument separation
- Kernel#send takes a different optimized code path that was already
handled. -
03:12 PM Bug #16135: Segmentation fault in Ruby 2.6.1
- It looks like Kysy is still installed and active according to the C level backtrace:
```
C:\Windows\SYSTEM32\ntdl... -
09:09 AM Bug #16135: Segmentation fault in Ruby 2.6.1
- It works fine in Ruby 2.5.6 version
-
05:42 AM Bug #16135: Segmentation fault in Ruby 2.6.1
- Please find the error output of Segmentation fault with no Kysy installed.
```
Copying E:/code/KYSY-3153/Source/t... -
10:29 AM Revision 9e4be78e (git): [ruby/io-console] Try fallback to stdout when stdin
- https://github.com/ruby/io-console/commit/b8017509ef
-
10:24 AM Revision 8487193b (git): [ruby/io-console] Try to write DSR query to writable IO
- https://github.com/ruby/io-console/commit/a54b6e4dd1
-
08:33 AM Revision b443bdbd (git): Use short wait for select(2)
- It is one of the reasons why paste to IRB is slow.
-
08:27 AM Revision 93450747 (git): Retrieve key-buffer that was supposed to lose
-
12:25 AM Bug #16151: [PATCH] Fix a class of fstring related use-after-free
- I ran some quick tests on rejecting frozen non-bare strings from the buffer
deduplication code path. On Discourse, a...
09/22/2019
-
10:21 PM Feature #16168: Add keyword argument separation to C functions using rb_scan_args
- At the last developer meeting, matz requested that instead of "k", "e", and "n" modifiers to `rb_scan_args`, a new `r...
-
06:40 PM Bug #16173: ENV.delete returns nil when name does not exist and block given
- IMHO it's better to fix behavior to be consistent with Hash#delete.
And the compatibility risk seems non existent he... -
06:29 PM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
- nobu (Nobuyoshi Nakada) wrote:
> This patch unrolls the `while`-loop for the already flatten head and seems reasonab... -
05:21 PM Revision 142efba9 (git): Adjusted directives order of a function [ci skip]
-
05:14 PM Revision cadfaacb (git): Lazy init thread local storage
-
05:00 PM Bug #16007: Process.clock_getres matches the clock in practice for Process::CLOCK_{PROCESS,THREAD}_CPUTIME_ID FAILED fails on armv7hl
- vo.x (Vit Ondruch) wrote:
> However, I wonder if there is some explanation for disabling the test. I see a lot of co... -
04:47 PM Feature #16147: List Comprehensions in Ruby
- Just my opinion: I don't think we should have list comprehensions in Ruby.
They are just a small subset of the far... -
10:09 AM Feature #16147: List Comprehensions in Ruby
- sammomichael (Samuel Michael) wrote:
> ```ruby
> [for x in 1..10 do x**2 if x.even? end] #=> 1..10 (normal Ruby)
... -
04:38 PM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
- I am encountering this in a project as well. In my case, I see this while running rspec regression tests:
```
#<A... -
04:25 PM Revision 642dbb96 (git): make-snapshot: store timestamps in UTC for zip which lacks timezone
- 04:04 PM Revision 2afe86e4 (git): * 2019-09-23 [ci skip]
-
03:55 PM Revision d8221a54 (git): Add `-mtc=off` to `7z` not to store NTFS timestamps
- https://sevenzip.osdn.jp/chm/cmdline/switches/method.htm
-
02:36 PM Misc #16124: Let the transient heap belong to objspace
- nobu (Nobuyoshi Nakada) wrote:
> I'm positive about this, except for the performance.
> Do you have any numbers?
... -
01:26 PM Revision b0d24e26 (git): make-snapshot: Added -no7z option
- It disables 7z, which seems not to have an option to stop saving
extra file attributes (uid/gid and atime), in order ... -
01:18 PM Revision 7fe7dec7 (git): make-snapshot: Do not save extra file attributes
- Extra file attributes (uid/gid and atime) make the packaged zip
file unstable. -
01:12 PM Revision 5f35b8ca (git): st.c: Use rb_st_* prefix instead of st_* (#2479)
- The original st.c was public domain hash table implementation, but
Ruby's st.c is highly modified, and its data struc... -
10:52 AM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
- I agree with Jeremy. It is not a bug.
I think that the wording of `freeze: false` is a bit confusing, but the doc... -
09:59 AM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
- @jeremyevans0 thanks for your answer.
Let me explain my point a bit.
I come upon this inconsistency (or what **... -
09:30 AM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
- I sort of agree with zverok at the least for the expectation of freeze: true
working. IMO for boolean toggle-values ... -
10:10 AM Bug #16174 (Third Party's Issue): Feature #15958 triggers Rails unit test failure
-
07:39 AM Revision 2272efa4 (git): st.c (st_add_direct_with_hash): make it "static inline"
- It was originally static inline, but seemed to be accidentally published
at 8f675cdd00e2c5b5a0f143f5e508dbbafdb20ccd. -
07:21 AM Revision 28eefb33 (git): variable.c: Rename rb_st_copy to rb_iv_tbl_copy
- This function was created as a variant of st_copy with firing write
barrier.
It should have more explicit name, such ... -
02:55 AM Revision b4c328be (git): test/bigdecimal/test_bigdecimal.rb: Use BigDecimal()
- instead of deprecated BigDecimal.new.
-
01:55 AM Misc #16160: Lazy init thread local storage
- nobu (Nobuyoshi Nakada) wrote:
> I'm positive about this, except for the performance.
> Do you have any numbers?
... -
01:11 AM Revision a0ce0b62 (git): Add `if: always()` because 2.4.x's `make check` failed on snapshot [ci skip]
- `check-snapshot-ruby_2_4` uses `make test` instead of `make check`.
https://github.com/ruby/actions/blob/95692e54f426...
09/21/2019
-
11:24 PM Bug #16174: Feature #15958 triggers Rails unit test failure
- Thanks for the fix. https://github.com/rails/rails/pull/37262 has been merged to master, I think this issue can be cl...
-
08:01 AM Bug #16174: Feature #15958 triggers Rails unit test failure
- https://github.com/rails/rails/pull/37262
-
04:04 AM Bug #16174: Feature #15958 triggers Rails unit test failure
- This Rails unit test compares the output of Time using pp.
pp Time class object also changed to show subseconds.
... -
03:57 AM Bug #16174 (Third Party's Issue): Feature #15958 triggers Rails unit test failure
- Let me inform one of Rails Active Record unit test get failed since https://bugs.ruby-lang.org/issues/15958
I prefer... - 11:10 PM Revision c020fd6a (git): * 2019-09-22 [ci skip]
-
11:10 PM Bug #7522 (Closed): Non-core "Type()" Kernel methods return new objects
- Applied in changeset commit:git|2e551356a7a6e74ba07283e000ff16f5d1ea6506.
----------
Make Kernel#{Pathname,BigDecima... -
11:10 PM Bug #8297 (Closed): extend & inherited class variable issue
- Applied in changeset commit:git|7470f965650bf17875632f0c5f9e5a4d9de9fc3f.
----------
Fix Module#class_variables for ... -
11:10 PM Revision 2e551356 (git): Make Kernel#{Pathname,BigDecimal,Complex} return argument if given correct type
- This is how Kernel#{Array,String,Float,Integer,Hash,Rational} work.
BigDecimal and Complex instances are always froze... -
11:10 PM Revision 7470f965 (git): Fix Module#class_variables for singleton classes of classes/modules
- Module#class_variables should reflect class variable lookup. For
singleton classes of classes/modules, this means the... -
09:46 PM Feature #16147: List Comprehensions in Ruby
- In reiteration of my main points, Ruby is a dynamic multi-paradigm language which should when possible embrace a vari...
-
09:19 PM Bug #16106: UnboundMethod owner points to base class
- An interesting bit here is that there is no way to get back the module from which the method was retrieved, even thou...
-
09:05 PM Feature #15381: Let double splat call `to_h` implicitly
- `nil` does not respond to `to_hash` though, how do you propose to deal with that?
Should `**` call `to_h` rather t... -
08:54 PM Bug #16154: lib/delegate.rb issues keyword argument warnings
- I worked on an alternative approach of using `ruby2_keywords` with a hash flag approach instead of a VM frame flag ap...
-
08:26 PM Feature #16175: Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
- The `freeze: false` option was intended to be: "do not freeze clone if receiver is already frozen". The `Object#clone...
-
05:33 PM Feature #16175 (Closed): Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
- In #12300, the new keyword `freeze:` was introduced, allowing this:
```ruby
h = {}.freeze
h.clone.frozen?
# => ... -
05:13 PM Feature #11473: Immutable String literal in Ruby 3
- I'm still against frozen-string-literal by default. It is arguable if the string creation limits performance so much...
-
05:11 PM Bug #16173: ENV.delete returns nil when name does not exist and block given
- Thanks, @alanwu. I'm refreshing diff.txt with more fulsome documentation, along with enhanced testing.
-
03:55 PM Bug #16173: ENV.delete returns nil when name does not exist and block given
- Thanks, @nobu, but I'm not going to propose a change to the functionality.
-
07:09 AM Bug #16173: ENV.delete returns nil when name does not exist and block given
- Comparing with `Hash#delete`, it looks that the document is correct and the code is wrong.
```diff
diff --git i/h... -
04:27 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- Matz didn't determine this proposal at the meeting. There were four points discussed:
* Before matz accepts this ... -
08:33 AM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- Hmm. I can somewhat understand the proposal, but I believe you would also
add a bit more complexity here; you need t... -
10:23 AM Revision 5cb28321 (git): test/ruby/test_assignment.rb: use bug number for assert message
- to suppress variable unused warning
-
07:56 AM Misc #16152 (Closed): DevelopersMeeting20190919Japan
- I published the Log. Closing.
-
07:17 AM Feature #16131: Remove $SAFE, taint and trust
- I've added a pull request that adds warnings to setting/access of $SAFE, as well as public C function that deal with ...
-
07:09 AM Revision b4149993 (git): Add a benchmark for JIT-ed code dispatch
-
04:24 AM Revision e006b992 (git): typedef rb_jmpbuf_t to void *[5] if __builtin_setjmp is used
- The built-in version operates on a buffer of 5 words, much smaller than
the size of jmp_buf defined in libc.
Note, po...
09/20/2019
-
11:10 PM Bug #16173: ENV.delete returns nil when name does not exist and block given
- This gives the impression that the return value is always nil, which isn't true when the environment variable exists....
-
07:32 PM Bug #16173 (Closed): ENV.delete returns nil when name does not exist and block given
- Attached diff.txt:
* ENV.delete for nonexistent name and block given:
* Test enhanced to verify return value is... -
07:22 PM Bug #16164 (Closed): ENV.each with block returns ENV object itself, not Hash
- Applied in changeset commit:git|27144de2bd95c5886c3d4400c3b8aea932b856f1.
----------
Fix documentation for ENV.each ... -
06:50 PM Bug #16164: ENV.each with block returns ENV object itself, not Hash
- I'm attaching a diff that:
* Enhances the test to verify the returned object, which is ENV.
* Corrects the docume... -
07:18 PM Revision 27144de2 (git): Fix documentation for ENV.each to return ENV
- Also have spec check that it returns ENV.
Mostly from [email protected] (Burdette Lamar).
Fixes [Bug #16164] -
04:57 PM Revision 7aeacb21 (git): Revert eval.c in e81a3e6df54842b5a836dad7055a4295cf4155bc
- Inadvertently merged change to suppress warnings by gcc 9.2.
Pointed out by Alan Wu. -
04:29 PM Bug #16135: Segmentation fault in Ruby 2.6.1
- Can you please post or upload the error output from the failure with Ruby 2.6.3 and no AMD Kysy installed? Also, if ...
-
04:25 PM Bug #16135: Segmentation fault in Ruby 2.6.1
- I have tested in a clean machine with no Kysy ,but it failed there too.
-
04:20 PM Bug #16135: Segmentation fault in Ruby 2.6.1
- I already tried with Ruby 2.6.3 too and faced same issue .
- 03:48 PM Revision 990e714f (git): * 2019-09-21 [ci skip]
-
03:48 PM Revision daa4ad8e (git): Disable method definition type checks on Windows
-
02:57 PM Revision fe1e623f (git): Fixed format specifiers
- Use PRIdPTRDIFF for the platforms where a pointer is larger than a long.
-
02:45 PM Revision e47b1116 (git): Call rb_vm_call_kw insted of rb_vm_call0 in a few cases
- rb_vm_call_kw handles the tmp buffer for you.
Also, change method_missing so it also calls rb_vm_call_kw to
handle t... -
02:45 PM Revision c9f2b790 (git): Handle keyword argument separation for Enumerator#size
- When Object#to_enum is passed a block, the block is called to get
a size with the arguments given to to_enum. This c... -
02:45 PM Revision 27b67468 (git): Make passing empty keywords to dig pass empty keywords to next dig method
- If defined in Ruby, dig would be defined as def dig(arg, *rest) end,
it would not use keywords. If the last dig argu... -
01:05 PM Revision e81a3e6d (git): Allows calling a private method only with bare `self`
-
12:50 PM Revision 9e171b1f (git): Fix wrong allocation failure handling
- `iseq->body->jit_unit->compile_info` should not be referenced before
the null check of `iseq->body->jit_unit`. -
12:06 PM Revision 6e0dd3e7 (git): Use RUBY_VM_NEXT_CONTROL_FRAME macro
- in vm_push_frame and limit scope of i.
Just a minor maintainability improvement. -
11:32 AM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- Dan0042 (Daniel DeLorme) wrote:
> The naming is a bit wonky, I'll freely admit. I'll change the description to your ... -
10:12 AM Revision 740a98fe (git): Fix for explicit cast without RUBY_METHOD_FUNC
-
10:12 AM Revision cb1f9fe9 (git): Check various method defitions in C++
-
08:44 AM Revision 4ffcadd3 (git): Fix rb_define_singleton_method warning
- for debug counters
```
../include/ruby/intern.h:1175:137: warning: passing argument 3 of 'rb_define_singleton_method... -
08:35 AM Bug #16121: Stop making a redundant hash copy in Hash#dup
- I found that
> ` rb_define_method(rb_cArray, "initialize_copy", rb_ary_replace, 1);`
`Array#initialize_copy`... -
07:45 AM Bug #16121: Stop making a redundant hash copy in Hash#dup
- Thank you. Completely fine.
Do you want to merge via github PR or attached patch by my commit? -
08:12 AM Feature #16170: Remove the unmaintained libraries from Ruby 2.7
- Just FTR, I am using tracer from time to time, typically just from command line as `-rtracer`. I'll be sad to see it ...
-
08:05 AM Revision 04c53a1d (git): Get rid of embedding make command line
- NMAKE sets MAKE to the full path name, which includes spaces by
the default installation. -
07:58 AM Revision d56a3c06 (git): Fixed cxxanyargs/depend
- * Removed excess backslashes
* Fixed the target name to try failure.cpp -
07:43 AM Revision 26831719 (git): [DOC] DOT is not a part of a receiver [ci skip]
- [Feature #11297] [Feature #16123]
-
07:27 AM Misc #16172: C++ situation?
- I wanted to briefly add that I think C++ support or have it as a "first class citizen"
could be great - even though ... -
02:25 AM Misc #16172 (Closed): C++ situation?
- We discussed this topic at the developer meeting held yesterday.
The attendees' mood was that we would like to say... -
07:22 AM Feature #16120: Omitted block argument if block starts with dot-method call
- The idea is very interesting to me, purely from a conceptual point of view
alone. So from this point of view, I like... -
05:22 AM Revision 1de242de (git): Fixed up 37c083942509dd7e0d8b7ccd3575936a2017c400
-
05:21 AM Revision 9d25c652 (git): Removed ThreadsWait from the ruby repository
-
05:06 AM Revision 37c08394 (git): Removed Synchronizer from the ruby repository.
-
03:56 AM Revision 3b56a093 (git): Removed Shell from the ruby repository.
-
03:43 AM Revision 67a66620 (git): Removed Scanf from the ruby repository.
-
03:31 AM Revision a3b85016 (git): Removed CMath from the ruby repository.
-
03:20 AM Misc #16152: DevelopersMeeting20190919Japan
- Can someone update the "Log" link above?
-
02:10 AM Feature #15381: Let double splat call `to_h` implicitly
- I came here to file this feature request, only to find this had already been proposed. This would be beautiful, indee...
-
01:49 AM Revision 422ae594 (git): Fixed memory leak
- * array.c (flatten): fix a memory leak in the case of an exception
at conversion of an element to Array. -
12:31 AM Revision 45bac628 (git): Added the target to run a benchmark
-
12:25 AM Revision d3c6fe65 (git): Fixed a variable in checkout-github-%
-
12:19 AM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
- This patch unrolls the `while`-loop for the already flatten head and seems reasonable.
But I could get only insignif...
09/19/2019
-
08:31 PM Bug #16151: [PATCH] Fix a class of fstring related use-after-free
- @mame
I think that class is used frequently, though I'm not sure if Rails tries to deduplicate instances with fstr... -
06:46 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- The naming is a bit wonky, I'll freely admit. I'll change the description to your suggestion.
Does this mean you a... -
09:11 AM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- `freeze(eventual: false)` gives the impression that it will never be frozen, but the proposal is to have this mean th...
-
06:25 PM Feature #11297 (Closed): Allow private method of self to be called
- Applied in changeset commit:git|7fbd2f7cc247ee66e877ab3c88f0274834c6b6c7.
----------
Allow calling a private method ... -
06:25 PM Feature #16123 (Closed): Allow calling a private method with `self.`
- Applied in changeset commit:git|7fbd2f7cc247ee66e877ab3c88f0274834c6b6c7.
----------
Allow calling a private method ... -
08:17 AM Feature #16123: Allow calling a private method with `self.`
- Accepted. But as I said in #11297, the document should be updated. After the patch, you can say `self.puts("hello")`,...
-
05:40 PM Revision b80df6e8 (git): Update NEWS and documents [ci skip]
- [Feature #11297] [Feature #16123]
-
05:21 PM Revision e6378cdc (git): Allow calling a private accessor with `self.`
- [Feature #11297] [Feature #16123]
-
05:21 PM Revision d583df52 (git): Added version guard
- [Feature #11297] [Feature #16123]
- 05:20 PM Revision 7fbd2f7c (git): Allow calling a private method with `self.`
- This makes it consistent with calling private attribute assignment
methods, which currently is allowed (e.g. `self.va... -
04:29 PM Revision 17a13663 (git): Overload variable definition functions
- Define overloading functions of rb_define_virtual_variable and
rb_define_hooked_variable, for combinations with and w... -
04:29 PM Revision 9c0d5e51 (git): Check method functions in C++
- By using template and overloading, instead of transparent union.
-
03:32 PM Bug #16154: lib/delegate.rb issues keyword argument warnings
- At the dev meeting yesterday, matz recommended changing the method name from `pass_keywords` to `ruby2_keywords`. I ...
- 03:20 PM Revision 5e3771aa (git): * 2019-09-20 [ci skip]
-
03:20 PM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- > `Time.now.floor(step: 3600)` doesn't work well with leap seconds.
```ruby
n = (Time.now.to_i / 86400).floor * 8... -
09:28 AM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- As @akr stated, `round` etc.for `Time` class do not work well (rejected).
For float values, we could suffer from err... -
09:22 AM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- `Time.now.floor(step: 3600)` doesn't work well with leap seconds.
Also, we want floor/round/ceil for month and yea... -
02:45 PM Revision e13b09c4 (git): Use EXPECT_NODE_NONULL
-
02:44 PM Revision 82f25404 (git): Check COMPILE_RECV result
-
01:44 PM Feature #7639 (Closed): More freedom for location of comments
-
01:26 PM Feature #16131: Remove $SAFE, taint and trust
- I look forward to removing all tainting logic!
-
08:00 AM Feature #16131: Remove $SAFE, taint and trust
- Basically agreed.
My proposal for the schedule:
2.7:
* Remove taint tracking/mechanism.
* Non-verbose war... -
01:09 PM Revision e0c56b45 (git): Moved unmatch arity check to depend file
- To substitute suffixes and VPATH for nmake.
-
11:57 AM Revision a3daf8e4 (git): Ensure that unmatched arity fails in C++
-
11:57 AM Revision b3ddeac3 (git): Revert "DEBUG: dump mkmf.log"
- This reverts commit 69e209a3450bd6b281dcad1d96a34e9cab184845.
The debug has finishted. -
11:45 AM Revision cbf405fe (git): Specify encoding explicitly for sprintf
-
11:20 AM Feature #15958 (Closed): Time#inspect with frac
- Applied in changeset commit:git|5208c431bef3240eb251f5da23723b324431a98e.
----------
Separate Time#inspect from to_s... -
11:20 AM Revision 5208c431 (git): Separate Time#inspect from to_s and show subsec [Feature #15958]
-
10:40 AM Revision 2698f13a (git): Fixed reserved numbered parameter warning
-
10:06 AM Revision 6180f1fe (git): Added link_command for C++
-
09:04 AM Revision 6045ff64 (git): Use benchmark-driver v0.15.6
- to fix another keyword argument warning which was added recently.
-
08:35 AM Feature #16163 (Closed): Reduce the output of `RubyVM::InstructionSequence#to_binary`
- Applied in changeset commit:git|20baa08d652b844806fab424a2a590408ab613ef.
----------
Improve the output of `RubyVM::... -
08:35 AM Revision 20baa08d (git): Improve the output of `RubyVM::InstructionSequence#to_binary` (#2450)
- The output of RubyVM::InstructionSequence#to_binary is extremely large.
We have reduced the output of #to_binary by m... -
08:31 AM Feature #16155: Add an Array#intersection method
- Accepted. PR welcome.
Matz. -
08:30 AM Feature #16119 (Assigned): Optimize Array#flatten and flatten! for already flattened arrays
- @nobu Could you please review this?
-
08:30 AM Revision f84efe4b (git): Avoid unneeded casts in INSN_ENTRY_SIG
-
08:20 AM Bug #16121: Stop making a redundant hash copy in Hash#dup
- I'll review it.
-
08:19 AM Revision 7202bf9e (git): Drop PREFETCH macro unused since 6b534134a7
-
08:07 AM Feature #15667: Introduce malloc_trim(0) in full gc cycles
- I'd just like to point out that calling malloc_trim(0) according to article explaining the feature - https://www.joyf...
-
08:00 AM Bug #7522: Non-core "Type()" Kernel methods return new objects
- Accepted.
Matz.
-
07:52 AM Misc #16124: Let the transient heap belong to objspace
- I'm positive about this, except for the performance.
Do you have any numbers? -
07:52 AM Misc #16160: Lazy init thread local storage
- I'm positive about this, except for the performance.
Do you have any numbers? -
07:51 AM Feature #16170: Remove the unmaintained libraries from Ruby 2.7
- FYI: How many times the gems is required from all latest public gems by using [gem-codesearch](https://github.com/akr...
-
06:48 AM Feature #16170: Remove the unmaintained libraries from Ruby 2.7
- >Can we remain it as bundled gem?
sounds good.
We are going to remove them at Ruby 2.7.0-preview2
* cmath
... -
06:43 AM Feature #16170: Remove the unmaintained libraries from Ruby 2.7
- I'll maintain `debug`. Can we remain it as bundled gem?
-
12:46 AM Feature #16170: Remove the unmaintained libraries from Ruby 2.7
- Can we also remove them?
* debug
* getoptlong
-
07:47 AM Feature #16150: Add a way to request a frozen string from to_s
- For frozen `Symbol#to_s`, I see a clear benefit. But I worry a little bit for incompatibility.
So how about making a... -
07:38 AM Bug #11636: super in instance_eval in a method defined in a module is invoked with a wrong receiver
- This bug should be fixed. @nobu could you review the patch?
Matz. -
06:18 AM Revision fcfe36b7 (git): fix spec failure
- See also https://travis-ci.org/ruby/ruby/jobs/586452224
-
06:18 AM Revision d74fa8e5 (git): reuse cc->call
- I noticed that in case of cache misshit, re-calculated cc->me can
be the same method entry than the pevious one. Tha... -
05:56 AM Misc #16114: Naming of "beginless range"
- I hope this discussion leads to Ruby having Ranges congruent to all the mathematical intervals.
Today we have righ... -
05:26 AM Bug #12984 (Closed): `rescue *[]` should be equivalent to `rescue` as `method_call(*[])` is equivalent to `method_call`
- This `*[]` is not just exception list omitted, but explicitly specifies zero exceptions to catch.
Thus the current b... -
05:20 AM Bug #13593: Addrinfo#== behaves oddly
- We discussed about this in developer meeting.
This feature has some difficulty in spec for example padding, unknown ... -
04:50 AM Bug #13593: Addrinfo#== behaves oddly
- What's the use case of this comparison?
-
03:52 AM Feature #11473: Immutable String literal in Ruby 3
- > Is there a reason why the existing frozen-string-literal: false is not good enough?
My understanding of `frozen-... -
03:47 AM Revision 9fb9f2d3 (git): Add draft-release.yml [ci skip]
- Make draft release packages. (Release packages are official after tests and release announce.)
- Copy from ruby/acti... -
03:25 AM Revision e2aac6a6 (git): Separate @have_devel for C++
-
03:25 AM Revision df3fd507 (git): Removed mkmf.log dump in Makefile
-
03:18 AM Revision 66c644da (git): refactor reuse existing on-stack structs
- rb_vm_call0 allocates its own struct call_info etc. But they are
already there in case of rb_funcallv_with_cc. Let'... -
03:03 AM Revision 69e209a3 (git): DEBUG: dump mkmf.log
-
02:25 AM Revision 2d1e3bd8 (git): DEBUG: cxxanyargs
-
01:55 AM Misc #16152: DevelopersMeeting20190919Japan
- [Misc #16172] C++ situation?
- What do we do with C++ extensions? -
01:51 AM Misc #16172 (Closed): C++ situation?
- (This issue is MRI specific)
Few weeks ago I pushed a minimalist C++ compatibility layer to the master branch. Th... -
01:46 AM Revision a98181eb (git): DEBUG: cxxanyargs
-
12:47 AM Revision 70fd022a (git): DEBUG
-
12:27 AM Bug #16171 (Third Party's Issue): Documentation for PP
- https://ruby-doc.org/ is not our resource. Please contact admin of ruby-doc.org
Also available in: Atom