PyCall, pycall on python object that overloads __call__



Can I use pycall to call a python object that overloads the call member? It doesn’t seem to work.


It should work. Make sure that you actually have the Python object, not not the Julia conversion thereof.

(e.g. if you have a module foo = pyimport("...."), then do foo["member"] rather than foo[:member] to suppress the automatic conversion to Julia.)