Activity
From 10/31/2019 to 11/06/2019
11/06/2019
-
11:12 PM Revision e58814d1 (git): Revert "Use a monotonically increasing number for object_id"
- This reverts commit bd2b314a05ae9192b3143e1e678a37c370d8a9ce.
-
10:59 PM Revision bd2b314a (git): Use a monotonically increasing number for object_id
- This changes object_id from being based on the objects location in
memory (or a nearby memory location in the case of... -
10:16 PM Revision d1630d41 (git): Promote open3 to default gems
-
10:16 PM Revision fb7fe7f1 (git): Added rubygems url for published gem
-
10:16 PM Revision ec2603c3 (git): fallback standard structure library to sync_lib_gem method
-
10:16 PM Revision 91135f6d (git): Promote singleton to default gems
-
10:12 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- Fixed in 40e161a61238625e1ef021311759b2159be5b50a
-
10:08 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- RUBY_PLATFORM is `armv8l-linux-eabi` there, I'll adapt the `platform_is` guard.
-
10:07 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- About the clock_getres() specs, it seems they fail because I guess on Drone CI, clock_getres(CLOCK_PROCESS_CPUTIME_ID...
-
07:26 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- As another issue, there are 2 test failures in spec/ruby/core/process/clock_getres_spec.rb on Drone CI arm32 case.
... -
07:09 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- Shall we add debug code to investigate a random "make install" error on arm64 to `.travis.yml`?
At least we can remo... -
05:11 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- I sent a pull-request to fix following failure on Travis arm64.
https://github.com/ruby/ruby/pull/2653
```
1)
P... -
10:10 PM Revision 40e161a6 (git): Exclude some clocks on armv8 too
- * See https://bugs.ruby-lang.org/issues/16234#note-16
-
08:45 PM Feature #16295: Chainable aliases for String#-@ and String#+@
- byroot (Jean Boussier) wrote:
> phluid61 (Matthew Kerwin) wrote:
> > It doesn't exactly fit the way messages are na... -
10:59 AM Feature #16295: Chainable aliases for String#-@ and String#+@
- phluid61 (Matthew Kerwin) wrote:
> It doesn't exactly fit the way messages are named in Ruby, but how about:
>
> ... -
05:53 PM Revision a1be11eb (git): Revert "Remove arm64 from allow_failures"
- This reverts commit 212f4d49bac844b3c0fa52f2185b3df30aa62e75.
It worked on PR, but master branch builds have another... -
05:10 PM Revision 212f4d49 (git): Remove arm64 from allow_failures
- 05:09 PM Revision 7750edd1 (git): * 2019-11-07 [ci skip]
- 05:08 PM Revision f5c7fc49 (git): Fix spawn_spec.rb for Travis arm64 environment.
- The process group id (/proc/[pid]/stat 5th field) is 0
in the Travis arm64 environment.
This is a case where it is a... -
11:09 AM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- > I think we all agree this is a good way to "deprecate" methods returning mutable strings and let them return frozen...
-
10:49 AM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- Dan0042 (Daniel DeLorme) wrote:
> And for that I think it's necessary to handle the situation of `str = str.dup if s... -
10:37 AM Feature #16150: Add a way to request a frozen string from to_s
- hsbt (Hiroshi SHIBATA) wrote:
> This discussion started with "how big the incompatibility is?" at https://bugs.ruby-... -
10:27 AM Feature #16150: Add a way to request a frozen string from to_s
- duerst (Martin Dürst) wrote:
> I didn't find the text "a possible incompatibility reported by one user" anywhere in ... -
12:34 AM Feature #16150: Add a way to request a frozen string from to_s
- This discussion started with "how big the incompatibility is?" at https://bugs.ruby-lang.org/issues/16150#note-18
... -
12:29 AM Feature #16150: Add a way to request a frozen string from to_s
- Just to cross-check:
Eregon (Benoit Daloze) wrote:
> I find it frustrating that the change is reverted without ... -
03:46 AM Bug #16293 (Closed): Numbered parameter confirmation in Ruby 2.7
- Applied in changeset commit:git|82e840ad15bba42b399a21de746967a731240ec2.
----------
Numbered parameter cannot appea... -
03:45 AM Bug #16293: Numbered parameter confirmation in Ruby 2.7
- > ```ruby
> def _1; end
>
> # expected: warning: `_1' is used as numbered parameter
> # actual: No warning
> # ... -
12:58 AM Bug #16293: Numbered parameter confirmation in Ruby 2.7
- Thank you all.
I updated text. -
03:45 AM Revision 2fd46554 (git): Numbered parameter is an ID_LOCAL now [Bug #16293]
-
03:44 AM Revision 82e840ad (git): Numbered parameter cannot appear outside block now [Bug #16293]
-
02:17 AM Revision f72dc407 (git): Prohibit calling undefined allocator [Bug #16297]
-
02:16 AM Bug #16297 (Closed): calling undefined allocator by `Class.instance_method(:allocate)`
- For instance, `Rational.allocate` is undefined.
```ruby
Rational.allocate #=> undefined method `allocate' for Rat... -
01:11 AM Feature #16294: Make MatchData frozen and forbid MatchData.allocate
- I'm not against the proposal itself, but is it okay to introduce an incompatibility at this time? cc: @naruse
-
12:05 AM Feature #16294: Make MatchData frozen and forbid MatchData.allocate
- It would be OK to remove `MatchData.allocate`, I think.
And `Regexp.allocate` too, but rubyspec has a couple of code... -
12:04 AM Feature #16294 (Closed): Make MatchData frozen and forbid MatchData.allocate
- Applied in changeset commit:git|aa94245a09887f95bc0cd353b3462108d76d13ed.
----------
Undefine MatchData.allocate [Fe... -
12:56 AM Feature #16296: Alternative behavior for `...` in method body if `...` is not in method definition
- This proposal would change ... though and add a new meaning.
People then have to remember that ... can be omitted in... -
12:46 AM Revision 5251d189 (git): Time#strftime does not support `%Q`
- ```
% ruby -r date -e 't=Time.utc(2001,2,3,4,5,6,7);p t; p [t, t.to_date, t.to_datetime].map{|d|d.strftime("%Q")}'
20...
11/05/2019
-
11:54 PM Revision aa94245a (git): Undefine MatchData.allocate [Feature #16294]
-
10:24 PM Feature #16150: Add a way to request a frozen string from to_s
- I'm sorry if the above is rude.
I find it frustrating that the change is reverted without much else than "a possib... -
09:30 PM Feature #16150: Add a way to request a frozen string from to_s
- naruse (Yui NARUSE) wrote:
> As already Matz stated, I reverted this at bea322a3.
So you reverted without a singl... -
11:00 AM Feature #16150: Add a way to request a frozen string from to_s
- If that change is reverted, could we make it a deprecation instead?
Any idea how such deprecation warning would be... -
08:38 AM Feature #16150 (Open): Add a way to request a frozen string from to_s
- Eregon (Benoit Daloze) wrote:
> I agree it's not ideal, but I also feel it's really not the biggest problem for Ruby... -
09:16 PM Feature #16103: Make the dot-colon method reference frozen
- FWIW, I think it would be better to freeze all Method and UnboundMethod objects.
Is there any use-case for adding in... -
09:12 PM Feature #16295: Chainable aliases for String#-@ and String#+@
- I like `#dedup` for `String#-@`, partly for the relation with `#dup`.
For `String#+@`, I'd propose `#buffer` like ... -
08:56 PM Feature #16295: Chainable aliases for String#-@ and String#+@
- It doesn't exactly fit the way messages are named in Ruby, but how about:
```ruby
alias -@ frozen
alias +@ thawe... -
04:33 PM Feature #16295: Chainable aliases for String#-@ and String#+@
- I agree that + and - are not very elegant, as names. They are not very meaningful (as names).
On the other hand th... -
01:44 PM Feature #16295 (Closed): Chainable aliases for String#-@ and String#+@
- Original discussion https://bugs.ruby-lang.org/issues/16150?next_issue_id=16147&prev_issue_id=16153#note-40
In #16... -
04:53 PM Feature #16296 (Open): Alternative behavior for `...` in method body if `...` is not in method definition
- In #16253 we settled on a syntax where the remainder arguments captured via `...` in the method definition can be for...
-
04:24 PM Revision 7460c884 (git): Use an identity hash for pinning Ripper objects
- Ripper reuses parse.y for its implementation. Ripper changes the
grammar productions to sometimes return Ruby object... -
04:18 PM Bug #16293: Numbered parameter confirmation in Ruby 2.7
- The present behaviour:
```ruby
def _1; end
```
seems correct and osyo's example of expecting a warning instea... -
01:05 PM Bug #16293: Numbered parameter confirmation in Ruby 2.7
- It is difficult for me to analyze this ticket, too. Could you write your expectations and the actual results?
```... -
12:56 PM Bug #16293: Numbered parameter confirmation in Ruby 2.7
- I couldn't understand your request. Please summarize actual and expect behavior with your request.
-
12:14 PM Bug #16293 (Closed): Numbered parameter confirmation in Ruby 2.7
## Overview
I want to make a final check on the behavior of Numbered parameter( No warning or Warning or Error)....- 03:39 PM Revision d47b6434 (git): * 2019-11-06 [ci skip]
- 03:31 PM Revision 07f2062c (git): Improve string literal concatenation for C++11
- Downstream C++ projects that compile with C++11 or newer and include
the generated config.h file issue compiler warni... -
01:32 PM Feature #14430: net/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
- We've been recently bitten by this.
Does the merge of [#15553] makes https://github.com/ruby/ruby/pull/1806 functi... -
12:59 PM Feature #16294 (Closed): Make MatchData frozen and forbid MatchData.allocate
- Currently, `MatchData.allocate` is allowed, but almost every MatchData method called on it `raise TypeError, 'uniniti...
-
12:20 PM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16293] Numbered parameter confirmation in Ruby 2.7
* Numbered parameter confirmation in Ruby 2.7 -
12:06 PM Revision 6aacef49 (git): Assert return value of Readline.readline only if Ruby is before 2.7
-
11:57 AM Revision c4b627e2 (git): Only taint on Ruby <2.7
- Ruby 2.7 deprecates taint and it no longer has an effect.
-
11:54 AM Revision 652800cc (git): Only untaint line on Ruby <2.7
- Untaint is deprecated and has no effect on Ruby 2.7+.
-
11:38 AM Feature #16275: Revert `.:` syntax
- I'm also in favor of what Tim stated but at the same time, I want to point out, that the way it is now is not optimal...
-
09:35 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- Makes sense to me what mame wrote, so +1; marcandre's suggestion for a deprecation-specific
notice makes sense as we... -
09:23 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- NOTE: warning message should be improved if this is deprecated before 2.7.0.
-
03:30 AM Feature #13083 (Open): Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- Eregon (Benoit Daloze) wrote:
> shugo (Shugo Maeda) wrote:
> > Code like `/regex/ =~ str` has often been used when ... -
08:43 AM Revision c6a52cff (git): Separated `@counter` and `@tally` so that "-ft" works with "-j"
-
08:42 AM Revision fa52a924 (git): Enable "-f" option in multi_exec mode
- Make `MultiFormatter` a module and extend the formatter specified
by "-f" option. -
08:42 AM Revision 19f91f78 (git): `DottedFormatter#finish` consistency
- Rmoved optional parameter `printed_exceptions`, and clear
`exceptions` just after printing each exception, instead. -
08:42 AM Revision dfb3322d (git): `DottedFormatter#state` consistency
- Let the method of `DottedFormatter` subclasses have the same
arity. -
08:30 AM Revision bea322a3 (git): Revert "[EXPERIMENTAL] Make Symbol#to_s return a frozen String [Feature #16150]"
- This reverts commit 6ffc045a817fbdf04a6945d3c260b55b0fa1fd1e.
-
07:46 AM Feature #16290: Add Ruby C API to acquire aligned memory
- naruse (Yui NARUSE) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> > I'm not in favor of this. There are many ways to... -
07:26 AM Feature #16290: Add Ruby C API to acquire aligned memory
- shyouhei (Shyouhei Urabe) wrote:
> I'm not in favor of this. There are many ways to allocate a memory region, like ... -
01:41 AM Feature #16290: Add Ruby C API to acquire aligned memory
- I'm not in favor of this. There are many ways to allocate a memory region, like mmap(2). Do we have to provide ruby...
-
07:01 AM Feature #16146: Array .difference allow custom comparison
- jonathanhefner (Jonathan Hefner) wrote:
> duerst (Martin Dürst) wrote:
> > Well, that assumes that the block return... - 06:31 AM Revision 853d91a0 (git): Fix coroutine support on win32
- Ruby master branch currently fails on win32 MINGW at this spec:
https://github.com/ruby/spec/blob/master/core/thread/... -
05:33 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
- I don't have a control on docs.ruby-lang.org. Please file another ticket or issue on https://github.com/ruby/docs.rub...
-
04:46 AM Revision 7c073004 (git): let the .bss section initialize static variables
- ISO/IEC 9899:1999 section 6.7.8 specifies the values of static
storage which are not explicitly initialized. Accordi... -
02:39 AM Revision 6ff12507 (git): rb_method_basic_definition_p with CC
- Noticed that rb_method_basic_definition_p is frequently called.
Its callers include vm_caller_setup_args_block(),
rb_... -
01:49 AM Feature #16291: Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types
- Years ago I thought we don't need any per-class extension of rb_obj_freeze. However it seems rb_str_freeze is a thin...
-
01:29 AM Bug #16292 (Closed): Allow RDoc & YARD to find Encoding class doc's
- Applied in changeset commit:git|8869384367a1b5e856b2f4b7b7d56296c71a572c.
----------
Moved Init_encoding from wrong ... -
01:28 AM Revision 1390d56e (git): Set $JOBS to Tests for parallel tests
-
01:28 AM Revision 88693843 (git): Moved Init_encoding from wrong place [Bug #16292]
-
01:09 AM Revision 30a74aae (git): Fix a typo in WARN_EOL
11/04/2019
-
11:45 PM Revision c7632fa8 (git): Do not occupy `ARGV` by XRUBY command
- Instead run test-bundled-gems.rb by `ENV['RUBY']`, which should be
set by runruby.rb. -
11:27 PM Revision ebbe396d (git): Use ident hash for top-level recursion check
- We track recursion in order to not infinite loop in ==, inspect, and
similar methods by keeping a thread-local 1 or 2... -
11:07 PM Revision 7c3bc0aa (git): Put an empty line [ci skip]
-
11:03 PM Revision 74bb8fb3 (git): More rdoc for ENV
-
09:49 PM Bug #16288: Segmentation fault with finalizers, threads
- ```
modified lib/timeout.rb
@@ -94,7 +94,7 @@ def timeout(sec, klass = nil, message = nil) #:yield: +sec+
... -
05:11 PM Bug #16288: Segmentation fault with finalizers, threads
- mame (Yusuke Endoh) wrote:
> Thank you for the report and the great investigation! I could reproduce the issue by u... -
09:35 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- Actually, after rereading what Jonathan wrote, he referred not to "true" values
per se, but as to whether "non nil v... -
09:32 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- Jonathan recently added this to the upcoming developer discussion (at https://bugs.ruby-lang.org/issues/16262),
in r... -
09:35 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- > Ruby having a single nil, instead of JavaScript's null and undefined, is a net benefit, in my opinion.
undefine... -
05:42 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- bughit (bug hit) wrote:
> The penalty the language pays is it has a demoware, checklist item, default value feature,... -
05:00 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- > The "penalty" I pay for this is one line of code
The penalty the language pays is it has a demoware, checklist i... -
03:22 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- alanwu (Alan Wu) wrote:
> Since the beginning of time (correct me if I'm wrong), the two falsy values in Ruby has be... -
10:24 AM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- The "penalty" I pay for this is one line of code like `period = Undefined.default(period, :day)`. Given this doesn't ...
-
09:13 PM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #15323] Enumerable#filter_map
* This feature has already been merged, but there may have been some conf... -
08:57 PM Feature #15899: String#before and String#after
- I use monkey-patched versions of these in many of my Ruby scripts. They have a few benefits vs. the alternatives:
... -
07:43 PM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
- Related to this change, would it be possible to redirect https://docs.ruby-lang.org/en/trunk/ to https://docs.ruby-la...
-
07:25 PM Feature #16146: Array .difference allow custom comparison
- duerst (Martin Dürst) wrote:
> Well, that assumes that the block return values can be ordered. But it's easy to crea... -
05:51 PM Bug #16292 (Closed): Allow RDoc & YARD to find Encoding class doc's
- Documentation code (RDoc, YARD) cannot pick up the class comments for Encoding after the following commit:
https://g... -
05:14 PM Revision 9d04fa71 (git): Updated minitest to 5.13.0
-
05:12 PM Revision c0c9a00f (git): Simplify test tasks
- Removed `if` conditions separating `test-bundled-gems`, and pass
`TESTOPTS` and `TEST_BUNDLED_GEMS_ALLOW_FAILURES` vi... -
05:05 PM Revision 929a4aa7 (git): Adjust a fucntion signature
-
04:58 PM Revision ec54261b (git): Fix zero free objects assertion
- This commit is to attempt fixing this error:
http://ci.rvm.jp/results/trunk-gc-asserts@ruby-sky1/2353281
Each non... -
04:41 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- > > If they only warn once, they are not that annoying, and people may be less inclined to fix the issue.
>
> It's... -
04:32 PM Revision a087e027 (git): Fixed conditional expressions with only one void side
-
04:17 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- Eregon (Benoit Daloze) wrote:
> For this discussion, I would focus on having this for Strings only initially.
Fai... - 03:07 PM Revision bd3463ee (git): * 2019-11-05 [ci skip]
-
03:05 PM Revision 4e8336ba (git): Share test-bundled-gems-run in common.mk
-
02:37 PM Revision e91e3274 (git): Keep `lex.pcur` after `looking_at_eol_p`
-
02:31 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- I like to share my investigation about below issue (random error) at "make install" on arm64 environment.
https://... -
02:17 PM Revision 26316cc3 (git): Warn `if` and `elsif` at EOL [EXPERIMENTAL]
- It is unnatural and probably a typo.
-
01:51 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- Is there a benefit to the change apart from consistency? A concrete benefit I mean.
-
01:45 PM Feature #16291 (Assigned): Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types
- References Github PR https://github.com/ruby/ruby/pull/2640
### Why?
While working on https://github.com/ruby/r... -
01:27 PM Revision c303854e (git): Revert "Warn `if` and `elsif` at EOL [EXPERIMENTAL]"
- This reverts commit ba35c14325ebbf1da8f200df83c45ee9937ff8a1.
This is because ripper fails symbol lookup error. -
12:39 PM Revision ba35c143 (git): Warn `if` and `elsif` at EOL [EXPERIMENTAL]
- It is unnatural and probably a typo.
-
09:16 AM Feature #16290 (Closed): Add Ruby C API to acquire aligned memory
- Related to https://github.com/ruby/ruby/pull/2614
I have required to acquire aligned memory in Ruby C-extension li... -
08:12 AM Revision cf377c55 (git): Fix a typo [ci skip]
-
07:38 AM Revision ffa92980 (git): Fixed a typo
-
12:40 AM Revision 823f25bb (git): sync_default_gems.rb: Show the progress at fetching
- It looks like hanging up when fetching from a remote first time.
-
12:28 AM Revision cbbdb4e5 (git): [ruby/racc] Strip trailing whitespaces at the last line of actions
- https://github.com/ruby/racc/commit/a887ebe529
- 12:18 AM Revision 046be65c (git): * 2019-11-04 [ci skip]
-
12:14 AM Revision df62d652 (git): Use the dedicated function `rb_io_check_io`
11/03/2019
-
06:57 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- > For this purpose I built a special value a while ago
What purpose? Surely you understand that your special value... -
04:58 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- For this discussion, I would focus on having this for Strings only initially.
I don't think it's about the "grand de... -
04:52 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- Dan0042 (Daniel DeLorme) wrote:
> Since returning a frozen string from Symbol#to_s [was reverted](https://bugs.ruby-... -
02:20 PM Revision 5a7487bd (git): Added assertions for linebreak
-
02:18 PM Revision 7b2cd548 (git): [DOC] mentioned `\R` [ci skip]
-
01:53 PM Revision f8b3d7d1 (git): [DOC] \s in regexp is not same as in string [ci skip]
-
10:31 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- shugo (Shugo Maeda) wrote:
> Code like `/regex/ =~ str` has often been used when `str` may be `nil`, and such code h... -
10:18 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- kachick (Kenichi Kamiya) wrote:
> How about https://github.com/ruby/ruby/pull/2637?
I merged that PR, thank you.
... -
12:35 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- matz (Yukihiro Matsumoto) wrote:
> Thank you for the input. If you can provide a more detailed situation, it would b... -
10:25 AM Revision 782d1b8f (git): Fix warnings in Regexp#{match,match?} specs
-
10:14 AM Revision fbacfe68 (git): Update NEWS entry for Feature #13083
-
10:14 AM Revision 4a166237 (git): Remove incorrect NEWS entry, only Regexp#match and #match? changed
- 10:03 AM Revision 985e6ced (git): * 2019-11-03 [ci skip]
-
10:03 AM Revision 31110d82 (git): Improve warning message
- https://github.com/ruby/ruby/pull/2637#discussion_r341812475
-
10:03 AM Revision 452bee3e (git): Revert nil error and adding deprecation message
11/02/2019
-
03:47 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- > If they only warn once, they are not that annoying, and people may be less inclined to fix the issue.
It's a war... -
12:56 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- What's the performance with this patch for a call site that would warn?
```
$ chruby ruby-2.7.0-preview2
$ ruby ... -
08:00 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- What I worry about is Jeremy's comment in the PR:
> In terms of idea, whether we want this feature depends on how ... -
01:14 PM Feature #16150: Add a way to request a frozen string from to_s
- The plan is Rails 6 users can update to Rails 6.0.1 and Rails 5.2 users can update to Rails 5.2.4 (assuming 5.2.4 wil...
-
10:06 AM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- For this purpose I built a [special value](https://github.com/dry-rb/dry-core/blob/99e4035148af729298430aefe85b4c93cb...
-
12:32 AM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- Since the beginning of time (correct me if I'm wrong), the two falsy values in Ruby has been `false` and `nil`, perio...
-
06:32 AM Revision 772b0613 (git): Correct documented return values for certain ENV methods (#2620)
-
01:22 AM Bug #16288: Segmentation fault with finalizers, threads
- Thank you for the report and the great investigation! I could reproduce the issue by using your example: https://git...
11/01/2019
-
11:55 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- It's conceivable that it can be done without a keyword, there are other way to refer to special values.
However wh... -
09:55 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- bughit (bug hit) wrote:
> The value would be `missing`. Adding something like `missing` to the language would need t... -
09:33 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- > Other than arity, it seems like you would want to use the new argument forwarding syntax
I didn't know about new... -
07:21 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- Other than arity, it seems like you would want to use the new argument forwarding syntax:
```ruby
def foo(default... -
07:02 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
- Compared to javascript default arg values are far less useful in ruby because of the lack of this forwarding capabili...
-
11:37 PM Feature #16150: Add a way to request a frozen string from to_s
- This issue is also fixed on Rails 5.2 and will be released in the next version of Rails.
Users of any version of R... -
11:16 PM Feature #16150: Add a way to request a frozen string from to_s
- >So if that issue is caused by Rails, it should be fixed before any stable release of Ruby 2.7 comes out.
This cha... -
05:56 PM Feature #16150: Add a way to request a frozen string from to_s
- @rafaelfranca told me Rails 6.0.1 is scheduled for November 5, way before the Ruby 2.7 release (see https://weblog.ru...
-
05:43 PM Feature #16150: Add a way to request a frozen string from to_s
- hsbt (Hiroshi SHIBATA) wrote:
> This change must be reverted.
I don't think it's fair to decide that on your own,... -
08:54 AM Feature #16150: Add a way to request a frozen string from to_s
- OK, frozen `Symbol#to_s` should be reverted. Maybe we can challenge in the future (with the deprecation process first...
-
12:55 AM Feature #16150: Add a way to request a frozen string from to_s
- This change must be reverted.
I got the issue report from Heroku users.
https://github.com/heroku/heroku-buildp... -
07:20 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- How about https://github.com/ruby/ruby/pull/2637?
-
06:02 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- I think everyone agrees this is too breaking (just look at how many call sites need to be changed in Rails and other ...
-
04:05 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- The detailed situation.
Rails and other libraries and codebases rely on `/regex/.match?(nil)` to return false. Thi... -
08:51 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- Thank you for the input. If you can provide a more detailed situation, it would be better.
Matz.
-
03:44 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- +1 for deprecation too. My text editor had been broken by this change, and Vim was needed to fix it.
-
02:46 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- +1 for deprecation. The removal is too harsh.
-
02:41 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- I am 100% with Rafael here, this is a very risky change, Rails and Sprockets are only a couple of projects, there wil...
-
04:14 PM Bug #16288: Segmentation fault with finalizers, threads
- A little bit more data:
I added some more debugging statements, and I found that the main thread goes from being m... -
03:50 PM Bug #16286 (Closed): DateTime.parse timezone errors
- 03:15 PM Revision e6f0fd8a (git): * 2019-11-02 [ci skip]
-
03:11 PM Revision ea979336 (git): Use prompt_list to calculate height by lines
-
01:56 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
- Since returning a frozen string from Symbol#to_s [was reverted](https://bugs.ruby-lang.org/issues/16150#change-82420)...
-
01:26 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- > It leads a memory leak.
Theoretically, yes. Even if iseqs of caller or callee are free'd, the corresponding rec... -
07:03 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- It leads a memory leak.
And different warnings won't be suppressed too? -
04:38 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- Definite +1 for me. I thought there was already an issue about this but looks I was mistaken.
-
03:29 AM Feature #16289 (Closed): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- ## Problem
Currently, the interpreter emits 200 lines of warnings against the following program.
```ruby
def f... - 09:40 AM Revision 10c2a085 (git): Clean up implementation of SOCKSSocket, its confusing and undocumented
- 09:39 AM Revision 68e0bfcd (git): Prefer libsocksd over libsocks
- 09:39 AM Revision b8004103 (git): Support libsocksd socks library for SOCKSSocket
-
09:37 AM Revision c56d8dea (git): Mention correct class name in uninitialized error
- I think this meant to mention `MatchData`? This is a breaking change, but
should be a minor one. -
09:33 AM Revision cc8116b0 (git): Fix a typo [ci skip]
-
08:30 AM Revision 6abf4c48 (git): [ruby/date] Added update-zonetab target
- https://github.com/ruby/date/commit/9bc6e30a82
-
08:30 AM Revision b2126d3f (git): [ruby/date] Remove unneeded line in update-abbr
- https://github.com/ruby/date/commit/ae14e5f293
-
08:30 AM Revision 46954530 (git): [ruby/date] Add more timezone abbreviations
- This gets the time zone abbreviations from
https://www.timeanddate.com/time/zones/, and adds unambiguous time
zones n... - 07:59 AM Revision 51825c04 (git): * 2019-11-01 [ci skip]
-
07:58 AM Revision 72f997ed (git): mark functions that do not return NULL as such.
- Apply __attribute__((__returns_nonnull__)) when available.
-
07:58 AM Revision f5e40632 (git): ruby_mimmalloc can return NULL
- malloc can fail. Should treat such situations.
-
07:58 AM Revision fb495b29 (git): rb_aligned_malloc can return NULL
- Looking at gc.c, rb_aligned_malloc contains `return NULL;` so it
has to be taken care of. Note however that posix_me... -
07:58 AM Revision 2c889e9b (git): RUBY_ATTR_ALOC_SIZE for clang
- clang also supports __attribute__((__alloc_size__)) so why not use
it when the compiler says it does. -
02:42 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
- I can think of other cursed usages of private taking a block.
```ruby
class Foo
Bar = proc do
Baz = 1
... -
01:54 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
- Oh! Looks like I missed that part of the proposal! Now the `def o.hello; end` question makes a lot more sense. Sorry,...
10/31/2019
-
11:02 PM Bug #16288 (Closed): Segmentation fault with finalizers, threads
- Hi,
This is a tricky one and I am still working on narrowing it down, but I will report what I have so far.
I c... -
10:37 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- I know this change is to make the code consistent but this is a backward incompatible change and I don't think it sho...
-
07:30 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
- The extra complication comes from this part of the original proposal:
```ruby
private do
def self.some_private... -
07:11 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
- > There is no problem with fibers/threads currently, because the visibility is stored in the scope (not in the class ...
-
06:08 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
- Dan0042 (Daniel DeLorme) wrote:
> Ok, but how is this different from the regular syntax? The exact same issue applie... -
05:43 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
- Ok, but how is this different from the regular syntax? The exact same issue applies to this:
```ruby
class A
end... -
03:10 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
- Dan0042 (Daniel DeLorme) wrote:
> Also I'd like to ask how fibers are relevant to this? When the `private` method to... -
01:35 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
- I don't see why all the opposition to this. It's a very simple, very intuitive and clear syntax. It fits well with th...
-
05:27 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
- adh1003 (Andrew Hodgkinson) wrote:
> duerst (Martin Dürst) wrote:
>
> > > class Foo
> > > def bla
>... -
05:03 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
- I have no strong opinion against this issue. In #7019, I just said that it was too late to introduce the feature int...
-
07:03 PM Bug #16286: DateTime.parse timezone errors
- shyouhei (Shyouhei Urabe) wrote:
> Curious where were those abbreviation from. According to `git log -G`, It was in... -
02:25 AM Bug #16286: DateTime.parse timezone errors
- Curious where were those abbreviation from. According to `git log -G`, It was introduced in this commit https://gith...
-
12:46 AM Bug #16286 (Closed): DateTime.parse timezone errors
- Trying to parse a DateTime using Australian time zone abbreviations doesn't work:
```
>> DateTime.parse('2019-10-... -
07:02 PM Feature #10911: IPAddr.new should ignore zone identifiers
- Dan0042 (Daniel DeLorme) wrote:
> So "fe80::1%fxp0" is not even recognized as an IP address. This could result in un... -
06:37 PM Feature #10911: IPAddr.new should ignore zone identifiers
- Looks like this testcase was in the original IPAddr commit from 2002:
```
commit 9ec0a96ad4235f2054976eab6c04efbe62... -
04:23 PM Feature #10911: IPAddr.new should ignore zone identifiers
- I don't think this is a bug. The decision to not support zone identifiers seems deliberate as there are tests that u...
-
05:38 PM Bug #16285 (Closed): Setting mtime to zero on Zlib::GzipWriter does nothing
-
05:12 PM Bug #14119: IPAddr#include? does not seem to support the subnet mask
- I'm not sure this is a bug, but it certainly seems like a bug to me. `IPAddr#include?` must consider the netmask of ...
-
04:51 PM Bug #11531: IPAddr#== implements wrong logic
- I am not sure whether this is a bug. `eql?` considers the netmask, but `==` does not. So if you want to consider the...
-
01:47 PM Feature #16287: Proposal to add .second and .third in particular to class Array
- If I need such repeating accesses, I'll use `values_at` instead.
Probably, the word `first` is misleading.
If it ... -
12:23 PM Feature #16287 (Open): Proposal to add .second and .third in particular to class Array
- I meant to suggest this earlier, but then I think I did not; if I actually did, then please excuse my forgetfulness a...
-
01:24 PM Revision 63f70eb6 (git): [ruby/zlib] Removed no longer used variables
- https://github.com/ruby/zlib/commit/3e98e4cac3
-
01:23 PM Revision 0aaa15f6 (git): [ruby/zlib] Fix setting mtime to zero in GzipWriter
- Before this change, it was not possible to write out zero for the
timestamp part of a Gzip file's header, as calling ... -
09:33 AM Bug #16284: Net/HTTP consuming multiple times more memory compared to other libraries
- Hey Yusuke, thanks for checking this out. I have tried this out on my friends machines and one of them has exactly th...
-
08:55 AM Bug #16281 (Closed): `irb -w` issues warning
- This is fixed by commit:d6ed7a984c8fd991ce2614d2f228239f8eb490b5. Thank you for reporting and patch!
-
08:51 AM Revision d6ed7a98 (git): Fix verbose warning being emitted
- Fixes Ruby Bug 16281.
-
08:11 AM Revision 5f6fbf87 (git): spec: Fix syntax errors
- Follow up of 473882e01f7e55753733e2607ace633b5041f11f
-
07:50 AM Revision 473882e0 (git): Skip tainted examples for stringio
-
07:24 AM Revision ebc88446 (git): [ruby/stringio] 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... -
06:51 AM Revision 3895e548 (git): [ruby/date] Revert "Simplify #inspect"
- This reverts commit af01edd7d8575f544f647dbe8cde5b6ae535d459.
Revert requested by Yui Naruse.
https://github.com/ru... - 06:51 AM Revision fce940aa (git): [ruby/date] introduce Date::Error, raise Date::Error for every
- "invalid <anything>" type of exception
https://github.com/ruby/date/commit/3e55c09ba4 -
06:41 AM Revision e4cd0d72 (git): [ruby/fileutils] Remove use of untaint on Ruby 2.7 to avoid deprecation warnings
- https://github.com/ruby/fileutils/commit/5ac9a8a1f7
-
06:34 AM Revision 39281d57 (git): [ruby/gdbm] Use Gemfile instead of Gem::Specification#add_development_dependency.
- https://github.com/ruby/gdbm/commit/bd2e7f6647
-
06:34 AM Revision b93ab7d6 (git): [ruby/gdbm] 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... -
06:34 AM Revision 290903db (git): [ruby/zlib] 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... -
06:29 AM Feature #16272 (Closed): Update Unicode Emoji version to 12.1
- It turned out that for Ruby, the only thing that changed was that there are some more tests.
Implemented with http... -
06:19 AM Revision bc7fbb6f (git): Mention update to Unicode Emoji version 12.1 in NEWS.
- Also fixed some grammatical errors. [ci skip]
-
06:14 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
- For people who haven't yet switched from trunk to master, when you push, you'll get a message saying:
```
remote:... -
04:23 AM Feature #6362: Modular exponentiation/inverse
- FYI:
* Modular exponentiation is implemented in Ruby 2.5 . https://ruby-doc.org/core/Integer.html#method-i-pow
*... -
01:19 AM Revision c38ba757 (git): Fixed the sync task for json
- * Ignode to change ext/json/depend
* Fixed to ignore json_pure files -
01:05 AM Revision 79d96b42 (git): Revert "Fix zero free objects assertion"
- This reverts commit e1bf29314feee6aaf535917da0178e868e7ff3fa.
I'm not sure why this broke stuff, I need to investiga... -
12:28 AM Revision e1bf2931 (git): Fix zero free objects assertion
- This commit is to attempt fixing this error:
http://ci.rvm.jp/results/trunk-gc-asserts@ruby-sky1/2353281
Each non...
Also available in: Atom