Subject: bug#48998: Python readline warning improve

From: Ben Schw <[email-masked]>
Date: Mon, 21 Jun 2021 08:30:33 +0200

I probalby made a mistake with the patch.
The new attached one is correct.
It ads a single line in lisp/progmodes/python.el.
From c35aa8b6d3e1da42d5aae1bc118bf9c3c97c5a24 Mon Sep 17 00:00:00 2001
From: Benj <[email-masked]>
Date: Sun, 13 Jun 2021 10:09:14 +0200
Subject: [PATCH] Improve readline warn

* lisp/progmodes/python.el (python-shell-completion-native-turn-on-maybe)
Copyright-paperwork-exempt: yes
---
 lisp/progmodes/python.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f7267bdef2..947889ed11 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3691,7 +3691,8 @@ python-shell-completion-native-turn-on-maybe
             (format "was t and %S is not part of the "
                     (file-name-nondirectory python-shell-interpreter))
             "`python-shell-completion-native-disabled-interpreters' "
-            "list.  Native completions have been disabled locally. "))
+            "list.  Native completions have been disabled locally. "
+            "Or install the python package \"readline\". "))
           (python-shell-completion-native-turn-off msg))))))
 
 (defun python-shell-completion-native-turn-on-maybe-with-msg ()
-- 
2.25.1