Skip to content

Issues with __import__ in jsonclass.py #15

@jsalz

Description

@jsalz

jsonclass.py uses import to import a module. It looks like it expects import to return the imported module, but it doesn't work that way for nested modules: e.g., if I import a.b.c, import returns a, not c.

I'll attach a patch to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions