Skip to content

Commit 59f8059

Browse files
committed
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
1 parent fcb7026 commit 59f8059

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmd2.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@
6262
# noinspection PyUnresolvedReferences
6363
from six.moves.urllib.request import urlopen
6464

65-
# Prefer statically linked gnureadline if available (for Mac OS X compatibility due to issues with libedit)
66-
try:
67-
import gnureadline as readline
68-
except ImportError:
69-
try:
70-
import readline
71-
except ImportError:
72-
pass
73-
7465
# Python 3 compatibility hack due to no built-in file keyword in Python 3
7566
# Due to one occurrence of isinstance(<foo>, file) checking to see if something is of file type
7667
try:

0 commit comments

Comments
 (0)