[pyrepl-checkins] r53572 - pyrepl/trunk/pyrepl/pyrepl
arigo at codespeak.net
arigo at codespeak.net
Tue Apr 8 13:07:25 CEST 2008
Author: arigo
Date: Tue Apr 8 13:07:24 2008
New Revision: 53572
Modified:
pyrepl/trunk/pyrepl/pyrepl/readline.py
Log:
Don't show error messages. I personally find them
not very useful and they make the prompt feel too
different from CPython's IMHO.
Modified: pyrepl/trunk/pyrepl/pyrepl/readline.py
==============================================================================
--- pyrepl/trunk/pyrepl/pyrepl/readline.py (original)
+++ pyrepl/trunk/pyrepl/pyrepl/readline.py Tue Apr 8 13:07:24 2008
@@ -41,6 +41,9 @@
readline_completer = None
completer_delims = dict.fromkeys(' \t\n`~!@#$%^&*()-=+[{]}\\|;:\'",<>/?')
+ def error(self, msg="none"):
+ pass # don't show error messages by default
+
def get_stem(self):
b = self.buffer
p = self.pos - 1
More information about the pyrepl-checkins
mailing list