Hello,
has anyone successfully used multithreading or multiprocessing with Python.Net?
I tried to multi-thread from the .Net side and the Python.Net libraries seem to have issues in the RunScript method. I had to take an implementation off the web of that method because the shipped method doesn’t seem to work.
I then had a working multi-processing example from CPython that I tried from Python.Net but it gives an error
'module' object has no attribute 'argv'
When trying to create a process pool by executing the line
pool = Pool(processes=4)
Is it possible to do multithreading or multiprocessing with Python.Net?
Thanks,
Alan
Hi all,
Present were:
- Amos
- Benoit
- Benedikt
- David
- Vasilios
- Victor
Notes (taken after the meeting, next time I'll be better prepared):
- We have decided to (try to) join the .NET foundation, Benedikt will
handle the application
- Reiterated the current development activities:
- Victor will look further into (micro-)benchmarking and encouraged
everyone to send in snippets that should not regress in performance
- Benedikt outlined again the plan to get platform-independent with a
single assembly (may be two, one for Python 2 and one for Python 3)
- Victor will follow up again with replacing P/Invoke by explicit
delegates after the benchmarking is in place
- Unity people are currently busy preparing for SIGRAPH, will be
available for more activities, in particular around domain-reload
afterwards
- Speaking of domain-reloads, Benedikt will look into getting ARM
working again by making the domain-reload fixes configurable
- Work on integrating QuantConnect's changes will continue, however
Benedikt would like to find a way to make the automatic conversions
configurable before integrating them as well
- Vasilios will contribute test cases for the binding redirect issues
he is seeing (https://github.com/pythonnet/pythonnet/issues/832)
- The next meeting will take place in two weeks, to actually be able to
hear what Amos has to say we'll switch to Skype for the next meeting,
the link to the meeting will be sent to the mailing list beforehand
If I missed anything, just answer :)
Regards
Benedikt