Allow substituting base types for CLR types (as seen from Python) by lostmsu · Pull Request #1487 · pythonnet/pythonnet

@lostmsu

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