gopy icon indicating copy to clipboard operation
gopy copied to clipboard

Fix support for Go functions as things Python can point to, pass around

Open rcoreilly opened this issue 5 years ago • 0 comments

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..

rcoreilly avatar Oct 26 '20 08:10 rcoreilly