Simplify PyScope by delegating ownership to PyObject instance by lostmsu · Pull Request #1367 · pythonnet/pythonnet
What does this implement/fix? Explain your changes.
I noticed PyScope ownership implementation is so-so. One of the potential reasons for the crash could be PyScope being improperly deallocated.
This is an attempt to fix crash in CI on Ubuntu with Python 3.9.
Does this close any currently open issues?
No