[前][次][番号順一覧][スレッド一覧]

ruby-changes:68114

From: aycabta <ko1@a...>
Date: Fri, 24 Sep 2021 23:50:46 +0900 (JST)
Subject: [ruby-changes:68114] ff26c60bc1 (master): [ruby/irb] Revert "Show original string byte sequence to debug"

https://git.ruby-lang.org/ruby.git/commit/?id=ff26c60bc1

From ff26c60bc137b6be96c7f49241b831b037a157b3 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Thu, 23 Sep 2021 18:02:02 +0900
Subject: [ruby/irb] Revert "Show original string byte sequence to debug"

This reverts commit b42fe5937ab2a605a198ffb866db5ccda541568d.

https://github.com/ruby/irb/commit/b22094a16f
---
 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/

[前][次][番号順一覧][スレッド一覧]