On Oct 26, 2007, at 7:50 PM, [EMAIL PROTECTED] wrote:
It right there in my original message (and in the python man page).
You have to use EditLine syntax:
readline.parse_and_bind (bind ^I rl_complete)
Edward's example of using EditLine syntax works for my raw python
test:
$ python
Robert Kern wrote:
Boyd Waters wrote:
On Oct 26, 2007, at 7:50 PM, [EMAIL PROTECTED] wrote:
It right there in my original message (and in the python man page).
You have to use EditLine syntax:
readline.parse_and_bind (bind ^I rl_complete)
Edward's example of using EditLine syntax works
Oops, I spoke too soon when I said that readline support with
Leopard's Python works for me with IPython.
Many things DO work, but tab-completion does NOT.
I am trying to get tab completion working.
Forget IPython, just try this unit test of rlcompleter with the
Python that ships with
I was just going to say the same thing. Getting this to work and then GVim,
and I will be quite happy.
On 10/26/07, Boyd Waters [EMAIL PROTECTED] wrote:
Oops, I spoke too soon when I said that readline support with
Leopard's Python works for me with IPython.
Many things DO work, but
It right there in my original message (and in the python man page).
You have to use EditLine syntax:
readline.parse_and_bind (bind ^I rl_complete)
Ed
On Oct 26, 2007, at 6:46 PM, Noah Gift wrote:
I was just going to say the same thing. Getting this to work and
then GVim, and I will be
The rlineimpl.py module is the place in python where readline gets
imported. I would look there and also I would look to see where
ipython is doing its equivalent of parse_and_bind.
Brian
On 10/26/07, Noah Gift [EMAIL PROTECTED] wrote:
Ed,
You are a genius! Thanks, I totally forgot you told
Ed,
You are a genius! Thanks, I totally forgot you told me that.
So for the record when you launch IPython:
import readline
readline.parse_and_bind (bind ^I rl_complete)
Then do something like:
import os
and you will get
In [5]: os.
Display all 234 possibilities? (y or n)
Ok, what is the
Noah ... if someone has any easy fix to get readline to work, I would
Noah greatly appreciate it.
Just install GNU readline and point the build system at it. For example, I
have MacPorts (http://www.macports.org/) installed in /opt/local. GNU
readline is installed there, and my
On Oct 21, 2007, at 10:51 PM, Noah Gift wrote:
I have been getting ready for the official leopard release in a few
days, and have been a bit worried about readline support. I forgot
what I did to get it to work for IPython, which I absolutely cannot
live without anymore. Is there a plan
Edward,
Thanks for the information. Do you know of a way to get IPython to use
edline instead? IPython is growing in popularity for Python programmers,
and it seems like getting a way forward that works with edline makes sense,
or maybe I am wrong and people will need to just manually install
We did fix a few bugs related to IPython and Leopard's python, so to
some degree, it does work (sorry, I don't use IPython myself). There
was a problem with IPython explicitly loading ~/.inputrc when readline
support is available, which will fail due to the command syntax
problem. Just
Interesting.
FWIW I just built IPython against the system python (with libedit,
apparently) and it works fine; I have readline-like command
navigation, history support, etc.
I was not aware of any change from using readline (which is what I
used with 10.4.x)
On Oct 22, 2007, at 12:35 PM,
I am forwarding this to the ipython-dev list. A number of the core
ipython dev's use OS X, so we will surely jump on this one as soon as
we get our hands on Leopard. This (libedit support) is great news as
it has been one of the main problems with the built-in Python on OS X
for a long time.
Brian,
Thanks, I was just considering doing this myself. I would be happy to help
document this if there is a suitable wiki for it, once a clear path gets
figured out. If you do google searches for readline os x, or ipython, etc,
you will tons, of people who have had this problem for quite some
14 matches
Mail list logo