Remove Utf8Marshaler, set PyScope base class to PyObject, added PyModule by lostmsu · Pull Request #1391 · pythonnet/pythonnet

}

[Obsolete("Use PyModule.Import")]
public static PyObject Import(string name)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't obsolete this one right now. Having Py. as a central entry-point has merit.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@filmor Perhaps we should move Py class into its own file 🤣
image

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D
Yep, sorry for the inconsistency. I'd like to obsolete PythonEngine for the most part and collect entry points in Py.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this [Obsolete], added a new issue to move Py out.