Skip to content

How to import and call function(written in python and transferred into go by grumpc) in go? #69

@alanjds

Description

@alanjds

google#407 opened by @always-less on Jul 26

As titled, the newest grumpy.ImportModule function has only 2 params while the comment has not been updated.

And ImportModule(f, "a.b") causes the initialization and entry into sys.modules of Grumpy module a and
then Grumpy module a.b instead of b. Is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    importedImported from google/grumpyquestionFurther information is requestedwaiting feedbackWaiting confirmation of changes or fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions