GNU bug report logs -
#38734
27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ...
Previous Next
Reported by: Pankaj Jangid <p4j <at> j4d.net>
Date: Tue, 24 Dec 2019 17:18:01 UTC
Severity: normal
Found in version 27.0.60
Done: Pankaj Jangid <p4j <at> j4d.net>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 38734 <at> debbugs.gnu.org (full text, mbox):
Pankaj Jangid <p4j <at> j4d.net> writes:
>>> In python-mode, when I pressed C-c C-p to launch Python shell it
>>> produced below warning. I am on MacOS Catalina 10.15.2. On MacOS
>>> terminal, the python-shell opens without any warning.
>> This happens when python uses a libedit based readline module, which
>> is the default on macOS.
> Yes. With homebrew version it is working fine. And since this is
> duplicate of 25753, I'll close this.
>
> I was wondering why the python shell is working fine in the native
> terminal. Are they not using readline?
Different version of readline is used.
This code is used to check readline version:
import readline; print(readline.__doc__)
Under homebrew python it says "Importing this module enables command
line editing using GNU readline.".
Under python shipped with macos it says "Importing this module enables
command line editing using libedit readline."
Commit b33808ce77ef15c1f233790a2c93d9db4cc588ab disable native
completions when libedit readline is detected.
This bug report was last modified 5 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.