Miscellaneous fixes and cleanups by filmor · Pull Request #1760 · pythonnet/pythonnet

  • Use Py.GIL directly, now that it doesn't try to init anymore
  • Modernise syntax a bit
  • Fix Py.SetArgv for systems that don't support GetCommandLineArgs
  • Modernise syntax in ClassDerived

What does this implement/fix? Explain your changes.

...

Does this close any currently open issues?

...

Any other comments?

...

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Ensure you have signed the .NET Foundation CLA
  • Add yourself to AUTHORS
  • Updated the CHANGELOG