[IPython-dev] What To Do With a Problem Like 'cd /'?

Ville M. Vainio vivainio at gmail.com
Wed May 23 14:53:36 EDT 2007


On 5/23/07, Dan Milstein <danmil at comcast.net> wrote:

>   - Do you also want to treat aliases similarly?
>
> Meaning: should we allow alias expansion on lines which look like:
>
>    an_alias /

Yes. Performing anything else than assignment on a non-existing name
is illegal python anyway.

> Now that I've got assignment split out from other python ops, that's
> trivial to add, but I haven't done it yet (mostly because I'm a tiny
> bit fuzzy on the whole alias/magic divide).

That's because the divide is not technically necessary. My evil
masterplan is to to get rid of the concepts of "alias" (though not the
keyword!) at some point. At least on source code level, read my
previous simplegeneric mail if interested.

In the meantime, a handy alias to use for ipython devs:

$ alias timeline start http://projects.scipy.org/ipython/ipython/timeline
$ %store timeline

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



More information about the IPython-dev mailing list