Activity
From 10/24/2019 to 10/30/2019
10/30/2019
-
11:39 PM Revision e08f2e47 (git): Also ignore mswin platform
-
11:39 PM Revision 8540efd3 (git): Ignore test_racc_command with linux platform
-
11:39 PM Revision 1c03026e (git): Try to run assert_output_unchanged with racc tests
-
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... -
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... -
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... -
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... -
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...
-
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...
-
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...
-
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... - 03:38 PM Revision 5f8795a0 (git): * 2019-10-31 [ci skip]
-
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... -
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...
-
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...
-
12:36 PM Revision 6c3ed0d7 (git): Update the latest versions from upstream repository of racc
-
12:02 PM Revision e6d611ad (git): Regenerate the output results for test fixtures of racc
-
12:00 PM Revision d3272fcb (git): Update the latest structure for racc upstream
-
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
``` -
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...
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... -
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... -
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... -
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... -
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/... -
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://...
-
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...
- 03:14 PM Revision 92c13380 (git): * 2019-10-30 [ci skip]
-
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... -
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... -
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...
-
07:38 AM Revision ad4da866 (git): Check for nonnull attribute in configure
-
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... -
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... -
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. -
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... -
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... -
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
-
03:34 AM Revision c8ce37d4 (git): [ruby/rdoc] Support different drive latters in include paths
- https://github.com/ruby/rdoc/commit/946d2592e2
-
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
-
03:12 AM Revision 54eb51d7 (git): Check for nonnull attribute in configure
-
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).
... -
02:32 AM Revision 85b88c1d (git): Let the arrays for the singleton and instance method reflection helpers be initialized to the methods count
-
02:32 AM Revision fecaa6e9 (git): Let the backtrace array constructed in backtrace_collect be initialized with the size already given
-
02:31 AM Revision 00953629 (git): Right size the vm_default_params hash
-
02:31 AM Revision 0e68913f (git): Right size the Enumerator internal lazy_use_super_method hash
-
02:31 AM Revision 4480d689 (git): Right size the compile option hash
-
02:30 AM Revision 65744fb1 (git): Right size the iseq coverage branches tmp array - initializes with 5 elements
-
01:35 AM Revision 05476277 (git): Version 0.0.4
-
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...
10/28/2019
-
11:58 PM Revision b4229c0a (git): Restore `in_kwarg` flag properly
-
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... -
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... -
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... -
08:09 PM Revision 6147fa82 (git): Fix continuation mark / compact
-
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... -
06:47 PM Revision 339a891c (git): Pin keys of this st_table
- 06:19 PM Revision a51583b6 (git): * 2019-10-29 [ci skip]
-
06:18 PM Revision aec16b75 (git): Marshal is calling functions that should pin things
-
01:05 PM Revision 6e0b40af (git): Try out-of-place build
-
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... -
10:14 AM Revision 48f982ab (git): test-bundled-gems.rb: fixed for out-of-place build
-
09:15 AM Revision 07b5fec0 (git): Clean mjit and timestamp directories
-
07:53 AM Revision 3e83f1f0 (git): Add more matrix info to slack payload
-
05:38 AM Revision cc5580f1 (git): fix bug in keyword + protected combination
- Test included for the situation formerly was not working.
- 03:20 AM Revision a72cb6b1 (git): * 2019-10-28 [ci skip]
-
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.
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.
-
10:38 PM Bug #14325 (Closed): Set#reset raise RuntimeError instead of FrozenError
- Fixed in commit:afd68cd87114fb49158462f1594cacfd2b765e9b.
-
10:32 PM Bug #16187 (Closed): Hash#replace no longer rehashes keys for small (array table) hashes
-
10:30 PM Bug #16281: `irb -w` issues warning
- Pull request submitted to fix this: https://github.com/ruby/reline/pull/62
-
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!
-
11:19 AM Revision 85d966af (git): Add ubuntu-16.04 to matrix of GitHub Actions
-
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... -
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... -
09:57 AM Revision 417369e0 (git): Improve Enumerator.produce docs
- * Add to NEWS;
* Add examples of while-alike cycles with practical tasks. -
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.
...
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.
-
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
-
06:53 PM Revision 664e96b1 (git): Update to ruby/spec@28a728b
-
06:52 PM Revision 3eb0d50c (git): Update to ruby/mspec@e171725
- 05:24 PM Revision 9c5a9623 (git): * 2019-10-27 [ci skip]
-
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... -
05:24 PM Revision f93cb690 (git): OptionParser: document into: argument
-
05:24 PM Revision a24bff46 (git): open-uri: change global docs to reflect that URI.open syntax is preferred
-
05:24 PM Revision de147bb7 (git): Net::FTP: fix formatting problems for #status method
-
05:24 PM Revision 4fe06f46 (git): IRB: Document command evaluation history.
-
05:24 PM Revision 2746fd5d (git): Update StringIO docs:
- * More explanations/examples in class docs;
* Fix links to other methods (remove ... -
05:24 PM Revision f6f1377a (git): Update ERB docs
- * Actualize Notes about other templating engines;
* Document #location= method. -
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... -
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... -
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... -
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... -
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...
-
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 ... -
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... -
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... -
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... -
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... -
11:54 AM Bug #15528: Bundler stdlib is not documented
- https://github.com/bundler/bundler/pull/7394
-
09:09 AM Bug #8855: {Single}Forwardable#def_delegators が、Stringでメソッド名を渡された時だけ __id__ と __send__ が取り除かれる
- merged into ruby core at d00551a7bb1d5dbabb0a8c95d6bd2d9d4e86934a
-
07:27 AM Revision ad9c7137 (git): Make `(#methodname)` a link with --hyperlink-all option
-
06:48 AM Revision d70fdeed (git): Make `(#methodname)` a link
-
06:35 AM Revision 5aacb304 (git): refactor assign variables
- For readability. Requested by ko1.
See: https://github.com/ruby/ruby/commit/356e203a3acd4d3d20ba12f956fd22e17b6363e... -
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;... -
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. -
12:26 AM Revision f14b7541 (git): [ruby/forwardable] Use Gemfile instead of Gem::Specification#add_development_dependency.
- https://github.com/ruby/forwardable/commit/1e7123a81b
-
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... -
12:25 AM Revision 00989770 (git): [ruby/forwardable] Remove string allocation in def_{instance,single}_delegators
- https://github.com/ruby/forwardable/commit/1a994c90e1
-
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... -
12:25 AM Revision b15e0983 (git): [ruby/forwardable] Update spec.files
- https://github.com/ruby/forwardable/commit/1b6991e589
-
12:24 AM Revision b25ab383 (git): [ruby/forwardable] Extracted VERSION constant for gemspec
- https://github.com/ruby/forwardable/commit/387758d45a
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...
-
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...
-
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...
-
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... -
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... -
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... -
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...
-
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... -
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... -
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.
-
07:22 PM Feature #15869 (Closed): Add abs to Matrix
- 05:56 PM Revision 41d52945 (git): * 2019-10-26 [ci skip]
-
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. -
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,... -
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. -
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... -
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...
-
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... -
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... -
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.... -
08:58 AM Revision 88135845 (git): enable assertion for debug.
- http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2340856
-
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. -
06:58 AM Bug #16236 (Third Party's Issue): Cannot handle logrotate on Windows when one file is written from multi process/thread
-
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... -
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... -
03:43 AM Bug #16279 (Closed): Backport 463092b8
-
03:32 AM Bug #16279 (Closed): Backport 463092b8
- Please backport the rake 12.3.3 update into the stable releases
rev: 463092b84da7933f307cc8747f948f68ef19f5fd
... -
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. -
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... -
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... -
01:07 AM Revision 7bcc639c (git): Rename old var name with new name
-
12:29 AM Revision 09936d1d (git): [ruby/tracer] Use Gemfile instead of Gem::Specification#add_development_dependency.
- https://github.com/ruby/tracer/commit/9df7d7937b
-
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...
10/24/2019
-
11:54 PM Revision 5040eea9 (git): Do not show progress at chocolatey
-
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... -
07:40 PM Revision 4ff2c58f (git): retry tailcall optimization (#2529)
- Sorry, f62f90367fc3bce6714e7c34cbd040e14e43fe07 is push miss.
-
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. -
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 ... -
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... -
07:34 PM Revision 5fe8943f (git): Fix typo causing Date.new(year, month) to fail
- Add a test for this case.
-
07:01 PM Revision e8f90e73 (git): check T_ICLASS for Method#inspect.
- METHOD::klass can contain T_ICLASS so inspect should respect it.
-
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... -
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... -
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 ... -
06:03 AM Feature #16275: Revert `.:` syntax
- > `?> erb`
`?>` is a character literal. -
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.
-
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.
-
05:24 PM Revision 826bbf98 (git): Split by `&&`
-
05:08 PM Revision 967b924a (git): Expanded an environment variable
- PowerShell does not expand by `%varname%` syntax.
-
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. -
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({}... -
04:07 PM Revision 4b3e007e (git): Assert no-kwrest case
-
03:56 PM Revision ed65e2d5 (git): Assert no-block case
-
03:54 PM Revision 8d0c5eb8 (git): Set method locations
- 03:16 PM Revision 2ea69896 (git): * 2019-10-25 [ci skip]
-
03:15 PM Revision 6279e45c (git): Arguments forwarding is not allowed in lambda [Feature #16253]
-
02:50 PM Bug #9876 (Closed): IRB::Context output_method is not used
- This is fixed by commit:1fb4584825.
-
02:47 PM Revision 1fb45848 (git): Remove unsused output_method argument
- Fixes Ruby Bug 9876.
-
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`. -
11:58 AM Revision dc44ab29 (git): Revert "[ruby/fiddle] Fix a failing test (#13)"
- This reverts commit 5ebb0d50f6560b35bc03deb79341a115c5f782ee.
-
11:58 AM Revision de5ee47c (git): Revert "[ruby/fiddle] test: use env Hash"
- This reverts commit 4d844cbaed518743776594fa5ae33b86fe176ad1.
-
11:58 AM Revision efd641ff (git): Revert "[ruby/fiddle] Use ffi_closure_free by default. (#20)"
- This reverts commit ce6caade7c57a505f73086ccd7b33c14f7715f22.
-
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... -
10:47 AM Revision c28d50a7 (git): [ruby/webrick] Support literal IPv6 addresses in X-Forwarded-Host
- https://github.com/ruby/webrick/commit/6b6990ec81
-
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... -
10:47 AM Revision 84ed4c3d (git): [ruby/webrick] bump version to 1.5.0
- https://github.com/ruby/webrick/commit/00c281caa7
-
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... -
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
-
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... -
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... -
10:34 AM Revision 30d46966 (git): [ruby/fiddle] Use RbConfig::SIZEOF (#19)
- https://github.com/ruby/fiddle/commit/ea06b28db8
- 10:34 AM Revision 4d844cba (git): [ruby/fiddle] test: use env Hash
- https://github.com/ruby/fiddle/commit/a01a962342
- 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_... - 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... -
09:50 AM Revision 70ca56de (git): Temporarily skipped with upstream changes of Date library.
-
09:39 AM Revision 487d96c6 (git): [ruby/date] Use Gemfile instead of Gem::Specification#add_development_dependency.
- https://github.com/ruby/date/commit/13c94362c2
-
09:39 AM Revision 9d3a4ab0 (git): [ruby/date] Update docs
- https://github.com/ruby/date/commit/8c02586a98
-
09:39 AM Revision 913807bd (git): [ruby/date] Simplify #inspect
- https://github.com/ruby/date/commit/af01edd7d8
-
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... -
09:39 AM Revision fc0e8d00 (git): [ruby/date] Support -Float::INFINITY...date ranges
- Fixes Ruby Bug 12961
https://github.com/ruby/date/commit/7f533c2552 -
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 ... -
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. ... -
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 ... -
09:03 AM Revision f1de4383 (git): Use CPDEBUG for debug code
-
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... -
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
-
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... -
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... -
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... -
07:46 AM Revision 4c3e3b80 (git): Revert "Fix Fiber#transfer"
- This reverts commit fa8ac91e957a076f6df1adaecad7896817138009.
Previous behavior is intentional. -
07:17 AM Revision 65e82679 (git): Revert "Fixed the require path for e2mmap version file."
- This reverts commit ff953a003e03f5f070112ececefab4c07ff4cb0e.
-
07:12 AM Revision ff953a00 (git): Fixed the require path for e2mmap version file.
-
07:11 AM Revision 2791989a (git): Fixed sync path of e2mmap structure for gemspec.
-
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... -
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... -
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... -
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... -
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...
Also available in: Atom