[Python.NET] [PythonNet] 7/ 4 Resolve "crash caused by interaction between pythondotnet and CLR."
Collector: Python for .NET Issue ...
pythondotnet at python.org
Sun May 8 00:43:58 CEST 2005
Issue #7 Update (Resolve) "crash caused by interaction between pythondotnet and CLR."
Status Resolved, Threading/bug critical
To followup, visit:
= Resolve - Entry #4 by Brian on May 7, 2005 6:43 pm
Status: Pending => Resolved
Fixed for rc1.
= Comment - Entry #3 by Anonymous User on Mar 31, 2005 2:43 am
hello, I have skimmed the test case, and removed all dependancies toward
the Simpy framework.
Now it crashes once the python main loop is finished. If I comment out
the code used to pass a python function as a delegate to the C# frame,
here is the code:
#test to show problem.
from CLR.System.Reflection import Assembly
a = Assembly.LoadWithPartialName("testpython")
from CLR.testpython import MainForm, TestDelegate
if __name__ == '__main__':
form = MainForm.GetInstance()
form.TestDelegateProperty = TestDelegate(test)
the CLR sources are the same.
Contact me if any more info is needed.
= Comment - Entry #2 by Anonymous User on Mar 30, 2005 11:18 am
the python script to run is bin\Debug\test.py
= Request - Entry #1 by Anonymous User on Mar 30, 2005 11:18 am
the following application (python/C#) is working properly, when I do not
run simpy, a python framework. Once I enable, I get an immediate crash.
See enclosed for runnable/compilable example. (run "python test.py"). To
run, it needs the Simpy framework, GPL, that you can get there:
Simpy makes heavy uses of the "yield" construct.
as soon as I uncomment that line in the script:
I get an immediate crash. I see no reason for this crash.
More information about the PythonDotNet