Project

General

Profile

Activity

From 10/24/2019 to 10/30/2019

10/30/2019

11:39 PM Revision e08f2e47 (git): Also ignore mswin platform
hsbt (Hiroshi SHIBATA)
11:39 PM Revision 8540efd3 (git): Ignore test_racc_command with linux platform
hsbt (Hiroshi SHIBATA)
11:39 PM Revision 1c03026e (git): Try to run assert_output_unchanged with racc tests
hsbt (Hiroshi SHIBATA)
11:11 PM Feature #16275: Revert `.:` syntax
`.:` has special power in that one cannot change its semantics by redefining a
method. It other words, it's a fundam...
alanwu (Alan Wu)
09:14 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
For the following:
```ruby
class Foo
private do
o = Object.new
def o.hello; end
end
end
```
Woul...
alanwu (Alan Wu)
08:04 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
adh1003 (Andrew Hodgkinson) wrote:
> There seems to be a general agreement that this proposed extension would be a g...
jeremyevans0 (Jeremy Evans)
07:08 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
shyouhei (Shyouhei Urabe) wrote:
> Yes, I agree we don't copy C++ / Java. What I wonder is _any_ other language w...
adh1003 (Andrew Hodgkinson)
01:42 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
Yes, I agree we don't copy C++ / Java. What I wonder is _any_ other language who have such syntax. Swift? no. Pytho... shyouhei (Shyouhei Urabe)
08:54 PM Feature #16131: Remove $SAFE, taint and trust
Most of the pull requests to fix taint/$SAFE issues have been merged. These are the remaining ones that haven't been... jeremyevans0 (Jeremy Evans)
07:30 PM Feature #15123: Enumerable#compact proposal
@matz: Its presence in Array and Hash make it more of a common interface that I could see being defined for Enumerabl... baweaver (Brandon Weaver)
06:06 PM Bug #16285 (Closed): Setting mtime to zero on Zlib::GzipWriter does nothing
Run the following script to observe the issue
```ruby
require 'zlib'
def write_gzip_file(content, mtime)
File...
alanwu (Alan Wu)
03:38 PM Revision 5f8795a0 (git): * 2019-10-31 [ci skip]
git[bot]
03:37 PM Revision 4c7f789e (git): Allow only one argument for keyword_init struct
```
irb(main):001:0> RUBY_VERSION
=> "2.6.5"
irb(main):002:0> S = Struct.new(:foo, keyword_init: true)
=> S(keyword_i...
alanwu (Alan Wu)
02:10 PM Bug #16284: Net/HTTP consuming multiple times more memory compared to other libraries
Thank you for the report. Unfortunately, I cannot reproduce the issue. The result on my Linux machine is completely... mame (Yusuke Endoh)
12:14 PM Bug #16284 (Closed): Net/HTTP consuming multiple times more memory compared to other libraries
I have an issue where Net/HTTP library is causing very high memory usage when requesting for medium to large sized co... zogash (Milovan Zogovic)
12:36 PM Revision 6c3ed0d7 (git): Update the latest versions from upstream repository of racc
hsbt (Hiroshi SHIBATA)
12:02 PM Revision e6d611ad (git): Regenerate the output results for test fixtures of racc
hsbt (Hiroshi SHIBATA)
12:00 PM Revision d3272fcb (git): Update the latest structure for racc upstream
hsbt (Hiroshi SHIBATA)
07:27 AM Bug #16283: A fork in transaction of PG cause Segmentation fault
FYI:
```
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.5
BuildVersion: 18F132
```
[email protected] (健司 小本)
02:46 AM Feature #16122: Data: simple immutable value object
zverok (Victor Shepelev) wrote:
> So, considering all the points above, it could be either _multiple_ settings: `imm...
Dan0042 (Daniel DeLorme)

10/29/2019

11:25 PM Revision c54635c0 (git): Update Unicode Emoji version from 12.0 to 12.1.
This update does not add any new codepoint assignments, it just
expands the range of emoji codepoint sequences recomm...
duerst (Martin Dürst)
09:51 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
Eregon (Benoit Daloze) wrote:
> Also worth noting that `private def` actually defines two methods, one public and th...
jeremyevans0 (Jeremy Evans)
09:17 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
I kind of like this idea as it would make it clear which methods are private by indentation.
`private` alone is inde...
Eregon (Benoit Daloze)
08:38 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
shevegen (Robert A. Heiler) wrote:
> > As noted in the pseudocode above, we can clean up some of the issues around...
adh1003 (Andrew Hodgkinson)
06:28 PM Bug #16283 (Third Party's Issue): A fork in transaction of PG cause Segmentation fault
This looks like the Mac OS getaddrinfo bug. See the part of the C-level backtrace before the crash:
```
/usr/lib/...
jeremyevans0 (Jeremy Evans)
09:42 AM Bug #16283: A fork in transaction of PG cause Segmentation fault
Pretty sure that's the OSX specific bug that got fixed in 2.6.4 or 2.6.5 (This one IIRC but I might be wrong https://... byroot (Jean Boussier)
03:55 AM Bug #16283 (Third Party's Issue): A fork in transaction of PG cause Segmentation fault
Call Kernel#fork in transaction of Postgres and call some Socket method in fork's block, then ruby on the child proce... [email protected] (健司 小本)
03:14 PM Revision 92c13380 (git): * 2019-10-30 [ci skip]
git[bot]
03:13 PM Revision 22dbbbeb (git): Compacting the heap can cause GC, so disable it
When we compact the heap, various st tables are updated, particularly
the table that contains the object id map. Upd...
tenderlovemaking (Aaron Patterson)
01:40 PM Revision fee5cde0 (git): Fix tests for CVE-2018-6914
Since the current working directory is not involved in `Tempfile`
and `Dir.mktmpdir` (except for the last resort), it...
nobu (Nobuyoshi Nakada)
11:05 AM Feature #16275: Revert `.:` syntax
Jeremy – I’m sorry for the overreach in that clumsy wording. Let me rephrase: what I saw here was a fair number of co... timriley (Tim Riley)
07:38 AM Revision ad4da866 (git): Check for nonnull attribute in configure
nobu (Nobuyoshi Nakada)
07:05 AM Revision 9195ed18 (git): Revert "Check for nonnull attribute in configure"
This reverts commit 54eb51d72bc43f90b595f0d7ffb5069ebf1a56d9.
Windows build failure. See also https://github.com/rub...
shyouhei (Shyouhei Urabe)
05:40 AM Revision 7bf51ced (git): test/rubygems/test_gem.rb: early failure when there is /tmp/Gemfile
Some test cases in rubygems assume that /tmp/Gemfile does not exist.
If it does, they fail with very difficult-to-und...
mame (Yusuke Endoh)
04:16 AM Revision 79a7fd91 (git): Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest""
This reverts commit ca5812fe4516a10cc687281f9e47e1a08449f1ab.
Now tool/lib/minitest provides "omit", so it should work.
mame (Yusuke Endoh)
04:15 AM Revision 1820aeee (git): tool/lib/minitest/unit.rb: add "omit" as an alias to "skip"
According to rdoc, test-unit provides omit instead of skip.
This is a compatibility layer to make it work with both t...
mame (Yusuke Endoh)
03:57 AM Revision ca5812fe (git): Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"
This reverts commit b4da6fc1c277190bbd10e795ebf3be45772038e8.
`make test-all` uses minitest, which led to "undefined...
mame (Yusuke Endoh)
03:34 AM Revision 9525541d (git): [ruby/rdoc] Use Dir.glob to convert short path of Dir.tmpdir to long path
https://github.com/ruby/rdoc/commit/ba16e44572 aycabta (aycabta .)
03:34 AM Revision c8ce37d4 (git): [ruby/rdoc] Support different drive latters in include paths
https://github.com/ruby/rdoc/commit/946d2592e2 aycabta (aycabta .)
03:34 AM Revision b4da6fc1 (git): [ruby/rdoc] Use omit of test-unit instead of skip of minitest
https://github.com/ruby/rdoc/commit/1c5bf2ae1d aycabta (aycabta .)
03:12 AM Revision 54eb51d7 (git): Check for nonnull attribute in configure
nobu (Nobuyoshi Nakada)
03:07 AM Revision b86e5c9f (git): Clang can also use C call cache
Previously this was restricted to only gcc because of the
GCC_VERSION_SINCE check (which explicitly excludes clang).
...
jhawthorn (John Hawthorn)
02:32 AM Revision 85b88c1d (git): Let the arrays for the singleton and instance method reflection helpers be initialized to the methods count
methodmissing (Lourens Naudé)
02:32 AM Revision fecaa6e9 (git): Let the backtrace array constructed in backtrace_collect be initialized with the size already given
methodmissing (Lourens Naudé)
02:31 AM Revision 00953629 (git): Right size the vm_default_params hash
methodmissing (Lourens Naudé)
02:31 AM Revision 0e68913f (git): Right size the Enumerator internal lazy_use_super_method hash
methodmissing (Lourens Naudé)
02:31 AM Revision 4480d689 (git): Right size the compile option hash
methodmissing (Lourens Naudé)
02:30 AM Revision 65744fb1 (git): Right size the iseq coverage branches tmp array - initializes with 5 elements
methodmissing (Lourens Naudé)
01:35 AM Revision 05476277 (git): Version 0.0.4
aycabta (aycabta .)
12:01 AM Feature #16282: Add "call data" wrapper IMEMO object so inline cache can be updated
Actually, I think this makes performance worse because it removes the "define". So there will be only one. I will f... tenderlovemaking (Aaron Patterson)

10/28/2019

11:58 PM Revision b4229c0a (git): Restore `in_kwarg` flag properly
nobu (Nobuyoshi Nakada)
11:26 PM Feature #16282 (Open): Add "call data" wrapper IMEMO object so inline cache can be updated
Hi,
Currently the compactor will invalidate all inline caches. I would like to update references in inline caches...
tenderlovemaking (Aaron Patterson)
11:14 PM Revision da3774e5 (git): Revert "Protect finalizer references during execution"
This reverts commit 60a7f9f446604571f8a81499080c57c47baf0e6b.
We can't have Ruby objects pointing at T_ZOMBIE object...
tenderlovemaking (Aaron Patterson)
09:50 PM Revision 60a7f9f4 (git): Protect finalizer references during execution
When we run finalizers we have to copy all of the finalizers to a new
data structure because a finalizer could add an...
tenderlovemaking (Aaron Patterson)
08:09 PM Revision 6147fa82 (git): Fix continuation mark / compact
tenderlovemaking (Aaron Patterson)
07:15 PM Revision bbf3de22 (git): Pin labels during disassembly
We need to ensure that labels are pinned while disassembling. If the
compactor runs during disassembly, references t...
tenderlovemaking (Aaron Patterson)
06:47 PM Revision 339a891c (git): Pin keys of this st_table
tenderlovemaking (Aaron Patterson)
06:19 PM Revision a51583b6 (git): * 2019-10-29 [ci skip]
git[bot]
06:18 PM Revision aec16b75 (git): Marshal is calling functions that should pin things
tenderlovemaking (Aaron Patterson)
01:05 PM Revision 6e0b40af (git): Try out-of-place build
nobu (Nobuyoshi Nakada)
12:59 PM Feature #16029: Expose fstring related APIs to C-extensions
> What about rb_str_fstring_lookup and rb_str_fstring_lookup_enc?
I don't think a lookup would be enough for what...
byroot (Jean Boussier)
10:14 AM Revision 48f982ab (git): test-bundled-gems.rb: fixed for out-of-place build
nobu (Nobuyoshi Nakada)
09:15 AM Revision 07b5fec0 (git): Clean mjit and timestamp directories
nobu (Nobuyoshi Nakada)
07:53 AM Revision 3e83f1f0 (git): Add more matrix info to slack payload
znz (Kazuhiro NISHIYAMA)
05:38 AM Revision cc5580f1 (git): fix bug in keyword + protected combination
Test included for the situation formerly was not working. shyouhei (Shyouhei Urabe)
03:20 AM Revision a72cb6b1 (git): * 2019-10-28 [ci skip]
git[bot]
03:19 AM Revision d8d581bf (git): add assertion for mutex_lock.
After do_mutex_lock(mutex), the mutex should be owned by the current
thread. Adding an assertion for this assumption.
ko1 (Koichi Sasada)

10/27/2019

11:09 PM Bug #15834: Mutating the result of SortedSet.to_a mutates the original set, potentially violating the set's guarantees
Attached is a patch with a test for fixing this. jeremyevans0 (Jeremy Evans)
10:38 PM Bug #14325 (Closed): Set#reset raise RuntimeError instead of FrozenError
Fixed in commit:afd68cd87114fb49158462f1594cacfd2b765e9b. jeremyevans0 (Jeremy Evans)
10:32 PM Bug #16187 (Closed): Hash#replace no longer rehashes keys for small (array table) hashes
jeremyevans0 (Jeremy Evans)
10:30 PM Bug #16281: `irb -w` issues warning
Pull request submitted to fix this: https://github.com/ruby/reline/pull/62 jeremyevans0 (Jeremy Evans)
08:41 PM Bug #16278: Potential memory leak when an hash is used as a key for another hash
Thanks both @jeremyevans0 @alanwu for the rich and clear explanations! cristiangreco (Cristian Greco)
11:19 AM Revision 85d966af (git): Add ubuntu-16.04 to matrix of GitHub Actions
znz (Kazuhiro NISHIYAMA)
10:45 AM Feature #14145: Proposal: Better Method#inspect
This PR provides method parameters inspect: https://github.com/ruby/ruby/pull/2618
Implementation is most probably n...
zverok (Victor Shepelev)
10:41 AM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
I want to expand on my semantics concern, for the performance concern I should get some numbers first.
jeremyevans...
Eregon (Benoit Daloze)
09:57 AM Revision 417369e0 (git): Improve Enumerator.produce docs
* Add to NEWS;
* Add examples of while-alike cycles with practical tasks.
zverok (Victor Shepelev)
01:41 AM Revision aba23d83 (git): Fix documentation for Fiber#transfer [ci skip]
Fiber#transfer prevents calling Fiber#resume on the receiver of the
transfer method, not the fiber calling transfer.
...
jeremyevans (Jeremy Evans)

10/26/2019

08:33 PM Revision 4fe89e08 (git): Add entry for Feature #13083 in NEWS
* Move Unicode changes under String / Unicode for consistency with the rest. Eregon (Benoit Daloze)
08:23 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
There are PRs to fix those: https://github.com/rails/rails/pull/37504 Eregon (Benoit Daloze)
06:53 PM Revision 664e96b1 (git): Update to ruby/spec@28a728b
Eregon (Benoit Daloze)
06:52 PM Revision 3eb0d50c (git): Update to ruby/mspec@e171725
Eregon (Benoit Daloze)
05:24 PM Revision 9c5a9623 (git): * 2019-10-27 [ci skip]
git[bot]
05:24 PM Revision 62212482 (git): Improve Net::HTTP docs:
* Make links from Net::GenericHTTPRequest work;
* Document +dest+ param of HTTPResponse#read_body;
* Slightly improve...
zverok (Victor Shepelev)
05:24 PM Revision f93cb690 (git): OptionParser: document into: argument
zverok (Victor Shepelev)
05:24 PM Revision a24bff46 (git): open-uri: change global docs to reflect that URI.open syntax is preferred
zverok (Victor Shepelev)
05:24 PM Revision de147bb7 (git): Net::FTP: fix formatting problems for #status method
zverok (Victor Shepelev)
05:24 PM Revision 4fe06f46 (git): IRB: Document command evaluation history.
zverok (Victor Shepelev)
05:24 PM Revision 2746fd5d (git): Update StringIO docs:
* More explanations/examples in class docs;
* Fix links to other methods (remove ...
zverok (Victor Shepelev)
05:24 PM Revision f6f1377a (git): Update ERB docs
* Actualize Notes about other templating engines;
* Document #location= method.
zverok (Victor Shepelev)
04:31 PM Bug #16278: Potential memory leak when an hash is used as a key for another hash
The GC scans the native stack for Ruby's C code to find values to retain.
Pointers to Ruby's heap objects can end up...
alanwu (Alan Wu)
03:23 PM Bug #16278 (Rejected): Potential memory leak when an hash is used as a key for another hash
cristiangreco (Cristian Greco) wrote:
> Hi Jeremy, thanks for these details!
>
> I don’t know the details of ruby...
jeremyevans0 (Jeremy Evans)
12:44 PM Bug #16278: Potential memory leak when an hash is used as a key for another hash
Hi Jeremy, thanks for these details!
I don’t know the details of ruby’s GC, seems to me it might behave unpredicta...
cristiangreco (Cristian Greco)
04:13 AM Bug #16278: Potential memory leak when an hash is used as a key for another hash
Adding this method and calling it after `create` clears the output.
```ruby
def garbage
h1 = h2 = h3 = h4 = h5...
nobu (Nobuyoshi Nakada)
02:21 AM Bug #16278: Potential memory leak when an hash is used as a key for another hash
Here's a modified version of your script, fixing the issue where `$id_h4 = h3.object_id`, and showing the actual cont... jeremyevans0 (Jeremy Evans)
12:42 PM Misc #16262: DevelopersMeeting20191128Japan
(Sorry for being over-active. On the bright side, it could be a final bunch from me)
Carry-over from tickets with ...
zverok (Victor Shepelev)
12:09 PM Feature #16275: Revert `.:` syntax
> with several core team members agreeing on this
At the end of the day you only need to find pro/con arguments fo...
shevegen (Robert A. Heiler)
07:17 AM Feature #16275: Revert `.:` syntax
zverok (Victor Shepelev) wrote:
> OK, with several core team members agreeing on this (and even PR prepared), I beli...
nobu (Nobuyoshi Nakada)
07:02 AM Feature #16275: Revert `.:` syntax
timriley (Tim Riley) wrote:
> I’m opposed to this reversion. I was looking forward to using `.:` in 2.7. I felt I sh...
jeremyevans0 (Jeremy Evans)
02:44 AM Feature #16275: Revert `.:` syntax
matz (Yukihiro Matsumoto) wrote:
> I am for adding syntax sugar for method reference. But I don't like proposed synt...
Dan0042 (Daniel DeLorme)
11:54 AM Bug #15528: Bundler stdlib is not documented
https://github.com/bundler/bundler/pull/7394 zverok (Victor Shepelev)
09:09 AM Bug #8855: {Single}Forwardable#def_delegators が、Stringでメソッド名を渡された時だけ __id__ と __send__ が取り除かれる
merged into ruby core at d00551a7bb1d5dbabb0a8c95d6bd2d9d4e86934a nagachika (Tomoyuki Chikanaga)
07:27 AM Revision ad9c7137 (git): Make `(#methodname)` a link with --hyperlink-all option
aycabta (aycabta .)
06:48 AM Revision d70fdeed (git): Make `(#methodname)` a link
nobu (Nobuyoshi Nakada)
06:35 AM Revision 5aacb304 (git): refactor assign variables
For readability. Requested by ko1.
See: https://github.com/ruby/ruby/commit/356e203a3acd4d3d20ba12f956fd22e17b6363e...
shyouhei (Shyouhei Urabe)
05:58 AM Revision bddb31bb (git): Documentation improvements for Ruby core
* Top-level `return`;
* Documentation for comments syntax;
* `rescue` inside blocks;
* Enhance `Object#to_enum` docs;...
zverok (Victor Shepelev)
03:52 AM Revision cf934413 (git): Raise on end-exclusive ranges [Feature #14784]
Raises an error on end-exclusive ranges unless endless, regardless
the receiver.
nobu (Nobuyoshi Nakada)
12:26 AM Revision f14b7541 (git): [ruby/forwardable] Use Gemfile instead of Gem::Specification#add_development_dependency.
https://github.com/ruby/forwardable/commit/1e7123a81b hsbt (Hiroshi SHIBATA)
12:25 AM Revision f625a4be (git): [ruby/forwardable] Fix NoMethodError on ruby 2.4 or earlier
https://github.com/ruby/forwardable/runs/242918994#step:5:12
```
Error: test_obj_single_delegators_send_id(TestForwar...
znz (Kazuhiro NISHIYAMA)
12:25 AM Revision 00989770 (git): [ruby/forwardable] Remove string allocation in def_{instance,single}_delegators
https://github.com/ruby/forwardable/commit/1a994c90e1 jeremyevans (Jeremy Evans)
12:25 AM Revision d00551a7 (git): [ruby/forwardable] Make def_{instance,single}_delegators skip :__send__ and :__id__
Previously, __send__ and __id__ were skipped if provided as strings,
but not skipped if provided as symbols.
Fixes R...
jeremyevans (Jeremy Evans)
12:25 AM Revision b15e0983 (git): [ruby/forwardable] Update spec.files
https://github.com/ruby/forwardable/commit/1b6991e589 hsbt (Hiroshi SHIBATA)
12:24 AM Revision b25ab383 (git): [ruby/forwardable] Extracted VERSION constant for gemspec
https://github.com/ruby/forwardable/commit/387758d45a hsbt (Hiroshi SHIBATA)

10/25/2019

11:28 PM Feature #16275: Revert `.:` syntax
I’m opposed to this reversion. I was looking forward to using `.:` in 2.7. I felt I should say this as a representati... timriley (Tim Riley)
06:37 PM Feature #16275: Revert `.:` syntax
@zverok I really feel your pain, I had the same reaction when some of my ideas were ignored or rejected; that never f... Dan0042 (Daniel DeLorme)
02:42 PM Feature #16275: Revert `.:` syntax
OK, with several core team members agreeing on this (and even PR prepared), I believe this is already a lost cause, b... zverok (Victor Shepelev)
10:53 PM Bug #16278: Potential memory leak when an hash is used as a key for another hash
jeremyevans0 (Jeremy Evans) wrote:
> `object_id` is only unique for the life of the object. After the object is g...
cristiangreco (Cristian Greco)
09:31 PM Bug #16278: Potential memory leak when an hash is used as a key for another hash
cristiangreco (Cristian Greco) wrote:
> Using each store I found that the 3 labels hashes are retained after garbage...
jeremyevans0 (Jeremy Evans)
09:18 PM Bug #16278: Potential memory leak when an hash is used as a key for another hash
ko1 (Koichi Sasada) wrote:
> > If an application exercises this pattern very frequently during lifetime and across m...
cristiangreco (Cristian Greco)
06:07 AM Bug #16278: Potential memory leak when an hash is used as a key for another hash
> If an application exercises this pattern very frequently during lifetime and across multiple processes then it’s de... ko1 (Koichi Sasada)
10:03 PM Revision 0c579b0a (git): [ruby/dbm] Remove taint support
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
pre...
jeremyevans (Jeremy Evans)
08:39 PM Bug #16281 (Closed): `irb -w` issues warning
```
$ irb -w
.rvm/rubies/ruby-head/lib/ruby/2.7.0/reline.rb:322: warning: instance variable @ambiguous_width not in...
marcandre (Marc-Andre Lafortune)
08:19 PM Misc #15739 (Rejected): Improvements needed to documentation of Hash#dig, Array#dig and OpenStruct#dig
I find the documentation clear, and all three classes include mixed examples as in your example above. marcandre (Marc-Andre Lafortune)
07:22 PM Feature #15869 (Closed): Add abs to Matrix
marcandre (Marc-Andre Lafortune)
05:56 PM Revision 41d52945 (git): * 2019-10-26 [ci skip]
git[bot]
05:54 PM Revision 84b69c52 (git): Edit vm_opts.h for VM options
Revert 46f175ed5c8560b3c9da5ab7b4fa73287f1eb1c5 partially.
Also tool/ruby_vm scripts refer the options in vm_opts.h.
nobu (Nobuyoshi Nakada)
03:39 PM Bug #16277: UNIXServer#listen fails with Errno::EADDRINUSE error under Windows 10 / WSL Ubuntu 18.04
Would something like the following yield an equivalent object?
```ruby
require 'socket'
sock = Socket.new :UNIX,...
MSP-Greg (Greg L)
02:30 PM Revision 42c652d1 (git): Fixed range argument condition [Feature #14784]
Allows a beginless/endless range, and an end-exclusive range
unless the receiver is smaller than its end.
nobu (Nobuyoshi Nakada)
02:27 PM Feature #14784: Comparable#clamp with a range
> 1.clamp(0...3) #=> 1
> 1.clamp(-1...0) # ArgumentError: #clamp with excluding end can't clamp from top -- the only...
Dan0042 (Daniel DeLorme)
01:30 PM 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#change... nobu (Nobuyoshi Nakada)
06:48 AM Feature #14784: Comparable#clamp with a range
@nobu is there any chance you can reconsider your implementation?
The important justification for the proposal was...
zverok (Victor Shepelev)
10:38 AM Bug #16280 (Third Party's Issue): FFI Illegal instruction
Perhaps, it is an issue of sassc. Could you please ask them first?
I'm unsure but it looks related to https://git...
mame (Yusuke Endoh)
10:13 AM Bug #16280 (Third Party's Issue): FFI Illegal instruction
After calling bundle exec rails c -e production I'm getting the following output:
../bundle/ruby/2.5.0/gems/ffi-1....
birkart (Roman Ustuantsev)
08:58 AM Revision 88135845 (git): enable assertion for debug.
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2340856 ko1 (Koichi Sasada)
07:44 AM Revision f3f1d89d (git): skip tests that do not work on GC.stress
These tests rely on GC.stat and GC.last_gc_info, which are not
stable when GC.stress is true. Skip them for that case.
shyouhei (Shyouhei Urabe)
06:58 AM Bug #16236 (Third Party's Issue): Cannot handle logrotate on Windows when one file is written from multi process/thread
duerst (Martin Dürst)
06:53 AM Bug #16236: Cannot handle logrotate on Windows when one file is written from multi process/thread
Fluentd side patch: https://github.com/fluent/fluentd/pull/2663
Fluentd side issue: https://github.com/fluent/fluent...
cosmo0920 (Hiroshi Hatake)
06:52 AM Bug #16236: Cannot handle logrotate on Windows when one file is written from multi process/thread
Thanks for the information.
This issue should be Fluentd logging mechanism issue not Ruby core logger library.
Flue...
cosmo0920 (Hiroshi Hatake)
03:43 AM Bug #16279 (Closed): Backport 463092b8
hsbt (Hiroshi SHIBATA)
03:32 AM Bug #16279 (Closed): Backport 463092b8
Please backport the rake 12.3.3 update into the stable releases
rev: 463092b84da7933f307cc8747f948f68ef19f5fd
...
twk3 (DJ Mountney)
03:24 AM Revision 356e203a (git): more on struct rb_call_data
Replacing adjacent struct rb_call_info and struct rb_call_cache
into a struct rb_call_data.
shyouhei (Shyouhei Urabe)
02:10 AM Bug #16161 (Closed): tailcall_optimization may be disabled after r67315
Thank you to merge https://github.com/ruby/ruby/pull/2529 on 4ff2c58f919153b9a47f69f855a0b9d2bb0e0bbe.
I confirmed t...
wanabe (_ wanabe)
01:45 AM Revision a7ec88ad (git): Add `shell: cmd`
Use cmd instead of new default shell for `call`.
https://github.blog/changelog/2019-10-17-github-actions-default-shel...
znz (Kazuhiro NISHIYAMA)
01:07 AM Revision 7bcc639c (git): Rename old var name with new name
aycabta (aycabta .)
12:29 AM Revision 09936d1d (git): [ruby/tracer] Use Gemfile instead of Gem::Specification#add_development_dependency.
https://github.com/ruby/tracer/commit/9df7d7937b hsbt (Hiroshi SHIBATA)
12:25 AM Revision fb15e794 (git): Handle case where ruby2_keywords method splats to ruby2_keywords method
Previously, the keyword hash was duped (which results in a regular
hash), but the dup was not marked as a keyword has...
jeremyevans (Jeremy Evans)

10/24/2019

11:54 PM Revision 5040eea9 (git): Do not show progress at chocolatey
nobu (Nobuyoshi Nakada)
10:46 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:
> > You shouldn't even take your word, as you ha...
jeremyevans0 (Jeremy Evans)
07:40 PM Revision 4ff2c58f (git): retry tailcall optimization (#2529)
Sorry, f62f90367fc3bce6714e7c34cbd040e14e43fe07 is push miss. wanabe (_ wanabe)
07:39 PM Revision 58b363bf (git): respect `param.flags.ruby2_keywords` at to_binary.
`param.flags.ruby2_keywords` is not store/load correctly at to_binary
so restore this flag correctly.
ko1 (Koichi Sasada)
07:35 PM Revision d6a2507e (git): Duplicate hash when converting keyword hash to keywords
This mirrors the behavior when manually splatting a hash. This
mirrors the changes made in setup_parameters_complex ...
jeremyevans (Jeremy Evans)
07:34 PM Revision 8c59b925 (git): Update date specs
Allow Date.new spec to run on 2.7.
Separate Date.valid_jd? specs, since 2.7 is now stricter and
requires numeric val...
jeremyevans (Jeremy Evans)
07:34 PM Revision 5fe8943f (git): Fix typo causing Date.new(year, month) to fail
Add a test for this case. jeremyevans (Jeremy Evans)
07:01 PM Revision e8f90e73 (git): check T_ICLASS for Method#inspect.
METHOD::klass can contain T_ICLASS so inspect should respect it. ko1 (Koichi Sasada)
06:45 PM Feature #16275: Revert `.:` syntax
`p obj.:hoge` can output source location of `#hoge` (with [#14145](https://bugs.ruby-lang.org/issues/14145)).
```r...
osyo (manga osyo)
02:09 PM Feature #16275: Revert `.:` syntax
mame (Yusuke Endoh) wrote:
> I'm currently thinking that the following design is preferable.
>
> * A plain old st...
Dan0042 (Daniel DeLorme)
11:26 AM Feature #16275: Revert `.:` syntax
+1 as well, it feels ad-hoc to me and rather not easy to read, and is less general than numbered parameters.
And it ...
Eregon (Benoit Daloze)
06:03 AM Feature #16275: Revert `.:` syntax
> `?> erb`
`?>` is a character literal.
znz (Kazuhiro NISHIYAMA)
01:33 AM Feature #16275: Revert `.:` syntax
I've already fallen into using ` .:` in 2.7. I'd personally miss `.:` since it feels super natural to me. shan (Shannon Skipper)
05:31 PM Revision b7c8874b (git): Install openssl with chocolatey
OpenSSL in chocolatey is 1.1.1d but outdated 1.0.2s is in vcpkg. nobu (Nobuyoshi Nakada)
05:24 PM Revision 826bbf98 (git): Split by `&&`
nobu (Nobuyoshi Nakada)
05:08 PM Revision 967b924a (git): Expanded an environment variable
PowerShell does not expand by `%varname%` syntax. nobu (Nobuyoshi Nakada)
05:04 PM Revision b86af95c (git): Get rid of control flow by cmd.exe
Github workflow stopped using cmd.exe suddenly, and `||` and `&&`
seem not working in PowerShell.
nobu (Nobuyoshi Nakada)
04:16 PM Revision b609bdeb (git): Define arguments forwarding as `ruby2_keywords` style
Get rid of these redundant and useless warnings.
```
$ ruby -e 'def bar(a) a; end; def foo(...) bar(...) end; foo({}...
nobu (Nobuyoshi Nakada)
04:07 PM Revision 4b3e007e (git): Assert no-kwrest case
nobu (Nobuyoshi Nakada)
03:56 PM Revision ed65e2d5 (git): Assert no-block case
nobu (Nobuyoshi Nakada)
03:54 PM Revision 8d0c5eb8 (git): Set method locations
nobu (Nobuyoshi Nakada)
03:16 PM Revision 2ea69896 (git): * 2019-10-25 [ci skip]
git[bot]
03:15 PM Revision 6279e45c (git): Arguments forwarding is not allowed in lambda [Feature #16253]
nobu (Nobuyoshi Nakada)
02:50 PM Bug #9876 (Closed): IRB::Context output_method is not used
This is fixed by commit:1fb4584825. aycabta (aycabta .)
02:47 PM Revision 1fb45848 (git): Remove unsused output_method argument
Fixes Ruby Bug 9876. jeremyevans (Jeremy Evans)
02:38 PM Revision 8439caab (git): Refined `rp` output [ci skip]
So that the result structure can be accessed as `$number`
variables, not a mere `VALUE`.
nobu (Nobuyoshi Nakada)
11:58 AM Revision dc44ab29 (git): Revert "[ruby/fiddle] Fix a failing test (#13)"
This reverts commit 5ebb0d50f6560b35bc03deb79341a115c5f782ee. hsbt (Hiroshi SHIBATA)
11:58 AM Revision de5ee47c (git): Revert "[ruby/fiddle] test: use env Hash"
This reverts commit 4d844cbaed518743776594fa5ae33b86fe176ad1. hsbt (Hiroshi SHIBATA)
11:58 AM Revision efd641ff (git): Revert "[ruby/fiddle] Use ffi_closure_free by default. (#20)"
This reverts commit ce6caade7c57a505f73086ccd7b33c14f7715f22. hsbt (Hiroshi SHIBATA)
10:47 AM Revision f126d80b (git): [ruby/webrick] Don't check tainting in access log escaping
Only untaint result on Ruby <2.7, as taint support is deprecated
in Ruby 2.7+ and no longer has an effect.
https://g...
jeremyevans (Jeremy Evans)
10:47 AM Revision c28d50a7 (git): [ruby/webrick] Support literal IPv6 addresses in X-Forwarded-Host
https://github.com/ruby/webrick/commit/6b6990ec81 jeremyevans (Jeremy Evans)
10:47 AM Revision 37c266aa (git): [ruby/webrick] Remove the squishing of whitespace in header values
While the stripping of header values is required by RFC 2616 4.2 and
RFC 7230 3.2.4, the squishing is not and can bre...
jeremyevans (Jeremy Evans)
10:47 AM Revision 84ed4c3d (git): [ruby/webrick] bump version to 1.5.0
https://github.com/ruby/webrick/commit/00c281caa7 hsbt (Hiroshi SHIBATA)
10:46 AM Revision 8189d496 (git): [ruby/webrick] Remove Webrick::HTTPResponse#to_s
It is currently broken, and even if it worked, it can cause problems
when debugging. See Ruby Bug 10715.
https://gi...
jeremyevans (Jeremy Evans)
10:46 AM Revision f0452574 (git): [ruby/webrick] after ruby-2.6.0, set Net::HTTP#write_timeout
https://github.com/ruby/webrick/commit/3b51f6b4d2 thekuwayama (tomoya kuwayama)
10:34 AM Revision b8097848 (git): [ruby/fiddle] Remove taint support (#21)
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
pre...
jeremyevans (Jeremy Evans)
10:34 AM Revision ce6caade (git): [ruby/fiddle] Use ffi_closure_free by default. (#20)
* Use ffi_closure_free unconditionally.
The current conditionals reflect historic heritage of FFI. Usage of
ffi_clos...
vo.x (Vit Ondruch)
10:34 AM Revision 30d46966 (git): [ruby/fiddle] Use RbConfig::SIZEOF (#19)
https://github.com/ruby/fiddle/commit/ea06b28db8 nobu (Nobuyoshi Nakada)
10:34 AM Revision 4d844cba (git): [ruby/fiddle] test: use env Hash
https://github.com/ruby/fiddle/commit/a01a962342 Sutou Kouhei
10:34 AM Revision 5ebb0d50 (git): [ruby/fiddle] Fix a failing test (#13)
* Fix a failing test
This commit fixes the following failure:
```
1) Failure:
Fiddle::TestImport#test_no_message_...
Kenta Murata
10:34 AM Revision 7733db66 (git): [ruby/fiddle] Fiddle::Function must maintain a reference to the closure
If the first parameter to Fiddle::Function is a closure object (rather
than an interger), `rb_Integer` will cast it t...
Aaron Patterson
09:50 AM Revision 70ca56de (git): Temporarily skipped with upstream changes of Date library.
hsbt (Hiroshi SHIBATA)
09:39 AM Revision 487d96c6 (git): [ruby/date] Use Gemfile instead of Gem::Specification#add_development_dependency.
https://github.com/ruby/date/commit/13c94362c2 hsbt (Hiroshi SHIBATA)
09:39 AM Revision 9d3a4ab0 (git): [ruby/date] Update docs
https://github.com/ruby/date/commit/8c02586a98 zverok (Victor Shepelev)
09:39 AM Revision 913807bd (git): [ruby/date] Simplify #inspect
https://github.com/ruby/date/commit/af01edd7d8 zverok (Victor Shepelev)
09:39 AM Revision 2e37c196 (git): [ruby/date] Remove taint support
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
pre...
jeremyevans (Jeremy Evans)
09:39 AM Revision fc0e8d00 (git): [ruby/date] Support -Float::INFINITY...date ranges
Fixes Ruby Bug 12961
https://github.com/ruby/date/commit/7f533c2552
jeremyevans (Jeremy Evans)
09:39 AM Revision 4e40ca30 (git): [ruby/date] Check for numeric arguments in constructors
Previously, the type of these arguments were not checked, leading to
NoMethodErrors in some cases, and TypeErrors in ...
jeremyevans (Jeremy Evans)
09:39 AM Revision 9eb798a3 (git): [ruby/date] Make julian dates roundtrip through to_time.to_date
Previously, julian dates would not round trip through to_time.to_date,
because Time is always considered gregorian. ...
jeremyevans (Jeremy Evans)
09:04 AM Misc #16258 (Closed): [PATCH] Combine call info and cache to speed up method invocation
Applied in changeset commit:git|89e7997622038f82115f34dbb4ea382e02bed163.
----------
Combine call info and cache to ...
alanwu (Alan Wu)
09:03 AM Revision f1de4383 (git): Use CPDEBUG for debug code
alanwu (Alan Wu)
09:03 AM Revision 89e79976 (git): Combine call info and cache to speed up method invocation
To perform a regular method call, the VM needs two structs,
`rb_call_info` and `rb_call_cache`. At the moment, we all...
alanwu (Alan Wu)
08:17 AM Bug #12555 (Rejected): Cannot resume a fiber that was earlier transferred from, then transferred back to, and then yielded
see https://bugs.ruby-lang.org/issues/9664#note-6 ko1 (Koichi Sasada)
08:17 AM Bug #9664 (Rejected): cannot resume transferred Fiber even if it should resume
The reported behavior is intentional.
Fibers are separated to two categories:
(1) Semi-coroutine: transition by...
ko1 (Koichi Sasada)
07:55 AM Bug #16278 (Open): Potential memory leak when an hash is used as a key for another hash
mame (Yusuke Endoh) wrote:
> This code uses constant memory. If it caused memory leak, the memory usage would cont...
cristiangreco (Cristian Greco)
07:46 AM Revision 38e931fa (git): show "transferred" attribute on Fiber#to_s
If a fiber is invoked with transfer method (such as "f.transfer"),
then the invoked fiber ("f") is labeled as "transf...
ko1 (Koichi Sasada)
07:46 AM Revision 4c3e3b80 (git): Revert "Fix Fiber#transfer"
This reverts commit fa8ac91e957a076f6df1adaecad7896817138009.
Previous behavior is intentional.
ko1 (Koichi Sasada)
07:17 AM Revision 65e82679 (git): Revert "Fixed the require path for e2mmap version file."
This reverts commit ff953a003e03f5f070112ececefab4c07ff4cb0e. hsbt (Hiroshi SHIBATA)
07:12 AM Revision ff953a00 (git): Fixed the require path for e2mmap version file.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 2791989a (git): Fixed sync path of e2mmap structure for gemspec.
hsbt (Hiroshi SHIBATA)
06:29 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
FWIW, my personal style has evolved to using `private` inline:
```
class Foo
def public
end
private de...
marcandre (Marc-Andre Lafortune)
02:19 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
- C++: There are `private`, but no `private {}`
- Java: There are `private`, but no `private {}`
- Scala: There are...
shyouhei (Shyouhei Urabe)
01:58 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
shevegen (Robert A. Heiler) wrote:
> Actually I should clarify some of my statements a bit more; I'll do it in a ter...
duerst (Martin Dürst)
02:37 AM Bug #16251: Evaluation in binding differs from ruby execution
This is a simpler example of the behavior:
```
$ ruby -e 'p x; x = 6'
Traceback (most recent call last):
-e:1:i...
kernigh (George Koehler)
01:49 AM Bug #16277: UNIXServer#listen fails with Errno::EADDRINUSE error under Windows 10 / WSL Ubuntu 18.04
This is very nuanced. I'm not sure who is in charge of the exception.
`UNIXServer.new`'s return value socket is a...
shyouhei (Shyouhei Urabe)
 

Also available in: Atom