pythonnet v1.0.0-beta.2 Release Notes

  • 🔄 Changed

    • Exceptions raised as a result of getting or setting properties were not very helpful (target invokation exception). This has been changed to pass through the inner exception the way that methods do, which is much more likely to be the real exception that caused the problem.

    • 🔨 Events were refactored as the implementation was based on some bad assumptions. As a result, subscription and unsubscription now works correctly. A change from beta 1 is that event objects are no longer directly callable - this was not appropriate, since the internal implementation of an event is private and cant work reliably. Instead, you should the appropriate OnSomeEvent method published by a class to fire an event.

    • The distribution did not include the key file, making it a pain for people to build from source. Added the key file to the distribution buildout for beta 2.

    • Assemblies can now be found and loaded if they are on the PYTHONPATH. Previously only the appbase and the GAC were checked. The system now checks PYTHONPATH first, then the appbase, then the GAC.

    • 🛠 Fixed a bug in constructor invokation during object instantiation.