all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: 32042@debbugs.gnu.org
Cc: jaan.altosaar@gmail.com
Subject: bug#32042: 26.1; python.el with ipython prompt leads to superfluous interactive shell output
Date: Sat, 07 Jul 2018 10:43:57 -0400	[thread overview]
Message-ID: <8736wvds2a.fsf@gmail.com> (raw)
In-Reply-To: <CADzm6z+f4xGAiQGD05HT6TbHGhLOUO0L0_DuRFUEvPojGtc7GA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

[your message doesn't seem to show up on the bug thread, please use
"Reply All" to keep 32042@debbugs.gnu.org on Cc]


[-- Attachment #2: Type: message/rfc822, Size: 1424 bytes --]

From: jaan.altosaar@gmail.com
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#32042: 26.1; python.el with ipython prompt leads to superfluous interactive shell output
Date: Fri, 6 Jul 2018 12:21:52 -0700 (PDT)
Message-ID: <291b6c7e-1e95-4ee1-bab7-4d8db52c0977@googlegroups.com>

There was no change; I still see the broken output in the original post...

```File "<ipython-input-1-57ce0cd600e5>", line 1, in <module>
    import codecs, os;__pyfile = codecs.open('''/var/folders/qr/s_h2rhqj6kdg8qrj0zw2scnw0000gn/T/pyLbk6Vh''', encoding='''utf-8''')
```

I tried:

Disabling system integrity protection (booting into OS X High Sierra recovery mode and running `csrutil disable`), then 

```
cd /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload 
sudo mv readline.so readline.so.bak
```

and the same for the anaconda readline:

```
cd /usr/local/anaconda3/lib/python3.6/lib-dynload
mv readline.cpython-36m-darwin.so readline.cpython-36m-darwin.so.bak
```

And installing gnureadline.

Still getting the same broken output.
forwarding to list
Any other ideas?

[-- Attachment #3: Type: text/plain, Size: 223 bytes --]



Try in a python shell:

    print (readline.__doc__)
    print (readline.__file__)

The first to confirm that libedit readline is still being loaded, the
second to hopefully give some kind of hint where it's coming from.

  parent reply	other threads:[~2018-07-07 14:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-02 20:13 bug#32042: 26.1; python.el with ipython prompt leads to superfluous interactive shell output Jaan Altosaar
2018-07-02 20:32 ` Noam Postavsky
2018-07-02 21:18   ` Jaan Altosaar
2018-07-03  0:45     ` Noam Postavsky
2018-07-09 12:59       ` Jaan Altosaar
2018-07-09 19:55         ` Noam Postavsky
     [not found]         ` <mailman.3332.1531166168.1292.bug-gnu-emacs@gnu.org>
2018-07-10 22:09           ` Jaan Altosaar
2018-07-10 22:36             ` Noam Postavsky
     [not found]             ` <mailman.3400.1531262228.1292.bug-gnu-emacs@gnu.org>
2018-07-10 22:51               ` Jaan Altosaar
2018-07-11  0:32                 ` Noam Postavsky
2021-09-05  7:42                   ` Lars Ingebrigtsen
2018-07-10 22:14           ` Jaan Altosaar
     [not found]     ` <mailman.2978.1530578768.1292.bug-gnu-emacs@gnu.org>
2018-07-06 19:21       ` jaan.altosaar
2018-07-07 14:43 ` Noam Postavsky [this message]
2018-07-07 16:42   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8736wvds2a.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=32042@debbugs.gnu.org \
    --cc=jaan.altosaar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.