[#98621] Re: Function getlogin_r()'s protoype] — Bertram Scharpf <lists@...>
FYI,
3 messages
2020/06/02
[#98947] [Ruby master Feature#16986] Anonymous Struct literal — ko1@...
Issue #16986 has been reported by ko1 (Koichi Sasada).
66 messages
2020/06/26
[#98962] [Ruby master Bug#16988] Kernel.load loads file from current directory without '.' in path — misharinn@...
Issue #16988 has been reported by TheSmartnik (Nikita Misharin).
5 messages
2020/06/26
[#98969] [Ruby master Feature#16994] Sets: shorthand for frozen sets of symbols / strings — marcandre-ruby-core@...
Issue #16994 has been reported by marcandre (Marc-Andre Lafortune).
7 messages
2020/06/26
[#100117] [Ruby master Feature#16994] Sets: shorthand for frozen sets of symbols / strings
— matz@...
2020/09/25
Issue #16994 has been updated by matz (Yukihiro Matsumoto).
[ruby-core:98682] [Ruby master Bug#16926] Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
From:
merch-redmine@...
Date:
2020-06-08 22:55:15 UTC
List:
ruby-core #98682
Issue #16926 has been updated by jeremyevans0 (Jeremy Evans). I bisected this, twice. * First failing commit between 2.6 and 2.7 is commit:dd16f8524c44f8802e634af2577fe5a149cd740e. * First fixing commit between 2.7 and master is commit:96064e6f1ce100a37680dc8f9509f06b3350e9c8. ---------------------------------------- Bug #16926: Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7 https://bugs.ruby-lang.org/issues/16926#change-86028 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal * ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux] * Backport: 2.5: DONTNEED, 2.6: DONTNEED, 2.7: REQUIRED ---------------------------------------- This spec: https://github.com/ruby/spec/blob/03f9a0e2f9c23a12614ffb603f32cd971d79616e/core/kernel/shared/require.rb#L246-L251 fails in 2.7.1, but not on Ruby <= 2.6 and not on master. Could someone investigate why that is and if the change is on purpose or a bug? It sounds like a bug, because changing the last `be_false` to `be_true` then passes for `Kernel#require` but fails for `Kernel.require`. Reproduce with: ``` $ Use ruby 2.7.1 $ cd ruby/spec # remove ruby_bug guard in core/kernel/require_spec.rb $ mspec core/kernel/require_spec.rb ``` -- 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>