Thanks, this is good news!
As for the "from __future__ import generators" ...
While IronPython does recognize the statement on syntactical level, it is then
the execution of the statement that fails because IronPython distribution
doesn't contain the __future__.py file. In this case, IronPython needs presence
of the standard Python libraries directory on its sys.path. With the following
in my site.py:
import sys
sys.path.append("C:\\Python24\\Lib")
I can run following script:
from __future__ import generators
print generators
without error and with output:
_Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)
Hope this helps
Martin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanislas Pinte
Sent: Monday, January 30, 2006 10:35 AM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: [IronPython] Simpy working under IronPython1.0beta2
Hello,
I have the pleasure to say that a (quasi unmodified) version of simpy passed
all its unit tests
running IronPython:
[SimPy-1.6.1]> ../IronPython-1.0-Beta2/IronPythonConsole.exe SimPy/testSimPy.py
....................................................
----------------------------------------------------------------------
Ran 53 tests in 0.781s
OK
Here is my change list:
- commented out testPlot in MonitorTest.py, that imports Tkinter module
- commented out all #from __future__ import generators statements
(added IP bug
http://www.gotdotnet.com/workspaces/bugtracker/bugdetails.aspx?id=ad7acff7-ab1e-4bcb-99c0-57ac5a3a9742&bugid=72593d8d-a5d2-4b69-a814-ca0091dc58ea)
--> I will start to test a real application soon.
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com