Similar to #2187, the Wiki also contains outdated code: The Threading page is still using PythonEngine.ImportModule().
There might be other pages that are outdated, like Loading Python file in .NET and Call function where Py.GIL() is not inside a using. I'm unsure if this is still correct.
I've also seen various code snippets where the new Runtime.DLL requirement is absent, most notably in the README and the documentation.
PRs are welcome. And the Wiki is open for changes anyway. If it is too wrong, we'll have to drop it.
Updated everything I've mentioned, except the use of Py.GIL() on the wiki page. I don't know enough about the Pythonnet code base to give a definitive answer wheter the code there could be improved.
Activity
filmor commented on Aug 8, 2024
PRs are welcome. And the Wiki is open for changes anyway. If it is too wrong, we'll have to drop it.
TheJanzap commented on Aug 22, 2024
Updated everything I've mentioned, except the use of Py.GIL() on the wiki page. I don't know enough about the Pythonnet code base to give a definitive answer wheter the code there could be improved.