Skip to content

Remove Utf8Marshaler, set PyScope base class to PyObject, added PyModule #1391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 26, 2021

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Feb 19, 2021

Also allow BorrowedReference == null comparison.

@lostmsu lostmsu force-pushed the cleanup/21-02-19 branch 12 times, most recently from cbfd65c to ad5343d Compare February 21, 2021 06:14
@@ -742,9 +707,10 @@ public static KeywordArguments kw(params object[] kv)
return dict;
}

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

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.

Copy link
Member Author

@lostmsu lostmsu Feb 24, 2021

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

Copy link
Member

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.

Copy link
Member Author

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.

changed PyScope to inherit from PyObject
@lostmsu lostmsu requested a review from filmor February 24, 2021 18:12
@filmor filmor merged commit 5bcd708 into pythonnet:master Feb 26, 2021
@lostmsu lostmsu deleted the cleanup/21-02-19 branch March 31, 2021 20:26
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.

2 participants