[#105450] [Ruby master Feature#18228] Add a `timeout` option to `IO.copy_stream` — "byroot (Jean Boussier)" <noreply@...>
Issue #18228 has been reported by byroot (Jean Boussier).
11 messages
2021/09/27
[ruby-core:105294] [Ruby master Bug#18173] The feature in `$LOADED_FEATURES` is loaded again
From:
"nobu (Nobuyoshi Nakada)" <noreply@...>
Date:
2021-09-16 09:47:24 UTC
List:
ruby-core #105294
Issue #18173 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #18173: The feature in `$LOADED_FEATURES` is loaded again https://bugs.ruby-lang.org/issues/18173 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Backport: 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED ---------------------------------------- In general, the feature name registered in `$LOADED_FEATURES` (e.g. "enumerator.so", "thread.rb", and so on) is expected not to be loaded again. But, as @ko1 reported, when a feature name is added to the variable during another file is required, it will be loaded again. ```shell $ echo 'raise __FILE__' > target.rb $ echo '$" << "target.rb"' > provide.rb $ ruby -r./provide.rb target.rb target.rb:1:in `<main>': target.rb (RuntimeError) ``` -- 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>