go-python / go-python/gopy

example not working on go1.18

未关闭
#276 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
2.3k
派生
136
平均合并
14 分钟
30 天内合并 PR
2

描述

I followed the build steps in README with go1.18. After the building process, this is no function in `out/hi.py`, just an empty py file with some setup code. When i switch to go.15, everything works ok.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先使用 Go 1.18 重现 README 中的构建步骤,并检查生成的 out/hi.py 文件。将结果与在 Go 1.15 下执行相同步骤的结果进行比较,然后确定生成的模块为什么只包含设置代码。在 Go 1.18 下示例能够生成预期的 Python 函数,且不导致 Go 1.15 回归,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
go, python
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。