[IPython-dev] What To Do With a Problem Like 'cd /'?
Ville M. Vainio
vivainio at gmail.com
Wed May 23 12:46:14 EDT 2007
On 5/23/07, Dan Milstein <danmil at comcast.net> wrote:
> This tries to avoid certain bad autocall issues by checking for the
> following chars as the start of the rest of a line, and it finds one,
> just handling the line normally:
>
> '!=()<>+*/%^&|'
>
> Note how '/' is now in there. When I reorg'd things, I put that
> check in prefilter.checkPythonChars, which gets called *before*
> checkAutomagic. Thus, when you type:
I think we just need to check for automagic before this. The automagic
can very well "give up" if the "function" is also in user_ns, without
need for checks like this.
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-dev
mailing list