pythonnet v1.0.0-beta.5 Release Notes

  • ๐Ÿ”„ Changed

    • ๐Ÿ”จ Refactored and fixed threading and global interpreter lock handling, which was badly broken before. Also added a number of threading and GIL-handling tests.

    • ๐Ÿ›  Related to the GIL fixes, added a note to embedders in the README about using the AcquireLock and ReleaseLock methods of the PythonEngine class to manage the GIL.

    • ๐Ÿ›  Fixed a problem in Single <--> float conversion for cultures that use different decimal symbols than Python.

    • Added a new ReloadModule method to the PythonEngine class that hooks Python module reloading (PyImport_ReloadModule).

    • Added a new StringAsModule method to the PythonEngine class that can create a module from a managed string of code.

    • Added a default __str__ implementation for Python wrappers of managed objects that calls the ToString method of the managed object.