Show More
@@ -45,7 +45,7 b" if sys.platform == 'win32' and have_readline:" | |||
|
45 | 45 | try: |
|
46 | 46 | _outputfile=_rl.GetOutputFile() |
|
47 | 47 | except AttributeError: |
|
48 |
|
|
|
48 | warnings.warn("Failed GetOutputFile") | |
|
49 | 49 | have_readline = False |
|
50 | 50 | |
|
51 | 51 | # Test to see if libedit is being used instead of GNU readline. |
@@ -86,7 +86,7 b" if sys.platform == 'darwin' and have_readline:" | |||
|
86 | 86 | else: |
|
87 | 87 | break |
|
88 | 88 | |
|
89 | if p is not None and p.returncode == 0 and re.search(r'/libedit[\.\d+]*\.dylib\s', out): | |
|
89 | if p is not None and p.returncode == 0 and re.search(br'/libedit[\.\d+]*\.dylib\s', out): | |
|
90 | 90 | # we are bound to libedit - new in Leopard |
|
91 | 91 | _rl.parse_and_bind("bind ^I rl_complete") |
|
92 | 92 | warnings.warn("Leopard libedit detected - readline will not be well behaved " |
General Comments 0
You need to be logged in to leave comments.
Login now