General

Profile

sonots (Naotoshi Seo)

Issues

Projects

Activity

04/15/2019

06:57 AM Ruby trunk Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
I've talked with matz today.
matz said he is not objective as long as we can define good semantics.
One option is...
sonots (Naotoshi Seo)
06:54 AM Ruby trunk Feature #14701 (Open): If the object is not frozen, I want to be able to redefine the compound assignment operator.
sonots (Naotoshi Seo)

04/26/2018

07:21 AM Ruby trunk Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
As first thing to say, we do not expect changing behavior of `+=` for ruby built-in types such as string or array.
...
sonots (Naotoshi Seo)
04:24 AM Ruby trunk Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
> Most notably, it means other variables pointing to the same NArray would get modified in place by +=, which seems h... sonots (Naotoshi Seo)

04/25/2018

03:22 PM Ruby trunk Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
ANOTHER IDEA:
How about allowing to redefine `+!` instead of `+=` although it looks not intuitive for me, but it wou...
sonots (Naotoshi Seo)
03:19 PM Ruby trunk Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
> Use append instead of += for arrays.
`+=` operation for NArray is totally different with `append` for ruby array...
sonots (Naotoshi Seo)

12/21/2017

05:07 AM Ruby trunk Bug #14212 (Closed): Logger uses Kernel.#open to open a file, so it can open something more than files
Applied in changeset trunk|r61378.
----------
* lib/logger.rb (Logger::LogDevice#open_logfile, #create_logfile):
L...
sonots (Naotoshi Seo)
04:36 AM Ruby trunk Bug #14212 (Closed): Logger uses Kernel.#open to open a file, so it can open something more than files
It is not intended behavior. sonots (Naotoshi Seo)
05:07 AM Ruby trunk Revision 7176eb2d (git): * lib/logger.rb (Logger::LogDevice#open_logfile, #create_logfile):
Logger should be able to open only files [Bug #14212]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61378 b2dd03...
sonots (Naotoshi Seo)

10/22/2017

04:57 PM Ruby trunk Revision cb4a2a61 (git): common.mk: add install-capi to make help
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)

Also available in: Atom