[IPython-dev] Brand new refactored version for linux users!
Fernando Perez
fperez.net at gmail.com
Sun Jan 13 16:12:43 EST 2008
On Jan 13, 2008 2:01 PM, Laurent Dufréchou <laurent.dufrechou at gmail.com> wrote:
> Hi Fernando,
>
> Ok got the problem with 'magic'
> In fact the problem I got with ipython is that every time a call to pager is
> done depending from where it is called it can appear that I haven't
> redirected the function.
>
> I had to do this weird thing in my code...:
>
> #we replace the ipython default pager by our pager
> #FIXME: add a pager callback to IPython
> IPython.OInspect.page = self._pager
> IPython.genutils.page = self._pager
> IPython.iplib.page = self._pager
> (any better idea welcome!!)
Mmh, I can't recall at the moment, but we should have a cleaner API for this...
> So 'magic' function is one of these function that need to be redirected, to
> my pager.
> Fernando, do you think it could be possible to add a hook to ipython to
> avoid this bad coding method??
Certaily we should :)
> For the syntax highlighting problem can you send a private mail @gmail? +
> tell me witch linux distrib you use and the version of wx too. Will take a
> look at it and add Experimental warning inside it :).
I'm on ubuntu gutsy, up to date. I'll send you the screenshot off-list.
>
> By the way, can you give me the commands that didn't work as expected??
> (should only be ipython one...)
ls
cd
They worked, but produced junk. You'll see it in the screenshot.
Cheers,
f
More information about the IPython-dev
mailing list