[IPython-User] ipython and readline warning
Lisa Daniels
lisa.kelly.daniels@gmail....
Sat Sep 10 20:34:13 CDT 2011
Hi Folks,
I got a warning message related to readling when I was trying to run ipython
using osx. I created a question here
http://stackoverflow.com/questions/7375545/ipython-complaining-about-readline,
but I thought this would be a more appropriate forum after I spent some more
time on this issue.
I suspect that this is a fake warning, since I am able to get tab completion
to work. I think (but I am not sure) that the issue is related to this :
https://github.com/ipython/ipython/pull/525
I put some print statements like so:
if p is not None and p.returncode == 0 and
re.search(r'/libedit[\.\d+]*.dylib\s', out.decode()):
#if p is not None and p.returncode == 0 and
re.search(r'/libedit[\.\d+]*\.dylib\s', out):
# we are bound to libedit - new in Leopard
print repr(p)
print p.returncode
print have_readline
print repr(out)
and I got the following:
$ ipython
<subprocess.Popen object at 0x10171e550>
0
True
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so:\n\t/usr/lib/libedit.2.dylib
(compatibility version 2.0.0, current version
2.11.0)\n\t/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0,
current version 5.4.0)\n\t/usr/lib/libSystem.B.dylib (compatibility version
1.0.0, current version 125.2.1)\n'
>From this point on, I am a little lost and would appreciate any advice of
what I need to do to get rid of this warning.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20110910/ec81041f/attachment.html
More information about the IPython-User
mailing list