gopy
gopy copied to clipboard
Fix support for Go functions as things Python can point to, pass around
Currently, you can pass a Python function back to Go functions that take function args, but it should be possible to also be able to support passing actual Go functions too.
relevant code is in bind/symbols.go, addSignatureType -- this builds code to call a python function -- somehow needs to check actual type of arg and if a Go function, try calling it..