From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#38734: 27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ... Date: Thu, 26 Dec 2019 10:37:23 +0200 Message-ID: References: <2AD67371-B443-4B8E-A96C-A410F93BF613@gmail.com> <0100016f3c760750-841a72a8-98cf-4a5b-8ea4-eddbbd79cb44-000000@email.amazonses.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="181254"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: 38734@debbugs.gnu.org To: Pankaj Jangid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 26 09:38:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ikOer-000l42-O4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Dec 2019 09:38:13 +0100 Original-Received: from localhost ([::1]:52044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikOep-0004Z3-Un for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Dec 2019 03:38:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43001) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikOeh-0004Xj-Nf for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 03:38:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikOeg-0003jf-Q3 for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 03:38:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ikOeg-0003jZ-Mx for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 03:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ikOeg-0007bq-Kd for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 03:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Dec 2019 08:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38734 X-GNU-PR-Package: emacs Original-Received: via spool by 38734-submit@debbugs.gnu.org id=B38734.157734945329214 (code B ref 38734); Thu, 26 Dec 2019 08:38:02 +0000 Original-Received: (at 38734) by debbugs.gnu.org; 26 Dec 2019 08:37:33 +0000 Original-Received: from localhost ([127.0.0.1]:54918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikOeD-0007b8-H2 for submit@debbugs.gnu.org; Thu, 26 Dec 2019 03:37:33 -0500 Original-Received: from mail-lf1-f65.google.com ([209.85.167.65]:43040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikOeB-0007aw-Li for 38734@debbugs.gnu.org; Thu, 26 Dec 2019 03:37:32 -0500 Original-Received: by mail-lf1-f65.google.com with SMTP id 9so18059727lfq.10 for <38734@debbugs.gnu.org>; Thu, 26 Dec 2019 00:37:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=3q5+GDrd3j+9RFk3dRrgO8d/jbBVo10vA5A/ZKaidgo=; b=H1gpZBtA3b8AS7hPw71w5zgtL8vbFR8IL8X5EkpNpGntCMTJ54lJeVhSd4yzCosLk9 WffVS0F1ZQkR0lBRwAei4FAe3tRWS6rgKPhXnjI0qyexsQ8dKA2SbVG5Hovgxg1cqmgS BBtFSQvgaXE5ehkTHp/ERq3SliXWSt8sYo6mL8ET0DfOtmpSMChBrG5z6QhfU5MIVzoJ bfWXOg0ERravD2GJbnBB2mVxPWK/VZMLPqfAhUEYM0f+htNFTqeo4UoslxbG3tXv/R3U dC9ugjtDSpJf+m0GimzA1aAuWvT0EC2kJ49pUEE/FEiCpLNCkVnEoNRtXAjNy3P+IJTj jPGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=3q5+GDrd3j+9RFk3dRrgO8d/jbBVo10vA5A/ZKaidgo=; b=lXOCo91/xDq6fSfij7pw1TXkHuPpBqiZmC7QoonECf7Fgt+jKsxJoJjNGa05Xo8TWc qJgzgAZeWDS/un6ugmO0KCzNcaTZOCnyKdndAFSJNkIwb2T0+VHfjQn9uagw+G542CtI 9fME3t2JOvxRx+Zw0GAomJQxohYXFLHRObr3mRTpYY6kkZdmX0Q8Y2lSXBq3mYoRP87A qTGb3nW20ZLDNIfIOKTD/aBgHqGjQdIrK8XDOVYkYQI+E0/FJTdYR6gwnFusACiu3pF3 gqusvLbDfKZV1FfxIhBODrCYPiVwE5v0AavT2qVyZzTuBZxudyCuWXFDsQlaxJPCZelL d0eg== X-Gm-Message-State: APjAAAX9EQlCdeK+IrvcK9oDB3FKsC044LvK0/2N9mmBFfoOZyOxp/tm sIB3lN5ONgcZwv00RcLd9ZahITH1 X-Google-Smtp-Source: APXvYqyA5xUkkPCDUj7XkSGLwWKfxJbqLsSr9Cprwp0WPb0mzlyLCAI3kcnOMaAaTodVihqtO9OS+Q== X-Received: by 2002:ac2:5a09:: with SMTP id q9mr25483921lfn.71.1577349445198; Thu, 26 Dec 2019 00:37:25 -0800 (PST) Original-Received: from muffinmac.local (188-42-207-82.ip.ukrtel.net. [82.207.42.188]) by smtp.gmail.com with ESMTPSA id n30sm15133866lfi.54.2019.12.26.00.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 00:37:24 -0800 (PST) In-Reply-To: <0100016f3c760750-841a72a8-98cf-4a5b-8ea4-eddbbd79cb44-000000@email.amazonses.com> (Pankaj Jangid's message of "Wed, 25 Dec 2019 09:49:25 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173774 Archived-At: Pankaj Jangid 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.