[IPython-dev] Magics, aliases now use raw strings!

Ville Vainio vivainio at gmail.com
Thu Jan 12 11:26:48 CST 2006


I just committed a patch to SVN which extends the functionality
previously only apparent in !system escapes - namely, using of raw
strings and passing \ characters directly to aliases and magics. This
more closely reflects the experience you get with system commands in
bash et. al (and especially cmd.exe!).

Thanks go to Jerry McRae for the (justified) complaints about the
previous functionality.

I hope some of you have the time to do "svn up" and play with it a
bit. Multiline magics and aliases don't work, but they never did and
I'm not sure if they ever should in the first place.

%cd magic is still broken due to using shlex.split for arg parsing. I
have some ideas on how to get around it though...

--
Ville Vainio    http://tinyurl.com/2prnb
  Can't you see the world is burning
  Can't you feel its Fire burning
  Don't you know we all are burning
  The Fire of Life       -- R.N.Taylor / Changes




More information about the IPython-dev mailing list