Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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
src/runtime/pymodule.cs Show resolved Hide resolved
src/runtime/pythonengine.cs Show resolved Hide resolved
src/runtime/pythonengine.cs Outdated Show resolved Hide resolved
src/runtime/tricks/NullOnly.cs Show resolved Hide resolved
}

[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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.