-
Notifications
You must be signed in to change notification settings - Fork 101
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
Julia object has no attribute Any #144
Comments
Yes, it looks like it currently only exports the functions in Base (https://github.com/JuliaPy/pyjulia/blob/master/julia/core.py#L386), and similarly for other modules. Honestly, the whole current approach seems less than ideal to me… I feel like it should load symbols in the module(s) lazily, rather than adding them all as attributes when the module is loaded. This would improve load times and also be more flexible about non-function symbols (e.g. mutable globals would work, because the conversion would occur each time they are accessed). For now, you can presumably do |
|
Although it is possible to access any built-in Julia function, it is not possible to access any of the Julia built-in Julia types. For example, the script
gives the output:
I did not see any information about this issue in the documentation and in the test codes of
pyjulia
. I wonder if it is possible to access these built-in Julia types in python side. (See JuliaPy/PyCall.jl#460). Any suggestions?The text was updated successfully, but these errors were encountered: