Fix support for Go functions as things Python can point to, pass around
Offen
- Vorherrschende Sprache
- Go
- Sterne
- 2.3k
- Forks
- 136
- Ø Merge
- 14 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
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..
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.