Activity
From 03/17/2019 to 03/23/2019
03/23/2019
- 09:50 PM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- @naruse:
> I want to introduce this feature in Ruby 2.7.0-preview1.
> Therefore could you write an item for the r... - 12:57 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- noahgibbs (Noah Gibbs) wrote:
> Aaron has commented on this in his talks -
Any pointers?
> usually he calls ... - 09:43 PM Bug #15558: Should Exception#exception copy the backtrace?
- BTW, MRuby 2.0.0 also copies the backtrace (because it implements Exception#exception as clone + setting the message)...
- 08:02 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- OK ... since it seems that everyone is camping on their own position, I have an alternative proposal: initialize the ...
- 02:03 PM Feature #15725: Proposal: Add Array#reverse_sort, #revert_sort!, #reverse_sort_by, and #reverse_sort_by!
- As this is a duplicate it may be best to discuss it in #12648.
I have not yet commented so just briefly; I am most... - 10:13 AM Feature #15725 (Rejected): Proposal: Add Array#reverse_sort, #revert_sort!, #reverse_sort_by, and #reverse_sort_by!
- Hello,
I would like to propose four new methods: `#reverse_sort`, `#revert_sort!`, `#reverse_sort_by`, and `#rever... - 10:41 AM Misc #15615 (Closed): File.birthtimeがLinux環境で有効なファイル作成時刻を得られなかった場合の挙動について
- Applied in changeset trunk|r67338.
----------
file.c: raise NotImplementedError instread of Errno::ENOSYS
[Misc #15... - 10:41 AM Revision 7e421044 (git): * 2019-03-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:41 AM Revision 0bd50e95 (git): file.c: raise NotImplementedError instread of Errno::ENOSYS
- [Misc #15615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:52 AM Bug #12667: full_gem_path is incorrect for core modules
- See https://github.com/bundler/bundler/issues/6930#issuecomment-475848401
- 07:48 AM Feature #11140 (Closed): Allow rubygems' `require` to handle `autoload` calls
- This patch was already applied.
- 01:10 AM Feature #14982: Improve namespace system in ruby to avoiding top-level names chaos
- I like this idea (and the other suggestions and implementations). I proposed something similar for Crystal a while ba...
03/22/2019
- 10:41 PM Bug #15558: Should Exception#exception copy the backtrace?
- @nobu and other MRI committers: what do you think?
It's somewhat inconsistent with Exception#clone which does copy... - 09:18 PM Feature #15724: Optionally suppress output from IRB for assignment expressions
- shevegen (Robert A. Heiler) wrote:
> I don't know if the original suggestion is good as is, but I think it is an int... - 09:14 PM Feature #15724: Optionally suppress output from IRB for assignment expressions
- alanwu (Alan Wu) wrote:
> You can type `a = 1; nil` to stop irb from calling inspect on the assignment expression re... - 05:05 PM Feature #15724: Optionally suppress output from IRB for assignment expressions
- While I use a similar approach suggested by Alan Wu - and there is nothing wrong with that - I think
it may still be... - 03:49 PM Feature #15724: Optionally suppress output from IRB for assignment expressions
- You can type `a = 1; nil` to stop irb from calling inspect on the assignment expression result, just FYI.
- 02:42 PM Feature #15724 (Open): Optionally suppress output from IRB for assignment expressions
- Most REPLs I've used don't print out the output of assignment expressions like `a = 1`. Being able to suppress this ...
- 08:51 PM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- One problem with automatically compacting on full GC: compaction appears to require two full GCs to do its thing. It ...
- 09:21 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- I got segfault with this patch
I added 1 extra change to fix compile error on MacOS
https://github.com/ruby/ruby/co... - 07:22 PM Misc #15723: Reconsider numbered parameters
- @matz wrote:
> I am not fully satisfied with the beauty of the code with numbered parameters, so I call it a comprom... - 04:06 PM Misc #15723: Reconsider numbered parameters
- alanwu (Alan Wu) wrote:
> The feature isn't even release[d] and we have confusion already #15708.
That is because... - 03:38 PM Misc #15723: Reconsider numbered parameters
- I don't like this feature because it adds a special case to the meaning of `@`.
Before this, I can look at `@` and u... - 02:18 PM Misc #15723: Reconsider numbered parameters
- @sos4nt, I agree with you. Naming a parameter is good, I think.
By the way, The Ruby Style Guide that you mention... - 02:12 PM Misc #15723: Reconsider numbered parameters
- I personally like the change. I think it is good for quick debugging.
Stefan picked only one example, though:
... - 01:54 PM Misc #15723 (Feedback): Reconsider numbered parameters
- Yes, I admit `{ @1[@2] = "Go Fish: #{@2}" }` is cryptic. But `{@1 * @2}` is not. So use numbered parameters with care...
- 01:11 PM Misc #15723 (Feedback): Reconsider numbered parameters
- I just learned that *numbered parameters* have been merged into Ruby 2.7.0dev.
For readers not familiar with this ... - 05:36 PM Bug #15712: DateTime#=== should be defined and compare date and time instead of just the date
- @nobu Not sure why I wrote false (maybe I confused === with == in my testing), I'm getting `true` on ruby 2.5.3, 2.6....
- 05:11 PM Feature #15722: `Kernel#case?`
- This is an interesting idea. I have not thought through all implications but not withholding
that, I like it so +1 fr... - 04:25 PM Feature #15722: `Kernel#case?`
- If such method, if any, should be rather defined on `Object`, that would be fine. I was not sure whether I should hav...
- 10:04 AM Feature #15722: `Kernel#case?`
- osyo (manga osyo) wrote:
> How about `Enumerable#case?` ?
> Comparing with `===` like `Enumerable#include?`.
>
... - 09:13 AM Feature #15722: `Kernel#case?`
- How about `Enumerable#case?` ?
Comparing with `===` like `Enumerable#include?`.
```ruby
bar # => "bar"
["foo",... - 07:12 AM Feature #15722 (Feedback): `Kernel#case?`
- I often want to use `===` to match a single object on the right side against multiple objects on the left, as is used...
- 03:32 PM Misc #15610: Could bundler & rubygems be shipped in site_ruby?
- Just for completeness, this is my proposal:
https://bugs.ruby-lang.org/issues/5617 - 02:19 PM Feature #15371: IRB with ARGV
- svnpenn (Steven Penny) wrote:
> shevegen (Robert A. Heiler) wrote:
> > By the way, I find it slightly amusing that ... - 01:11 PM Feature #4475: default variable name for parameter
- Since this ticket is closed, I've opened a new one to express my concerns:
https://bugs.ruby-lang.org/issues/15723 - 06:56 AM Feature #4475: default variable name for parameter
- gkemmey (Gray Kemmey) wrote:
> Is there a reason to do this other than to save some typing? I'm not sure we've propo... - 12:31 AM Feature #4475: default variable name for parameter
- For those who want to change anything, I suggest to create new feature issues. It doesn't make sense to continue disc...
- 12:19 AM Feature #4475: default variable name for parameter
- As I'm reading through this I am warming up to this idea. However, I would prefer to keep `@` for instance variables....
- 11:04 AM Revision 56557ec2 (git): [DOC] fix markups [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:22 AM Bug #15384: ssl_certs are duplicated in RubyGems and Bundler
- I did update the latest patch: https://github.com/bundler/bundler/pull/7035
- 10:10 AM Feature #15657: Make webrick to bundled gems
- Attached the patch for this feature.
- 09:08 AM Bug #15490: socket.rb - recurring segmentation faults
- I might got a similar issue with 2.6.2 (also crash at os_log_type_enabled + 627)
https://bugs.ruby-lang.org/issues/1... - 07:57 AM Revision c671f836 (git): add debug counters to count call cache fastpath.
- Add counters to count ccf (call cache fastpath) usage.
These counters will help which kind of method dispatch
is impo... - 06:52 AM Feature #13303: String#any? as !String#empty?
- I came up with the method name:
```ruby
solid?
```
- 06:25 AM Feature #15721 (Open): optimize comparison of special const
- ## Description
optimize comparison between special consts in `comparable_by_identity`.
it is called from `==` .
... - 03:58 AM Feature #7252 (Closed): version number of 2.0 release
- 2.0.0 リリース時のディスカッションなので閉じておきます。
- 12:21 AM Revision 4d2bac1f (git): * 2019-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:21 AM Revision a433f2c5 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:21 AM Revision 79ddbe9d (git): optimize method dispatch for lead/kw params.
- similar idea to r67315, provide the following optimization
for method dispatch with lead and kw parameters.
(1) add ...
03/21/2019
- 11:33 PM Bug #15718: YAML raises error when dumping strings with UTF32 encoding
- I see. There are other regexp based code similar to what `Psych::Visitors::YAMLTree.visit_String` does. Not sure if t...
- 10:04 PM Bug #15718: YAML raises error when dumping strings with UTF32 encoding
- rubenochiavone (Ruben Chiavone) wrote:
> Since it relates to mismatch of regex and YAML text encoding a possible fix... - 02:12 PM Bug #15718: YAML raises error when dumping strings with UTF32 encoding
- Since it relates to mismatch of regex and YAML text encoding a possible fix is to only attempt to match the text when...
- 02:26 AM Bug #15718: YAML raises error when dumping strings with UTF32 encoding
- It may be related to a code range bug.
By adding `o.valid_encoding?` to `Psych::Visitors::YAMLTree#visit_String`, th... - 08:07 PM Bug #15720 (Closed): SystemStackError when referencing a refinement in a module that isn't used
- ```ruby
module M1
refine Kernel do
def foo
'foo called!'
end
end
end
module M2
refine ... - 04:24 PM Feature #15628: init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
- > Net:HTTP with timeout (Net::OpenTimeout) after after 60 seconds
I meant "Net:HTTP will timeout (Net::OpenTimeout... - 01:32 PM Bug #15649 (Closed): Dir.glob regression with braces and Windows drive letters
- Applied in changeset trunk|r67332.
----------
dir.c: fix Dir.glob starts with brace
* dir.c (ruby_glob0): expand br... - 01:32 PM Revision 0f63d961 (git): dir.c: fix Dir.glob starts with brace
- * dir.c (ruby_glob0): expand braces if a glob pattern starts with
brace.
[ruby-core:91728] [Bug #15649]
git-svn-... - 12:01 PM Revision 638c9685 (git): array.c: [DOC] remove unnecessary markups [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:48 AM Revision 969156ce (git): Check argument_arity_error condition in inlinable_iseq_p
- to avoid inlining a method call when it becomes argument_arity_error,
fixing a potential bug.
git-svn-id: svn+ssh://... - 06:25 AM Revision 52bd8f6f (git): Share vm_call_iseq_optimizable_p to reduce copy-paste
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:04 AM Bug #15719: to_enum を使用した場合にバックトレースが意図しないものになる
- ありがとうございます。とりあえず明らかな型バグがあったので修正しました。
```
$ ./miniruby /tmp/test.rb
Traceback (most recent call last):
1: from... - 05:59 AM Bug #15719 (Closed): to_enum を使用した場合にバックトレースが意図しないものになる
- Applied in changeset trunk|r67326.
----------
Fix a wrong lineno in backtrace for cfunc
lineno is an int, and INT2F... - 03:13 AM Bug #15719 (Closed): to_enum を使用した場合にバックトレースが意図しないものになる
- to_enum を使用するとバックトレースの呼び出し元が実行ファイルの1行目 each と出力されます。
再現コードの 8 行目や、to_enum に指定した foo メソッドがバックトレースに出てくるべきかと思います。
##... - 05:59 AM Revision a8695d50 (git): Make rb_iseq_only_optparam_p static
- because it's not used outside vm*.c, and also having non-static function
without MJIT_STATIC is harmful for mswin JIT... - 05:59 AM Revision 3c4b7898 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:59 AM Revision e1038377 (git): Fix a wrong lineno in backtrace for cfunc
- lineno is an int, and INT2FIX(0) was assigned.
[Bug #15719] [ruby-core:91911]
git-svn-id: svn+ssh://ci.ruby-lang.or... - 05:44 AM Revision b8540a3c (git): Show retry's stdout as well
- because stderr did not have sufficient information
https://ci.appveyor.com/project/ruby/ruby/builds/23242505/job/diru... - 05:37 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- ```
To prevent this, a new "pinning" table was introduced. Any object marked via
rb_gc_mark is "pinned" and is not ... - 05:30 AM Revision ae0f20c6 (git): Retry vcpkg install failures
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:49 AM Revision 9810c08a (git): Explain why cl.exe needs --jit-verbose=2 [ci skip]
- I forgot to explain it in the previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67323 b2dd03c8-39d4-... - 04:47 AM Revision 81de7b9e (git): Insert --jit-verbose=2 logs for mswin debugging
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:24 AM Revision 7aacb650 (git): Remove duplicated and change order
- `reg*` affects `doc/regexp.rdoc`, but it is not a file of the Oniguruma/Onigmo regular expression engine.
`reg*.[ch]`... - 02:42 AM Feature #15602: Eliminate recording full-width hash value for small Hash
- Eregon (Benoit Daloze) wrote:
> The same as "1 byte hash value".
> i.e. after step 1 I would expect tests/specs to ... - 01:49 AM Bug #15712 (Feedback): DateTime#=== should be defined and compare date and time instead of just the date
- What version of DateTime do you use?
With the trunk I got:
```ruby
require 'date'
dt1 = DateTime.new(2001, 2,... - 01:03 AM Bug #14952 (Closed): [Docs] Backport r64057 to ruby 2.5
- 01:00 AM Feature #13677: Add more details to error "Name or service not known (SocketError)"
- microweb10 (Julian Herrero) wrote:
> I would like to work on this one.
Please do, patches are always welcome. - 12:59 AM Feature #15195: Deal with new Japanese era
- I have verified that with the beta files for Unicode Version 12.1.0 at https://www.unicode.org/Public/12.1.0/ucd/, Ru...
- 12:33 AM Bug #12667 (Assigned): full_gem_path is incorrect for core modules
- 12:10 AM Misc #11079 (Rejected): missing LICENCE
- ファイルの存在は確認できた、ということで閉じます。何かアクションがある場合は Status 戻して進めてください。
03/20/2019
- 11:35 PM Bug #15377 (Closed): rails unit tests get core dumped
- 11:32 PM Misc #15529 (Closed): Document Enumerator::Lazy
- Applied in changeset trunk|r67320.
----------
Add Enumerator::Lazy docs.
* explanation of the class concept, with... - 11:32 PM Revision f2ea705d (git): Add Enumerator::Lazy docs.
- * explanation of the class concept, with examples;
* docs for all class methods (most of them just say "Like Enumer... - 11:21 PM Feature #15665 (Rejected): Cannot compile socket extension on Mojave
- I couldn't reproduce this with Mojave.
```
~ > ls /usr/include/netinet6/in6.h
/usr/include/netinet6/in6.h
```
... - 08:37 PM Revision e8e1f72d (git): remove redundant check.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:26 PM Revision df2af114 (git): fix a type error with a cast for clang.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:21 PM Bug #15718 (Closed): YAML raises error when dumping strings with UTF32 encoding
- ```shell
ruby -r yaml -e "p YAML.dump( ''.force_encoding('UTF-32LE') )"
Traceback (most recent call last):
4: f... - 07:57 PM Revision 02df0f38 (git): * 2019-03-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:57 PM Revision 5c439ebf (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:57 PM Revision 24e03d7e (git): optimize method dispatch for lead/opt params.
- There is a special optimization for "only lead parameters"
method dispatch using specialized dispatcher functions
`vm... - 05:34 PM Bug #15717 (Closed): Backport #15270 to Ruby 2.5.x
- There is a commit that claims to backport #15270, `ruby_2_5@66225` / `aba207b7620d963e212e4187213db7e1eee7a790 `.
H... - 05:31 PM Feature #13677: Add more details to error "Name or service not known (SocketError)"
- shyouhei (Shyouhei Urabe) wrote:
> The proposed functionality sounds fine but no one currently have spare time to im... - 01:30 PM Feature #15663: Documenting autoload semantics
- Eregon (Benoit Daloze) wrote:
> I was thinking maybe the require lock per path should be used for everything, but ... - 11:03 AM Feature #15663: Documenting autoload semantics
- akr (Akira Tanaka) wrote:
> Eregon (Benoit Daloze) wrote:
>
> > I would have thought `require autoload_path` woul... - 03:33 AM Feature #15663: Documenting autoload semantics
- akr (Akira Tanaka) wrote:
> > Could we start a document specifying the semantics?
>
> I think we should start t... - 02:48 AM Feature #15663: Documenting autoload semantics
- Eregon (Benoit Daloze) wrote:
> I would have thought `require autoload_path` would basically do the same as trigge... - 12:40 PM Feature #10911 (Assigned): IPAddr.new should ignore zone identifiers
- 12:21 PM Bug #15711: Remove use of _id2ref from DRb
- @headius Could you attach a diff for the weakref-based approach?
It seems the GitHub link doesn't work well (it show... - 12:50 AM Bug #15711 (Assigned): Remove use of _id2ref from DRb
- @seki
Can you handle this?
- 12:11 PM Misc #15336 (Rejected): Duplicate builds on travis-ci?
- Well, as @shyouhei described, daily builds are testing wider range of environments which we do not want for every com...
- 01:34 AM Misc #15336 (Closed): Duplicate builds on travis-ci?
- I removed CRON jobs from Travis CI.
- 10:58 AM Bug #15598: Deadlock on mutual reference of autoloaded constants
- Eregon (Benoit Daloze) wrote:
> Should this "global autoload lock" also be locked for normal non-autoload `require`?... - 10:47 AM Bug #15598: Deadlock on mutual reference of autoloaded constants
- Should this "global autoload lock" also be locked for normal non-autoload `require`?
Otherwise I think it could dead... - 09:41 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- Made some changes for "auto compaction"
I am a newbie in C programming
This is just for discussion, not tested nor ... - 05:19 AM Bug #15309 (Assigned): ECB is broken
- 04:24 AM Revision 139634a1 (git): vm_trace.c: [DOC] remove the trick [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:08 AM Bug #15484 (Closed): Improve TracePoint docs
- Applied in changeset trunk|r67313.
----------
Improve TracePoint docs.
* Mention new :script_compiled event;
* ... - 02:08 AM Revision b5558690 (git): Improve TracePoint docs.
- * Mention new :script_compiled event;
* Deduplicate __enable/enable methods;
* Document target: and target_line: ... - 01:40 AM Feature #15667: Introduce malloc_trim(0) in full gc cycles
- I created a patch.
> I would like to get this patch tested side-by-side at Discourse, GitHub and Shopify.
Could... - 01:35 AM Revision 46968fab (git): string.c: [DOC] fix reference to sprintf [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:35 AM Bug #15649: Dir.glob regression with braces and Windows drive letters
- I created a patch for the bug.
- 01:31 AM Revision 8b49e5b4 (git): string.c: [DOC] remove unnecessary markups [ci skip]
- * string.c: remove ...
- 01:30 AM Bug #7300 (Assigned): Hash#[] の挙動が 1.9.3 と異なっている
- 01:30 AM Bug #7300: Hash#[] の挙動が 1.9.3 と異なっている
- 僕が決められるのかわかりませんが、5年以上経っているので消していいと思います。
- 01:27 AM Bug #11948 (Rejected): Segfault on blank line in IRB
- I was also unable to reproduce.
```
~ > docker run --rm -ti alpine
/ # apk update
/ # apk add ruby-irb
/ # ru... - 01:24 AM Feature #15047 (Assigned): Documentation and more functions for Hash functions in C API
- 01:17 AM Revision a265141c (git): string.c: [DOC] fix indent [ci skip]
- * string.c (rb_str_crypt): fix indent not to make the whole list
verbatim entirely.
git-svn-id: svn+ssh://ci.ruby-... - 01:05 AM Bug #15550 (Assigned): Windows - gem bin files - can't run from bash shell
- 01:02 AM Misc #15614 (Closed): DevelopersMeeting20190311Japan
- The next meeting issue is here: https://bugs.ruby-lang.org/issues/15459
- 12:31 AM Revision eee58ca6 (git): * 2019-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:31 AM Revision 74024842 (git): parse.y: make tNUMPARAM id
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/19/2019
- 11:14 PM Bug #15708: Implicit numbered argument decomposes an array
- Sorry, your inconvenience experience. We have an issue of bugs.ruby-lang.org. I fixed it on this morning(JST).
I rem... - 11:57 AM Bug #15708: Implicit numbered argument decomposes an array
- > Honestly, I'm not a fan of the behavior, though.
I think it comes down a lot to personal preferences. For exampl... - 11:26 AM Bug #15708: Implicit numbered argument decomposes an array
- Yes, it is actually intended. `@1` is equivalent to `|at1, at2, at3, ...|`'s `at1`.
```
a = [1, 2, 3]
a.map{|x,... - 11:08 AM Bug #15708 (Rejected): Implicit numbered argument decomposes an array
- In the following, `@1` refers to the entire item iterated:
```ruby
a = [1, 2, 3]
a.map{|x| x} # => [1, 2, 3]
a.... - 11:05 PM Bug #15712: DateTime#=== should be defined and compare date and time instead of just the date
- @localhostdotdev
I fixed an issue of our tracker. I deleted 15713-15716. - 05:00 PM Bug #15712 (Closed): DateTime#=== should be defined and compare date and time instead of just the date
- DateTime#=== is inherited from Date#=== without overwriting the #=== method, this leads to DateTime#=== comparing onl...
- 05:42 PM Feature #15667: Introduce malloc_trim(0) in full gc cycles
- As a maintainer of the quoted glibc code I'd be really interested in the results of this work. Please share when ready.
- 05:12 PM Bug #15711: Remove use of _id2ref from DRb
- Ok, unfortunately I'm not sure that WeakMap will work for this purpose. It works based on identity (which would not w...
- 04:47 PM Bug #15711: Remove use of _id2ref from DRb
- I added a mutex and pushed the base implementation as a PR here: https://github.com/ruby/ruby/pull/2102
I can try ... - 04:31 PM Bug #15711: Remove use of _id2ref from DRb
- We almost had agreement on adding a reference queue here: https://bugs.ruby-lang.org/issues/6309
- 03:56 PM Bug #15711 (Closed): Remove use of _id2ref from DRb
- This issue relates to https://bugs.ruby-lang.org/issues/15408
DRb uses `_idref` internally to implement a weak map... - 04:02 PM Feature #15408: Deprecate object_id and _id2ref
- Sorry for the delay folks, I was intermittently blocked from accessing bugs.ruby-lang.org, but things are working now...
- 03:25 PM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- We have already discussed in https://bugs.ruby-lang.org/issues/15408 the deprecation and eventual removal of _id2ref,...
- 09:33 AM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- nateberkopec (Nate Berkopec) wrote:
> > Can we introduce it just after every major (full) gc?
>
> I agree. If the... - 01:10 PM Bug #15672: Lambda implicit arguments, differences between lambda {} and -> {} specifications
- Hanmac (Hans Mackowiak) wrote:
> Duplicate of #15620
It is irrelevant. - 09:40 AM Bug #15623: Ruby 2.6.1 Segmentation Fault in on Phusion Passenger server boot in dev
- Another crash after updating to 2.6.2
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]
Not sure they are... - 07:03 AM Bug #15620: Block argument usage affects lambda semantic
- @nobu should this one be closed too?
- 06:23 AM Revision afa1505c (git): parse.y: removed redundant number_arg parser event
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:01 AM Bug #15673 (Closed): Number args + Ripper
- Applied in changeset trunk|r67306.
----------
parse.y: fix var_ref of numbered param in ripper
* parse.y (string_dv... - 06:01 AM Revision fa66569a (git): parse.y: fix var_ref of numbered param in ripper
- * parse.y (string_dvar, user_variable): register numbered
parameter in ripper for var_ref.
[ruby-core:91867] [Bug... - 02:35 AM Revision e39f7e64 (git): parse.y: fix segv with Ripper#yydebug
- * parse.y (parser_token_value_print): in ripper, ID values are
wrapped in NODE_RIPPER at set_yylval_name(), so prin... - 02:25 AM Revision ae5d9a76 (git): Added Ripper#debug_output
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:39 AM Bug #15675 (Closed): "fatal - exception reentered" error after installing Ruby 2.5.5
- At first I have 2.5.3 and 2.6.0 which are working fine. Then I started to encounter errors in Heroku after deployment...
03/18/2019
- 10:48 PM Feature #4475: default variable name for parameter
- Is there a reason to do this other than to save some typing? I'm not sure we've proposed any terribly real-world case...
- 05:12 PM Feature #4475: default variable name for parameter
- I also dislike the use of `@` for this. It looks very weird and evokes strong references to instance variables in my ...
- 03:43 PM Feature #4475: default variable name for parameter
- Would it be possible to make this more inline with other "magic" variables? Such as $1 and $2 for regex. Maybe $block...
- 11:42 AM Feature #4475: default variable name for parameter
- I think @1 @2 is ok, syntax-wise; it reminds me of $1 $2 for regex matching.
The main two advantages I see is that... - 10:12 PM Feature #9758: Allow setting SSLContext#extra_chain_cert in Net::HTTP
- I would also love to know about this. I'm running into an issue right now where I'm trying to use ruby (specifically ...
- 08:51 PM Feature #15626: Manual Compaction for MRI's GC (`GC.compact`)
- > Can we introduce it just after every major (full) gc?
I agree. If the necessary steps are Full GC -> Update -> M... - 08:24 PM Feature #15632: Dynamic method references
- Okay, in that case this can be closed.
- 07:33 PM Bug #15673: Number args + Ripper
- I think I found it. I've attached a patch file. Please forgive me if I'm doing this wrong, this is my first contribut...
- 06:28 PM Bug #15673: Number args + Ripper
- Some more investigation yields that `compile_error` is called with:
identifier false is not valid to get - 06:20 PM Bug #15673: Number args + Ripper
- To be clear, I mean that:
``` ruby
require 'ripper'; Ripper.new('[1, 2, 3].map { @1 * 2 }').tap(&:parse).error?
... - 02:13 PM Bug #15673 (Closed): Number args + Ripper
- Hi there -
Love the new number args for blocks. When I run
``` ruby
[1, 2, 3].map { @1 * 2 }
```
everythin... - 07:22 PM Feature #14183: "Real" keyword argument
- mame,
Thanks for your continued work on this.
I still agree that for methods that accept keyword arguments, we ... - 09:21 AM Feature #14183: "Real" keyword argument
- Sorry for leaving this ticket. Matz, akr and I talked about this issue several times since the last year, and we hav...
- 06:30 PM Revision f86e5dae (git): Applied security patches for RubyGems
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:45 PM Revision 92b0331b (git): Use designated initializers for compile_status
- to make it easier to understand what values are grouped.
Just cosmetic changes.
git-svn-id: svn+ssh://ci.ruby-lang.o... - 05:28 PM Revision 8b1241d8 (git): Use alloca for stack_size_for_pos as well
- to eliminate necessity of error check and `free`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67301 b2dd03c8-39... - 05:20 PM Revision a75ae6fa (git): Use alloca again instead of malloc and free
- by changing interface of `mjit_copy_cache_from_main_thread`.
This is also fixing deadlock introduced by r67299.
git... - 04:32 PM Revision 4d426e28 (git): Resurrect r67287 and r67288
- I noticed that r67287 was illegal because memory allocated by `alloca`
was used after the stack is expired.
So I jus... - 04:14 PM Revision 08e9c58d (git): * 2019-03-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:14 PM Revision 78e87b7d (git): Revert "Eliminate mjit_copy_job_t reference from mjit_worker"
- This reverts commit ba51ae0109ee1d1fa7ca90b43da115ea68d7214a.
CI is failing again...
git-svn-id: svn+ssh://ci.ruby-... - 03:49 PM Bug #15674 (Closed): Regression: ObjectSpace.allocation_sourceline produces the wrong location for allocations, it shows the end of the method instead of the line where the object was created
- Originally I opened this up as an issue in memory profiler https://github.com/SamSaffron/memory_profiler/issues/67, h...
- 02:01 PM Revision ba51ae01 (git): Eliminate mjit_copy_job_t reference from mjit_worker
- Take 2 of r67287.
For some reasons, passing pointer of pointer on stack to a function
and assigning an addresse to a... - 12:48 PM Bug #15672 (Closed): Lambda implicit arguments, differences between lambda {} and -> {} specifications
- Applied in changeset trunk|r67295.
----------
parse.y: numbered parameter in lambda
* parse.y (lambda): support num... - 11:51 AM Bug #15672: Lambda implicit arguments, differences between lambda {} and -> {} specifications
- Koichi said it will be fixed. :)
(I guess this was never intentional, thus a bug.) - 06:12 AM Bug #15672: Lambda implicit arguments, differences between lambda {} and -> {} specifications
- Duplicate of #15620
- 03:34 AM Bug #15672 (Closed): Lambda implicit arguments, differences between lambda {} and -> {} specifications
- Hi
Are the following differences intentional?
```
$ ruby -v
ruby 2.7.0dev (2019-03-18 trunk 67291) [x86_64-da... - 12:48 PM Revision 964bbc16 (git): parse.y: numbered parameter in lambda
- * parse.y (lambda): support numbered parameters, only when no
argument list including empty parentheses, like empty... - 12:07 PM Revision f9e5b8d0 (git): Revert "Try disabling Travis cache on darwin"
- This reverts commit 6b136a044205f6e6b66df68cd2da2a9c3e952a7d.
This does not seem to work:
https://travis-ci.org/ruby... - 11:46 AM Revision c1dce923 (git): Merge https://github.com/rubygems/rubygems/pull/2684
- to make CI stable. See the PR for details.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67293 b2dd03c8-39d4-4d8... - 06:42 AM Revision 17018d4c (git): parse.y: continue after invalid name
- * parse.y (set_yylval_noname): continue after an invalid global,
instance, class variable name, without "unexpected... - 05:12 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- Schedule on 4/17 (Wed)
* 12:00- door open
* 13:00-18:30 meeting w/Matz.
* topics is welcome. please comment on... - 04:52 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- Further note:
"RubyKaigi 2019 After Hack by Fukuoka.rb!!" https://fukuokarb.connpass.com/event/124406/ is open even... - 04:49 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
- "After RubyKaigi hack meeting" is merged with "RubyKaigi 2019 After Hack by Fukuoka.rb!!"
https://fukuokarb.connpass... - 01:52 AM Revision 908b5301 (git): Revert "Request inline cache values from mjit_compile"
- This reverts commit 4161674b2fbea6bdd01783ac5d3b39d88db22972.
Revert "Eliminate mjit_copy_job_t reference from mjit_... - 01:42 AM Revision ba03222d (git): Pack rb_iseq_constant_body from 296 to 288 bytes
- [Fix GH-2099]
From: Lourens Naudé <lourens@bearmetal.eu>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67290 b2... - 01:18 AM Revision d0e25ed2 (git): parse.y: parser_numbered_param
- * parse.y (parser_numbered_param): hoisted out the contextual
check for numbered parameters.
git-svn-id: svn+ssh:/...
03/17/2019
- 08:56 PM Bug #15662 (Closed): Fix CSV delegation to missing StringIO
- Thanks!
- 09:13 AM Bug #15662: Fix CSV delegation to missing StringIO
- We resolved it in https://github.com/ruby/csv/pull/80. Thank you @kou 🙇♂️!
- 06:29 PM Revision 4161674b (git): Request inline cache values from mjit_compile
- rather than preparing beforehand.
By having this change, implementing inlining by calling
`mjit_copy_cache_from_main... - 06:07 PM Revision d86a1aa0 (git): Eliminate mjit_copy_job_t reference from mjit_worker
- and make `copy_cache_from_main_thread` easier to use.
For implementing inlining later, I'll use `copy_cache_from_mai... - 05:12 PM Revision 3fc26f60 (git): Drop rb_mjit_unit from mjit_copy_job
- and guard iseq from GC by marking iseq in mjit_copy_job.
This is a refactoring for implementing inlining later and
s... - 04:35 PM Revision cebc6407 (git): Fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:32 PM Revision 5bd10603 (git): * 2019-03-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:32 PM Revision dfb9907c (git): Fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:51 PM Revision a72bc2e7 (git): Fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:20 AM Revision 6b136a04 (git): Try disabling Travis cache on darwin
- to check if it resolves "Permission denied" problem.
https://travis-ci.org/ruby/ruby/jobs/507381339
https://travis-ci... - 05:32 AM Revision d4b6198d (git): Roughly increase Azure Pipelines fetch depth
- because --depth=1 may randomly break checkout:
https://dev.azure.com/rubylang/ruby/_build/results?buildId=208&view=lo... - 05:28 AM Revision 46f5eb5b (git): Update NEWS for --jit option changes [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:21 AM Feature #4475 (Closed): default variable name for parameter
- Applied in changeset trunk|r67278.
----------
Numbered parameters [Feature #4475] - 05:21 AM Revision 12acc751 (git): Numbered parameters [Feature #4475]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:13 AM Revision 0fa4a6a6 (git): Change defaults of --jit options
- * --jit-min-calls: 5 -> 10000
--jit-min-calls=5 obviously can compile non hotspot. This was not a
problem for MJIT-b... - 04:13 AM Revision 407cd5cc (git): Drop invalid trailing comma in JSON object
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Also available in: Atom