Skip to content
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

Support Julia 0.4 call overloading #101

Closed
stevengj opened this issue Nov 27, 2014 · 0 comments
Closed

Support Julia 0.4 call overloading #101

stevengj opened this issue Nov 27, 2014 · 0 comments

Comments

@stevengj
Copy link
Member

JuliaLang/julia#8712 implemented overloading of call. This will make PyCall much easier to use because we won't need our currently fragile conversion of some types into anonymous functions. Instead, we will just leave Python functions as-is as PyObject, and implement

Base.call(o::PyObject, args...; kws...) = pycall(o, PyAny, args...; kws...)

It's quite trivial to implement actually, but I'm holding off until 0.4 is closer to release because it seems like it will break PyCall into two forks (pre-0.4 and post-0.4).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant