GNU bug report logs - #32042
26.1; python-shell-send-buffer with ipython 6.x shows "plumbing" code along with python error message

Previous Next

Package: emacs;

Reported by: Jaan Altosaar <altosaar <at> princeton.edu>

Date: Mon, 2 Jul 2018 20:25:02 UTC

Severity: normal

Tags: confirmed

Found in versions 24.5, 25.1, 25.2, 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jaan Altosaar <altosaar <at> princeton.edu>
To: 32042 <at> debbugs.gnu.org
Subject: bug#32042: 26.1; python.el with ipython prompt leads to superfluous interactive shell output
Date: Tue, 10 Jul 2018 18:14:42 -0400
[Message part 1 (text/plain, inline)]
Thanks! It looks like it's the anaconda readline:

```
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.
/usr/local/anaconda3/lib/python3.6/site-packages/
readline.cpython-36m-darwin.so
```

I tried using gnureadline too but get the same broken output.

```
>>> import readline
>>> print(readline.__doc__); print(readline.__file__)
Importing this module enables command line editing using GNU readline.
/usr/local/anaconda3/lib/python3.6/site-packages/readline.py
>>> cat /usr/local/anaconda3/lib/python3.6/site-packages/readline.py
from gnureadline import *
from gnureadline import __doc__
```

On Monday, July 9, 2018, Noam Postavsky <npostavs <at> gmail.com> wrote:

> On 9 July 2018 at 08:59, Jaan Altosaar <altosaar <at> princeton.edu> wrote:
> > My bad! Reply alling to keep 32042 <at> debbugs.gnu.org in cc. Hope this
> works—
>
> > Still getting the same broken output.
> >
> > Any other ideas?
>
> Can you show the result of the python expressions at the bottom of
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32042#19
>
>
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.