go-python / gopy

gopy generates a CPython extension module from a go package.
BSD 3-Clause "New" or "Revised" License
2.05k stars 113 forks source link

additional test for issue #220 #226

Closed cosnicolaou closed 4 years ago

cosnicolaou commented 4 years ago

This PR adds a test for the issue identified in #220. The issue in #221 seems to be a non-issue in the sense that outname is the same pypkgname.

I also updated to the latest go/tools since the one referenced in go.mod was, for some reason that I don't understand, generating an internal error from:

packages/packages.go:817 log.Fatalf("internal error: nil Pkg importing %q from %q", path, lpkg)