Skip to content

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Jul 8, 2021

When embedding Python, host can now provide custom implementations of
IPythonBaseTypeProvider via PythonEngine.InteropConfiguration.PythonBaseTypeProviders.

When .NET type is reflected to Python, this type provider will be
able to specify which bases the resulting Python class will have.

Does this close any currently open issues?

#862

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
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

@lostmsu lostmsu force-pushed the CustomBaseTypes branch 4 times, most recently from 2f546e0 to ab2fde2 Compare July 8, 2021 21:21
When embedding Python, host can now provide custom implementations of
IPythonBaseTypeProvider via PythonEngine.InteropConfiguration.

When .NET type is reflected to Python, this type provider will be
able to specify which bases the resulting Python class will have.

This implements pythonnet#862
@lostmsu lostmsu merged commit d3c6942 into pythonnet:master Aug 5, 2021
@lostmsu lostmsu deleted the CustomBaseTypes branch August 5, 2021 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant