Activity
From 06/05/2020 to 06/11/2020
06/11/2020
-
11:57 PM Feature #16954 (Rejected): A new mode `Warning[:deprecated] = :error` for 2.7
- ## Problem
(This is [what I already wrote in rubyonrails discourse](https://discuss.rubyonrails.org/t/new-2-7-3-0-... -
11:02 PM Bug #14541: Class variables have broken semantics, let's fix them
- Correction, JRuby implemented it in 9.2.1.0:
https://github.com/jruby/jruby/issues/1554#issuecomment-389604892
It s... -
10:52 PM Bug #14541: Class variables have broken semantics, let's fix them
- Ah, but the "warning: class variable @@foo of D is overtaken by C" is only in verbose mode, I see.
I think nobody wan... -
10:44 PM Bug #14541: Class variables have broken semantics, let's fix them
- As shown above, the warning is shown by default, so I think we can raise an exception:
```
$ ruby -rtmpdir -e '@@... -
02:43 AM Bug #14541: Class variables have broken semantics, let's fix them
- jeremyevans0 (Jeremy Evans) wrote in #note-18:
>but are we OK jumping directly from verbose-mode warning in 2.7 t... -
02:13 AM Bug #14541 (Assigned): Class variables have broken semantics, let's fix them
- jeremyevans (Jeremy Evans) wrote in #note-17:
> Applied in changeset commit:git|900e83b50115afda3f79712310e4cb95e450... -
10:07 PM Bug #15819 (Closed): cannot read document of File::NULL with "ri File::NULL"
- `ri` doesn't show documentation on all constants, only classes and modules. So it is expected that `ri File::NULL` w...
-
09:02 PM Bug #15834 (Closed): Mutating the result of SortedSet.to_a mutates the original set, potentially violating the set's guarantees
- Applied in changeset commit:git|a6cf2f3d22a78aeae9d7f36cc78a195deb686705.
----------
Make mutating the result of Sor... -
08:40 PM Feature #16952: Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- In my opinion, the error message I'm being given is a bug, because it's telling me that a file that _does_ exist, doe...
-
08:31 PM Feature #16952: Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- When I run your example in my shell (OpenBSD ksh), I get:
```
$ ./myscript.rb
ksh: ./myscript.rb: No such file o... -
07:51 PM Feature #16952: Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- I would think this is just the errno you get from `execve(2)`.
Ruby itself doesn't try to read the shebang.
So no... -
06:13 PM Feature #16952 (Open): Kernel.exec gives an incorrect error message when passed a script with a non-existing shebang
- ```
$ cat myscript.rb
#!/bad/ruby/shebang
puts "Hei!"
$ ruby -e 'Kernel.exec("myscript.rb")'
Traceback (m... -
06:36 PM Bug #16953 (Feedback): Windows bash bin files removed in master
- Master is not creating bash bin files for Windows builds, only files with extensions cmd or bat.
Although running ... -
04:46 PM Bug #16004 (Closed): Kernel#lambda captured with Kernel#method doesn't create lambdas
- With the changes in #15973, `method(:lambda).call{}` warns. I think that is sufficient to handle this issue. If you...
-
03:22 PM Bug #4436 (Closed): FileUtils verbose mode prints output to stderr
-
02:31 PM Feature #15973 (Closed): Let Kernel#lambda always return a lambda
- Applied in changeset commit:git|2188d6d160d3ba82432c87277310a4d417e136d5.
----------
Warn when passing a non-literal... -
02:00 PM Feature #16848: Allow callables in $LOAD_PATH
- In order to try to move this forward, here's some code snippet of what I think the interface could look like:
```r... -
01:31 PM Bug #16951: Consistently referer dependencies
- For what it's worth, I also agree that once a library is gemified and promoted to a default gem, gems depending on it...
-
11:06 AM Bug #16951 (Closed): Consistently referer dependencies
- It seems that the default gems interdependencies in Ruby are mess. Years ago, when JSON was merged into StdLib, there...
-
10:46 AM Feature #16939: Alias _1 as _ for block numbered params
- matz (Yukihiro Matsumoto) wrote in #note-2:
> It was the first candidate for a single anonymous block parameter. But... -
10:32 AM Feature #16945: Enable TCO by use of special form
- shyouhei (Shyouhei Urabe) wrote in #note-4:
> Tell us how is it better than #12543, which is receiving negative feed... -
01:15 AM Feature #16945: Enable TCO by use of special form
- I thought that we had more discussions for tail-call syntax, but couldn't find others.
-
12:55 AM Feature #16945: Enable TCO by use of special form
- Tell us how is it better than #12543, which is receiving negative feedbacks?
-
10:30 AM Bug #16941: MJIT doesn't identify Struct kind of instruction
- Thanks, k0kubun for the feedback. I didn't understand the need to compile the block every time it is being called. Ca...
-
05:13 AM Bug #16941 (Feedback): MJIT doesn't identify Struct kind of instruction
- > Are structs not recognised by JIT compiler?
To be precise, `opt_call_c_function` insn is not supported by JIT comp... -
09:11 AM Bug #16950: Stop nonsense keyword argument warnings in 2.6
- Using non-keyword argument is not always workaround for that.
For example, redis 4.2.0 gem has changed options hash ... -
07:14 AM Bug #16950 (Closed): Stop nonsense keyword argument warnings in 2.6
- Ruby 2.6 warns the following code with `-w` option:
```
def foo(x) # warning: in `foo': the last argument was ... -
08:28 AM Feature #6869: Do not treat `_` parameter exceptionally
- Re
> In these descriptions, lowercase letter means the characters ''a'' though ''z'', as well as ''_'', the under... -
08:25 AM Feature #6869: Do not treat `_` parameter exceptionally
- Hi. This is interesting and I can see that the inconsistent treatment of `_` can be confusing (I never noticed tho be...
-
07:31 AM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #16950] Stop nonsense keyword argument warnings in 2.6 (mame)
* 2.6 produces a warning that no longer m... -
02:17 AM Misc #16933: DevelopersMeeting20200618Japan
- * [Bug #14541] Class variables have broken semantics, let's fix them (jeremyevans0)
* My previous commit to fix th... -
05:52 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- I started reading through the code and it is certainly tricky, I wonder if we simply make `ruby2_keywords_hash?` off...
-
01:47 AM Feature #16946: Add an `intersperse` method
- The example for `Array` looks simple, but it would be more complicated for `String`.
Is it OK by "char", not by "gra... -
12:58 AM Feature #16946: Add an `intersperse` method
- Hello, this request sounds interesting to me.
sos4nt (Stefan Schüßler) wrote:
> Haskell has an `intersperse` func...
06/10/2020
-
08:40 PM Feature #16031: Raise ArgumentError when creating Time objects with invalid day of month, instead of rolling into next month
- This is not related to `strptime` specifically, this is how Time behaves generally:
```ruby
Time.local(2020, 2, 3... -
08:08 PM Bug #16110 (Closed): Doesn't detect deadlock on Ruby 2.4 and 2.5 on Windows
- I tested 32-bit Windows builds of Ruby 2.6 and 1.9.3 and the deadlock is detected (those are the only 32-bit versions...
-
07:59 PM Bug #16116 (Feedback): ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
- It's hard to debug issues like this without having a self contained reproducible example. Can you provide a self con...
-
07:49 PM Bug #16173 (Closed): ENV.delete returns nil when name does not exist and block given
- Applied in changeset commit:git|04fddf35734f04fd16824a847cad499465663a5f.
----------
ENV.delete should return the re... -
07:33 PM Bug #12706: Hash#each yields inconsistent number of args
- Interesting. Does it intend to fix just this case, or any inconsistencies I listed in https://bugs.ruby-lang.org/issu...
-
07:13 PM Bug #16841: Some syntax errors are thrown from compile.c
- ibylich (Ilya Bylich) wrote in #note-3:
> Thanks for looking into this issue.
>
> > Do you think that will work f... -
07:03 PM Bug #16841: Some syntax errors are thrown from compile.c
- Thanks for looking into this issue.
> Do you think that will work for your purposes?
Not really. I'm working on... -
05:28 PM Bug #16841 (Closed): Some syntax errors are thrown from compile.c
-
05:54 PM Misc #15748 (Closed): [Documentation] Suggestion to adjust Object.html#method-i-instance_variable_set
- Applied in changeset commit:git|573e8d7736c84149ae298f4a8ed532525b6645d0.
----------
Change language used in instanc... -
05:54 PM Misc #15265 (Closed): Documentation for `Object#instance_variable_set` is inaccurate and pejorative
- Applied in changeset commit:git|573e8d7736c84149ae298f4a8ed532525b6645d0.
----------
Change language used in instanc... -
05:26 PM Bug #16948 (Closed): hash.each(&method(:something)) behavior changed without warning on master
-
05:08 PM Bug #16948: hash.each(&method(:something)) behavior changed without warning on master
- > it may be reverted depending on the extent of the compatibility issues.
My bad I should have seen it in `NEWS.md... -
02:59 PM Bug #16948: hash.each(&method(:something)) behavior changed without warning on master
- This was a deliberate change in commit:47141797bed55eb10932c9a722a5132f50d4f3d8. As the commit message states, it ma...
-
01:02 PM Bug #16948 (Closed): hash.each(&method(:something)) behavior changed without warning on master
- I'm testing our app against ruby master as part of https://bugs.ruby-lang.org/issues/16895, and found the following u...
-
03:04 PM Bug #16949 (Closed): Psych tests failed with libyaml 0.2.5
- GitHub Actions CI failed on macOS, because Homebrew's [libyaml](https://github.com/Homebrew/homebrew-core/blob/90fecd...
-
01:12 PM Feature #16946: Add an `intersperse` method
- Interesting idea.
In particular that use case:
'Hello'.intersperse('-') # => "H-e-l-l-o"
I actually had th... -
10:00 AM Feature #16946 (Open): Add an `intersperse` method
- Haskell has an `intersperse` function which adds a separator between elements of a list.
It would be pretty useful... -
12:36 PM Bug #16947 (Closed): private method unexpected behavior
- It is allowed since 2.7.0.
-
12:35 PM Bug #16947: private method unexpected behavior
- https://rubyreferences.github.io/rubychanges/2.7.html#selfprivate_method
-
12:34 PM Bug #16947: private method unexpected behavior
- ```ruby
class Person
def speak
puts "Hey, Tj!"
end
def whisper_louder
whisper
end
def whisper_sel... -
12:18 PM Bug #16947 (Closed): private method unexpected behavior
- private method called explicitly through self should return an error, but in version 2.7.1 an error does not occur an...
-
11:58 AM Feature #16945: Enable TCO by use of special form
- We don't want to introduce a new reserved word only for this purpose.
-
09:38 AM Feature #16945 (Closed): Enable TCO by use of special form
- I would like to propose to create some way to enable TCO in ruby by use of special form, like (recur)[https://clojure...
-
09:54 AM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- Seeing the current minitest and unit-test updated by the above ticket, it seems the both implementation supports "Tes...
-
09:13 AM Bug #16935: Syntax error with `make check TESTS="-n /Foo#method/"`
- I escaped hash marks as `\#`. But I still got same error. Could you tell me the corerct command?
```
$ make V=1 c... -
06:42 AM Misc #16944: questions about Net::IMAP patches
- I believe your question is for the ruby core team, so probably it is best to let
nobu or shyouhei or anyone else fro... -
03:44 AM Misc #16944 (Closed): questions about Net::IMAP patches
- I work on a product that contains many changes to Net::IMAP, both to the client and especially to the response parser...
-
04:34 AM Feature #16939: Alias _1 as _ for block numbered params
- All the examples I could find where `{|_| ...}`, which could be made compatible. I still wonder what valid code examp...
-
04:12 AM Feature #16352: Modify Marshal to dump objects larger than 2 GiB
- If the risk of collision with `SIZEOF_LONG - 1` is deemed too high, then add 64 bits of fixed data afterwards (pick a...
-
12:58 AM Bug #16943 (Closed): Incorrect Behaves on Hash-From-Pair-Array
06/09/2020
-
11:43 PM Bug #16943 (Closed): Incorrect Behaves on Hash-From-Pair-Array
- Just realized I repeated some columns on @header, that's why transpose was overwriting some places.
Thanks, this c... -
11:31 PM Bug #16942 (Closed): instance_method causes an infinite loop with prepend, include and private
- Applied in changeset commit:git|ad0eccf840f692694e63ec72c8496dc106e603ed.
----------
Work around infinite loop when ... -
08:28 PM Bug #16942: instance_method causes an infinite loop with prepend, include and private
- This issue first occurred in Ruby 2.3.
The problematic code is the `goto again` loop in `mnew_internal`. You can ... -
04:12 PM Bug #16942: instance_method causes an infinite loop with prepend, include and private
- You get the same infinite loop in 2.7.1 if `M2` prepends a module (or otherwise has an origin class created for it):
... -
03:43 PM Bug #16942 (Closed): instance_method causes an infinite loop with prepend, include and private
- `instance_method` causes an infinite loop with the following code.
```ruby
module M
def x
end
end
mod... -
09:06 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- > test-unit in Ruby is thin wrapper above old version of minitest and does not have too much in common with test-unit...
-
08:42 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- test-unit in Ruby is thin wrapper above old version of minitest and does not have too much in common with test-unit p...
-
02:59 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- Though I do not know how Ruby project's test/unit has been implemented.
I am asking test-unit project about the how ... -
01:44 PM Bug #16919 (Closed): IRB でマジックコメントの : の後に任意の文字を入力するとエラーが発生する
- 修正しました。
https://github.com/ruby/irb/pull/106
https://github.com/ruby/irb/pull/108 -
10:37 AM Bug #16941 (Closed): MJIT doesn't identify Struct kind of instruction
- MJIT does not identify Struct instructions and gives a warning while compiling to C.
Example:
def my_method
... -
09:37 AM Bug #16926 (Assigned): Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
-
07:39 AM Bug #16926: Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
- Yes, I think ideally we should release rubygems 3.1.5 with the fix, and backport that to ruby 2.7.2. What do you thin...
-
06:47 AM Bug #16926: Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
- Just FTR, this seems to be related to #16904 and [1] in upstream, resolved by [2].
[1]: https://github.com/rubyg... -
12:49 AM Bug #16926: Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
- Thank you for the bisecting.
I think it's hard to backport whole 96064e6f1ce100a37680dc8f9509f06b3350e9c8. Reverting... -
01:24 AM Bug #16940 (Closed): Backport 0ba27259d390e902139c0e2e94b9d18ef227748e
-
01:23 AM Bug #16940 (Closed): Backport 0ba27259d390e902139c0e2e94b9d18ef227748e
- This is an issue for backport management.
-
01:00 AM Feature #16939 (Closed): Alias _1 as _ for block numbered params
- It was the first candidate for a single anonymous block parameter. But we abandoned for the compatibility's sake. Too...
06/08/2020
-
10:55 PM Bug #16926: Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
- I bisected this, twice.
* First failing commit between 2.6 and 2.7 is commit:dd16f8524c44f8802e634af2577fe5a149cd7... -
09:28 PM Feature #16939: Alias _1 as _ for block numbered params
- I like to use _. I can see one benefit of your suggestion being that it is slightly
shorter. I am mostly neutral on... -
03:38 PM Feature #16939 (Closed): Alias _1 as _ for block numbered params
- I propose to alias `_1` as `_` for block numbered params, so the following statements should be equal –
``` ruby
[1... -
07:43 PM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #12901] Anonymous functions without scope lookup overhead. (dsisnero)
* this allows performance bump
*... -
06:49 PM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #14722] python's buffer protocol clone (dsisnero)
* many C-extensions that use large buffer like objects... -
03:32 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- It seems there is an issue `[142/140]` when using `\^` in the pattern.
```
$ make V=1 test-all TESTS="test/-ext-/... -
03:17 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- https://github.com/ruby/ruby/blob/465b5dc124917b828a5964c50c4e470a0c03dcf4/tool/lib/test/unit.rb#L742
The following ... -
02:12 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- Could you show me the actual command based on the following one that was able to skip the tests on your local environ...
-
01:22 PM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- > Hash marks in Makefile need to be escaped
Thanks for the answer. In this case of the ticket, when running with t... -
02:38 PM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Matz makes the final decisions, but I would like to point out that adding ***
all of a sudden may be confusing:
-... -
09:23 AM Bug #16938 (Rejected): Multiplying 100 to 36.98, gives an inaccurate result (3697.9999999999995)
- Please visit https://bugs.ruby-lang.org/ and read the FAQ part.
Next time consider doing so before posting an issue.
-
07:50 AM Bug #16938 (Rejected): Multiplying 100 to 36.98, gives an inaccurate result (3697.9999999999995)
- Multiplying 100 to 36.98, gives an inaccurate result.
I have tried this in ruby console in my Ubuntu machine
Ruby V...
06/07/2020
-
11:46 PM Feature #16937 (Assigned): Add DNS over HTTP to Resolv
- This adds a DNS over HTTP resolver at Resolv::DoH
It obeys RFC8484 with respect to Cache-Control and Age behavior,... -
05:15 PM Feature #13750: Improve String#casecmp? and Symbol#casecmp? performance with ASCII string
- @koic Made a new attempt with patch https://github.com/ruby/ruby/pull/2941
-
12:54 AM Feature #16352: Modify Marshal to dump objects larger than 2 GiB
- marcandre (Marc-Andre Lafortune) wrote in #note-6:
> Couldn't we dedicate a special "size" value to indicate "extend... -
12:07 AM Feature #16378 (Closed): Support leading arguments together with ...
- Applied in changeset commit:git|f8b4340fa2c254cd093ebc3bc70d2d0c46ea9997.
----------
Add leading arguments support t...
06/06/2020
-
06:06 PM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- I added this ticket to the next dev-meeting agenda: #16933
-
06:04 PM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #16897] General purpose memoizer in Ruby 3 with Ruby 2 performance (eregon)
* Thoughts about the ***args... -
06:01 PM Misc #16933: DevelopersMeeting20200618Japan
- * [Feature #16378] Support leading arguments together with ... (eregon)
* Already accepted for master, could someo... -
11:39 AM Feature #16848: Allow callables in $LOAD_PATH
- This was recently discussed:
https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20200514Japan.md... -
07:46 AM Bug #16935 (Closed): Syntax error with `make check TESTS="-n /Foo#method/"`
- Applied in changeset commit:git|0c00a4176ba353d59d8c991428574ef2c2676674.
----------
Hash marks in Makefile need to ... -
07:46 AM Bug #16936 (Closed): `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- Applied in changeset commit:git|0c00a4176ba353d59d8c991428574ef2c2676674.
----------
Hash marks in Makefile need to ...
06/05/2020
-
10:48 PM Bug #16936 (Closed): `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
- On the current latest master `cf1adf985ab78507250db0e217a0fdd779e2c6e6`.
```
$ autoconf
$ ./configure --prefix... -
10:45 PM Feature #16378: Support leading arguments together with ...
- jeremyevans0 (Jeremy Evans) wrote in #note-12:
> Eregon (Benoit Daloze) wrote in #note-10:
> > @jeremyevans0 or @no... -
10:16 PM Bug #16935 (Closed): Syntax error with `make check TESTS="-n /Foo#method/"`
- On the current latest master `cf1adf985ab78507250db0e217a0fdd779e2c6e6`.
```
$ autoconf
$ ./configure --prefix... -
07:01 PM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- As @Eregon mentioned, the `***a` approach is likely to be the same speed or slower than `*args, **kw` approach on CR...
-
03:55 PM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Thanks for the summary.
I agree `ruby2_*` cannot be a long-term solution.
And IMHO `ruby2_*` should be removed as s... -
07:43 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- @jeremyevans0 yeah I can confirm `...` delegation works as expected and correctly in master.
Unfortunately the probl... -
07:23 AM Bug #16917 (Third Party's Issue): "ruby -run -e httpd . " did not work
-
07:13 AM Bug #16917: "ruby -run -e httpd . " did not work
Ruby 2.7 : the directory has index.html
Ruby 2.5 : the directory has no index.html .
how to close this issues
Also available in: Atom