[ruby-core:102679] [Ruby master Bug#17600] lib/benchmark should use `$stdout` instead of `STDOUT`
From:
merch-redmine@...
Date:
2021-03-01 22:06:06 UTC
List:
ruby-core #102679
Issue #17600 has been updated by jeremyevans0 (Jeremy Evans). No other committer has expressed objection, and I'm also in favor (in addition to you and @duerst). benchmark is listed as unmaintained, so I think you should commit the change. ---------------------------------------- Bug #17600: lib/benchmark should use `$stdout` instead of `STDOUT` https://bugs.ruby-lang.org/issues/17600#change-90673 * Author: marcandre (Marc-Andre Lafortune) * Status: Open * Priority: Normal * Assignee: marcandre (Marc-Andre Lafortune) * ruby -v: 3.0.0p0 * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- Unless there is objection, I'll change all uses of `STDOUT` to `$stdout` in `lib/benchmark`, to allow redirection to other io. See https://github.com/ruby/benchmark/issues/5 -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>