Activity
From 05/19/2020 to 05/25/2020
05/25/2020
-
11:33 PM Feature #16913 (Open): Add `ARGF#each_io`
- Add an iterator for each file supplied on the command line, or STDIN. `ARGF#each_io`
## Current Status
Often, w... -
06:21 PM Feature #16837 (Closed): Can we make Ruby 3.0 as fast as Ruby 2.7 with the new assertions?
- Applied in changeset commit:git|21991e6ca59274e41a472b5256bd3245f6596c90.
----------
Use RUBY_DEBUG instead of NDEBU... -
03:33 PM Bug #16912 (Closed): Fiber#raise has a mismatch between implementation and documentation
- Fiber#raise has a mismatch between implementation and documentation for "created" fiber.
RDoc:
> Raises an ... -
12:01 PM Misc #16911 (Closed): Travis: unstable non-x86_64 jobs
- I would like to open this ticket to track and fix the issues for Travis non-x86_64 jobs, as I saw the following commi...
-
02:09 AM Misc #16805: Coroutine's license is unclear
- @odaira Can you confirm/are you okay for your ppcle64 implementation to be released under the MIT License?
-
02:08 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
- Can you check if this is still a problem, I merged my changes which should make this test more reliable. But I did no...
-
01:09 AM Feature #15277: at_exec
- I would like to add a use-case that I'm encountering right now.
I would like to call prctl(PR_SET_PDEATHSIG, ...) ...
05/24/2020
-
05:24 PM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- There was merged this [1] PR, which should resolve the issue even without removal of the `gem` call. I have not verif...
-
04:34 PM Misc #16910: BasicObject is resolved in BasicObject
- Ah! I read too fast too :). Appreciate the followup!
-
02:52 PM Misc #16910: BasicObject is resolved in BasicObject
- Actually I looked too fast, the correct location is
https://github.com/ruby/ruby/blob/b10c9d201222b144df7d63660d1c73... -
02:45 PM Misc #16910 (Closed): BasicObject is resolved in BasicObject
-
12:39 PM Misc #16910: BasicObject is resolved in BasicObject
- This can be closed (can't do it myself apparently).
-
12:37 PM Misc #16910: BasicObject is resolved in BasicObject
- Ahhh, that explains it. That code says this is intentional and definitely not a bug.
Thanks a lot Benoit!
-
10:19 AM Misc #16910: BasicObject is resolved in BasicObject
- As you found, I think it's just a special case that BasicObject has a constant named "BasicObject".
It's defined her... -
09:41 AM Misc #16910: BasicObject is resolved in BasicObject
- Ah, forgot to add that I saw this
```ruby
BasicObject.constants # => [:BasicObject]
```
Could it be the case ... -
09:39 AM Misc #16910 (Closed): BasicObject is resolved in BasicObject
- I categorized this as Misc because I do not really know if this is a bug, or perhaps I miss some special rule in the ...
-
10:34 AM Bug #11188: Method#inspect for chaining alias methods
- Nice, in fact this was already the behavior in TruffleRuby and JRuby.
-
03:39 AM Bug #11188 (Closed): Method#inspect for chaining alias methods
- This patch was merged in commit:adecd43197d5ea2a62a618a5c9be653bcf009c62.
-
09:05 AM Feature #16650 (Closed): Ruby 2.6.* and 2.7* no longer compile on latest Mingw64
- It seems working now, by compiling with gcc 10.1.0.
-
08:08 AM Bug #16905: Ruby required to build Ruby on Haiku?
- > parse.y file has been modified, or its timestamp changed at least.
I didn't edited that file and haven't changed... -
03:33 AM Bug #16852: Refining Enumerable fails with ruby 2.7
- I've added https://github.com/ruby/ruby/pull/3140 to fix this. It works by ensuring an origin for Enumerable directl...
-
12:53 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
- I would expect Hash#shift to return either a key-value tuple or nil. Returning the default value is, honestly, incomp...
05/23/2020
-
02:16 PM Bug #16787 (Closed): [patch] allow Dir.home to work for non-login procs when $HOME not set
- Applied in changeset commit:git|c15cddd1d515c5bd8dfe8fb2725e3f723aec63b8.
----------
Allow Dir.home to work for non-... -
12:39 PM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
- In other words, the current semantics of `return hash.default(nil) if hash.empty?` feel hacky and actually harmful to...
-
12:37 PM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
- Maybe `Hash#shift` should not call the `default_proc` or use `Hash#default`?
I.e., it would always return `nil` if `... -
02:53 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
- ioquatix (Samuel Williams) wrote in #note-2:
> @jeremyevans0 I agree with your assessment, however that hash does no... -
02:38 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
- @jeremyevans0 I agree with your assessment, however that hash does not have default_proc so I assume that it would re...
-
02:26 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
- While your particular example is non-intuitive, there is a simple explanation for it. The first time `hash.shift` is ...
-
02:15 AM Bug #16908 (Closed): Strange behaviour of Hash#shift when used with `default_proc`.
- I don't have any strong opinion about this, but I observed the following behaviour which I thought was confusing. May...
-
11:58 AM Bug #16909 (Closed): pkg-config search should use AC_CHECK_TOOL instead of AC_CHECK_PROG
- Applied in changeset commit:git|6006ab8cf93a0e06d9d65213eff3117965c9bd0c.
----------
Search pkg-config by AC_CHECK_T... -
04:28 AM Bug #16909 (Closed): pkg-config search should use AC_CHECK_TOOL instead of AC_CHECK_PROG
- pkg-config is a toolchain variable akin to the compiler/linker/etc... it should use AC_CHECK_TOOL to automatically s...
-
02:12 AM Misc #16805: Coroutine's license is unclear
- https://github.com/ruby/ruby/pull/3137
-
02:10 AM Bug #16907 (Closed): Probable use-after-free in VM assertion
- The following Ruby program fails with VM assertions enabled on OpenBSD (code taken from `test_caller_to_enum` in `tes...
05/22/2020
-
10:28 PM Bug #16736 (Closed): Prepending blank module breaks super call in aliased method
- Applied in changeset commit:git|c745a60634260ba2080d35af6fdeaaae86fe5193.
----------
Fix origin iclass pointer for m... -
01:33 PM Feature #16824 (Rejected): Follow RubyGems naming conventions for the stdlib
- The first proposal was rejected. We should discuss each stdlib like `ostruct`.
-
01:29 PM Bug #16846 (Closed): Commit - win32ole: separate global variable declarations and definitions - backport?
-
01:27 PM Misc #16893 (Closed): Create Rosetta Code page on website
- We handle the official website that is https://www.ruby-lang.org/en/ on https://github.com/ruby/www.ruby-lang.org/.
... -
02:38 AM Bug #16906 (Closed): Calling Thread#thread_variable? in IRB sometimes produce wrong result
- Consider this script:
``` ruby
Thread.current.thread_variable_set("ab", 12)
puts Thread.current.thread_variable?... -
02:23 AM Bug #16900 (Closed): Disposable call-cache introduced memory leak
- Applied in changeset commit:git|cbd45af2a9bec871ee023e6be57c5f32b22280fe.
----------
fix memory leak of ccs
rb_call... -
01:42 AM Bug #16905: Ruby required to build Ruby on Haiku?
- According to the log,
```
executable host ruby is required. use --with-baseruby option.
uncommon.mk:866: recipe ... -
01:38 AM Bug #8446: sdbm fails to fetch existing key if many elements in it
- Agreed on removal.
Sdbm seems unmaintained 30 years, and having other bugs (or limitations) on storing large values ...
05/21/2020
-
08:31 PM Misc #16802: Prefer use of RHS assigment in documentation
- I'm also not a big fan, but even if it becomes official it's not a good idea documentation-wise as it currently disti...
-
06:53 PM Bug #16900: Disposable call-cache introduced memory leak
- Great report!
https://github.com/ruby/ruby/pull/3128 -
04:16 PM Feature #16848: Allow callables in $LOAD_PATH
- One concern we found is some scripts expect `$:` contains String objects which represent a path.
Typically some scrip... -
11:51 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- vo.x (Vit Ondruch) wrote in #note-8:
Upstream ticket: https://github.com/rubygems/rubygems/issues/3647 -
11:31 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- vo.x (Vit Ondruch) wrote in #note-8:
Actually my original intention was to try this with disabled gems and it seem... -
11:29 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- BTW I don't understand how this could work:
~~~
$ for psych in psych{1..3}; do mkdir $psych; echo "puts '$psych'"... -
09:53 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- > What's wrong in Fedora?
Thank you for checking the issue on your environment.
In Fedora Ruby, there is no defau... -
08:07 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- vo.x (Vit Ondruch) wrote in #note-4:
> Just FTR, the patch just hides this issue, it does not resolve it.
BTW thi... -
07:59 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- Also, I believe that call to `require 'psych'` should result to subsequent calls of `require 'psych'` to be no-op. Th...
-
07:56 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- What is wrong with Ruby?
~~~
$ ruby -v
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
$ gem env
Ruby... -
02:36 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- After installing psych 3.1.0, no error found.
What's wrong in Fedora?
```sh
$ for ruby in ruby2.{2..7}; do $ruby... -
02:26 AM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- I can't see that error in 2.7 too.
```sh
$ for ruby in ruby2.{0..7}; do $ruby -rpsych -e 'p [RUBY_VERSION, Gem.lo... -
06:26 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- A sole positional argument does in fact work, and I am a big fan of the pattern matching feature (enough that once we...
-
12:58 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- Hi, @ziggythehamster, thank you for your feedback, and I'm sorry for troubling you.
In this case, I think you can ... -
02:17 AM Bug #16903 (Closed): Compilation error on x86_64-cygwin
- Applied in changeset commit:git|6f167da65b799435f94af3c5d39a80968e284f44.
----------
Fixed a variable name [Bug #169...
05/20/2020
-
11:08 PM Bug #16900: Disposable call-cache introduced memory leak
- Using the following program, I have determined that Ruby isn't leaking objects according to `ObjectSpace.count_object...
-
12:27 AM Bug #16900 (Closed): Disposable call-cache introduced memory leak
- commit:b9007b6c548f91e88fd3f2ffa23de740431fa969 (Introduce disposable call-cache) introduced a memory leak for classe...
-
10:57 PM Bug #8446 (Assigned): sdbm fails to fetch existing key if many elements in it
- I'm +1 to stop to ship with the next stable release.
The users could install from rubygems or http://github.com/r... -
04:57 PM Bug #8446: sdbm fails to fetch existing key if many elements in it
- It looks like other people using sdbm are experiencing the same issue: https://www.reddit.com/r/ruby/comments/gneh4r/...
-
08:49 PM Bug #16905: Ruby required to build Ruby on Haiku?
- shevegen (Robert A. Heiler) wrote in #note-2:
> This could perhaps be a bug. I think you can normally build "minirub... -
07:07 PM Bug #16905: Ruby required to build Ruby on Haiku?
- This could perhaps be a bug. I think you can normally build "miniruby"
if a base ruby is not available on the comput... -
05:55 PM Bug #16905: Ruby required to build Ruby on Haiku?
- **make distclean** doesn't solved the problem.
-
05:55 PM Bug #16905 (Open): Ruby required to build Ruby on Haiku?
- Building Ruby on Haiku results in the following error:
```
executable host ruby is required. use --with-baseruby ... -
08:29 PM Feature #16891: Restore Positional Argument to Keyword Conversion
- A use case that seems to have been forgotten that I want to explicitly point out (and I'm not sure if this is the tic...
-
08:28 PM Feature #14722: python's buffer protocol clone
- Any thoughts on this? This would help to use views of numo_narray and NMatrix without copying to/from ruby. See http...
-
06:04 PM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- The error does not happen in Ruby 2.6.
So, it's great if it is backported to Ruby 2.7.
-
02:09 PM Bug #16904 (Closed): rubygems: psych: superclass mismatch for class Mark (TypeError)
- Is it possible to backport the following commits into Ruby?
Remove explicit `psych` activation
https://github.com... -
01:29 PM Bug #16903 (Closed): Compilation error on x86_64-cygwin
- Compilation error on x86_64-cygwin.
```
compiling io.c
io.c: In function 'rb_cloexec_pipe':
io.c:412:9: error: ... -
11:05 AM Bug #16902 (Rejected): Enumerable#group_by invalid key object
- 16 and 17 call `moo` method on different objects.
`Hash`s store frozen copies of `String` keys, otherwise if a key g... -
10:13 AM Bug #16902 (Rejected): Enumerable#group_by invalid key object
- I actually want to group by a customized string object and it seems to be ignored. I've tested this with ruby 2.5 and...
-
08:32 AM Bug #16901 (Closed): `-W:no-deprecated` does not stop some deprecated warnings
-
08:31 AM Bug #16901: `-W:no-deprecated` does not stop some deprecated warnings
- Thank you for the patch for 2.7. I will fill Backport field and close this ticket to be noticed as backport ticket.
-
05:30 AM Bug #16901: `-W:no-deprecated` does not stop some deprecated warnings
- Sorry, it's for 2.7.
It should be in ruby/ruby.h, near `rb_warn` and so on. -
05:27 AM Bug #16901: `-W:no-deprecated` does not stop some deprecated warnings
- znz (Kazuhiro NISHIYAMA) wrote:
> I don't know where declaration of `rb_warn_deprecated` should be.
include/ruby/... -
03:00 AM Bug #16901 (Closed): `-W:no-deprecated` does not stop some deprecated warnings
- ```
$ ruby -v -W:no-deprecated -e 'IO.read(IO::NULL,{dummy:0})'
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86...
05/19/2020
-
09:41 PM Bug #16852: Refining Enumerable fails with ruby 2.7
- I can confirm this bug. It was introduced in commit:a0579f3606561a74e323f6193b9504c06845236c, which fixed prepending...
-
08:15 PM Feature #16848: Allow callables in $LOAD_PATH
- > In other words should the "omitted extension" handling be done inside or outside of the resolver?
In my opinion ... -
03:40 PM Feature #16848: Allow callables in $LOAD_PATH
- I really love this idea; it's simple yet powerful. I do have a few questions though.
1) How would this API handle .r... -
09:45 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- Instead of restoring all positional hash argument to keyword argument conversion, how about adding new implicit maybe...
-
03:56 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- > Assuming we did not remove ruby2_keywords until a equally efficient replacement exists (which I'm assuming will be ...
-
03:19 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- Dan0042 (Daniel DeLorme) wrote in #note-12:
> An idea: it may be worth sub-dividing "Positional Hash Argument to Key... -
01:43 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- An idea: it may be worth sub-dividing "Positional Hash Argument to Keyword Argument Conversion" into
### a) Overflow... -
01:07 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- sam.saffron (Sam Saffron) wrote in #note-10:
> I agree many gems already work, but we have built ourselves a time bom... -
12:21 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- I agree many gems already work, but we have built ourselves a time bomb here.
`ruby2_keywords` is certainly going to... -
08:49 AM Bug #16780 (Closed): Net::FTP PUT command issuing Net::ReadTimeout too quickly
- Applied in changeset commit:git|5e81e8675a020ecd493620a4ff38db8fcf4b972a.
----------
Ignore exceptions when closing ... -
08:45 AM Bug #16780: Net::FTP PUT command issuing Net::ReadTimeout too quickly
- koshigoe (Masataka SUZUKI) wrote in #note-3:
> The `Net::FTP#close` suppresses exception about `Socket#shutdown` and... -
03:59 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Alternative proposal
```ruby
def bar(*args, **kwargs)
end
def foo(*args)
bar(*args)
args
end
args = foo(1, ... -
02:47 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Expanded proposal:
```ruby
def foo(...args)
bar(...)
args
end
args = foo(1, 2, {1 => 2}, a: 7, b: 9)
args.c... -
03:16 AM Feature #16791: Shortcut for Process::Status.exitstatus
- nobu (Nobuyoshi Nakada) wrote in #note-7:
> That executes `exit(nil)` and results in `TypeError`.
Ah, interesting, I... -
02:02 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- I get your point. But to my eyes, `==>` is even uglier. It's easily confused with other operators which do not corres...
Also available in: Atom