Blame SOURCES/0001-Don-t-import-readline-module.patch

815523
From 53fca9b6d37660280ffbd02255bf4d05c96b0055 Mon Sep 17 00:00:00 2001
815523
From: Tom Stellard <tstellar@redhat.com>
815523
Date: Thu, 3 Oct 2019 20:49:43 -0700
815523
Subject: [PATCH] Don't import readline module
815523
815523
Loading the module causes python to segfault.  Disabling for now until
815523
we can find a fix.
815523
---
815523
 lldb/source/Interpreter/embedded_interpreter.py | 16 +---------------
815523
 1 file changed, 1 insertion(+), 15 deletions(-)
815523
815523
diff --git a/lldb/source/Interpreter/embedded_interpreter.py b/lldb/source/Interpreter/embedded_interpreter.py
815523
index 8a1195d..f534bdb 100644
815523
--- a/lldb/source/Interpreter/embedded_interpreter.py
815523
+++ b/lldb/source/Interpreter/embedded_interpreter.py
815523
@@ -7,21 +7,7 @@ import code
815523
 import lldb
815523
 import traceback
815523
 
815523
-try:
815523
-    import readline
815523
-    import rlcompleter
815523
-except ImportError:
815523
-    have_readline = False
815523
-except AttributeError:
815523
-    # This exception gets hit by the rlcompleter when Linux is using
815523
-    # the readline suppression import.
815523
-    have_readline = False
815523
-else:
815523
-    have_readline = True
815523
-    if 'libedit' in readline.__doc__:
815523
-        readline.parse_and_bind('bind ^I rl_complete')
815523
-    else:
815523
-        readline.parse_and_bind('tab: complete')
815523
+have_readline = False
815523
 
815523
 g_builtin_override_called = False
815523
 
815523
-- 
815523
1.8.3.1
815523