From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25753: 25.2; Python mode shell interaction not working 100% Date: Sun, 19 Feb 2017 15:00:03 -0500 Message-ID: References: <83lgt6xbr0.fsf@gnu.org> <87poifjsw2.fsf@users.sourceforge.net> <87lgt2rz4j.fsf@aol.com> <87d1eermwb.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1487534477 14229 195.159.176.226 (19 Feb 2017 20:01:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 20:01:17 +0000 (UTC) Cc: 25753@debbugs.gnu.org, "Charles A. Roelli" To: Live System User Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 19 21:01:12 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 1cfXfT-0003EN-Tw for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 21:01:12 +0100 Original-Received: from localhost ([::1]:34916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfXfZ-0000S2-EZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 15:01:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfXfO-0000Pu-Dz for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:01:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfXfK-0005IU-A0 for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:01:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfXfK-0005IK-6B for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfXfJ-0006yB-PF for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2017 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25753-submit@debbugs.gnu.org id=B25753.148753441226722 (code B ref 25753); Sun, 19 Feb 2017 20:01:01 +0000 Original-Received: (at 25753) by debbugs.gnu.org; 19 Feb 2017 20:00:12 +0000 Original-Received: from localhost ([127.0.0.1]:46505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfXeV-0006ww-RJ for submit@debbugs.gnu.org; Sun, 19 Feb 2017 15:00:12 -0500 Original-Received: from mail-ot0-f194.google.com ([74.125.82.194]:32991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfXeU-0006vt-6l for 25753@debbugs.gnu.org; Sun, 19 Feb 2017 15:00:10 -0500 Original-Received: by mail-ot0-f194.google.com with SMTP id j49so2242563otb.0 for <25753@debbugs.gnu.org>; Sun, 19 Feb 2017 12:00:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=1Z4IFT8Yk87v9WquC2KHU/wySlr+u+ApAcGWiLNOzyU=; b=GBJOj2nTAo6NwtcpdaExlU/gOUN7IwRVcD2sz2DzIJQd2xfhPssjqpiePrKI3dH6V9 Gy8iTv4vDK59mjyOE5rTD2MZk/3F+ojKOEZSbrhOI1wvIkRJ4zQbsHZ4Da6YqUj2gcnp ny2fuj9KyliDo8By6RqK2H2F5M/nfOAQcAahjItko27duicCXRMgh/AubuT9TnUfAPlU oFdKhqz4wXwiMErCvStmaCsJIXK71WGxDT7DLd+ZBwQld3dLwj1AgmZvZiUbyQyFGOhH +7X5lgs+N2lElE3G9jRxOKKd9GezQ9S7EZwvSloqZA88N1UwmDI1JHMJF473xFAUsSNH ILkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=1Z4IFT8Yk87v9WquC2KHU/wySlr+u+ApAcGWiLNOzyU=; b=eUAV+W6rA+8W3aCZ8J3ON10SLOZ/cDvpmtY6TCKQ/pdTe/Sc5iTyw6uI2oF4k5ozeU loOoMrN5SOyM7yMCGcqR8+Dw8LN27e8pHNZDD1rriEB1SAEgempwofSv02di+JeY79xE FBspYj/1mpigmyvXG1seIe/81NEfx1sNHKlM4gXam7AnpY8hfesIrNVwUk738gcq0UCI RnykvO3QcFHqbDVZPPPuhNzNc7K6LjKAGWHJiUpVg1hR1ErEGokELllRlAAw6Ns74wP+ lKG6M/UjbSSl2no9Sb2+UHfl4GW286m1i5sA0v+41CjWr4ffpLyRHLZC6+2eYlYtaY3K JRCQ== X-Gm-Message-State: AMke39lLZe435luJqdWKsUO44O35DGX4iGlkYSoURhv+swEntQCD0H6wIHBjjlG+LIX1Tlp/Zv4rWWfrFj1pZA== X-Received: by 10.157.14.85 with SMTP id n21mr10746643otd.244.1487534404331; Sun, 19 Feb 2017 12:00:04 -0800 (PST) Original-Received: by 10.157.35.87 with HTTP; Sun, 19 Feb 2017 12:00:03 -0800 (PST) In-Reply-To: <87d1eermwb.fsf@aol.com> X-Google-Sender-Auth: SP7sOWZlbNdiIK2utv2q0G_rQXo 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:129549 Archived-At: On Sun, Feb 19, 2017 at 2:39 PM, Live System User wrote: >> >> Do you see this with 25.2-rc1 on GNU/Linux though? > > Fedora doesn't have that version available currently. Can you try it after M-x load-library python RET and then evaluate this new definition of python-shell-completion-native-try: (defun python-shell-completion-native-try () "Return non-nil if can trigger native completion." (let ((python-shell-completion-native-enable t) (python-shell-completion-native-output-timeout python-shell-completion-native-try-output-timeout)) (python-shell-completion-native-get-completions (get-buffer-process (current-buffer)) nil "_"))) > > I did, however, look into the Python modules having to do with > "readline"(completion). > > I discovered that if I used the "readline" from "pyrepl.py"instead > of the standard default one, then even though that warning still > occured in a *Warning* buffer in Emacs, I never saw it -- I just > saw the *Python* buffer and my source buffer, as expected. I'm not sure what "pyrepl" is or to "use" it, but just looking at web search results, it seems to be connected to pypy, which is in the list of python-shell-completion-native-disabled-interpreters, could that be related?