summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-05-11 20:56:29 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-05-11 20:56:29 -0400
commit59f80590a742a6461d5a3535f25853a34aae13c8 (patch)
treec54da1987fb70350a29e985fe2d311b8c932d6af /cmd2.py
parentfcb7026887d75a30bfd645ea5277cf93a2db8c37 (diff)
downloadcmd2-git-59f80590a742a6461d5a3535f25853a34aae13c8.tar.gz
Reverting change which prefers gnureadline if available
The current version of gnureadline available in pip and conda has a malloc error, at least on Mac OS
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmd2.py b/cmd2.py
index ed481330..ab16472c 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -62,15 +62,6 @@ from six.moves import zip
# noinspection PyUnresolvedReferences
from six.moves.urllib.request import urlopen
-# Prefer statically linked gnureadline if available (for Mac OS X compatibility due to issues with libedit)
-try:
- import gnureadline as readline
-except ImportError:
- try:
- import readline
- except ImportError:
- pass
-
# Python 3 compatibility hack due to no built-in file keyword in Python 3
# Due to one occurrence of isinstance(<foo>, file) checking to see if something is of file type
try: