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 19:56:39 +0300 Message-ID: References: <87lgl4m5uo.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113c5f5ed223ba0559f2550e" X-Trace: blaine.gmane.org 1506272300 21486 195.159.176.226 (24 Sep 2017 16:58:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 16:58:20 +0000 (UTC) Cc: 28580@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 18:58:13 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 1dwAEK-0004o7-HJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 18:58:08 +0200 Original-Received: from localhost ([::1]:38793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwAER-0001xi-SW for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 12:58:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwAEH-0001vJ-Ew for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwAEE-00087B-Ct for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:58:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47637) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwAEE-00086s-9D for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwAED-0006Ap-Tk for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:58:01 -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 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28580-submit@debbugs.gnu.org id=B28580.150627224823690 (code B ref 28580); Sun, 24 Sep 2017 16:58:01 +0000 Original-Received: (at 28580) by debbugs.gnu.org; 24 Sep 2017 16:57:28 +0000 Original-Received: from localhost ([127.0.0.1]:56318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwADf-0006A1-Ti for submit@debbugs.gnu.org; Sun, 24 Sep 2017 12:57:28 -0400 Original-Received: from mail-qk0-f172.google.com ([209.85.220.172]:56182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwADd-00069o-VE for 28580@debbugs.gnu.org; Sun, 24 Sep 2017 12:57:26 -0400 Original-Received: by mail-qk0-f172.google.com with SMTP id q8so4733430qkl.12 for <28580@debbugs.gnu.org>; Sun, 24 Sep 2017 09:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=h+qaUcjBW2I1DYVm54VYtzC3jlz/+zNoOpY86ncMYf4=; b=aqJBiGmwGR93bUFszxedXSD0XeYRvyd7OSzeIpKscSnqCE73WrckGjLa7Jk96RGUDi 5xcj0kuYEh1URUmtqMlwZfvwm1JGU1ZkBNvnYYqh6YlIpF5Mx0rFvYwl+kOzK/oRGhza ee6DavbgTL9T8rozs8V+DQGBfxJ/CzskSyj6A7IzIHBt4gsq8C0e8ColSkmwDOsCr7aG XATHSPu6n7CWaIorL5pWkAom1e1EnUSHRS4GAjg7JD7w86056fGHaxKsJJUEZ6Qjd//l XSGvyCkUj2qkDznA7GQyi2GdKjLxT+fhihaibPim+1yva0bRrZY9Q4/z8D7wUsFfGImm d6lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=h+qaUcjBW2I1DYVm54VYtzC3jlz/+zNoOpY86ncMYf4=; b=Kk8i9n3Z4f3QLsjNSmoafjIJg4DYOU1e0jlPVQJCdqBGCS80oFTO97lX9jdYxf1a6u WlCznHz7VcYOFeZXV/M7xTjAFOQFLyU4gXuLJb0Fct5yIhXcQFTsTNlI1YMZMPJeh1my rRSuWfeDA34a+XEtZvAA8hPsWoCXKO+qdXqLQ9IrmA4+hcqNFDwNqOrvDn/ovxeh93QZ K1g4unDNddP+UL0eNMm90Rc1w9eNJUgQQKM4eH1iHoacB2UbN17a8i1IFJRePEpl19b3 +CvhCy4D0UEvwx8gSCIP7S7CbDK/9oxRvozxxiwlSTNJVElDcmjYFED6cIg2e74XzoNA SWng== X-Gm-Message-State: AHPjjUjWSh7Fhj1fC7ecJK31X3G7JUTXuacQc6YGxWQI9sNhQ/4Eiu5b AQ3KUtGNnkQSS89BQAMUnvT2FaKdX594DHBh5aY= X-Google-Smtp-Source: AOwi7QBdUGQdlozwrtjZXhulT/S6KqWpSGcmnHJ0zvTJwNnDOTNNuURU+8pydTqf5bfz7dm/EdjZxJoeksaGy9uVc4M= X-Received: by 10.55.203.210 with SMTP id u79mr6613147qkl.189.1506272240342; Sun, 24 Sep 2017 09:57:20 -0700 (PDT) Original-Received: by 10.200.43.88 with HTTP; Sun, 24 Sep 2017 09:56:39 -0700 (PDT) In-Reply-To: <87lgl4m5uo.fsf@users.sourceforge.net> 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:137348 Archived-At: --001a113c5f5ed223ba0559f2550e Content-Type: text/plain; charset="UTF-8" Hi Noam, and thank you for a quick reply! 2017-09-24 19:14 GMT+03:00 Noam Postavsky : > > It is expected that Python completion works out-of-the-box, without > > warnings. > > Seems to be impossible, unfortunately. Does this commentary from > python.el help? > > ;; If your Python installation lacks readline (like CPython for > ;; Windows), installing pyreadline (URL > ;; `http://ipython.org/pyreadline.html') should suffice. To > ;; troubleshoot why you are not getting any completions, you can try the > ;; following in your Python shell: > ;; >>> import readline, rlcompleter > > ;; If you see an error, then you need to either install pyreadline or > ;; setup custom code that avoids that dependency. > It didn't help, unfortunately: I was indeed missing pyreadline, but installing it from conda repo made no difference :-( Neither did using "-i -u" as interactive Python arg. I vaguely remember this working with older Pythons -- what could probably change? Best wishes, Andrey Paramonov --001a113c5f5ed223ba0559f2550e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Noam,

and thank you for a quick repl= y!

2017-09-24 = 19:14 GMT+03:00 Noam Postavsky <npostavs@users.sourceforge.ne= t>:
> It is expected tha= t Python completion works out-of-the-box, without
> warnings.

Seems to be impossible, unfortunately.=C2=A0 Does this commentary from
python.el help?

;; If your Python installation lacks readline (like CPython for
;; Windows), installing pyreadline (URL
;; `http://ipython.org/pyreadline.html') should suffi= ce.=C2=A0 To
;; troubleshoot why you are not getting any completions, you can try the ;; following in your Python shell:

;; >>> import readline, rlcompleter

;; If you see an error, then you need to either install pyreadline or
;; setup custom code that avoids that dependency.

=
It didn't help, unfortunately: I was indeed missing pyreadli= ne, but installing it from conda repo made no difference :-(
Neit= her did using "-i -u" as interactive Python arg.

I vaguely remember this working with older Pythons -- what could p= robably change?

Best wishes,
Andrey Para= monov

--001a113c5f5ed223ba0559f2550e--