[Python-Dev] advice needed: best approach to enabling "metamodules"?

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Nov 30 11:01:33 CET 2014


Steven D'Aprano wrote:
> If this feature is going to be used, I would expect to be able to re-use 
> pre-written module types. E.g. having written "module with properties" 
> (so to speak) once, I can just import it and use it in my next project.

There would be nothing to stop __new__.py importing it
from another module, as long as it's not any of the
modules that are going to be using it.

-- 
Greg



More information about the Python-Dev mailing list