Thank you very much for this fix. I was not able to find print.exe in
the windows subdirectory, but it is no longer causing problems even
with the "-p sh" switch.

I think that I have discovered other conditions under which syntax
errors are incorrectly reported in ILeo, however. I am now running Leo
4.4.8 beta 3, build  1.244 , March 28, 2008 with IPython
0.8.3.bzr.r57   [on Py 2.5.1], again under Windows XP.

1) If I modify the "Direct Variables - New Headline" node in doc/
examples/leo_bridge_demo.leo by deleting the line "f('hello world')"
and using Alt+I to push the node to IPython, a syntax error is
reported on the following line with the caret pointing to the "f" of
the if statement. Strangely, this error is not reported if I simply
comment out the line.

2) If I add the lines

class Foo(object):
    pass

to the end of the node and push it to IPython, a syntax error is
reported, with the caret pointing to the second "s" in "class". This
error does not occur if the same lines are added at the beginning of
the node. However, if the lines are added after "3+4" and before the
definition of the function f(x), a syntax error is reported at the
"def". Placing the lines between "f('hello world')" and
"if 0:" causes a syntax error to be reported on the "if".

I hope these examples help in locating the root cause of the problem.

With best wishes,

 Sze

On Mar 19, 7:37 am, "Ville M. Vainio" <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 19, 2008 at 10:07 AM, Ville M. Vainio <[EMAIL PROTECTED]> wrote:
>
> >  Ok, just some unaliasing needs to be added then. What is weird,
> >  though, is that print works for me in sh profile, even with empty
> >  _ipython.
>
> By any chance, does your print.exe have upper case characters in it?
>
> I fixed IPython to handle that properly, so please do bzr pull and try
> it out (you need to delete your _ipython again)
>
> --
> Ville M. Vainio - vivainio.googlepages.com
> blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to