Wenguang Yang
Wenguang Yang
@denfromufa I'm not going very far in pythonnet. currently, I have used these methods, 1. PythonEngine.PythonPath: to embed CPython into .NET as a independ module 2. Initialize 3. Py.GIL method:...
@JimSEOW I tried the SimplePythonGraph project. I guess you ran the program in x64 mode. If so, the bug you encountered was caused by the limitation of method PyInt.AsInt(). A...
@vmuriart I tested it with v2.0.0 (python2.7) and it failed with the same exception. v2.0.0 performs even worse than the current version, details was given as comments in the test...
@vmuriart By the way, how do you set up the environment to run a code snippet with old version of pythonnet and other version of Python?
Your Pythonnet version is too old. Use Pythonnet 2.3+ or build from master manually.
If compile the dynamic library A.dll in Release mode, the exception is gone.
@denfromufa Yes my code was put in the curly braces of '''using (Py.GIL()) {}'''. I have tried your code snippet, but the stdout is still null. I'm not sure whether...
@denfromufa @filmor I think this proposal is different from [#94](https://github.com/pythonnet/pythonnet/issues/94) This one talks about “pass any .NET object to CPython” and that one talks about “pass any CPython object to...
@filmor @denfromufa I agree with this explanation. I have a proposal based on this mechanism. When we embedded Python in a .NET Console application. Usually we want the Python print...
@filmor @denfromufa If the Solution 4 is chosen as the recommended way for the sys.stdout redirection. It's better to provide a .NET interface listing the methods needed. It can help...