[ruby-core:102335] [Ruby master Bug#17600] lib/benchmark should use `$stdout` instead of `STDOUT`
From:
marcandre-ruby-core@...
Date:
2021-01-31 17:09:40 UTC
List:
ruby-core #102335
Issue #17600 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #17600: lib/benchmark should use `$stdout` instead of `STDOUT` https://bugs.ruby-lang.org/issues/17600 * 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>