Show More
The requested changes are too big and content was truncated. Show full diff
1 | NO CONTENT: modified file |
|
NO CONTENT: modified file | ||
The requested commit or file is too big and content was truncated. Show full diff |
@@ -33,13 +33,13 b" if sys.platform == 'win32' and have_readline:" | |||||
33 | # Thanks to Boyd Waters for this patch. |
|
33 | # Thanks to Boyd Waters for this patch. | |
34 | uses_libedit = False |
|
34 | uses_libedit = False | |
35 | if sys.platform == 'darwin' and have_readline: |
|
35 | if sys.platform == 'darwin' and have_readline: | |
36 |
|
|
36 | import commands | |
37 |
|
|
37 | (status, result) = commands.getstatusoutput( "otool -L %s | grep libedit" % _rl.__file__ ) | |
38 |
|
|
38 | if status == 0 and len(result) > 0: | |
39 |
|
|
39 | # we are bound to libedit - new in Leopard | |
40 |
|
|
40 | _rl.parse_and_bind("bind ^I rl_complete") | |
41 |
|
|
41 | print "Leopard libedit detected." | |
42 |
|
|
42 | uses_libedit = True | |
43 |
|
43 | |||
44 |
|
44 | |||
45 | # the clear_history() function was only introduced in Python 2.4 and is |
|
45 | # the clear_history() function was only introduced in Python 2.4 and is |
General Comments 0
You need to be logged in to leave comments.
Login now