The implicit line joining doesn't work across calls to Execute. The Execute 
expects a complete statement.

Martin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of HEMMI, Shigeru
Sent: Sunday, June 10, 2007 4:40 AM
To: Discussion of IronPython
Subject: [IronPython] Implicit line joining error of PythonEngine

Hello all,

I am using IronPython 1.1
I encounterd an error in implicit  line joining of PythonEngine.
The source is

lines = ['x = [1,2,3,',  '4]']
from IronPython.Hosting import PythonEngine
engine = PythonEngine()
for line in lines:
    engine.Execute(line)


Thanks.
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to