We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After running a few tests, it appears there are 2 ways to construct an object. Let us assume a python module was imported in Julia:
@pyimport MyModule as mm
Python: class MyObj1(object): ... Julia: mm.MyObj1([constructor args...])
class MyObj1(object): ...
mm.MyObj1([constructor args...])
Python: class MyObj2(): ... Julia: pycall(mm.MyObj2, PyObject, [constructor args...])
class MyObj2(): ...
pycall(mm.MyObj2, PyObject, [constructor args...])
My experiments show the two constructor syntaxes cannot be interchanged.
Though a little confusing, this is not so bad. It might be nice to have it mentioned in README.md.
Great module!
The text was updated successfully, but these errors were encountered:
This difference will go away in Julia 0.4 once I can make all PyObjects callable, I think (see #101).
Sorry, something went wrong.
Sounds good to me. I guess I will close the issue. Thanks.
No branches or pull requests
After running a few tests, it appears there are 2 ways to construct an object.
Let us assume a python module was imported in Julia:
My experiments show the two constructor syntaxes cannot be interchanged.
Though a little confusing, this is not so bad. It might be nice to have it mentioned in README.md.
Great module!
The text was updated successfully, but these errors were encountered: