From 754835bec5b84673e0c286e3e3617c7264286991 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Sat, 10 Aug 2013 10:34:30 -0600 Subject: [PATCH] Add some print statements to the .pythonrc.py example --- jedi/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jedi/utils.py b/jedi/utils.py index 492e2c90..704ab8ed 100644 --- a/jedi/utils.py +++ b/jedi/utils.py @@ -22,12 +22,13 @@ def setup_readline(): except ImportError: # Fallback to the stdlib readline completer if it is installed. # Taken from http://docs.python.org/2/library/rlcompleter.html + print("Jedi is not installed, falling back to readline") try: import readline import rlcompleter readline.parse_and_bind("tab: complete") except ImportError: - pass + print("Readline is not installed either. No tab completion is enabled.") This will fallback to the readline completer if Jedi is not installed. The readline completer will only complete names in the global namespace,