PythonEngine.AcquireLock and ReleaseLock are marked "internal", but are mentioned in the documentation

Environment

  • Pythonnet version: 3.x

Details

This document refers to the internal implementation details AcquireLock & ReleaseLock.

If these are meant to be used from C# code, these should be made public again. If not - they should be removed from the document (imho).

FWIW I use them in my code (but I can directly call into python3.x.dll for PyGILState_Ensure if they are not meant to be exposed by pythonnet)