Activity
From 03/07/2020 to 03/13/2020
03/13/2020
-
08:26 PM Feature #16665: Add an Array#except_index method
- Dan0042 (Daniel DeLorme) wrote in #note-9:
> That implementation would return an empty array for `[true,nil,nil].exc... -
02:30 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
- ruby_2_7 e85d49e4a91a3ca007468a23d8568f7f886e7e5b.
-
02:28 PM Bug #16639: ARGF.each_line(chomp: true) cannot call without warning
- ruby_2_7 3e7e1b965b06f3c843972d7e2f6e3d040374d67f.
-
02:27 PM Bug #16689: [BUG] try to mark T_NONE object
- The repro also crashes on a [recent master](https://github.com/ruby/ruby/commit/de15a26e9e297c9cc3171b1d40ef7776ca583...
-
02:26 PM Bug #16634: DRb remote method call with keyword argument occurs warning message of deprecated on Ruby 2.7.0, and fails on Ruby 2.8.0dev
- ruby_2_7 2339be74e737b4c5f5330f845af2e7db0c7450e1.
-
02:26 PM Bug #16607: retried require does not raise Exception even if a library has SyntaxError
- ruby_2_7 c7e0ce67430b5e312eb626a2c2f4b6a810b3b68b.
-
02:26 PM Bug #16681: Backport commit related libffi url
- ruby_2_7 6a2d779027818eda418c9118f700b36816e833a5.
-
02:26 PM Bug #16509: puts from a thread seem to be missing linefeed when run in ruby 2.7.0 console
- ruby_2_7 60d98fad86da1ada204c53789431ac0f5f3390ff.
-
02:09 PM Misc #16661: DevelopersMeeting20200316Japan
- Sorry for adding tickets past the deadline, but I believe these 3 bugs warrant being addressed in the upcoming 2.7.1 ...
-
02:08 PM Misc #16661: DevelopersMeeting20200316Japan
- * [Bug #16689] [BUG] try to mark T_NONE object (byroot)
* Cause Ruby to crash when the heap gets past a certain si... -
12:53 PM Bug #16596: racc does not install grammar.en.rdoc
- ruby_2_7 047dfbdf69e1a300109c729c66b6a761032402dd.
-
12:48 PM Bug #16516: [BACKPORT] AST locations with numbered parameter
- ruby_2_7 d5c84cf9769101eb14e379330e5b211a568bf020.
-
12:40 PM Bug #16514: Documentation mistake for method syntax (splat/array parameter)
- ruby_2_7 3c93ed59773ca547239850d16f06451afbb0aeec.
-
12:38 PM Bug #16616: Large RUBY_THREAD_VM_STACK_SIZE causes segmentation fault
- ruby_2_7 1ead0268811c230897f32c5dbf58511000e8d6c6.
-
12:27 PM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
- ruby_2_7 9820f9ee0aaccd78e6e0489e8915d3925c6ee97c.
-
12:27 PM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
- ruby_2_7 a930174d798b58ee10493bf192d277ffe08518a7.
-
12:26 PM Bug #16624: Backport de3883e7823c89ce90d7661ef5bb3b7eb60968db
- ruby_2_7 95ab9cd8f453099d7649dc0e0eec55ea891340f5 [Backport #16624].
-
12:24 PM Bug #16598: Backport af899503 to ruby_2_7
- ruby_2_7 716e05b82338d75452e86c999ae3e5874a642ecd [Backport #16598].
-
12:23 PM Bug #16406: `(lambda_proc << normal_proc).lambda?` should return false
- ruby_2_7 52bb32d6b71365cb24273de3eed5a712206815f3 [Backport #16406].
-
12:16 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
- ruby_2_7 8e8841f6bf58031a1fe5b0dbacb5a1fb442102df.
-
09:19 AM Bug #16677 (Closed): Negative integer powered (**) to a float number results in a complex
- I vote for keeping precedence, for compatibility's sake. All other things (e.g. consistency between languages) are tr...
-
04:34 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
- wolframalpha.com
```
-2**4 =
-16
```
```
-2^4 =
-16
```
03/12/2020
-
11:36 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- Dan0042 (Daniel DeLorme) wrote in #note-14:
> But a quick search in gems shows things like `Time.at(-2**63)` where i... -
06:04 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- In math exponentation is expressed as superscript; there's no exponentation "operator" per se, afaik. So `-2²` is `-(...
-
06:30 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
- As far as I know there is no strictly correct math rule for evaluating `-2 ** 2.2` to `-(2 ** 2.2)` or `(-2) ** 2.2`....
-
01:14 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
- > I also expect `(-2) ** 2.2` rather than `-(2 ** 2.2)`.
Sorry, I reversed each of them. I expect the current beh... -
12:50 AM Bug #16677: Negative integer powered (**) to a float number results in a complex
- I also expect `(-2) ** 2.2` rather than `-(2 ** 2.2)`.
How you think, @matz? -
01:03 PM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
- I have a potential fix for this issue: https://github.com/ruby/ruby/pull/2960
-
12:38 AM Misc #16661: DevelopersMeeting20200316Japan
- It seems there is a few tickets, so I'll show the current guild progress and spec.
I'll prepare something to discuss...
03/11/2020
-
11:47 PM Feature #16688: Allow #to_path object as argument to system()
- +1, this would be useful and the lack of it caused a few bugs when moving some code to using `Pathname`.
-
08:29 PM Feature #16688: Allow #to_path object as argument to system()
- I do not have a strong opinion either way; I myself sort of just use `Dir[]`
rather than `Pathname` (I just love `Dir... -
05:38 PM Feature #16688: Allow #to_path object as argument to system()
- I don't know the downsides, just that `Pathname#to_str` was specifically _removed_ 10 years ago: #1970
So I imagine ... -
05:01 PM Feature #16688: Allow #to_path object as argument to system()
- I always wondered, why `Pathname` doesn't define `to_str`?.. It seems to be a perfectly suitable option: implicit con...
-
03:23 PM Feature #16688 (Open): Allow #to_path object as argument to system()
- I often work with Pathname objects, but when passing them to a system command I find it a bit tedious that they have ...
-
10:02 PM Bug #16690: [BUG] Set of sets: containing set no longer believes member set is a member after mutating its member set
- That's explained in the documentation of the class: https://ruby-doc.org/stdlib-2.7.0/libdoc/set/rdoc/Set.html
> S... -
08:10 PM Bug #16690 (Rejected): [BUG] Set of sets: containing set no longer believes member set is a member after mutating its member set
- Please correct me if I'm wrong but I expected that when mutating a member set of a containing set, that that mutated ...
-
04:27 PM Bug #16682 (Closed): Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
-
04:16 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- I now think the TracePoint issue is a red herring, I figured a way to reproduce what I think is the underlying root c...
-
10:36 AM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- So I just tried your patch, it does indeed fix my reproduction script, however It doesn't fix the other crashes I rep...
-
01:05 AM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- It looks like [0c2d81da](https://github.com/ruby/ruby/commit/0c2d81dada88b5a3946c3162187df4223bfe6b4f) introduced thi...
-
04:05 PM Bug #16689 (Closed): [BUG] try to mark T_NONE object
- This kinds of superseeds https://bugs.ruby-lang.org/issues/16682. I'm now able to trigger what I believe to be the tr...
-
01:27 PM Bug #16687 (Closed): Ripper.slice FrozenError in ruby 2.5
- Trying the example from the Ripper.slice documentation:
```ruby
require 'ripper'
p Ripper.slice('def m(a) nil en... -
10:47 AM Feature #16684: Use the word "to" instead of "from" in backtrace
- I'm negative, I think `to` doesn't read well in this context.
They are still stack entries, coming *from* some file,... -
01:01 AM Feature #16684: Use the word "to" instead of "from" in backtrace
- I do not necessarily have a strong preference between "to" and "from". I am not a
native english speaker either; may... -
05:26 AM Feature #16686 (Closed): Let Net::HTTP.get take request headers
- Applied in changeset commit:git|e0512b29aa47d4b79a27b0c0356bf47ec9b4e072.
----------
Let Net::HTTP.get take request ... -
04:57 AM Feature #16686 (Closed): Let Net::HTTP.get take request headers
- When we need to write a script requesting an HTTP API with GET method which requires authentication by a request head...
-
02:09 AM Feature #3647: Array#sample(n, replace=false)
- https://github.com/ruby/ruby/pull/2956
03/10/2020
-
09:41 PM Bug #16685 (Closed): IRB auto indent does not work for single-line method definitions
- IRB auto indent does not work correctly for single line method definitions within a class. It ends up like this:
`... -
08:20 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
- Yeah, it looks like we've just got some very sloppy code as I dig into it more.
-
08:20 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- So I've built a new ruby with that dumb patch:
```
diff --git a/vm_trace.c b/vm_trace.c
index 9a604814c6..dd5a44... -
04:41 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- > A cleaner workaround (and yes I agree this doesn't fix the segfault) would be to define a finalizer on the tracepoi...
-
04:32 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- byroot (Jean Boussier) wrote in #note-6:
> ko1 (Koichi Sasada) wrote in #note-5:
> > how about to disable this TP?
... -
04:14 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- ko1 (Koichi Sasada) wrote in #note-5:
> how about to disable this TP?
`at_exit { tracepoint.disable }` indeed pre... -
03:29 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- how about to disable this TP?
-
05:55 PM Bug #16669 (Closed): Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
- Applied in changeset commit:git|2943ff9d4441485a18773aa745bab7f47767dde2.
----------
fix bug on method cache invalid... -
04:00 PM Feature #16684 (Open): Use the word "to" instead of "from" in backtrace
- The most-recent-call-last order of backtrace introduced by #8661:
```ruby
def a; raise end
def b; a end
def c; ... -
03:53 PM Feature #16597: missing poll()
- Additional patches:
- Do no throw exception form poll() because it can tell the user which exact descriptor is bad ... -
10:18 AM Feature #3647: Array#sample(n, replace=false)
- `Array#repeated_combination`, `Array#repeated_permutation` が既にあり、本件はこれと類似した内容なので、一貫性の観点から `Array#repeated_sample` という...
-
04:58 AM Feature #3647: Array#sample(n, replace=false)
- https://github.com/ruby/ruby/pull/2955
The option name is `replace` for now. -
02:43 AM Bug #13962 (Closed): Change http://unicode.org to https
- Resolved at https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/544ebc669b6b15c730d21053cc1b2f61...
03/09/2020
-
11:47 PM Bug #16683 (Closed): Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
- lamont (Lamont Granquist) wrote in #note-2:
> on ruby 2.6.5 this is the behavior of File.realpath when fed a string ... -
11:39 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
- Hmm, I was trying to update the body of the bug report with that.
Turns out that File.open was a large wild goose ... -
11:37 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
- on ruby 2.6.5 this is the behavior of File.realpath when fed a string with invalid bytes:
```
[2] pry(main)> File... -
08:21 PM Bug #16683: Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
- I can't recreate this failure on OpenBSD with 2.7.0 or the master branch, with or without a UTF-8 locale:
```
$ r... -
07:49 PM Bug #16683 (Closed): Regression in ruby 2.7 File.realpath return ASCII-8BIT for string literal with invalid characters instead of UTF-8
Real simple repro case:
```
[1] pry(main)> fp = File.open("/tmp/chef-test-\xFDmlaut", "w+")
Errno::EILSEQ: Ill...-
06:34 PM Misc #16661: DevelopersMeeting20200316Japan
- * [Bug #16677] Negative integer powered (**) to a float number results in a complex (alanwu)
* Currently `-2 ** 2` ... -
04:06 PM Misc #16661: DevelopersMeeting20200316Japan
- * [Bug #16175] Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false) (jeremyevans0)
* Do we ... -
04:49 PM Bug #4436: FileUtils verbose mode prints output to stderr
- I've submitted a pull request upstream for this: https://github.com/ruby/fileutils/pull/49
-
03:53 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- So apparently the TracePoint instance type is set to `T_NONE`. So I presume it means it was collected?
-
12:58 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- > fails the type check, exception is raised, which allocs a String for the message.
Yep, the `allocation during ga... -
12:50 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- The tracepoint instance appears to not be of type TypedData anymore, fails the type check, exception is raised, which...
-
12:29 PM Bug #16682: Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- I patched my ruby to print the exception message before it tries to allocate, and ran it a few times:
```
.wrong ... -
11:27 AM Bug #16682 (Closed): Ruby 2.7.0p0 crash on exit if there is an active RUBY_INTERNAL_EVENT_GC_EXIT tracepoint
- ```
[BUG] object allocation during garbage collection phase
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-d... -
02:57 PM Bug #15608 (Closed): What should be the correct output for Method#inspect with singleton methods?
-
02:39 PM Feature #16615: Group style access scope for macros
- Maybe a more concrete example would be helpful:
```ruby
def defc
define_method(:c){ }
end
class Foo
priva... -
02:16 PM Bug #16044 (Closed): Float::ROUNDS (FLT_ROUNDS) should not be a constant.
-
02:06 PM Misc #16678: Array#values_at has unintuitive behavior when supplied a range starting with negative index
- Negative indices have always meant "offset from the end" in ruby. So if you take a negative index and add the size of...
-
01:31 PM Feature #16665: Add an Array#except_index method
- That implementation would return an empty array for `[true,nil,nil].except_index(0)`
Probably something a bit more l... -
03:50 AM Feature #16166 (Closed): Remove exceptional treatment of *foo when it is the sole block parameter
-
12:55 AM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- I've rebased the pull request (https://github.com/ruby/ruby/pull/2502) on current master. Assuming it passes CI, I p...
03/08/2020
-
12:20 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- It seems rather unexpected that `-2 ** 2.2` is parsed as `-(2 ** 2.2)`, I would expect `(-2) ** 2.2` as well.
-
01:48 AM Bug #16681: Backport commit related libffi url
- ruby_2_6 r67842 merged revision(s) 86022167461dc90b70164e2bb23316959bbfd6ba,47a1872cd8b901b8aab6dedce7fa3807c97d290d.
03/07/2020
-
11:40 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- Ah thanks for catching that.
Interesting, `-2 ** 2.2` is parsed as `-(2 ** 2.2)` whereas `-2.to_i ** 2.2` is parsed ... -
06:12 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- > Negative integers are atomic tokens
If that was the case then `-2 ** 2.2` would be parsed as `(-2) ** 2.2`, which ... -
05:05 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- > So it looks like there's something special about how negative integers are parsed?
Negative integers are atomic to... -
04:56 PM Bug #16677 (Open): Negative integer powered (**) to a float number results in a complex
-
04:25 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- It's actually a bit more complicated than that.
```ruby
-2.to_i ** 2.2 #=> (3.717265962412589+2.7007518095995264i... -
02:25 PM Bug #16677 (Closed): Negative integer powered (**) to a float number results in a complex
- This is just operator precedence, ** has higher precedence than unary minus.
-
01:22 PM Bug #16677: Negative integer powered (**) to a float number results in a complex
- Oh sorry, I just notice that this is an expected behaviour in the documentation (example) given in Integer.
I gues... -
05:15 AM Bug #16677 (Closed): Negative integer powered (**) to a float number results in a complex
- Not sure if this is an unexpected behavior.
This works as I expect:
```
-2 ** 2.2 # => -4.59479341998814
```
... -
11:06 PM Bug #16681 (Closed): Backport commit related libffi url
- Please backport the following commits for fixing download error of libffi.
https://rubyci.org/logs/rubyci.s3.amazo... -
11:01 PM Bug #16462 (Closed): Ruby 2.7 autoload not working with $RUBYLIB (maybe circular dependency error)
-
05:59 PM Bug #16462: Ruby 2.7 autoload not working with $RUBYLIB (maybe circular dependency error)
- Sorry for confusing, i find the really reason caused this issue, i will create a new issue #16680 for make reproduce...
-
06:31 PM Bug #16680 (Closed): Symlink folder in $LOAD_PATH does not work with autoload
- The following is a full reproducible process. I will use a gem named 'looksee' to reproduce this.
1. Do `gem insta... -
02:29 PM Bug #16679 (Closed): Test of Ruby fails under multiple OS user userland installations
- I do user land installations where each of multiple installations of a complex system under it's own OS user installs...
-
02:23 PM Misc #16678: Array#values_at has unintuitive behavior when supplied a range starting with negative index
- You can easily achieve wrap-around behavior with:
```ruby
> (1..5).to_a.values_at(*(-1..3))
=> [5, 1, 2, 3, 4]
``... -
10:42 AM Misc #16678: Array#values_at has unintuitive behavior when supplied a range starting with negative index
- Actually .values_at() confused me when I tried to use my go-to method for
obtaining a slice from an Array:
a... -
06:21 AM Misc #16678 (Open): Array#values_at has unintuitive behavior when supplied a range starting with negative index
- Consider the following:
``` ruby
# frozen_string_literal: true
a = (1..5).to_a
p a.values_at(3..5) # => [4,... -
10:03 AM Bug #16138: Backport Struct.new empty option hash fix to 2.5 and 2.6
- ruby_2_6 r67841 merged revision(s) 77596fb7a91cc119b25ac9e19b3c8682709765b4.
-
09:57 AM Bug #16641: Backport request: MJIT crashes on a certain flow of branches
- ruby_2_6 r67840 merged revision(s) c4794ed73ad348a61a7cfbe3da0a7eb49ba46eb9.
-
09:44 AM Bug #16619: Error message of "x = return 1" is doubled
- ruby_2_6 r67839 merged revision(s) 6e6844320de989cb88a154e2ac75066ccea1bba2.
-
09:38 AM Bug #16508: Segmentation fault with Regexp in ruby 2.7.0preview2
- ruby_2_6 r67838 merged revision(s) 4f19666e8b144600e959e4673f79d63f98bd637d.
-
09:38 AM Bug #16508: Segmentation fault with Regexp in ruby 2.7.0preview2
- backported into ruby_2_7 was done at db4d136889afbf59e69efcfd495fd91cd401f378.
-
09:22 AM Bug #16034: Backport 5d33f787169bcc3594d2264726695d58c4a06899 to Ruby 2.6
- Backport was done at r67745. https://bugs.ruby-lang.org/issues/14834#note-13
-
09:11 AM Bug #16675: Regression on Ripper in Ruby 2.7 when parsing new line
- For example,
```ruby
<<FOO.chomp
foo
FOO
```
Here-doc beginning token is just followed by its content and t... -
06:39 AM Feature #16665: Add an Array#except_index method
- There needs to be more discussion on the behavior of this method.
Logically, `except_indices` should be the compleme... -
12:58 AM Feature #16665: Add an Array#except_index method
- In my opinion `omit_indices` is the best name in the thread so far, but I'm not a huge fan of making my methods verbs...
-
01:03 AM Feature #16673: total_timeout for Net::HTTP
- `+1`. This is something I'd love to see implemented because this is actually the most common use case for me.
Coul...
Also available in: Atom