From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jaan Altosaar Newsgroups: gmane.emacs.bugs Subject: bug#32042: 26.1; python.el with ipython prompt leads to superfluous interactive shell output Date: Tue, 10 Jul 2018 18:51:32 -0400 Message-ID: References: <87zhz9l6p9.fsf@gmail.com> <87va9xkuyu.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b7f98b0570acf8cb" X-Trace: blaine.gmane.org 1531263012 17891 195.159.176.226 (10 Jul 2018 22:50:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2018 22:50:12 +0000 (UTC) Cc: "32042@debbugs.gnu.org" <32042@debbugs.gnu.org> To: "gnu.emacs.bug@googlegroups.com" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 00:50:08 2018 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 1fd1SS-0004Xl-AF for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2018 00:50:08 +0200 Original-Received: from localhost ([::1]:50018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fd1UZ-0002MW-Ar for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2018 18:52:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fd1UK-0002Lz-Vr for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 18:52:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fd1UI-00069S-B3 for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 18:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fd1UI-00069H-6M for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 18:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fd1UH-00060J-Tx for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 18:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jaan Altosaar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jul 2018 22:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32042 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32042-submit@debbugs.gnu.org id=B32042.153126310523056 (code B ref 32042); Tue, 10 Jul 2018 22:52:01 +0000 Original-Received: (at 32042) by debbugs.gnu.org; 10 Jul 2018 22:51:45 +0000 Original-Received: from localhost ([127.0.0.1]:54430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fd1U1-0005zo-Ae for submit@debbugs.gnu.org; Tue, 10 Jul 2018 18:51:45 -0400 Original-Received: from ppa01.princeton.edu ([128.112.128.213]:38216 helo=Princeton.EDU) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fd1U0-0005zc-1c for 32042@debbugs.gnu.org; Tue, 10 Jul 2018 18:51:44 -0400 Original-Received: from csgsmtp202l.Princeton.EDU (csgsmtp202l.Princeton.EDU [140.180.223.155]) by ppa01.princeton.edu (8.16.0.21/8.16.0.21) with ESMTPS id w6AMpcuI019448 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <32042@debbugs.gnu.org>; Tue, 10 Jul 2018 18:51:38 -0400 Original-Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) (authenticated authid=altosaar bits=0) by csgsmtp202l.Princeton.EDU (8.14.4/8.12.9) with ESMTP id w6AMpXjd030304 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <32042@debbugs.gnu.org>; Tue, 10 Jul 2018 18:51:38 -0400 Original-Received: by mail-io0-f173.google.com with SMTP id i18-v6so6171208ioj.13 for <32042@debbugs.gnu.org>; Tue, 10 Jul 2018 15:51:38 -0700 (PDT) X-Gm-Message-State: APt69E3BZuM5pyIyq3KaLaoZMNObQAr7GjiMUngySHkcPjPNeLowfPA/ lvfESbwVXSfFCUVOh2AOuSM3qtp1b08DaHgqehs= X-Google-Smtp-Source: AAOMgpe29j8lc54WWFUvcH0MaVswhe0XhV6TLvuGEqrqVkchVRM3Ehi0fr6aFJP8KQoOUwCUt1cY7sjHkEJFDB+fWKU= X-Received: by 2002:a6b:8f4e:: with SMTP id r75-v6mr23174591iod.252.1531263093043; Tue, 10 Jul 2018 15:51:33 -0700 (PDT) Original-Received: by 2002:a6b:2301:0:0:0:0:0 with HTTP; Tue, 10 Jul 2018 15:51:32 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-07-10_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=quarantine_notspam policy=quarantine score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=947 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807100243 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:148427 Archived-At: --000000000000b7f98b0570acf8cb Content-Type: text/plain; charset="UTF-8" This is from within emacs. Contents of init.el: ``` (setq python-shell-interpreter "ipython" python-shell-interpreter-args "--simple-prompt --classic --nosep" ) ``` And launching the prompt with `M-x run-python`. Sorry for the double messages; I resent only to 32042@debbugs.gnu.org because I received this message: Address not found Your message wasn't delivered to gnu.emacs.bug@googlegroups.com because the address couldn't be found, or is unable to receive mail. On Tuesday, July 10, 2018, Noam Postavsky wrote: > Jaan Altosaar writes: > > > Python 3.6.6 |Anaconda custom (64-bit)| (default, Jun 28 2018, 11:07:29) > > Type 'copyright', 'credits' or 'license' for more information > > IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help. > >>>> import readline; print(readline.__doc__); print(readline.__file__) > > Importing this module enables command line editing using GNU readline. > > Hmm, maybe it's not the same problem then. Do you see the same "using > GNU readline" output when doing the same from within Emacs? > > PS now your messages are arriving in duplicate for some reason. > > > > > --000000000000b7f98b0570acf8cb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is from within emacs.=C2=A0

Contents of init.el:

```
(setq
=C2=A0python-shell-inte= rpreter "ipython"
=C2=A0python-shell-interpreter-args &= quot;--simple-prompt --classic --nosep"
)
```

And launching the prompt with `M-x run-python`.<= /div>

Sorry for the double messages; I resent only = to=C2=A0
32042@debbugs.gnu.org= =C2=A0because I received this message:

Addres= s not found
Your message wasn't delivered to gnu.emacs.bug@googlegroups.com becaus= e the address couldn't be found, or is unable to receive mail.

On Tuesday, July 10, 2018, Noam Postavsky <npostavs@gmail.com> wrote:
Jaan Altosaar <a= ltosaar@princeton.edu> writes:

> Python 3.6.6 |Anaconda custom (64-bit)| (default, Jun 28 2018, 11:07:2= 9)
> Type 'copyright', 'credits' or 'license' for m= ore information
> IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for = help.
>>>> import readline; print(readline.__doc__); print(readline._= _file__)
> Importing this module enables command line editing using GNU readline.=

Hmm, maybe it's not the same problem then.=C2=A0 Do you see the same &q= uot;using
GNU readline" output when doing the same from within Emacs?

PS now your messages are arriving in duplicate for some reason.




--000000000000b7f98b0570acf8cb--