go-python / go-python/gopy

add support for calling named function variables

Open
#184 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

in _examples/funcs/test.py

```Python
# TODO: not currently supported:

# print("funcs.F1()...")
# f1 = funcs.F1()
# print("f1()= %s" % f1())
#
# print("funcs.F2()...")
# f2 = funcs.F2()
# print("f2()= %s" % f2())
#
# print("s1 = funcs.S1()...")
# s1 = funcs.S1()
# print("s1.F1 = funcs.F2()...")
# s1.F1 = funcs.F2()
# print("s1.F1() = %s" % s1.F1())
#
# print("s2 = funcs.S2()...")
# s2 = funcs.S2()
# print("s2.F1 = funcs.F1()...")
# s2.F1 = funcs.F1()
# print("s2.F1() = %s" % s2.F1())
```

I can't remember at this point what the issue(s) are but presumably there is nothing fundamental from preventing this from working.

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.