[IPython-dev] [Pythonmac-SIG] readline support for OS X Leopard

Brian Granger ellisonbg.net@gmail....
Wed Oct 31 16:09:03 CDT 2007


Boyd,

Thanks, I am going to try to get Leopard installed in a spare drive
soon.  When that happens, I will test and apply the patch.

Cheers,

Brian

On 10/31/07, Boyd Waters <bwaters@nrao.edu> wrote:
>
> On Oct 31, 2007, at 11:43 AM, Boyd Waters wrote:
>
> > What I am doing at the moment is hard-coding the mapping of the tab-
> > completion as a special case in IPython's rilneimpl.py
>
>
> My iplib.py patch was broken, as I had used a dirty local copy of the
> subversion repository to generate the patch.
>
> Very sorry.
>
> Here are the patches that implement my Leopard EditLine hack against
> IPython-SVN (2007-10-30)
>
>
>
>
>
>
>
>
>
>
> I tested this process with a MacPorts port; here is that portfile:
>
>
>
>
>
>
> Perhaps if I learn more about the IPython prefs system I can generate
> a better patch in iplib,py
>
> Right now this patch simply tells IPython to ignore any key-binding
> lines that are in ipythonrc if we are running a Python that uses
> EditLine instead of GNU readline. The rlineimpl.py patch figures out
> if we are running against EditLine, and if so it binds the completion
> function to the tab key.
>
> This isn't great but it gets a part of my job done.
>
>
>
>   - boyd
>
> Boyd Waters
> National Radio Astronomy Observatory
> Socorro, New Mexico
> http://www.aoc.nrao.edu/~bwaters
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev
>
>
>


More information about the IPython-dev mailing list