Skip to content

Upgrade macro imports to pythonic semantics #8

Description

@Technologicat

To deal with name conflicts in macro imports, the least surprise requires that we follow Python's regular import semantics (latest definition of a particular name wins).

So we should upgrade both consoles to behave that way. This allows shortening the explanation.

MacroPy's detect_macros() has no side effects other than triggering imports, so we can manage the macro bindings ourselves. The bindings are held in the object we hand to the macro expander.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestwontfixThis will not be worked on

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions