forked from ceridwen/macropy
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
To improve both maintainability and ease of use of macro libraries, it would be useful if a macro-definition module could re-export macros defined in another macro-definition module.
This would allow the macro library maintainer to structure the source tree logically, and then just re-export all macros from the library's __init__.py (just like it is possible to do for functions in pure Python).
This would allow the users of the library to just from somelibrary import macros, ..., without caring about in which particular submodule of the library each of the macros is defined.
There are probably some pitfalls I'm not seeing here; thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels