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 thePythonEngine
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 theToString
method of the managed object.