From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Newsgroups: gmane.emacs.bugs Subject: bug#28580: python.el: native completion setup failed Date: Sun, 24 Sep 2017 18:56:32 +0300 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1147a052d26f8b0559f17e6e" X-Trace: blaine.gmane.org 1506268687 10197 195.159.176.226 (24 Sep 2017 15:58:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 15:58:07 +0000 (UTC) To: 28580@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 17:58:03 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9IA-0002Ha-Mm for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 17:58:03 +0200 Original-Received: from localhost ([::1]:38567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw9IH-00076K-RM for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 11:58:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw9IC-00076E-8N for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 11:58:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dw9IA-0002Cx-Q8 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 11:58:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dw9IA-0002Cs-Mq for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 11:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dw9IA-0004kW-GL for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 11:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2017 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150626864718208 (code B ref -1); Sun, 24 Sep 2017 15:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Sep 2017 15:57:27 +0000 Original-Received: from localhost ([127.0.0.1]:56237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9Ha-0004jb-Vr for submit@debbugs.gnu.org; Sun, 24 Sep 2017 11:57:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9HZ-0004jN-SX for submit@debbugs.gnu.org; Sun, 24 Sep 2017 11:57:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dw9HT-0001tb-4Y for submit@debbugs.gnu.org; Sun, 24 Sep 2017 11:57:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dw9HT-0001tJ-0R for submit@debbugs.gnu.org; Sun, 24 Sep 2017 11:57:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw9HR-0006xH-4K for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 11:57:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dw9HP-0001s1-Uz for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 11:57:17 -0400 Original-Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:47432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dw9HP-0001rW-Os for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 11:57:15 -0400 Original-Received: by mail-qk0-x22b.google.com with SMTP id b82so4718685qkc.4 for ; Sun, 24 Sep 2017 08:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=R1k6SMENJgZutcay5PCwRrAkV4gFaP4rc48A9q+9tJ0=; b=V9z6o1ko+pTHkQKxQXIGasd3MBsUcmGgOXawLVmzM7XUcgvc/Tdxto3hGa0mVhhzH1 3S1+ZKvZAhDujgKrzPIIG5JmKy6VJP//GhTGeWCg1y8xc5R9Z+AcBohu2w4pNveD9KUU NnXUSJj3EH3yp2aTIpIVB1k1fGIJA7rkUXf7Pv/B5mxV64c0CwL3J7a3OeUp5QUs1Y3U os7FrUKmmp6MkrEHMWcuFQg/h/9imz2IMKcOIQX20TJ0DAAeJ+8FtPkg7PW9sza0s8hD l738rAqgrJ4zmSolZ6c52cHP7TK9e9XR5LBrO1NH0kgOeoMeFMnnxuvyHcNYu9B4BnPZ GO7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=R1k6SMENJgZutcay5PCwRrAkV4gFaP4rc48A9q+9tJ0=; b=RXZw3nGGhoaz+1lfBL7xX6mCulCeNetCi6hXw+IgqRGCt3o/u2k1gtoy8NJNLcqArS FfP8juvClK4RaQhDQUuA07dqVdLxHRhBRkakc94vVCs9lmHYvIpqG/RW4U8hmiz3gkY4 WPyFqvm8wUdyIg/JDsz84CnkzjtNUTlB++R+QqNmPj7Upj3pQr4msoUVsUxWWi2MOrwN zsva2IswSM3gWocSWsGL6ynjtmIm1RuI8NllJAutPph0B0LPPIcFfvEa63bbG0VQs6IP /M1EXzBZ5E2DVV6s9UhXVgNi2/E8druzUtx+Cjx/3yVUJyr/0UIHE6z0a56QoykznMXk S4JA== X-Gm-Message-State: AHPjjUita0EPB0h7oARqTbHpY6WhERFzJeU3upagBd0v+TvYQsTDaE1z wA4yz4GmGoIeeW/95gN1H9yckdrcnOnxwc0hdBxrWw== X-Google-Smtp-Source: AOwi7QBWrBlhXTCcY5Ygas4iK17mvqu6A5nv8RhVFTB3TfAhMNQRomuQqFMJDhVHZxWOoji4xE18YBfggCvR7jn68w0= X-Received: by 10.55.23.65 with SMTP id i62mr7083611qkh.141.1506268633262; Sun, 24 Sep 2017 08:57:13 -0700 (PDT) Original-Received: by 10.200.43.88 with HTTP; Sun, 24 Sep 2017 08:56:32 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:137343 Archived-At: --001a1147a052d26f8b0559f17e6e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! I'm on Windows, using Python3 from Anaconda distrib. I've set option '(python-shell-interpreter "py") When doing M-x run-python I get 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-native-enable=E2=80=99 was t= and "py" is not part of the =E2=80=98python-shell-completion-native-disabled-interpreters= =E2=80=99 list. Native completions have been disabled locally. Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:25:24) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> python.el: native completion setup failed >>> It is expected that Python completion works out-of-the-box, without warnings. Ready to provide any additional info, Andrey Paramonov In GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Configured using: 'configure --without-dbus --without-compress-install 'CFLAGS=3D-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: RUS locale-coding-system: cp1252 Major mode: Special Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... You can run the command run-python with C-c C-p Shell native completion is disabled, using fallback Load-path shadows: None found. Features: (shadow sort mail-extr thingatpt emacsbug message dired rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils warnings compile tramp-cache python tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice json map comint ring ansi-color finder-inf info tex-site package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 238322 10475) (symbols 56 24227 0) (miscs 48 129 150) (strings 32 31786 7274) (string-bytes 1 989742) (vectors 16 40361) (vector-slots 8 734537 6096) (floats 8 256 140) (intervals 56 426 0) (buffers 976 24)) --001a1147a052d26f8b0559f17e6e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

I'm on Windows, u= sing Python3 from Anaconda distrib. I've set option
=C2=A0= 9;(python-shell-interpreter "py")

When d= oing
M-x run-python
I get
Warning (python): Y= our =E2=80=98python-shell-interpreter=E2=80=99 doesn=E2=80=99t seem to supp= ort readline, yet =E2=80=98python-shell-completion-native-enable=E2=80=99 w= as t and "py" is not part of the =E2=80=98python-shell-completion= -native-disabled-interpreters=E2=80=99 list.=C2=A0 Native completions have = been disabled locally.=C2=A0

Python 3.6.1 |Anacond= a 4.4.0 (64-bit)| (default, May 11 2017, 13:25:24) [MSC v.1900 64 bit (AMD6= 4)] on win32
Type "help", "copyright", &q= uot;credits" or "license" for more information.
&g= t;>> python.el: native completion setup failed
>>>=

It is expected that Python completion works out-o= f-the-box, without warnings.

Ready to provide any = additional info,
Andrey Paramonov

In GNU= Emacs 25.3.1 (x86_64-w64-mingw32)
=C2=A0of 2017-09-17 built on L= APHROAIG
Windowing system distributor 'Microsoft Corp.', = version 6.3.9600
Configured using:
=C2=A0'configure= --without-dbus --without-compress-install 'CFLAGS=3D-O2
=C2= =A0-static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
=
TOOLKIT_SCROLL_BARS

Important settings:
=
=C2=A0 value of $LANG: RUS
=C2=A0 locale-coding-system: cp12= 52

Major mode: Special

Mi= nor modes in effect:
=C2=A0 shell-dirtrack-mode: t
=C2= =A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2= =A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 fil= e-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
= =C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t<= /div>
=C2=A0 buffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent mess= ages:
For information about GNU Emacs and the GNU system, type C-= h C-a.
Making completion list...
You can run the comman= d =C2=A0 =C2=A0run-python =C2=A0 =C2=A0with C-c C-p
Shell native = completion is disabled, using fallback

Load-path s= hadows:
None found.

Features:
= (shadow sort mail-extr thingatpt emacsbug message dired rfc822 mml
mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-util= s
warnings compile tramp-cache python tramp-sh tramp tramp-compat=
auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util he= lp-fns
mail-prsvr password-cache tramp-loaddefs trampver ucs-norm= alize shell
pcomplete format-spec advice json map comint ring ans= i-color finder-inf
info tex-site package epg-config seq byte-opt = gv bytecomp byte-compile
cl-extra help-mode easymenu cconv cl-loa= ddefs pcase cl-lib time-date
mule-util tooltip eldoc electric uni= quify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp = disp-table w32-win w32-vars
term/common-win tool-bar dnd fontset = image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp= -mode prog-mode register page
menu-bar rfn-eshadow timer select s= croll-bar mouse jit-lock font-lock
syntax facemenu font-core fram= e cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibeta= n thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek= romanian slovak czech european ethiopic indian
cyrillic chinese = charscript case-table epa-hook jka-cmpr-hook help
simple abbrev m= inibuffer cl-preloaded nadvice loaddefs button faces
cus-face mac= roexp files text-properties overlay sha1 md5 base64 format
env co= de-pages mule custom widget hashtable-print-readable backquote
w3= 2notify w32 multi-tty make-network-process emacs)

= Memory information:
((conses 16 238322 10475)
=C2=A0(sy= mbols 56 24227 0)
=C2=A0(miscs 48 129 150)
=C2=A0(strin= gs 32 31786 7274)
=C2=A0(string-bytes 1 989742)
=C2=A0(= vectors 16 40361)
=C2=A0(vector-slots 8 734537 6096)
= =C2=A0(floats 8 256 140)
=C2=A0(intervals 56 426 0)
=C2= =A0(buffers 976 24))

--001a1147a052d26f8b0559f17e6e--