ruby-changes:68092
From: aycabta <ko1@a...>
Date: Thu, 23 Sep 2021 18:02:16 +0900 (JST)
Subject: [ruby-changes:68092] 4704bc0976 (master): Revert "Show original string byte sequence to debug"
https://git.ruby-lang.org/ruby.git/commit/?id=4704bc0976 From 4704bc09767cb885315abf7393605fcb930fddb8 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 23 Sep 2021 18:02:02 +0900 Subject: Revert "Show original string byte sequence to debug" This reverts commit b42fe5937ab2a605a198ffb866db5ccda541568d. --- lib/irb/completion.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 58328c2..a8a73cc 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -194,8 +194,6 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/completion.rb#L194 ":" + s.id2name.encode(Encoding.default_external) rescue EncodingError # ignore - rescue Encoding::InvalidByteSequenceError => e - raise "Invalid byte sequence #{s.id2name.bytes.inspect} #{e.inspect}" end candidates.grep(/^#{Regexp.quote(sym)}/) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/