Re: [Python.NET] PythonDotNet - IronPyton

2011-01-12 Thread Emmanuel . Lambert
Hello Mark and others, thank you for the clarification. Very interesting, I hadn't though of these two distinct use cases, i.e. : -on the one hand embedding Python scripting in .NET applications -on the other hand calling .NET assemblies from applications that otherwise run outside of the .N

[Python.NET] [Python.Net] AcquireLock deadlock while calling Python from C#

2011-01-12 Thread Benjamin Aranguren
@Julien I have been calling Python from C# without any problems even in a multi-threaded setup. I am using .Net 2.0 and Python 2.5. Main difference, at least from what I don't see in your code, is I also call BeginAllowThreads() after Initialize(). This allows me to initialize PythonEngine in a

[Python.NET] [Python.Net] AcquireLock deadlock while calling Python from C#

2011-01-12 Thread Julien faixo
Hi, sorry for the two posts, i was not sure if the mailing list server would let the first one be sent as this address wasn't registered :x I finally managed to solve the issue, and I'm a bit ashamed of the trivialness of the solution but well, it may help someone someday. The difference between