bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32042: 26.1; python.el with ipython prompt leads to superfluous inte


From: Noam Postavsky
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

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

--- Begin Message --- 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)
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?

--- End Message ---

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]