add support for calling named function variables
- 主要语言
- Go
- 星标
- 2.3k
- 派生
- 136
- 平均合并
- 14 分钟
- 30 天内合并 PR
- 2
描述
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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 _examples/funcs/test.py 开始,检查针对 funcs.F1、funcs.F2、funcs.S1 和 funcs.S2 的注释调用。运行该示例以确定其当前行为;当所示的具名函数变量调用可以启用并成功执行时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go, python
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100