- Notifications
You must be signed in to change notification settings - Fork748
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
cbfd65c
toad5343d
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/runtime/pythonengine.cs Outdated
@@ -742,9 +707,10 @@ public static KeywordArguments kw(params object[] kv) | |||
return dict; | |||
} | |||
[Obsolete("Use PyModule.Import")] | |||
public static PyObject Import(string name) |
There was a problem hiding this comment.
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. HavingPy.
as a central entry-point has merit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@filmor Perhaps we should movePy
class into its own file 🤣
There was a problem hiding this comment.
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 obsoletePythonEngine
for the most part and collect entry points inPy
.
There was a problem hiding this comment.
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 movePy
out.
changed PyScope to inherit from PyObject
Also allow
BorrowedReference == null
comparison.