go-python / go-python/gopy

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

Open
#233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
136
Avg merge
14m
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.