[IPython-user] ls strangeness

Ville Vainio vivainio at gmail.com
Mon Apr 3 01:27:16 CDT 2006


On 4/1/06, Zachary Pincus <zpincus at stanford.edu> wrote:

> The original solution for this issue with %edit was to see if a file
> exists at the absolute path of the alias, and if it did, treat the
> alias with the spaces as a single command. If there was no file
> there, then treat the stuff after the spaces as arguments.
>
> Was this the solution you used for the %ls problem too? Hopefully
> these all should be consistent.

Yes, %ls (and alias handling in general) were changed to only quote
the path name if os.path.isfile(aliastarget) is true.

--
Ville Vainio - vivainio.googlepages.com
vainio.blogspot.com - g[mail | talk]='vivainio'




More information about the IPython-user mailing list