[Pythonmac-SIG] [IPython-dev] readline support for OS X Leopard
Brian Granger
ellisonbg.net at gmail.com
Tue Oct 30 22:43:00 CET 2007
I am afraid that this patch won't cut it. It does a simple test of
the os type. The problem is that someone could install a version of
python on OS X and want to use the other readline library (for example
the OS X python binaries from the python.org website ship with this
readline). Somehow, we need to do a test of exactly what readline is
installed as well as an os test. But, I won't have Leopard running on
my system for a few more weeks so I can't help with this.
Can anyone play around to see if it is possible to detect which
readline is installed?
Thanks,
Brian
On 10/29/07, Michael Vanlandingham <m.vanland at gmail.com> wrote:
> FWIW, this patch works for me. I'm on IPython 0.8.2.svn.r2841.
>
> This was driving me nuts for some time -- after all, the _Ruby_ shell
> (irb) had tab-completion in Leopard, so why shouldn't Python/
> iPython? I hadn't found the time to figure out a solution, so hooray
> for user communities. I say commit the change.
>
> Thanks -- you guys made my day!
> Michael
>
>
> On Oct 27, 2007, at 11:25 AM, Fernando Perez wrote:
>
> > On 10/27/07, Boyd Waters <bwaters at nrao.edu> wrote:
> >> OK, thanks... I'll try to put something in ipy_defaults.py
> >>
> >> I'm trying to come up to speed on the new style configuration. I'll
> >> try looking through Trac for more info as well.
> >
> > Honestly, this is so important that I'd rather have it in the core so
> > it works for any user, without bugging them about updating their
> > config setup or having to think at all. If they have requested
> > readline support, then it should just work. We already have
> > platform-specific code to work around a things in Windows, having a
> > little bit of Leopard support doesn't bother me one bit.
> >
> > Have a look at the attached patch, and if something like that works
> > well, we can easily just drop it in.
> >
> > Cheers,
> >
> > f
> > <ip_leopard.diff>_______________________________________________
> > Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> > http://mail.python.org/mailman/listinfo/pythonmac-sig
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev
>
More information about the Pythonmac-SIG
mailing list