From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 24 12:17:15 2019 Received: (at submit) by debbugs.gnu.org; 24 Dec 2019 17:17:15 +0000 Received: from localhost ([127.0.0.1]:53055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ijno2-0005rl-Gs for submit@debbugs.gnu.org; Tue, 24 Dec 2019 12:17:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:35728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0100016f38e98956-2a11fe4e-def1-4f3a-836e-e89f8ee217ad-000000@amazonses.com>) id 1ijnnz-0005rd-Tk for submit@debbugs.gnu.org; Tue, 24 Dec 2019 12:17:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47404) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <0100016f38e98956-2a11fe4e-def1-4f3a-836e-e89f8ee217ad-000000@amazonses.com>) id 1ijnny-0001mH-3C for bug-gnu-emacs@gnu.org; Tue, 24 Dec 2019 12:17:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_50,GAPPY_SUBJECT, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <0100016f38e98956-2a11fe4e-def1-4f3a-836e-e89f8ee217ad-000000@amazonses.com>) id 1ijnnw-0002Sm-AP for bug-gnu-emacs@gnu.org; Tue, 24 Dec 2019 12:17:09 -0500 Received: from a8-95.smtp-out.amazonses.com ([54.240.8.95]:49750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <0100016f38e98956-2a11fe4e-def1-4f3a-836e-e89f8ee217ad-000000@amazonses.com>) id 1ijnnw-0002ST-0R for bug-gnu-emacs@gnu.org; Tue, 24 Dec 2019 12:17:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1577207827; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=zNo5KXk+yMzXITae6FTuQo9lhadmgiLUTHvc8UL7yqE=; b=LhYGKz+GnK/RPA59F50ZRG5B9BglNp3lyg2fZYY3fDTRqEgIVMbISTsFMET/aNla IHuuskAb3AhDl4vnh+ec7uOTzxeWhAPeHqQsURbRO1BccU+5O21lx3nXZwEtwrAiMOM ZzDrFsUBFAn6UoTcsJx8ufuNMFSRXP85MVx3Ousk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1577207827; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=zNo5KXk+yMzXITae6FTuQo9lhadmgiLUTHvc8UL7yqE=; b=etwOYSlrC3c2c9JVB31wdSpWwjJGNbxZH0HvueoTTSK1VBZbI3dGVTnaNCQwZZJi 27SzFZXmwTTxq8/qpuBBqy5Hiu6xogZN+RcgsBGq9tSH5XjHX3OXzc4cXX5b06/i6U2 xG51zPRHXh0WNYh9TdzBH3cnOGQBlDb14+yt+hZY= From: Pankaj Jangid To: bug-gnu-emacs@gnu.org Subject: 27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ... Date: Tue, 24 Dec 2019 17:17:07 +0000 Message-ID: <0100016f38e98956-2a11fe4e-def1-4f3a-836e-e89f8ee217ad-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SES-Outgoing: 2019.12.24-54.240.8.95 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 54.240.8.95 X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) The below description is for normal mode without any CLI options. But emacs -Q also produces same warnings. The only difference is that emacs -Q uses Python2 instead of Python3. I have configured Python3 in this directory (venv). 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. In buffer *Warning* Warning (python): Your =E2=80=98python-shell-interpreter=E2=80=99 doesn=E2= =80=99t seem to support readline, yet =E2=80=98python-shell-completion-nati= ve-enable=E2=80=99 was t and "python" is not part of the =E2=80=98python-sh= ell-completion-native-disabled-interpreters=E2=80=99 list. Native completi= ons have been disabled locally.=20 In buffer *Python* Python 3.7.3 (default, Nov 15 2019, 04:04:52)=20 [Clang 11.0.0 (clang-1100.0.33.16)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import codecs, os;__pyfile =3D codecs.open('''/var/folders/lf/kn5fshdx4= md8xcmv02rntfzr0000gn/T/py62bj9y''', encoding=3D'''utf-8''');__code =3D __p= yfile.read().encode('''utf-8''');__pyfile.close();os.remove('''/var/folders= /lf/kn5fshdx4md8xcmv02rntfzr0000gn/T/py62bj9y''');exec(compile(__code, '''/= var/folders/lf/kn5fshdx4md8xcmv02rntfzr0000gn/T/py62bj9y''', 'exec')); python.el: native completion setup failed, : libedit bas= ed readline is known not to work, see etc/PROBLEMS under "In Inferior Python mode, input is echoed". >>>=20 In GNU Emacs 27.0.60 (build 1, x86_64-apple-darwin19.2.0, NS appkit-1894.20= Version 10.15.2 (Build 19C57)) of 2019-12-24 built on Pankajs-MacBook-Pro.local Repository revision: 6184aa003f44363e42762031ca368502021f9e7a Repository branch: emacs-27 Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.2 Recent messages: Sole completion C-x C-k C-g is undefined Shell native completion is disabled, using fallback Mark set Shell native completion is disabled, using fallback Mark set next-line: End of buffer Mark set [3 times] next-line: End of buffer Mark set [2 times] next-line: End of buffer [2 times] Configured using: 'configure LDFLAGS=3D-L/usr/local/opt/ruby/lib CPPFLAGS=3D-I/usr/local/opt/ruby/include PKG_CONFIG_PATH=3D:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/libx= ml2/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libff= i/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig 'HARFBUZZ_CFLAGS=3D-I/usr/local/Cellar/harfbuzz/2.6.4/include/harfbuzz -I/usr/local/Cellar/glib/2.62.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.62.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.43/include -I/usr/local/Cellar/graphite2/1.3.13/include' 'HARFBUZZ_LIBS=3D-L/usr/local/Cellar/harfbuzz/2.6.4/lib -lharfbuzz'' Configured features: RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_IN.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t company-mode: t display-line-numbers-mode: t yas-minor-mode: t electric-pair-mode: t direnv-mode: t show-paren-mode: t which-key-mode: t flymake-mode: t display-time-mode: t global-hl-line-mode: t projectile-mode: t icomplete-mode: t recentf-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Load-path shadows: None found. Features: (shadow bbdb-message vc-mtn vc-hg flyspell ispell emacsbug sendmail two-column iso-transl vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher eglot array filenotify jsonrpc ert ewoc python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell ls-lisp ido autoload checkdoc lisp-mnt gnus-kill shr-color vc-git diff-mode sort gnus-cite smiley mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic nndraft nnmh utf-7 nnfolder bbdb-gnus epa-file gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr svg xml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader help-fns radix-tree cl-print debug backtrace mm-archive message dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs text-property-search gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap epg epg-config finder-inf cl-extra company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company pcase display-line-numbers yasnippet help-mode elec-pair hideshow direnv dash sanityinc-tomorrow-bright-theme color-theme-sanityinc-tomorrow color paren which-key init server init-prog flymake-proc flymake warnings init-edit init-keys init-looks time hl-line init-env exec-path-from-shell init-melpa init-tools projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-python org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs bbdb-mua bbdb-com crm mailabbrev bbdb bbdb-site timezone icomplete edmacro kmacro erc-auth erc-join erc-goodies erc erc-backend erc-compat format-spec thingatpt pp erc-loaddefs recentf tree-widget wid-edit rx info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib early-init tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 1411092 67127) (symbols 48 41626 6) (strings 32 251941 11869) (string-bytes 1 9850373) (vectors 16 75927) (vector-slots 8 1100725 98690) (floats 8 552 401) (intervals 56 146254 608) (buffers 1000 49)) --=20 Pankaj Jangid From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 25 03:35:05 2019 Received: (at 38734) by debbugs.gnu.org; 25 Dec 2019 08:35:05 +0000 Received: from localhost ([127.0.0.1]:53273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ik28H-0006yH-9U for submit@debbugs.gnu.org; Wed, 25 Dec 2019 03:35:05 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:46198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ik28F-0006xb-9T for 38734@debbugs.gnu.org; Wed, 25 Dec 2019 03:35:03 -0500 Received: by mail-lf1-f66.google.com with SMTP id f15so16490629lfl.13 for <38734@debbugs.gnu.org>; Wed, 25 Dec 2019 00:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :cc:to; bh=0t/DQxzT4C2EhWBebqlKmIeUDyEXlTMSsfspVLtyAMg=; b=dvUTaFac9PcSw+fYru4Z7ordikI6Y2nz966SCSPuovQY9feDi7kkbCQkCqh3UzAnnG fuiWm30/vD2Hqc92D92jXvlJfLSSXwHGbrQQLv+KuaiAXOSGoJrpWX/nkty5MY5gNC/2 kMwDigVP6XNFCkLfRKrjOoFBKMuqLtknwUsQPfoi0RbTAtfZViVn8RNYGQCr80HoloVZ fPtVS6/wCO/YE3Wwl2YzbrYPH+Krf4E+txh8pVZCJE/sleRrXbCy/Aa1acsSr0UWUBzs m8UkhQ60N1Sr9a5t6lJF9gdlfc1aOy27DJj9aNMXq35WjCNwCzvU8bLtryQ6IA3z0bbU aL6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=0t/DQxzT4C2EhWBebqlKmIeUDyEXlTMSsfspVLtyAMg=; b=PjQCqy6HbChbYfqs8bSNLMKCMD2y4KdscGOqAXGz0BVJOTjU+W9D758Q993IL1bBHf 4C8EpHYzK7W78uda7xsdFhfwkJsaLvUr9d/ui3RCE08vTN/bZ4oWJ4MCm1w8kKi2is3e YAHPEiJJYbKYeMcjz26PTt9LS6UJ0KYRXbnqO1DDOXrEI91QKoT18boprTROHihLSUlS KQ/I+Tw/noiOzmW7NB0FdXxexaP9R5eFwPdvT+Kw+gCrXh1LLSc+iyxN/Fj9uvAukMTB WfOXV045GVc36SfD0F/6IDPu4OgK0RHyiPDZJ4o/ssbBFd3ubYktQ8KxwdyJhLn2DvtL K+OQ== X-Gm-Message-State: APjAAAUlwzY0rhdBvVjFrCD5l/SIFgF3XIe7a3mdnuALnmv+oRNC3pEB qHH5SwpW0PEb9W2DN19Lihk= X-Google-Smtp-Source: APXvYqw+wpg2Ss4/x+AfxJ27muxi8kwZ/MGu9Jx2GQyXlNwn1GpjwF3QOhWyF640bKhgfVb10sU3Dg== X-Received: by 2002:a19:6455:: with SMTP id b21mr21227704lfj.45.1577262897225; Wed, 25 Dec 2019 00:34:57 -0800 (PST) Received: from [10.1.1.147] (188-42-207-82.ip.ukrtel.net. [82.207.42.188]) by smtp.gmail.com with ESMTPSA id q26sm11054424lfc.52.2019.12.25.00.34.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Dec 2019 00:34:56 -0800 (PST) From: Andrii Kolomoiets Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: bug#38734: 27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ... Message-Id: <2AD67371-B443-4B8E-A96C-A410F93BF613@gmail.com> Date: Wed, 25 Dec 2019 10:34:55 +0200 To: p4j@j4d.net X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 38734 Cc: 38734@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) Hello Pankaj, > 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. > python.el: native completion setup failed, : = libedit based=20 > readline is known not to work, > see etc/PROBLEMS under "In Inferior Python mode, input is = echoed". Do you use python shipped with MacOS? Mentioned section of the etc/PROBLEMS file has explanation: This happens when python uses a libedit based readline module, which is the default on macOS. and link to bug#25753: = https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25753 I'm using python installed via homebrew and native completions works = fine.= From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 25 04:49:34 2019 Received: (at 38734) by debbugs.gnu.org; 25 Dec 2019 09:49:34 +0000 Received: from localhost ([127.0.0.1]:53300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ik3IL-0000Vs-TH for submit@debbugs.gnu.org; Wed, 25 Dec 2019 04:49:34 -0500 Received: from a48-105.smtp-out.amazonses.com ([54.240.48.105]:33216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0100016f3c760750-841a72a8-98cf-4a5b-8ea4-eddbbd79cb44-000000@amazonses.com>) id 1ik3IJ-0000Ve-Fz for 38734@debbugs.gnu.org; Wed, 25 Dec 2019 04:49:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1577267366; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=7CPX/XI73+0I4JAipq1x7H3lddtKf5nkGHvcs/X7G1A=; b=Rh+PP5v89K3HMbVjgLfT+Sz3Gn6fYua896T3KKG3Une5CrIsgPoEk3EP+eGRrgpB XLbbfEBKh/NoBBrGV6dj48v4yUHKhPE/ycjgQlzKwCQE/M7BOOO5o0Xvc9DaPS+U3O/ AEyTYTYHPl6L/wPdVSFiq+WWbvJczu2hvfvtSjME= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1577267365; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=7CPX/XI73+0I4JAipq1x7H3lddtKf5nkGHvcs/X7G1A=; b=KMHVZ/Xc49NUR07CXkYxCjXsSJiSNNyRTaIXQTehRCv6fHDl0tse4v0xfHN6tZ42 xBei80ABZ5WuelFzorlHnhnprtIcHRU3DPJX5sZC0ZQwCpPpEDSgFV4AJ0+78mg1QYZ RDFiLYRxXIyvMu76hJKu6DouIFK2iEYx4FcRak4k= From: Pankaj Jangid To: Andrii Kolomoiets Subject: Re: bug#38734: 27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ... Organization: J4D Network References: <2AD67371-B443-4B8E-A96C-A410F93BF613@gmail.com> Date: Wed, 25 Dec 2019 09:49:25 +0000 In-Reply-To: <2AD67371-B443-4B8E-A96C-A410F93BF613@gmail.com> (Andrii Kolomoiets's message of "Wed, 25 Dec 2019 10:34:55 +0200") Message-ID: <0100016f3c760750-841a72a8-98cf-4a5b-8ea4-eddbbd79cb44-000000@email.amazonses.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-SES-Outgoing: 2019.12.25-54.240.48.105 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 38734 Cc: 38734@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) >> 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. > > Do you use python shipped with MacOS? > > Mentioned section of the etc/PROBLEMS file has explanation: > > This happens when python uses a libedit based readline module, which > is the default on macOS. > > and link to bug#25753: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753 > > I'm using python installed via homebrew and native completions works fine. 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? From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 25 06:42:16 2019 Received: (at 38734-done) by debbugs.gnu.org; 25 Dec 2019 11:42:16 +0000 Received: from localhost ([127.0.0.1]:53356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ik53Q-0003DI-FM for submit@debbugs.gnu.org; Wed, 25 Dec 2019 06:42:16 -0500 Received: from a48-105.smtp-out.amazonses.com ([54.240.48.105]:58156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0100016f3cdd3875-8ad7d683-08bd-4210-bd54-806d938ea215-000000@amazonses.com>) id 1ik53O-0003D5-B8 for 38734-done@debbugs.gnu.org; Wed, 25 Dec 2019 06:42:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1577274128; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=03GA85ilb82898fHBENnf4lSc+x6/luHoG1pBZiCvVI=; b=dT6ynZNiM2g6Wfyv6bos1o4M3x+eY7mA95ZNeGdO3MdAICzVau6TPukFrzqfM2v0 eqzsLSJ/oOG3V75P0u2SfoclSuT7jfXMkCLQDHrQIXvwd2Z5hqg6gGSUMeq2iM6J5ER yCH/3XwOpA7MwAvkmtcwG2Q0p2znv0/Iy/vvaZlw= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1577274128; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=03GA85ilb82898fHBENnf4lSc+x6/luHoG1pBZiCvVI=; b=jmpNd5QqZdViCBd9JYWW6L1ZZKRR6hxHPmBXfJZPbLXh7pCpq/rds8mSFlsiDQwe NF/RDGcua9sXr3gZhbP2F8/M2IZ4lMQ1DAMxYZM8WB1B7M/D0lX0dijUl93yHvFK4wG dnZ54CvNjF5jvGEd+ZC7JiTuK66QeAHm8rESU0Ac= From: Pankaj Jangid To: 38734-done@debbugs.gnu.org Subject: Re: bug#38734: 27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ... References: <2AD67371-B443-4B8E-A96C-A410F93BF613@gmail.com> Date: Wed, 25 Dec 2019 11:42:08 +0000 In-Reply-To: (Pankaj Jangid's message of "Wed, 25 Dec 2019 15:19:20 +0530") Message-ID: <0100016f3cdd3875-8ad7d683-08bd-4210-bd54-806d938ea215-000000@email.amazonses.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-SES-Outgoing: 2019.12.25-54.240.48.105 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 38734-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) Duplicate of 25753 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753 Closing. Works fine with homebrew's version of Python. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 26 03:37:33 2019 Received: (at 38734) by debbugs.gnu.org; 26 Dec 2019 08:37:33 +0000 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 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 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) 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) From: Andrii Kolomoiets To: Pankaj Jangid Subject: Re: bug#38734: 27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ... References: <2AD67371-B443-4B8E-A96C-A410F93BF613@gmail.com> <0100016f3c760750-841a72a8-98cf-4a5b-8ea4-eddbbd79cb44-000000@email.amazonses.com> Date: Thu, 26 Dec 2019 10:37:23 +0200 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") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 38734 Cc: 38734@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 26 06:10:31 2019 Received: (at 38734) by debbugs.gnu.org; 26 Dec 2019 11:10:31 +0000 Received: from localhost ([127.0.0.1]:54959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikR2F-00031c-KQ for submit@debbugs.gnu.org; Thu, 26 Dec 2019 06:10:31 -0500 Received: from a48-105.smtp-out.amazonses.com ([54.240.48.105]:50932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0100016f41e6823d-7374a89d-5e10-494a-9adf-c74da6bbc502-000000@amazonses.com>) id 1ikR2D-00031P-6q for 38734@debbugs.gnu.org; Thu, 26 Dec 2019 06:10:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1577358623; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=mpdQJg4O256+hFye3cs800xTdfs/PXeCHGGPU0y+6SM=; b=Gow+pVSJJ+/4/NfFo1tm3IXrhzGChaJbHLIeyQXyTUK4qsQ64JrKK54mHJRqtn1t 5zFRkAD2VccWBJMceNCORbEcAbU7irS1J26gHU85pJspx3y2cI6b+XuWNexEa9z0rGB +tTRqq2FRrTnBsoDvGGNANSt+0knQWhMuFBjqQvI= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1577358623; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=mpdQJg4O256+hFye3cs800xTdfs/PXeCHGGPU0y+6SM=; b=NWhCIiG7SW74D3KARK6ehXcHr8+YUOBOGBbeZm8i7NQXKE0AY7MLpe/0afacJHVi 5DUKO8XZJF/j7GHpi5rQGf9PWF0XUX02SGo4TNFqDMwA+PN/CQ6GqXmurwjeKUSIelc zf1Q8hWiA9SW6/CX7GiRhZW8j68IrFgqGIN0CGeg= From: Pankaj Jangid To: Andrii Kolomoiets Subject: Re: bug#38734: 27.0.60; C-c C-p Warning - 'python-shell-interpreter' doesn't seem to support readline ... Organization: J4D Network References: <2AD67371-B443-4B8E-A96C-A410F93BF613@gmail.com> <0100016f3c760750-841a72a8-98cf-4a5b-8ea4-eddbbd79cb44-000000@email.amazonses.com> Date: Thu, 26 Dec 2019 11:10:23 +0000 In-Reply-To: (Andrii Kolomoiets's message of "Thu, 26 Dec 2019 10:37:23 +0200") Message-ID: <0100016f41e6823d-7374a89d-5e10-494a-9adf-c74da6bbc502-000000@email.amazonses.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-SES-Outgoing: 2019.12.26-54.240.48.105 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 38734 Cc: 38734@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) Andrii Kolomoiets writes: > 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. Thanks for clarification. I appreciate it. Regards, -- Pankaj Jangid From unknown Mon Aug 18 04:42:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Jan 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator