Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

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

@always-less

Description

@always-less

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

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions