pythonnet v1.0.0-rc.2 Release Notes

  • ๐Ÿ”„ Changed

    • Changed some uses of Finalize as a static method name that confused the Mono compiler and people reading the code. Note that this may be a breaking change if anyone was calling PythonEngine.Finalize(). If so, you should now use PythonEngine.Shutdown().

    • Tweaked assembly lookup to ensure that assemblies can be found in the current working directory, even after changing directories using things like os.chdir() from Python.

    • ๐Ÿ›  Fixed some incorrect finalizers (thanks to Greg Chapman for the report) that may have caused some threading oddities.

    • ๐Ÿ‘ Tweaked support for out and ref parameters. If a method has a return type of void and a single ref or out parameter, that parameter will be returned as the result of the method. This matches the current behavior of IronPython and makes it more likely that code can be moved between Python for .NET and IP in the future.

    • ๐Ÿ”จ Refactored part of the assembly manager to remove a potential case of thread-deadlock in multi-threaded applications.

    • Added a __str__ method to managed exceptions that returns the Message attribute of the exception and the StackTrace (if available).