From 6156a2d07cc26e89a068bff7a4b7bbc84167d415 Mon Sep 17 00:00:00 2001
From: Neal Norwitz <nnorwitz@gmail.com>
Date: Fri, 28 Feb 2003 20:00:42 +0000
Subject: [PATCH] Handle iconv initialization erorrs

---
 Lib/encodings/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py
index 5e4167b28c..e312fb80eb 100644
--- a/Lib/encodings/__init__.py
+++ b/Lib/encodings/__init__.py
@@ -124,5 +124,5 @@ codecs.register(search_function)
 # Register iconv_codec lookup function if available
 try:
     import iconv_codec
-except ImportError:
+except (ImportError, RuntimeError):
     pass
-- 
2.40.0